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 / Beam Rotation prob

Author
Message
Mucky Muck Ninja
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: im not entirely sure
Posted: 19th Dec 2003 06:31
Im trying to make a targeting laser for my space game. The problem is, when you rotate the ship, the beam moves away from the ship so that it is floating next to it. You'll have to try my code to understand.

arrow keys move.
Keypad Enter uses the Targeting laser.

Am I an Idiot...or is everyone else just really smart?
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 19th Dec 2003 13:38
I found this code somewhere on the forum maybe you can use it...
I had no time to test it yet but i think it works
I know the point object command is a little like (...), it
sometimes turns to the wrong point.... it sucks

Juzt a dude who likez progging
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 19th Dec 2003 13:38
Oops... this is the code

Juzt a dude who likez progging
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 19th Dec 2003 13:39


Juzt a dude who likez progging

Login to post a reply

Server time is: 2025-05-22 01:03:19
Your offset time is: 2025-05-22 01:03:19