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.

Newcomers DBPro Corner / i need of help

Author
Message
BF game programmer
19
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: hoover alabama
Posted: 1st Feb 2005 06:22
hi i need some help i cant seem to make a bullet function
that goes with a gun in the right hand corner.
please help me

thanks

james bond lover
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 1st Feb 2005 07:29
make object sphere 1, 5


if spacekey()=1 then shoot=1

if shoot=1 then set object to camera orientation 1:shoot_bullet(1)


function shoot_bullet(obj as integer)
move object obj, 5
endfunction

"eureka" - Archimedes
BF game programmer
19
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: hoover alabama
Posted: 1st Feb 2005 10:19
thanks

james bond lover

Login to post a reply

Server time is: 2024-09-23 10:25:39
Your offset time is: 2024-09-23 10:25:39