OpenGL code for simple game-setup
You can control a player [blue triangle] with keyboard
( w = move forward; d and a = rotate left/right ) like a vehicle.
And there is a enemy-robot-vehicle [yellow triangle] which
follow a path on the playground. ( right now --> linear interpolation )
The Camera can be fixed [ press 6 ], can follow the player [ press 7 ]
or focus the robot [ press 8 ]
Rotate the playground [ press 1 ], change camera distance [ press 1 or 2 ] and camera
position [ press 3 or 4 ]
improvements: other interpolation like Centripetal Catmull-Spline, 3D-movement support, scripted camera, real 3d-Character
screen.jpg
Stay tuned.
Bookmarks