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.

Newcomers DBPro Corner / should be simple help for someone who is good (sry bout frequent posts)

Author
Message
Cairne
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: The Internet
Posted: 6th Aug 2004 11:39
I am attempting to make a pinball-esque game where you control the ball, but I cant seem to make the ball stop rolling backwards when I tell it to stop. Any help would be appreciated.



I use darkbasic classic and i practically have no experience.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 6th Aug 2004 15:18
balls#=balls#-(ballt#/10)

That's your problem. It could never hit zero, but could get close.

You should also probably call "balla#=wrapvalue(balla#)" before the newxvalue and newzvalue calls.

"eureka" - Archimedes

Login to post a reply

Server time is: 2024-09-22 19:25:31
Your offset time is: 2024-09-22 19:25:31