SquidGod
PulpScript: A Beginners Guide
updated
Links:
- Github: github.com/SquidGodDev?tab=repositories&q=playdate-game
- Discord Channel: discord.gg/kDM8RU4aFt
- Patreon: patreon.com/squidgoddev
- My book "The Beginners Guide to Lua for Game Development": squidgod.itch.io/lua-for-game-development
=== Tools ===
Particle Effect Tools
- sphodromantis.itch.io/particlesizzler
- spritemancer.com
- http://pixelover.io
Rotation Tools
- github.com/samdze/spriterot
- torcado.com/cleanEdge
Pattern Tools
- https://dev.playdate.store/tools/gfxp/
Playdate Revision Version Check
- tools.strawdynamics.com/playdate/version-check
- https://rae.wtf/revchecker/
Datasheets
- Rev A Datasheet: st.com/resource/en/datasheet/stm32f745ie.pdf
- Rev B Datasheet: st.com/resource/en/datasheet/stm32h7b0ab.pdf
Timestamps:
0:00 Intro
0:55 What is Performance?
1:30 Why is Performance Important?
2:32 How to Measure Performance
6:15 Improving Performance: Memory
6:31 What is Memory?
13:37 Caching Data
15:32 Load Time
17:36 Loading Screen
20:01 Memory Limit
21:41 Garbage Collector
23:30 Object Creation
27:02 Object Pool
28:14 Garbage Collector Settings
28:48 Improving Performance: Code Execution
28:58 Expensive Functions
32:18 Tables
36:04 Arrays
38:15 Array Creation/Modification
40:19 Const
40:39 Improving Performance: Drawing
40:45 Direct Drawing
42:15 Sprites
47:53 Caching Draw Calls
49:43 Rotation and Scale
51:24 Blurring and Fading
52:14 Playdate Hardware Versions
53:13 When to Improve Performance
This video is *not* about the web-based game editor, Pulp. To find tutorials on Pulp, you can check out this playlist here: youtube.com/playlist?list=PLlMPQvEA0GZMNW-l1vImDQtSMUDAcIuFa&si=uHTiATVRjJsLQeJc
Setup Links:
- Template Github Repo: github.com/SquidGodDev/playdate-template
- VSCode: code.visualstudio.com/Download
- Playdate SDK: https://play.date/dev/
Example Game Links:
- Example Game Github Repo: github.com/SquidGodDev/playdate-template-example-game
- Playdate SDK Documentation: https://sdk.play.date/
- Diffchecker: diffchecker.com
Resource Links:
- Playdate Dev Site: https://play.date/dev/
- Playdate Tutorials Playlist: youtube.com/playlist?list=PLlMPQvEA0GZPOuKJyhSr3Ra0vrpCiBTnb
- Lua for Beginners Video: youtu.be/C4o7n0LNQhA?si=-wESQU113-_b6Ck1
- Lua for Beginners Book: squidgod.itch.io/lua-for-game-development
- Game Sourcecode List: github.com/SquidGodDev?tab=repositories&q=playdate-game
Community Links:
- My Discord: discord.gg/kDM8RU4aFt
- Playdate Squad Discord: discord.gg/zFKagQ2
- Subreddit: reddit.com/r/playdateconsole
My Patreon: patreon.com/squidgoddev
Timestamps:
0:00 Intro
1:15 Installation
2:47 Mac SDK Installation
3:08 Windows SDK Installation
4:09 Linux SDK Installation
5:24 Template Setup
9:14 Making a Game: Introduction
10:52 Game Art
12:34 Step 1: Drawing the Player
17:25 Step 2: Controlling the Player
20:02 Step 3: Using Sprites
22:50 Step 4: Adding Game State
25:14 Step 5: Adding an Obstacle
26:55 Step 6: Handling Obstacle Collisions
28:16 Step 7: Keeping Track of Score
29:29 Step 8: Ramping Obstacle Speed
29:59 Debugging
31:49 Sharing Your Game
34:33 Starting a New Project
35:11 Resources
38:10 Publishing Your Game
You can pick it up on Catalog here: https://play.date/games/propeller-rat
Or on Itch IO here: squidgod.itch.io/propeller-rat
Source code: github.com/SquidGodDev/propeller-rat
Support me on Patreon!: patreon.com/squidgoddev
Join my Discord!: discord.gg/kDM8RU4aFt
Games mentioned:
- The World's Hardest Game: coolmathgames.com/0-worlds-hardest-game
- Hexa: https://play.date/games/hexa/
- Core Fault: https://play.date/dev/catalog/core-fault/
- The King's Dungeon: squidgod.itch.io/the-kings-dungeon
Videos mentioned:
- Metroidvania tutorial: youtu.be/7GbUxjE9rRM
- Grid view tutorial: youtu.be/vhwWC4PfXfc
Get Core Fault! - https://play.date/games/core-fault/
Check out The King's Dungeon and Pocket Pets! too: itch.io/s/117037/catalog-anniversary-sale
Join my Discord!: discord.gg/kDM8RU4aFt
Previous devlog: youtu.be/OHX4yYDnUTE
Patreon supporters get access to early dev builds and the source code for all my games: patreon.com/squidgoddev
Interested in learning how to code? squidgod.itch.io/lua-for-game-development
Join my Discord!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see sneak peeks/updates!: twitter.com/SquidGodDev
Music/SFX from Epidemic Sound: share.epidemicsound.com/njknzw
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
You can play the game here: ldjam.com/events/ludum-dare/53/inaka-flowers
Support me on Patreon: patreon.com/squidgoddev
Interested in learning how to code? squidgod.itch.io/lua-for-game-development
Join my Discord!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see sneak peeks/updates: twitter.com/SquidGodDev
Music/SFX from Epidemic Sound: share.epidemicsound.com/njknzw
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
Patreon supporters get access to early dev builds and the source code for all my games. Added a new tier for commented source code: patreon.com/squidgoddev
Interested in learning how to code? squidgod.itch.io/lua-for-game-development
Join my Discord!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see sneak peeks/updates!: twitter.com/SquidGodDev
Music/SFX from Epidemic Sound: share.epidemicsound.com/njknzw
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
Get the game here: squidgod.itch.io/core-fault
Check out Mixolumia!: mixolumia.com
Twitter Thread: twitter.com/davemakes/status/1090077970968936448
Follow Dave on Twitter: twitter.com/davemakes
Follow me on Twitter: twitter.com/SquidGodDev
Patreon supporters get the source code for ALL my games (including this one). Support my channel so I can make more content like this :)
patreon.com/squidgoddev
Join my Discord!: discord.gg/kDM8RU4aFt
Want to learn how to make games for the Playdate?
Learn how to code as a complete beginner with my book: squidgod.itch.io/lua-for-game-development
Playlist of my tutorials: youtube.com/playlist?list=PLlMPQvEA0GZPOuKJyhSr3Ra0vrpCiBTnb
I get my music from Epidemic Sound: share.epidemicsound.com/njknzw
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
In this video, I'll be going over what making games is like for the Playdate and how to setup a Playdate SDK game development environment on Windows using Visual Studio Code. This video is an update to a previous video I've made called "Getting Started with the Playdate SDK: Setup and Basics".
== Setup Links ==
SDK Installation: https://play.date/dev/
Playdate Documentation: https://sdk.play.date/1.12.3/Inside%20Playdate.html
Designing for Playdate: https://sdk.play.date/1.12.3/Designing%20for%20Playdate.html
Visual Studio Code: code.visualstudio.com
VSCode Template Github: github.com/Whitebrim/VSCode-PlaydateTemplate
== Resource Links ==
Pulp Tutorial Playlist: youtube.com/playlist?list=PLlMPQvEA0GZMNW-l1vImDQtSMUDAcIuFa
SDK Development Playlist: youtube.com/playlist?list=PLlMPQvEA0GZPOuKJyhSr3Ra0vrpCiBTnb
Beginner's Guide to Lua Book: squidgod.itch.io/lua-for-game-development
Patreon: patreon.com/squidgoddev
My Discord: discord.gg/kDM8RU4aFt
Playdate Squad Discord: discord.gg/zFKagQ2
My Twitter: twitter.com/SquidGodDev
Timestamps:
0:00 Intro
2:14 SDK Installation
4:24 Manual Code Compilation
6:38 Notes About Simulator
7:19 Installing VSCode
7:34 Installing Playdate Project Template
10:00 How the SDK Works
10:45 Writing a Demo
13:25 Uploading to Device
13:43 Next Steps and Resources
Discord: discord.gg/kDM8RU4aFt
Twitter: twitter.com/SquidGodDev
Patreon: patreon.com/squidgoddev
- Github Repo for this project: github.com/SquidGodDev/MetroidvaniaTutorial
- LDtk: ldtk.io
- Playdate LDtk Importer Library: github.com/NicMagnier/PlaydateLDtkImporter
- Animated Sprite Library: github.com/Whitebrim/AnimatedSprite
- Diff Checker: diffchecker.com
This is an intermediate/advanced tutorial. Some recommended resources before watching this video:
*No experience programming*
- Learn to Program for Playdate Game Dev! Part 1/2: youtu.be/C4o7n0LNQhA
- The Beginner's Guide to Lua for Game Development: Getting Started From Zero: squidgod.itch.io/lua-for-game-development
*Playdate environment not yet set up*
- Getting Started with the Playdate SDK: Setup and Basics: youtu.be/J0ufxinp7No
*New to Playdate development*
- Everything About Playdate SDK Collisions in 7 Minutes: youtu.be/27vCPiwgWzQ
- Everything You Need to Know About Sprites in the Playdate SDK: youtu.be/8OCebUVKlb4
- Object Oriented Programming for the Playdate SDK: youtu.be/e9x6DsWk-IU
Get the game this tutorial was based off of: squidgod.itch.io/the-kings-dungeon
Get access to that games source code and support the channel: patreon.com/squidgoddev
Join my Discord!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see sneak peeks/updates!: twitter.com/SquidGodDev
Timestamps:
0:00 - Intro
0:45 - Suggested Resources
1:40 - Required Setup
3:05 - Creating LDtk World
6:38 - Adding Libraries
7:52 - Setting Up Main File
8:27 - Creating Game Scene/Loading Level
14:22 - Creating Player Controller (Initialization)
21:00 - Player Update Loop
22:05 - Handle State
23:13 - Handle Movement and Collisions
26:02 - Input Handlers
27:38 - State Transitions
29:02 - Apply Gravity
29:43 - Spawning Player
31:22 - Flipping Player Image
32:18 - Jumping
34:43 - Fixing Run/Jump Issues
39:02 - Double Jump/Dash
44:58 - Moving Between Rooms
50:09 - Spike
54:25 - Spikeball
58:10 - Handle Player Hitting Hazard
1:01:54 - Spawn Hazards
1:03:19 - Ability Pickups
1:08:04 - Handle Player Picking Up Ability
1:09:17 - Remove Pickup Permanently
1:10:30 - Jump Buffer
1:12:54 - Improve Playdate Load Performance
1:15:13 - Caveats
Get the game here!: squidgod.itch.io/the-kings-dungeon
Patreon supporters get my game early and the source codes for all my games!: patreon.com/squidgoddev
Join my Discord!: discord.gg/kDM8RU4aFt
Ascent by Johan Peitz : johanpeitz.itch.io/ascent
Follow me on Twitter to see sneak peeks/updates!: twitter.com/SquidGodDev
Music/SFX from Epidemic Sound. Get a 30 day free trial: share.epidemicsound.com/njknzw
Get source codes for my games and support the channel!: patreon.com/squidgoddev
Follow me on Twitter to see sneak peeks/updates!: twitter.com/SquidGodDev
Join my Discord!: discord.gg/kDM8RU4aFt
Find the game here: store.steampowered.com/app/1730260/Retro_Gadgets
@ReidCaptain 's video: youtube.com/watch?v=gmk040zWxgU
Support me on Patreon and all my games and their source code!: patreon.com/squidgoddev
Follow me on Twitter to see sneak peeks/updates!: twitter.com/SquidGodDev
Join my Discord!: discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Get a 30 day free trial: share.epidemicsound.com/njknzw
Get the game here!: squidgod.itch.io/almost-tennis
Get the source code and support the channel!: patreon.com/squidgoddev
Follow me on Twitter to see sneak peeks/updates!: twitter.com/SquidGodDev
Join my Discord!: discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Get a 30 day free trial: share.epidemicsound.com/njknzw
Previous Devlog: youtu.be/o3jzWsOnqc0
Support me on Patreon and get this + all my games and their source code!: patreon.com/squidgoddev
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua!
squidgod.itch.io/lua-for-game-development
Join my Discord to say hi or ask questions!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see what I'm up to!: twitter.com/SquidGodDev
Previous Devlog: youtu.be/skk77U-dNT0
Support me on Patreon and get this + all my games and their source code!: patreon.com/squidgoddev
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua!
squidgod.itch.io/lua-for-game-development
Join my Discord to say hi or ask questions!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see what I'm up to!: twitter.com/SquidGodDev
Music:
Epidemic Sound - share.epidemicsound.com/njknzw
Lud and Schlatts Musical Emporium - youtube.com/channel/UCFbtXFIaAJ0fOtgyeDs8Jog
If you want to follow along with the game source code file for convenience, it's only available to Patreon supporters, but I'll basically be showing everything in this livestream. Support is much appreciated and helps out the channel a lot! patreon.com/squidgoddev
Game Download: squidgod.itch.io/escape-from-complex-32
Devlog 1: youtu.be/RNAyEvI_7rI
Devlog 2: youtu.be/Q63tTh3yHbQ
Link to the game: squidgod.itch.io/pocket-pets
Devlog for this game: youtu.be/KUjVfoLtHwc
Support me on Patreon and get all my games and their source code!: patreon.com/squidgoddev
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua!
squidgod.itch.io/lua-for-game-development
Join my Discord to say hi or ask questions!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see what I'm up to!: twitter.com/SquidGodDev
Previous devlog: youtu.be/YTCMfC2oPJI
Support me on Patreon and get this + all my games and their source code!: patreon.com/squidgoddev
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua!
squidgod.itch.io/lua-for-game-development
Join my Discord to say hi or ask questions!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see what I'm up to!: twitter.com/SquidGodDev
Previous devlog: youtu.be/8yTBVDHt6KM
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua! Now with a Spanish translation!
squidgod.itch.io/lua-for-game-development
Support me on Patreon and get this + all my games and their source code!: patreon.com/squidgoddev
Join my Discord to say hi or ask questions!: discord.gg/kDM8RU4aFt
Follow me on Twitter to see what I'm up to!: twitter.com/SquidGodDev
Previous devlog: youtu.be/ReUR5hu-2tI
Walkie Talkie: managore.itch.io/walkie-talkie
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua!
squidgod.itch.io/lua-for-game-development
Support me on Patreon and get this + all my games and their source code!: patreon.com/squidgoddev
Join my Discord and say hi or ask questions! I'll respond :): discord.gg/kDM8RU4aFt
Follow me on Twitter to see what I'm up to!: twitter.com/SquidGodDev
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua!
squidgod.itch.io/lua-for-game-development
Support me on Patreon and get this + all my games and their source code!: patreon.com/squidgoddev
Join my Discord and say hi or ask questions! I'll respond :): discord.gg/kDM8RU4aFt
Follow me on Twitter to see what I'm up to!: twitter.com/SquidGodDev
Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua!
squidgod.itch.io/lua-for-game-development
Scene management code: github.com/SquidGodDev/Playdate-Scene-Management
Roomy Playdate: github.com/RobertCurry0216/roomy-playdate
Noble Engine: github.com/NobleRobot/NobleEngine
Cotton: github.com/unbelievableflavour/Cotton
Support me on Patreon and get all my games and their source code!: patreon.com/squidgoddev
Join my Discord!: discord.gg/kDM8RU4aFt
Follow me on Twitter!: twitter.com/SquidGodDev
Timestamps:
0:00 - Intro
1:09 - Simple scene management
2:00 - More advanced scenes
2:58 - Creating example scenes
4:32 - Creating a scene manager
6:42 - Using the scene manager
7:21 - Passing data between scenes
8:06 - Creating a wipe transition
10:59 - Disabling scene transitions during an active transition
11:32 - Create a wipe transition with an image
11:44 - Creating a fade transition
12:44 - Improving fade transition performance
13:22 - Drawbacks of this scene management approach
14:40 - Alternative #1
14:55 - Alternative #2
15:10 - Alternative #3
#Playdate #PlaydateSDK #PlaydateConsole
Support my channel + buy the game here!: squidgod.itch.io/pocket-pets
Become a patron and get my games and source code included: patreon.com/squidgoddev
Follow me on Twitter to see sneak peaks/updates!: twitter.com/SquidGodDev
Join my Discord!: discord.gg/kDM8RU4aFt
Support my channel + buy the game here!: squidgod.itch.io/pocket-pets
Interested in the source code and supporting the channel? patreon.com/squidgoddev
Follow me on Twitter to see sneak peaks/updates!: twitter.com/SquidGodDev
Join my Discord!: discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
Follow me on Twitter to join the conversation around my game in development: twitter.com/SquidGodDev
Previous episode: youtu.be/SpNonP2OxMc
First episode: youtu.be/MubQ6HX4tIY
Support me on Patreon! Patrons get early access to my games (like this game!) and the source code as well: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Follow me on Twitter to join the conversation around my game in development: twitter.com/SquidGodDev
Previous episode: youtu.be/SpNonP2OxMc
First episode: youtu.be/MubQ6HX4tIY
Support me on Patreon! Patrons get early access to my games (like this game!) and the source code as well: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Follow me on Twitter to join the conversation around my game in development: twitter.com/SquidGodDev
Previous episode: youtu.be/TOAwGZhXciA
First episode: youtu.be/MubQ6HX4tIY
Support me on Patreon! Patrons get early access to my games (like this game!) and the source code as well: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Follow me on Twitter to join the conversation around my game in development: twitter.com/SquidGodDev
Previous episode: youtu.be/ypTXRSq_0Bc
Support me on Patreon! Patrons get early access to my games (like this game!) and the source code as well: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Follow me on Twitter to join the conversation around my game in development: twitter.com/SquidGodDev
Previous episode: youtu.be/MubQ6HX4tIY
Support me on Patreon! Patrons get early access to my games (like this game!) and the source code as well: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Watch my other Playdate devlog videos!: youtube.com/playlist?list=PLlMPQvEA0GZMXNPDiAsG-eJmwSXd7jowR
Support me on Patreon! Patrons get early access to my games (like this game!) and the source code as well: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Catch some Pixel Art tips with Goodgis's video: youtube.com/watch?v=y-340vtaKts
Download the game here: squidgod.itch.io/by-the-pier
Wishlist Dewdrop Dynasty!: store.steampowered.com/app/1444080/Dewdrop_Dynasty
Support me on Patreon! Patrons get early access to my games and the source codes for my games: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Follow along with the source code: github.com/SquidGodDev/Gridview
Grid View SDK documentation: https://sdk.play.date/Inside%20Playdate.html#C-ui.gridview
Support me on Patreon to help me make more of these videos and get access to my Playdate games/source code!: patreon.com/squidgoddev
Timestamps:
0:00 - Intro
0:13 - Creating a grid view
0:40 - Setting number of columns and rows
0:54 - Drawing grid view to screen
1:40 - Drawing custom cells
2:09 - Cell padding and highlight selected cell
2:38 - Drawing text in cell
3:21 - Navigating between cells
3:47 - Fixing grid smearing
4:34 - Using crank to navigate grid
5:05 - Adding border with 9-slice
6:12 - Adding sections
6:54 - Creating a list view
7:40 - Addressing performance
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 #PlaydateSDK #PlaydateConsole
Easing functions website: easings.net
Support me on Patreon to help me make more of these videos and get access to my Playdate games/source code!: patreon.com/squidgoddev
Timestamps:
0:00 - Intro
0:07 - Simple animator
0:31 - Ended method
1:12 - Repeat count
1:33 - Easing functions
2:29 - Start time offset
2:48 - Animating along geometry
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 #PlaydateSDK #PlaydateConsole
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
Download for free, but Subscribe first though! squidgod.itch.io/escape-from-complex-32
Support me on Patreon! Patrons support the development of my games and the creation of my devlogs/tutorials. They also get early access to my games (like this one) and the source code!: patreon.com/squidgoddev
Part 1 Devlog for this game: youtu.be/RNAyEvI_7rI
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Support me on Patreon! Patrons get early access to this game and the source codes for my games: patreon.com/squidgoddev
Last Wii Tanks clone devlog: youtu.be/vBSrLdKsdiI
Roguelike devlog: youtu.be/v9YBJCAa3EQ
Roguelike download: squidgod.itch.io/untitled-roguelike
Pulpcraft devlog: youtu.be/_Z1zlLM1PT4
Pulpcraft download: squidgod.itch.io/pulpcraft
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
Music/SFX from Epidemic Sound. Support the channel and get a month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateDev #PlaydateConsole
Check out my book "The Beginner's Guide to Lua for Game Development" to learn how to program in Lua!
squidgod.itch.io/lua-for-game-development
Source Code: github.com/SquidGodDev/InvadersTutorial
Playlist to watch beforehand if you're a beginner: youtube.com/playlist?list=PLlMPQvEA0GZPOuKJyhSr3Ra0vrpCiBTnb
Timestamps:
0:00 - Intro
0:30 - Setup
1:47 - Creating the Player
5:10 - Creating a Projectile
7:24 - Creating an Enemy
10:38 - Creating an Enemy Spawning System
12:36 - Creating a Score Display
14:13 - Resetting the Game
15:01 - Adding Screen Shake
Support me on Patreon to help me make more of these videos and get access to my Playdate games/source code!: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
I get my music and sfx from Epidemic Sound. Get 1 month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateSDK #lua
Playdate Documentation: sdk.play.date
Check out my book "The Beginner's Guide to Lua for Game Development" that goes more in depth into this topic!
squidgod.itch.io/lua-for-game-development
WATCH NEXT:
1. Setup the Playdate SDK + Small Example: youtu.be/J0ufxinp7No
2. Using Playdate SDK Sprite System: youtu.be/8OCebUVKlb4
3. Object Oriented Programming for the Playdate SDK: youtu.be/e9x6DsWk-IU
Timestamps:
0:00 Intro
0:22 Tables
1:22 What is an Array?
2:36 What is a Dictionary?
4:06 Loops
4:28 Numeric For Loop
5:35 Table Helper Functions
6:28 Generic For Loop
7:25 Using the Playdate SDK API
8:10 Using "Import"
8:28 Update Function
Support me on Patreon to help me make more of these videos and get access to my Playdate games/source code!: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
I get my music and sfx from Epidemic Sound. Get 1 month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateSDK #lua
Lua Demo Website: tutorialspoint.com/execute_lua_online.php
Setup the Playdate SDK: youtu.be/J0ufxinp7No
Check out my book "The Beginner's Guide to Lua for Game Development" that goes more in depth into this topic!
squidgod.itch.io/lua-for-game-development
Timestamps:
0:00 Intro
0:40 Variables
2:16 Data Types
3:22 Operators
3:27 Arithmetic Operators
4:19 Relational Operators
5:11 Logical Operators
5:56 Misc Operators
6:24 Conditionals
8:07 Functions
9:53 Scope
Support me on Patreon to help me make more of these videos and get access to my Playdate games/source code!: patreon.com/squidgoddev
Join my Discord (I'm very active!): discord.gg/kDM8RU4aFt
Follow me on Twitter (See what I'm working on early): twitter.com/SquidGodDev
I get my music and sfx from Epidemic Sound. Get 1 month free with my link! share.epidemicsound.com/njknzw
#Playdate #PlaydateSDK #lua


