You can make a cube as your player with this
dbMakeObjectCube(1,2);
Put these next commands in your mainloop for WASD movement:
if (dbKeyState(17)) // W Move Forward
dbMoveObject (1,1);
if (dbKeyState(30)) // A turn left
dbTurnObjectLeft(1,1);
if (dbKeyState(32)) // D Turn Right
dbTurnObjectRight(1,1);
if (dbKeyState(31)) // S Move Back
dbMoveObject(1,-1);
For a 3rd person view camera put these next commands in your main loop too:
dbPositionCamera(dbObjectPositionX(1),dbObjectPositionY(1) + 2,dbObjectPositionZ(1)); dbRotateCamera(dbObjectAngleX(1),dbObjectAngleY(1),dbObjectAngleZ(1));
dbMoveCamera( -15 );
Sometimes the camera kinda flickers I'm gona see if I can fix that
As for shooting I don't know anything about that
HEYYYY YYYOOUUUUU GUUUYYYYSSSS