Last week, I had a livestream walking through my Playdate game source code. I've cut it down to a shorter video and added timestamps for your convenience - hope it's helpful!
Full Livestream: • 🔴 LIVE - Explaining the code for my P...
The game: https://squidgod.itch.io/escape-from-...
Patreon supporters get access to the source code files: / squidgoddev
Timestamps:
0:00 Intro
0:12 Why I'm showing my game architecture
0:43 File structure
2:08 Main file philosophy
2:50 Why you should local vs global
3:59 "Globals" file
4:33 Scene manager/transitions
10:05 Game background/infinite scrolling walls
12:37 Obstacles
15:54 "Technical Debt" and "Bad Code"
17:46 Obstacles continued
20:15 Player
20:33 Angle to velocity with trigonometry
21:50 Player physics
23:35 Collisions
24:11 Drawing the laser gun
26:07 Laser beam
26:32 Result display (fading background)
30:00 Title screen
31:27 How many hours to make this game
Join my Discord (I'm very active!): / discord
Follow me on Twitter (See what I'm working on early): / squidgoddev
#Playdate #PlaydateDev #PlaydateConsole
Смотрите видео How I made my Playdate game онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SquidGod 06 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,685 раз и оно понравилось 201 людям.