Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / 2-d Animations

Author
Message
Urist McCoder
19
Years of Service
User Offline
Joined: 27th Sep 2005
Location: At the computer.
Posted: 25th Mar 2009 22:57
Earlier, I was looking at the DarkNOOBS project and i saw the images for the animations. That got me wondering, "How would I be able to do that?" Do you make images of each frame and play them?

Nom nom nom nom
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 25th Mar 2009 23:01 Edited at: 25th Mar 2009 23:01
Usually you make a single image (for each character) that has each possible frame of that character. Then, you split that up into each individual picture and use those to animate. Help?

p.s. OFF MY AVVY, BOY!

~QJ
That's what they WANT you to think...
Urist McCoder
19
Years of Service
User Offline
Joined: 27th Sep 2005
Location: At the computer.
Posted: 25th Mar 2009 23:05
Oh, okay, and thanks.

Nom nom nom nom
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 26th Mar 2009 01:07
There are several ways to do it. I have done it where the image numbers are consecutive, so you can do:

sprite 1,x,y,imgnum

and then increase imgnum to change frames.

Offtopic: Why not join DarkNOOBS? We are always looking for new, interested, people.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose

Login to post a reply

Server time is: 2025-05-16 04:16:15
Your offset time is: 2025-05-16 04:16:15