Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnimatedSprite

Badge License

Animated sprites library for the PlayDate.

playdate-20211013-052753.gif.mp4


Button Installation

Button Documentation

Button Performance


Features

How the sprites class has been extended:

  • Sprite animations

  • Finite State Machine

  • JSON Configuration



Showcase

A small example how you could use it:

import 'AnimatedSprite.lua'

-- Loading imagetable from the disk
imagetable = playdate.graphics.imagetable.new('path')

-- Creating an AnimatedSprite instance
sprite = AnimatedSprite.new(imagetable)

-- Adding custom a animation state (Optional)
sprite:addState('idle',1,5,{ tickStep = 2 })

-- Playing the animation
sprite:playAnimation()


Contacts

Button Telegram    Button Discord    Button Mail


About

Sprite class extension with imagetable animation and finite state machine support for @Playdate

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages