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 / Gun switching problem

Author
Message
Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 17th Aug 2006 22:22
I am trying to add multiple guns to the Game Alien Hunter. I made another gun and locked it to the screen then i hide it. when i press the button to change the weapon, it doesn't show the second gun. How do I fix this?

P.S. if u need code let me know

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 17th Aug 2006 22:39
I made this in DBPro, should work in classic, but I made it a while ago and I can't remember, if it doesn't just tell me.

http://forum.thegamecreators.com/?m=forum_view&t=75070&b=6

Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 17th Aug 2006 22:55
this is kinda what i was going for. but i want to add different models and objects not just color them. Cool code though.

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 17th Aug 2006 23:01 Edited at: 17th Aug 2006 23:12
Well I didn't want to include media. But it really is simple to use models, just do this:

Instead of,



do,


or even better,


[edit]
Don't forget, this means not loading the objects before the loop.

Login to post a reply

Server time is: 2025-05-25 06:47:29
Your offset time is: 2025-05-25 06:47:29