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 / first person engine( i need help)

Author
Message
koolaid 2764
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: Atlanta, Georgia
Posted: 27th Oct 2003 23:00
okay im making a game which is a first person perspective im having some troubles trying to figure out how to get things right and the right method i took a look at the fps engine made by joshklint and implemented it into my own to help.i need to know : is it best to have a hidden box or cube as the player and position the camera at the player object,in this code i have a box 64,64,64 hidden and the camera is set to its position,and the gun is set to the camera position but i need to position the gun where its suppose to be in a fps game on the right side of the screen at the bottom,in this code i cant seem to stay on the ground when the matrix isnt level i did get ground height and when the matrix is level i walk on it when i aim the mouse somwhere the printed position are saying im moving on the y i unhide the player object and saw it was moving away from me,plus i have a crosshair and am trying to see if u want to your bullet to align with the crosshair for aiming how do u do it,ive tryed some stuff all ready but am confused and help tov my fps problem would be greatly appreciated thanks

KOOLAID
koolaid 2764
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: Atlanta, Georgia
Posted: 27th Oct 2003 23:03
sorry forgot heres the code i have right now,i looked at the fps engine code from joshklint

KOOLAID
Epsilon
21
Years of Service
User Offline
Joined: 30th Jul 2003
Location: North West, UK
Posted: 28th Oct 2003 01:03
Try looking through this fps code it helps a lot.

Login to post a reply

Server time is: 2025-05-21 09:43:50
Your offset time is: 2025-05-21 09:43:50