Date: 25 Oct. 2021
Goal of this session
Part I - Make a popup system to give information to the player
Part II - Make a base system where each player has a base that he can upgrade
What we covered
- Trigger Trigger Reference - Core Documentation
- Events.Broadcast / Events.Connect Events and Hooks Reference - Core Documentation
- Edit UI from a script UI Reference - Core Documentation
- SimpleCurve Curves Reference - Core Documentation
- Damageable Objects Damageable Objects Reference - Core Documentation
- Hide/Show object
- Resources and resourceChangedEvent
Replay
Timecodes of each part
PART I - Popup UI
0:00:00 Popup UI on Trigger
0:15:30 Damageable Objects Event
0:23:30 Multiplayer Test
0:26:00 SimpleCurve UI Fade In and Out
PART II - Upgradeable Base
0:37:30 Base
0:45:00 Upgrade on Pickup Resource
0:50:00 Handle bases for a multiplayer game
Template of the system
I removed the fire hydrants because the diedEvent on the client-side because this event is server-only.
PBT file (drop it in your Core window and then drag and drop the template in your scene)