Uploaded June 2022 | Updated September 2026, 1 week ago
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: youtu.be/PZD1Ba15nnM
The game: squidgod.itch.io/escape-from-complex-32
Patreon supporters get access to the source code files: patreon.com/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.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
#Playdate #PlaydateDev #PlaydateConsole
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: youtu.be/PZD1Ba15nnM
The game: squidgod.itch.io/escape-from-complex-32
Patreon supporters get access to the source code files: patreon.com/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.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
#Playdate #PlaydateDev #PlaydateConsole










