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.

Beginners > Animating

#53233 - 3dfx - Tue Sep 06, 2005 11:04 pm

Could someone lead me to some or post code showing how to do an animation? Sorry, I'm just too much of a beginner.

#53265 - tepples - Wed Sep 07, 2005 3:21 am

Have you already figured out how to display a sprite that is not animated?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#53323 - ScottLininger - Wed Sep 07, 2005 3:15 pm

If you haven't done any coding yet, start with getting a "hello world" program to run. There are lots of good tutorials linked to from the main site.

http://www.gbadev.org/docs.php?section=tutorials

Then get static images (backgrounds) to display. Then get sprites to display. Then get animated sprites to display.

This is complex stuff, so take it once step at a time. And none of these tutorials will help you with the art-creation step. That's up to you and photoshop (or whatever image editor you prefer.)

-Scott

#53324 - Tomik - Wed Sep 07, 2005 3:24 pm

you need the Flip Function !
- show first pic, put second in buffer -> flip -> show second, third in buffer -flip aso ....

use programming for beginners ... it shows you all that s**t !!

tomik

#53331 - 3dfx - Wed Sep 07, 2005 5:09 pm

I already know the basics. And Tomik the flipping stuff is for bitmap modes, no? ANd I'm doing tiled mode. And thanks, some of the tutorials do show animation.