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
Смотрите видео Everything You Need to Know About Sprites in the Playdate SDK онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал SquidGod 04 Апрель 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 16,320 раз и оно понравилось 486 посетителям.