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 / Well hello!

Author
Message
Bush Baby
20
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 23rd Apr 2005 09:56
I'm not new to DarkBasic but I left a long time ago
You may remember me as ''DarkPadawan''
I'm teaching myself the language again but I've forgotten so much!!!
At the time I'm just trying simple things.
I'm glad to see I remember some names, like David T and JessTicular.
Its been a long time I got caught up with fish, if any of you remember my last posts on here were about fish in General Discussion. So I'm glad to be back and I missed you guys!

My main problem at the moment is finding a way of sticking a gun to the screen (for a FPS) without it being distorted and semi-transparent. If somebody could refresh my mind with good code snippets I would be very grateful!

~KillSwitch
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 23rd Apr 2005 12:01
I think what your talking about is the gun object keeps getting cut off, right?

Well, you try a few things. Try set the camera range like this:


Also, make sure you lock the gun object to the screen like this:


Actually, after you lock the gun object to the screen try just moving the object foward just a little like 1 or 2 units.

Here's some code that works:


Let me know if it works .

Bush Baby
20
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 24th Apr 2005 01:39
I'll have to post a screenshot of what I mean.
Its impossible to explain, and that code works, just doesn't help my problem but thanks anyways!!!!!!!!

~Dark Padawan

Login to post a reply

Server time is: 2025-05-23 12:50:02
Your offset time is: 2025-05-23 12:50:02