I'm not sure if this is for feature requests or coding questions, but what is the method losing sprite sheets?
Currently I'm splitting the sprites down into their individual frames, but that is then leaving me with over a hundred stories to load, and if I want to add more resources in, then I will have to load even more resources...
All I want is one sprite sheet that I can load and dissect for each level...
Is it planned? Or is it already available and I'm just being daft and blind?
Sprite Sheets
Re: Sprite Sheets
You load a sprite and use ClipSprite() to draw a sprite out of the whole sprite sheet.
PureBasic has already some "AnimSprite" and bitmap font libs available in forum to automate the
calculation of the clip area and add timers, etc.
Some useful tools:
- TexturePacker
- Monopack
- Tiled Map Editor
- Mappy Editor
PureBasic has already some "AnimSprite" and bitmap font libs available in forum to automate the
calculation of the clip area and add timers, etc.
Some useful tools:
- TexturePacker
- Monopack
- Tiled Map Editor
- Mappy Editor
cya,
...Danilo
...Danilo
Re: Sprite Sheets
Thanks for this, I'd forgotten about the ClipSprite() function.
Previously I'd been using GrabSprite() and creating a load of sprites in memory build from a sprite sheet!
Previously I'd been using GrabSprite() and creating a load of sprites in memory build from a sprite sheet!