Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

DragonRuby Game Toolkit

An intuitive 2D game engine. Fast, cross-platform, tiny, hot loaded. · By DragonRuby

Sprite Sheets and Documentation

A topic by kukoo created Apr 30, 2019 Views: 693 Replies: 1
Viewing posts 1 to 2
(+1)

Is there sprite sheet support or will I need to export each frame of animation into its own file?

Is there documentation for the API? It would be nice to see all the options for rendering a sprite for example.

Thanks,

Ketan

Developer(+1)

When drawing from a sprite, you can supply a source rectangle, to draw only a subset of it. That subset can be scaled and rotated as if it were the entire sprite. We don’t have a formal means of defining a full atlas at the moment, but as long as you know the rectangle you need from the spritemap, you can use a single image for all your animation.

Right now we are building small games to show you the API in use, but while this is nice in some ways, it’s completely annoying in others, so we’ll be writing formal documentation soon so everyone can reach for what works best for them.   :)