Clearing the screen
Moderator: Stef
-
- Interested
- Posts: 30
- Joined: Mon May 06, 2013 2:27 am
- Location: Vermont, USA
Clearing the screen
Sorry to ask such a noobish question , this is my first post ever, but what is the best and most efficient way to clear the screen when using SGDK?
When I use VDP_fillTileMapRect with a blank tile I created, it is horribly slow.
What should I do?
I'd appreciate any help at all.
Thanks, SpritesMind!
When I use VDP_fillTileMapRect with a blank tile I created, it is horribly slow.
What should I do?
I'd appreciate any help at all.
Thanks, SpritesMind!
-
- Interested
- Posts: 30
- Joined: Mon May 06, 2013 2:27 am
- Location: Vermont, USA
-
- Interested
- Posts: 30
- Joined: Mon May 06, 2013 2:27 am
- Location: Vermont, USA
I used the method described in:
viewtopic.php?t=1429
How do I set up sprites and load them into memory from a bmp file?
Also, can I use sprite-strips for animations?
Thank you so much for helping me out, by the way.
viewtopic.php?t=1429
How do I set up sprites and load them into memory from a bmp file?
Also, can I use sprite-strips for animations?
Thank you so much for helping me out, by the way.
Yes, you can use BMP files as sprite lists.
I did something like you are asking here: viewtopic.php?t=1312
I did something like you are asking here: viewtopic.php?t=1312
-
- Interested
- Posts: 30
- Joined: Mon May 06, 2013 2:27 am
- Location: Vermont, USA
-
- Very interested
- Posts: 616
- Joined: Thu Nov 30, 2006 6:30 am
You are correct about the size limit. If you want to display a larger sprite, you need to split it into smaller sprites.TechnoZealot wrote: However the BMP sprite I'm using is 32x40.
Currently, it's only displaying the very top of the sprite.
I saw something about a 4x4 tile limit for sprites. Is that true? If so, how can I display something larger as a sprite?
-
- Interested
- Posts: 30
- Joined: Mon May 06, 2013 2:27 am
- Location: Vermont, USA