FPS Engine:Mouse Movement and Collision

Well today has been a slow one, most of the work has been done on the backend so no nice screenies to show. Basically mouse movement works perfecting with a full looking around now done (with upper and lower bounds set). I have also updated the collision slightly by adding some less than perfect sliding collision to the environment items(boxes, cylinders etc). I really should make a too do list has the last few days a lot of feature creep has settled in detracting from the aim. Here is a list of current features:

  • 3D World Loading from file (floors - wall worked out automatically) - file format needs overhaul to include items
  • Normals set so OpenGL lighting works - Need to learn more about lights in OpenGL
  • Texture setting works
  • Environment Obstacles (non moveable items) can be loaded - need to test on different sizes/types to make sure collision is consistant
  • Placeholder gun and crosshairare in the correct place - need to work on this more
  • Classes for Maps, Obstacles and Player are coming together - Need one for Lights and another for Fog settings
  • Messed around with different height blocks - realised the initial level format needs some work before this becomes a permanent feature
  • Edit Mode hasn’t been started.
  • Anything above the Obstacle Layer is still in theory land. Everything below is in messy hack land.

Target for Tuesday : Bring the Current Code Up to Acceptable Standards with Comments, Class Files and No Global Variables(I think I have 2) - Remove all outdated code.

There we go. Now I have to do it.

Leave a Reply