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.

2D All the way! / sprite moving??

Author
Message
pagio
23
Years of Service
User Offline
Joined: 8th Jan 2003
Location: - Please Select -
Posted: 31st Jan 2007 13:54
what is the best way to make a sprite move to one ppoint of the screen to another like walking?

Dont forget the retro games
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 2nd Feb 2007 02:36
You make variables for the screen coordinates and make a for/next or do/loop that slowly increase the variable in the direction you want the sprite to move.



D Ogre
22
Years of Service
User Offline
Joined: 19th Nov 2003
Location:
Posted: 10th Feb 2007 23:25
I probably should post a few of my examples from here in the forums in the code
base. It seems that many people ask very similar questions about moving and
animating sprites.

For now, I'm going to post a link here from the New Comers forum.

http://forum.thegamecreators.com/?m=forum_view&t=82482&b=7

Enjoy!

Login to post a reply

Server time is: 2026-07-05 01:11:52
Your offset time is: 2026-07-05 01:11:52