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 / Dark Basic Enemy Help

Author
Message
DarkBasicBegin
12
Years of Service
User Offline
Joined: 27th Apr 2011
Location:
Posted: 28th Apr 2011 00:45
So I am trying to make my game so that when the enemy collides with a wall he rotates automatically and it worked. ONCE. As is expected because I never had a way to tell it to repeat this action everytime it collides with a wall only once. It's in a do/loop. So how do I get it to repeat?
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 28th Apr 2011 05:55
Welcome to the forums!

A couple preliminary questions here:

1) Are you using 2D or 3D?

2) Can you post the code? Be sure that when you copy it here, you highlight it and click the code button so that it keeps formatting and such.

Also, I'd suggest taking a look at TDK's tutorials (they are posted at the top of the forums here). They do a great job of explaining the basics of programming in basic.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose

Login to post a reply

Server time is: 2024-04-20 08:20:54
Your offset time is: 2024-04-20 08:20:54