gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > Put a Sprite On The Screen

#174602 - nathanpc - Wed Jun 30, 2010 1:13 am

Hello,
I want to know how to plot a sprite to the screen, setting where I want to start writing it to the screen, but without using any external library.

Best Regards,
Nathan Paulino Campos
_________________
Reading Tonc and trying to remind my very old C knowledge.

Just bought a GameBoy Advance SP one of those cartridges to put the ROMs for onboard debug.

#174604 - Dwedit - Wed Jun 30, 2010 5:31 am

Continuing with framebuffer mode is a dead end, it's very slow compared with just using the 2D hardware.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#174607 - headspin - Wed Jun 30, 2010 7:42 am

As I mentioned in the other thread, check out http://greatflash.co.uk/index.php?board=12.0 it has an example for displaying sprites.
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game

#174612 - nathanpc - Wed Jun 30, 2010 10:38 am

I only saw DS things there.
_________________
Reading Tonc and trying to remind my very old C knowledge.

Just bought a GameBoy Advance SP one of those cartridges to put the ROMs for onboard debug.

#174613 - headspin - Wed Jun 30, 2010 2:15 pm

nathanpc wrote:
I only saw DS things there.


There's a couple of GBAGuy's examples for GBA on there. But the sprite code for DS is very similar to GBA anyway.
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game