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 Discussion / wheelies! on a bike

Author
Message
BB9 Brad
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location:
Posted: 11th Nov 2003 00:49
i have the code below i no its not great but once its in the wheely posistion why is it that it goes back to the floor and then once the bike has stopped moving it goes to the wheelie posistion again! im so confused please Help!

DB RULES!
D I G I T A L
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: Dubai, UAE
Posted: 12th Nov 2003 02:31
Quote: "
if upkey()=1 then if a > 55 then b = -1
if upkey()=1 then if a < 55 then b = 1
if upkey()=0 then b = 0
if upkey()=0 then a = 0
"

that's the strangest code ive ever seen! if u have a problem with moving then its gata b the UPKEY command.
try:
if upkey()=1 and a>55
b=-1
if a < 55 then b=1

if upkey()=0
b=0
a=0

‘Those who ignore the lessons of the past are doomed to repeat them’ (Napoleon)
BB9 Brad
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location:
Posted: 12th Nov 2003 11:31
yeh but thats not the problem i no its wierd he he but it works its just when i try to rotate lim number 1 so that the bike goes into a wheelie posistion it doesnt work! i gave you my code so that you could show me were abouts and / or what to type! the code has changed a bit recently but its still very similar! Thanks for trying though mate!

DB RULES!

Login to post a reply

Server time is: 2025-05-21 19:42:53
Your offset time is: 2025-05-21 19:42:53