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 Professional Discussion / Sprite move problems

Author
Message
Biggyniner
23
Years of Service
User Offline
Joined: 25th Apr 2003
Location:
Posted: 14th Nov 2003 09:36
hi,
I am tryin to get a sprite to move at an incremental value of .1 However it does not work, i want the sprite to start slowly and gradually speed up, here is the code.

When I run the program and hit the up key the sprite just sits. But if I put .1 in instead of the speed variable in the move sprtie command, it works.

Thanks

"A man not willing to die for something is a man not fit to live."
-Martin Luther King Jr.
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Nov 2003 09:52
speed as integer to be inc by .1?

integers are whole numbers, no fractions

try fltSpeed as Float

-RUST-

Login to post a reply

Server time is: 2026-07-26 14:31:03
Your offset time is: 2026-07-26 14:31:03