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.

3 Dimensional Chat / placing gun objects in my game

Author
Message
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 14th Dec 2003 21:33
i'm making a game called alien hunter,
how do you place a gun object in the bottom right hand
corner of the screen?

Ali - Nukesoft


Ali Morrison
Slayer
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: CA
Posted: 14th Dec 2003 21:36 Edited at: 14th Dec 2003 21:36
disable object zdepth. lock object on 1. position object 1,0,0,20
mess with this for a while.
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 16th Dec 2003 15:16
hey thanks!



Ali - Nukesoft

Ali Morrison
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 17th Dec 2003 10:19
hey whats happened?

the gun isn't there!

Ali Morrison
Mougli
21
Years of Service
User Offline
Joined: 10th Dec 2003
Location: United Kingdom
Posted: 17th Dec 2003 10:38
is your gun object too big? if part of its "behind" the camera darkbasic automatically hides it.Try scaling your gun object smaller or moving it further from the camera.

You'll have to position it a something other than 0,0,20 too because that would be the center of the screen if you want the bottom right corner it would be more like 5,-5,20(the first to numbers get bigger depending on the z value)

Is the glass half empty - or half full?
you can have it all - Just not all at once

Login to post a reply

Server time is: 2025-05-14 06:32:10
Your offset time is: 2025-05-14 06:32:10