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.

Newcomers DBPro Corner / Sprite Help PLease!!!

Author
Message
DayCreator
21
Years of Service
User Offline
Joined: 12th Dec 2002
Location:
Posted: 14th Dec 2002 17:55
I need help understanding how to, rip things from a sprite sheet..

For example i have a sprite sheet of megaman, and i want to take out his walking scenes and make it into motion, in the game.

Then I'll learn collision with 2d objects

Please help me!
The Darthster
21
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 14th Dec 2002 23:50
To do this you'll need to use for..next loops to break up the image.



This breaks up a 4x4 tileset of 32x32 images and puts it into image 100 to 115, which you can use as your sprite images.



a is the image number which loops around, and b is a timekeeping variable which slows down the animation.

Login to post a reply

Server time is: 2024-04-19 17:02:33
Your offset time is: 2024-04-19 17:02:33