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 / sniper game

Author
Message
pentagon51
22
Years of Service
User Offline
Joined: 31st Jan 2003
Location: United States
Posted: 31st Jan 2003 23:56
has anyone ever programmed a sniper game in db,or at least seen one,i just want to get a couple pointers.as far as db goes there isn't too much help out there
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 31st Jan 2003 23:59
I've programmed a sniper zoom effect used in a fps engine, but I don't know where the code is right now.
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Feb 2003 03:51
Strutt your stuff had zoom im pretty sure

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 1st Feb 2003 14:29
Ive never done anything like that, but wouldnt you just have to have a sprite on the screen for the scope and move the camera forward in the direction it's pointing for the zoom?

Yum! Yum! Yum! Yum!
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 1st Feb 2003 14:38
For the snipering use "set camera fov" - this provides an effective zoom.



One file needed, "floor1.bmp".

Visit [url]www.lightning-systems.co.uk[/url]
You are the th person to view this signature.
Hockey07
22
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 1st Feb 2003 16:54
David89, are you the one working on Merc 2?

AlamDV, NHL, NHL 2K3....... The best combination ever!
Leade
22
Years of Service
User Offline
Joined: 8th Nov 2002
Location: United Kingdom
Posted: 1st Feb 2003 17:11
I think it's something like this:



As long as you don't rotate the camera on the Z axis this will be fine.
pentagon51
22
Years of Service
User Offline
Joined: 31st Jan 2003
Location: United States
Posted: 1st Feb 2003 19:34
well thanx for a few ideas people,i have my models and scenery,i'm waiting for my dbpro to come im writing a multiplayer sniper game for online or lan.but i'm making it more stealthy then just a shoot em up,im finishing my code to where if you have a ghilly suit on and move slowly other players can't see you.so it's more of a strategy game i guess.does this sound boring to you guys.

for the blood and honor
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 2nd Feb 2003 04:13
Yea Davids doin Mercenaries

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!

Login to post a reply

Server time is: 2025-08-08 11:44:48
Your offset time is: 2025-08-08 11:44:48