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 / A. I. Shooting system error, Help please

Author
Message
Programador hispano
18
Years of Service
User Offline
Joined: 11th Jul 2006
Location: Dallas, TX
Posted: 11th Feb 2007 11:11
Hello, and thank you for taking the time to help me.

What I want the code to do is:
To take a snapshot where the player is, then shoot a bullet at it, if it hits good, and if it doesn't make the bullet come back to the enemy. But my code is not letting the bullet get to the player's position and it is a little bit off and sometimes gets stuck the player(you) moves diagonally. You can see better the effect if you stop and go, stop and go.

This is my code:

Login to post a reply

Server time is: 2025-05-29 09:00:43
Your offset time is: 2025-05-29 09:00:43