Increasing the Reusability of the Core - 2D Platformer Player Controller - Part 35
Автор: Bardent
Загружено: 2022-04-09
Просмотров: 9046
Discord Server:
/ discord
GitHub Repo for this episode:
https://github.com/Bardent/Platformer...
Git Hub Repo for this project:
https://github.com/Bardent/Platformer...
Article Link:
https://bardentstudios.com/tutorials/...
All Assets:
https://bardentstudios.com/resources/
If you wish to support me more:
/ bardent
The Bardent Asset Pack!
https://bardent.itch.io/the-bardent-a...
In this episode we take a look at making our Core more reusable. We try to change it in such a way to allow us to use any core components with the core without actually requiring any of them.
Timestamps:*
00:00 - Intro
00:12 - Problem Statement
01:00 - Solution Overview
01:41 - Removing hard coded references
02:26 - The CoreComponents List
03:11 - Updating the AddComponent function
03:31 - Updating the LogicUpdate function
04:01 - Creating the function to find a CoreComponent
09:10 - Using the GetCoreComponent function
11:10 - Setting the CoreComponent reference
14:22 - Making it more concise
16:16 - Creating the GetCoreComponent function that also sets the variable
17:57 - Using the new GetCoreComponent
18:35 - Discussing why we started with PlayerGroundedState
20:24 - Looking at the sub states of PlayerGroundedState
23:55 - Discussing what needs to be fixed on the other states
25:01 - Montage of fixing player super state and sub state errors
26:40 - Fixing errors on the enemy states
29:30 - Fixing the last errors on the CoreComponents, Weapons, and Entity scripts
33:23 - Testing
34:30 - Thank you Patrons!!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: