Sometimes you should not try to reinvent the wheel. There are several good engines, both 2D and 3D out there. Below are some of the engines I have had the pleasure (or pain) to work with that I want to recommend to you. See which is best for you and start developing. Again, these are not directly related to DarkBASIC, but to C++. It’s a good idea to broaden your horizons as much as possible.
Garage Games' Torque Engine: www.garagegames.com
Crystal Space: http://crystal.linuxgames.com