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 / holding guns?

Author
Message
an anonymous person
20
Years of Service
User Offline
Joined: 28th Dec 2003
Location:
Posted: 29th Dec 2003 04:37
Hi, I'm pretty new to darkbasic but I know some stuff about it, anyways im trying to make a little shooting game and I'm having trouble getting the players gun to appear in front of the camera and stay there like in the iced demo that comes with darkbasic. I've looked in the manual, in the code of demo games that do similar things and on these forums and I havent been able to figure it out, any help would be appreciated, thanx
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 29th Dec 2003 19:59
Limbs. Basically I make an object that is hidden and positioned where the camera is. This has a limb (which is an object attached to it like an arm, so wherever it is and however it is rotated it still remains in the same place relative to its parent object). I then glue an object to the limb, the gun. You can unglue it and glue a different one whenever.



Do you bite your thumb at me sir?

Athelon XP 1600 Plus - Nvidia Geforce MX400 - 256mb RAM
an anonymous person
20
Years of Service
User Offline
Joined: 28th Dec 2003
Location:
Posted: 30th Dec 2003 01:34
Thanks, I'll try that out
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 31st Dec 2003 19:22
why don't you just lock it to the screen (lock object on *object*)

Flick that switch...*BANG*...Not that one!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 1st Jan 2004 02:46
That won't lock it to the object i think

I am mischeivious
RoooooOoooooKoooooKoooooRoooooOoooooKoooooKooooo!
demons breath
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 1st Jan 2004 21:16 Edited at: 1st Jan 2004 21:17
O.K. here goes...

or something like that.

Am I the only one here who's really confused?

Login to post a reply

Server time is: 2024-09-21 13:54:51
Your offset time is: 2024-09-21 13:54:51