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 / I Need Help With My First Person Shoot

Author
Message
Darkdog
19
Years of Service
User Offline
Joined: 9th Oct 2005
Location:
Posted: 9th Oct 2005 10:39
ok how can i make like a hallway with smallrooms with items and stuff init and how can i have more then 1 enimey and how do i make a gun the reloads and has ammo and how do i make hp bars and stuff
as you can see im stuck

Attack of The Killer Toffied Legged Cats
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 9th Oct 2005 20:15
okay. That is alot of questions

Quote: "how can i make like a hallway with smallrooms"


Use a software to build levels. Like Cartography shop or 3D world studio : http://cartographyshop.thegamecreators.com/

Quote: "how can i have more then 1 enimey"


Use a for next loop to load the enemys and maybe also for checking their AI.

Quote: "how do i make a gun the reloads and has ammo"

Quote: "how do i make hp bars and stuff"


I don't think that you're ready to make an fps game. Start a simple place You could go to the newcomers corner board. There you will find the perfect tutorial for you. A beginners guide on how to make an fps game.
Here's the link for it:

http://forum.thegamecreators.com/?m=forum_view&t=56770&b=7

Hope that helps

-The Nerd

PanzerGameshere
Free Particle Engine For dbpro :
here
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 9th Oct 2005 20:20
Check out the tutorial on Monster Hunt it can help u with some stuff like how to make a gun reload and put in ammo

Hp is pretty easy just make hp a varible and set it at something like 100 then dec by a certin amount everytime he/she gets hit and inc by a certin amount everytime get a aid kit or something

hope that helps woth some stuff

NARUTO IS THE NINJA.....not really
devastation
19
Years of Service
User Offline
Joined: 11th Aug 2005
Location:
Posted: 9th Oct 2005 23:35
monster hunt will be very good for you. after u finish that, youll know how fps games work, then use the .x collision demo as a base and make your levels ina .x format and build ur game off the colllision demo. this can take anywhere from 10 days to months..... so dont give up. good luck.

verydevastating.com
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 12th Oct 2005 02:27
Quote: ""how can i have more then 1 enimey""

You would use an array here like this:
Enemy(enemy #,2)

Enemy(enemy#,1) would be the enemies x-coordinate and the other would be the y-coordinate. You can also add other things like if the enemy is attacking etc.
RUCCUS
20
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 20th Oct 2005 04:59 Edited at: 2nd Nov 2005 21:59
http://www.ruccus.net/Tutorial.htm

A tutorial about learning how to make your first FPS, it isn't complete but can still help a great amount.

TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 22nd Oct 2005 04:28
Quote: "Enemy(enemy#,1)"


The elements of an array are always integers - never floats, so you shouldn't use the # float identifier.

Also, you shouldn't use the same variable name for a float and an integer. DB may accept it, but you are asking for trouble further down the line.

It should read something like:

EnemyData(EnemyNum,1)

TDK_Man

SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 22nd Oct 2005 17:09 Edited at: 22nd Oct 2005 17:11
when not in programming I believe it means number
instead of writing:
Enemy Number 1
you can instead write...
Enemy # 1

so as long as the compiler doesn't read that - no problemo, we know what it means and saves all of about 2 seconds writing (or typing)

for the compiler - just give it a bit of algebra like TDK did...

...maybe one day I'll finish a project

Login to post a reply

Server time is: 2025-05-22 14:51:01
Your offset time is: 2025-05-22 14:51:01