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 / Zooming???

Author
Message
Titch
21
Years of Service
User Offline
Joined: 26th Apr 2003
Location:
Posted: 26th Apr 2003 21:27
Right.
I am completely new to Dark Basic.
I have programmed before in c++ but thought that it was way to
difficult to do anything.
So i bought the Dark Basic packsge and i tink it's
great!!!
One small problem. I am sort of working through the turorial section in the back to try ad get used to the whole idea of programming.
Then once i had finished that i decided well i better see what i can do.
I decided to make a zoom up view like looking through a sniper rifle.
Is this a good idea for someone so new or is there an easy way of getting around it.
Titch
Shadow
21
Years of Service
User Offline
Joined: 17th Oct 2002
Location: In the shadows
Posted: 26th Apr 2003 21:49
Hmm... the only way I can think of is to use the fov (see help files)
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 26th Apr 2003 21:50 Edited at: 26th Apr 2003 21:51
you would probably want to have an object in front of the camera (maybe use the 'glue object on' command to do that) that looks like the sights of a sniper, or you could use sprites.

Then for the zoom, you would simply move the camera forward and backward in the direction it was pointing, this wouldn't be ideal as the camera could pass through any objects, a scope would magnify them, but I can't think of any other way, maybe fov would work, but Im not sure how to use that, my way is a simple way.

Why the hell'd you ask me for crying out loud!?!

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Apr 2003 23:38
SET CAMERA FOV is easy to use.



Just decrease FOVAngle to zoom in, and increase to zoom out. 62 is the 'normal' value (actually 61.96....).

Now whats hard about that?
vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 27th Apr 2003 01:00
I picked up a peice of code when i forst started using DBPro off of someone, its a sniper affect. Use the right mouse button to zoom in


enjoy

WHY WAIT FOR GAMES.......MAKE THEM COME TO YOU
>>>>www.sharksoft.scripterz.com<<<<<
THANKS IN ADVANCE

Login to post a reply

Server time is: 2024-09-20 05:38:53
Your offset time is: 2024-09-20 05:38:53