Everything You Need to Know About Sprites in the Playdate SDK

Опубликовано: 04 Апрель 2022
на канале: SquidGod
16,320
486

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: https://github.com/SquidGodDev/Playda...

Support me on Patreon to help me make more of these videos and get access to my Playdate games/source code!:   / squidgoddev  

Join my Discord (I'm very active!):   / discord  
Follow me on Twitter (See what I'm working on early):   / squidgoddev  

I get my music and sfx from Epidemic Sound. Get 1 month free with my link! https://share.epidemicsound.com/njknzw

#Playdate #PlaydateSDK #PlaydateConsole