Project Description
A 2D game engine written in C# and XNA. Features animated sprite capability and physics simulation by FarseerPhysics. Includes a level editor, a GUI controls library and a sample RTS game, Factions. Contains A* pathfinding for unit movement and an ants system for AI navigation.
Documentation
The Documentation will give you an idea how to use the DEngine to make your own 2D game.
DEngine Overview
The DEngine is a 2D engine work-in-progress that includes physics simulation and a level editor for Windows.
Currently the XML content is not compliant with the correct XNA format - so the content cannot be processed with the XNA Content Pipeline, but it will run in Visual Studio.
The DEngine uses Tiles, Actors and Backgrounds to make up a game world. These are defined using images and XML files as defined in the included sample game, Factions.
Read the full Documentation for more info.
The DEngine also includes a set of GUI objects that you can use in your game, they are contained in the project DGui.
The Factions game includes robust multi-unit pathfinding code, an ants system for enemy navigation, a minimap, and capable of playing (fairly) large maps.
The gameplay is currently near-nonexistant it is merely a tech demo! So, you can't yet build units. But units placed on the game board can be controlled and will fight with enemy units. The enemy will also attack you.
Currently I'm also using a sprite that I shouldn't be - it's a Doom sprite - but keep in mind this is a tech demo and I needed placeholder art. It is not intended to be a commercial game.
Hopefully people may find useful code in here to use in their own game. Hack it apart as you wish!
Thanks to:
A 2D game engine written in C# and XNA. Features animated sprite capability and physics simulation by FarseerPhysics. Includes a level editor, a GUI controls library and a sample RTS game, Factions. Contains A* pathfinding for unit movement and an ants system for AI navigation.
Documentation
The Documentation will give you an idea how to use the DEngine to make your own 2D game.
DEngine Overview
The DEngine is a 2D engine work-in-progress that includes physics simulation and a level editor for Windows.
The DEditor main window. |
Currently the XML content is not compliant with the correct XNA format - so the content cannot be processed with the XNA Content Pipeline, but it will run in Visual Studio.
The DEngine uses Tiles, Actors and Backgrounds to make up a game world. These are defined using images and XML files as defined in the included sample game, Factions.
Read the full Documentation for more info.
The DEngine also includes a set of GUI objects that you can use in your game, they are contained in the project DGui.
The New Skirmish Game menu for Factions. |
The Factions game includes robust multi-unit pathfinding code, an ants system for enemy navigation, a minimap, and capable of playing (fairly) large maps.
The gameplay is currently near-nonexistant it is merely a tech demo! So, you can't yet build units. But units placed on the game board can be controlled and will fight with enemy units. The enemy will also attack you.
In-game screenshot of Factions. |
Currently I'm also using a sprite that I shouldn't be - it's a Doom sprite - but keep in mind this is a tech demo and I needed placeholder art. It is not intended to be a commercial game.
Hopefully people may find useful code in here to use in their own game. Hack it apart as you wish!
Thanks to:
- http://www.codeplex.com/FarseerPhysics - The Farseer Physics engine which handles all the physical simulation in the DEngine.
- http://www.ziggyware.com/readarticle.php?article_id=130&rowstart=0 - mdx4ever for his SceneGraph tutorial.
- http://www.gamedev.net/reference/articles/article934.asp - Gamedev for their excellent article which I drew upon for the terrain transitions.