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 / quick question or 2

Author
Message
new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 22nd Dec 2005 19:30
hi i'm having trubble with my darned game!!!!! i kindas hate DB at this point but if sum1 help me i wont go bac 2 c++.

anyway,
if you run that you should see:

1. yo ucan turn in a direction only once
2. the bullet is dumb
3. when you use move object, does it just reposition it, or actully move it forward? that would be needed for actually hitting something...
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 22nd Dec 2005 22:04
well, to rotate you always need to take a value away from the current angle, i.e. camera angle y()-1 etc.

Same goes for moving, you can't have it in the same place all the time, no wonder it wont move.

The bullet - well there's alot you would need to learn about it at this rate

You need to put sync before loop as well.

new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 22nd Dec 2005 22:05
ohh! thanx for the bullet thing i forgot to lock it on
devastation
19
Years of Service
User Offline
Joined: 11th Aug 2005
Location:
Posted: 23rd Dec 2005 02:39
-

or you'll go back to cpp?

whoa.


new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 23rd Dec 2005 03:39
=D cpp is prob best lang for making games cus it has openGL, and loads of other stuff, but DBC, DBE, DBP mage gams fast3r.

Login to post a reply

Server time is: 2025-05-22 19:15:16
Your offset time is: 2025-05-22 19:15:16