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 too fast. Can you look at my code?

Author
Message
Torq
22
Years of Service
User Offline
Joined: 18th Jan 2004
Location:
Posted: 20th Oct 2004 11:12 Edited at: 22nd Oct 2004 09:36
The part with the ***********'s shows the problem area

Im trying to move a sprite up and down but I have it in the main loop so it moves way to fast and I can quite figure out how to slow it down to a tolerable speed.
Ive tried messing with the sync command but I just keep locking up my pc. CAn someone help me with the logic and code on this one.
Thanks

http://badtempergames.tripod.com

Torq
22
Years of Service
User Offline
Joined: 18th Jan 2004
Location:
Posted: 20th Oct 2004 11:41
Sorry heres the code!



http://badtempergames.tripod.com

Torq
22
Years of Service
User Offline
Joined: 18th Jan 2004
Location:
Posted: 23rd Oct 2004 10:09 Edited at: 23rd Oct 2004 14:23
Well I got it figured out. Using the sync command I finally got it right.


http://badtempergames.tripod.com

Login to post a reply

Server time is: 2026-06-12 03:35:42
Your offset time is: 2026-06-12 03:35:42