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 / my first fps

Author
Message
FINN MAN
20
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 4th May 2004 01:03
i am using DBC. i wont to make a fps and do not know ware to start. can any one give me an example or tell me were to go?
Jobyman
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location:
Posted: 4th May 2004 01:32
...
Well first of all, FPS isnt the best game to start with and you will soon run into porblmes like collision(expecially iuf your db is unenhanced).

Where to start eh?

Well i suppose you should start with the very very basic stuff. In an fps i ussually code movement and level collision first

So:



Everyone is a comedian...
Jobyman
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location:
Posted: 4th May 2004 01:37
i put remarks into it so you can understand whats going on. I am guessing that you probably don't know what the newxvalue command does. If you dont then read up on it in the help files. It is a very very usefull command.

Anyway. You will need some way for the player to be able to turn the camera
so you add a new subroutine

add this:

gosub control_camera

after the:
gosub control_player

and ten add this subroutine:



so overall this is what it shoudl look like:



If you dont understand any commands then study them.

If you are able ot continue this a few steps further on your own then thats great.

Everyone is a comedian...
FINN MAN
20
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 4th May 2004 03:11
thanks a mill, i really helped i am going to try this.

Login to post a reply

Server time is: 2024-09-22 08:28:00
Your offset time is: 2024-09-22 08:28:00