Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

DragonRuby Game Toolkit

An intuitive 2D game engine. Fast as hell, cross-platform, tiny, hot loaded, and royalty free. · By DragonRuby

Sprite Sheets and Documentation

A topic by kukoo created Apr 30, 2019 Views: 885 Replies: 1
A moderator has unlisted this topic. It is not visible on the topic listing but you can still reply and make edits.
Viewing posts 1 to 3
(+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.   :)

Developer unlisted this topic