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 / What should I put in my main loop (i am trying to make a simple FPS game)

Author
Message
Indian Homie G
20
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: San Jose, CA
Posted: 11th Feb 2004 05:03
ok then all i know is the sync and sync rate stuff... what else??? thnks a t0n
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 11th Feb 2004 07:14
maybe movement, shooting, collision, etc......i would put the computer AI and such in labels below the loop....that helps to keep it organized...

cheers,
Bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 11th Feb 2004 08:51
try this

DO

-many tutorials
-much practice and hard work
-much experimenting with code until stumped
-ask in forums

SYNC
LOOP

not trying to offend you just trying to make a point that many coders here have sweated and struggled to achieve their skillset. Questions like these, no matter how innocent and well intended, are taken with a grain of "insult" rather than salt (and in Phillip's case a Jam sandwich)

hope you understand

-RUST-
"What the... Mooooooooooo!"
BearCDPOLD
20
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 13th Feb 2004 05:13
CattleRustler summed up what you'll hear in a hundred different threads. If you are really bent on first person shooters, start by working through all the tutorials, then start little mini projects where you try to recreate effects seen in FPS games. Start with walking around a flat plain or matrix, add hills, collision. Start a separate project and try to make explosions, and build up your skill repertoire.

Juvenile Industries
Current Project: KillZone(FPS)
Soon to come:An rts, and a snowball fight game
walaber
20
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 13th Feb 2004 13:04
indeed.

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia Ti4200 AGP 8x 128MB
Ralen
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location:
Posted: 16th Feb 2004 11:14
Its pretty sad when people won't even answer a question as general as this.

This kind of attitude is pretty much what makes these forums useless.

Really people arn't these forums here to ask questions?

Its pretty much pointless to ask a question here if the general attitude is 'Figure it out yourself.'

Ralen
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 16th Feb 2004 15:21
write something like this

do

gosub moveman
gosub movebaddies
gosub movebullits
gosub specialeffcts

sync

gosub collisionchecks

loop

Then REM out each GOSUB so the loop works. Now work on one routine at a time.

Login to post a reply

Server time is: 2024-09-21 20:41:45
Your offset time is: 2024-09-21 20:41:45