In this Unity devlog, I introduce colliders and triggers to my 2D game for better train traffic routing, sprinkling in a few beginner tips on colliders, triggers and the surrounding game architecture. I use Unity's event functions OnTriggerEnter2D and OnTriggerExit2D in my implementation. I also choose a title for my game, exciting stuff!
Say hi: / anniisgame
Chapters:
0:00 Welcome
0:43 Naming the Game!!!
2:33 Why Colliders?
3:08 Triggers
4:18 Crossing Colliders
4:53 Train Colliders (Spaghetti Code Edition)
5:45 Train Colliders (Non Spaghetti Code Edition)
6:51 End Result
Music:
"Downtown Funk" by Dj Quads
"Hip Jazz" from Bensound.com
"Endless Motion" from Bensound.com
"The Jazz Piano" from Bensound.com
"Moose" from Bensound.com
"It’s Near" by DJ Quads
On this page of the site you can watch the video online Colliders, Triggers & Spaghetti Code | Unity 2D Devlog with a duration of hours minute second in good quality, which was uploaded by the user Anni 04 January 2021, share the link with friends and acquaintances, this video has already been watched 1,246 times on youtube and it was liked by 98 viewers. Enjoy your viewing!