Uploaded April 2022 | Updated September 2026, 2 weeks ago
Watch this tutorial to learn how to draw anything into sprites, how to use push context and lock focus, and how to extend sprites into their own subclass. I also go over a simple example of using sprites for a healthbar.
Timestamps:
0:00 - Intro
0:30 - Why Sprites?
1:00 - Overriding Draw Callback
2:45 - Draw to Sprite with Push Context
3:59 - Extending Sprite into a Subclass
6:00 - Healthbar Example
Source Code for Healthbar Example: github.com/SquidGodDev/PlaydateSDKSpriteDrawing
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 #PlaydateConsole
Watch this tutorial to learn how to draw anything into sprites, how to use push context and lock focus, and how to extend sprites into their own subclass. I also go over a simple example of using sprites for a healthbar.
Timestamps:
0:00 - Intro
0:30 - Why Sprites?
1:00 - Overriding Draw Callback
2:45 - Draw to Sprite with Push Context
3:59 - Extending Sprite into a Subclass
6:00 - Healthbar Example
Source Code for Healthbar Example: github.com/SquidGodDev/PlaydateSDKSpriteDrawing
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 #PlaydateConsole










