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! / slowing it down

Author
Message
warship45
21
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 25th Aug 2004 00:23
hi i am making a game but i am having problems trying to slow down some movement in my game can you plz help. if you read the rems you will know what i mean.


` i need to slow this bet down so that i will move slower but i `need the bit at the bottom to run at the speed it is now
if sprite exist(3) and x<>500 and s<>1 then x=x+1 :sprite 3,x,y-360,3
while x=500
t=0
repeat
t=t+1
y=y+1
sprite 3,x,y-360,3
until t=10
x=x-1
s=1
endwhile
if sprite exist(3) and x<>50 and s=1 then x=x-1 :sprite 3,x,y-360,3
while x=50
t=0
repeat
t=t+1
y=y+1
sprite 3,x,y-360,3
until t=10
x=x+1
s=0
endwhile

`rem this needs to stay at the same speed
if spacekey()=1 then k=1
if keystate(205)=1 then q=q+2 :sprite 1,q,m,1
if keystate(203)=1 then q=q-2 :sprite 1,q,m,1

go to http:\\bws.bizhat.com
warship45
21
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 4th Sep 2004 04:59
can you plz get rid of this post plz

go to http:\\bws.bizhat.com

Login to post a reply

Server time is: 2026-06-11 21:23:20
Your offset time is: 2026-06-11 21:23:20