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
Watch video How I made my Playdate game online, duration hours minute second in high quality that is uploaded to the channel SquidGod 06 June 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 6,685 times and liked it 201 visitors.