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.

Dark GDK / Bullets?

Author
Message
ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 3rd Oct 2008 01:04
I have an ok FPS started but I don't know how to start making bullets. I'm sure someone has done this before so could you get me started? Below is my source.



Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 3rd Oct 2008 01:14
Create a bullet object, position it at your player's position, dbSetObjectToCameraOrientation(bullet_id), then just dbMoveObject(bullet_id, speed) each frame.

Login to post a reply

Server time is: 2024-09-30 07:31:27
Your offset time is: 2024-09-30 07:31:27