This is a 2D RPG game implemented from scratch by using purely C++ and the SDL library(Simple DirectMedia Layer). The game hasn't finished yet and the tower is supposed to have more than 20 floors.
I will gradually make up the rest floors.(Now we only have the first floor). But anyway I am distributing the codes.
Here is the link of the demo show of this game:
https://www.youtube.com/watch?v=n1aC-BUGbzs
(Version 0.05)
https://www.youtube.com/watch?v=cUJJ_eq0fB0
Second Floor added
Notice, tinyXML files were implemented by leethomason.
Here is the link: https://sourceforge.net/projects/tinyxml/
(This project is here only for fun).
Latest 5 files |
|||
---|---|---|---|
名称 | 大小 | 日期 | 下载总数 |
TextureManager.h | 2.1 KB | 2014-07-12 11:24 | 6 |
TextureManager.cpp | 16.7 KB | 2014-07-12 11:24 | 6 |
Stair.h | 0.5 KB | 2014-07-12 11:24 | 1 |
Stair.cpp | 1.5 KB | 2014-07-12 11:24 | 3 |
Game.cpp | 29.7 KB | 2014-07-12 11:24 | 14 |
全文件 |
|||
Magic Tower | |||
TextureManager.h | 2.1 KB | 2014-07-12 11:24 | 6 |
TextureManager.cpp | 16.7 KB | 2014-07-12 11:24 | 6 |
Stair.h | 0.5 KB | 2014-07-12 11:24 | 1 |
Stair.cpp | 1.5 KB | 2014-07-12 11:24 | 3 |
Game.cpp | 29.7 KB | 2014-07-12 11:24 | 14 |
CollisionDetector.cpp | 9.5 KB | 2014-07-12 11:24 | 2 |
CollisionDetecter.h | 1.6 KB | 2014-07-12 11:24 | 1 |
XMLParser.cpp | 5.7 KB | 2014-07-07 15:32 | 2 |
Weapon.cpp | 1.5 KB | 2014-07-07 15:32 | 2 |
Tile.cpp | 1.5 KB | 2014-07-07 15:32 | 2 |
SDLGameObject.cpp | 1.4 KB | 2014-07-07 15:32 | 4 |
Player.cpp | 3.6 KB | 2014-07-07 15:32 | 3 |
Medicine.cpp | 1.6 KB | 2014-07-07 15:32 | 2 |
main.cpp | 1.3 KB | 2014-07-07 15:32 | 2 |
Key.cpp | 1.5 KB | 2014-07-07 15:32 | 129 |
Jewel.cpp | 1.5 KB | 2014-07-07 15:32 | 3 |
GameObjectFactory.cpp | 1.1 KB | 2014-07-07 15:32 | 5 |
GameObject.cpp | 0.1 KB | 2014-07-07 15:32 | 3 |
Floor.cpp | 3.6 KB | 2014-07-07 15:32 | 5 |
Enemy.cpp | 2.1 KB | 2014-07-07 15:32 | 3 |
Door.cpp | 1.5 KB | 2014-07-07 15:32 | 1 |
up_floor.png | 2.9 KB | 2014-07-07 15:08 | 6 |
terrain.png | 4.5 KB | 2014-07-07 15:08 | 6 |
item.png | 28.1 KB | 2014-07-07 15:08 | 2 |
hero.png | 15.0 KB | 2014-07-07 15:08 | 6 |
enemy.png | 71.1 KB | 2014-07-07 15:08 | 5 |
down_floor.png | 2.9 KB | 2014-07-07 15:08 | 5 |
door.png | 6.3 KB | 2014-07-07 15:08 | 1 |
background.png | 3.2 KB | 2014-07-07 15:08 | 7 |
All.jpg | 184.7 KB | 2014-07-07 15:08 | 5 |
Game.h | 0.7 KB | 2014-07-07 14:48 | 19 |
READ ME.txt | 0.2 KB | 2014-07-07 03:07 | 0 |
XMLParser.h | 0.5 KB | 2014-07-07 03:03 | 5 |
LevelParser.h | 0.5 KB | 2014-07-07 02:56 | 2 |
LoaderParams.h | 0.8 KB | 2014-07-07 02:56 | 6 |
Medicine.h | 0.5 KB | 2014-07-07 02:56 | 2 |
Player.h | 1.1 KB | 2014-07-07 02:56 | 2 |
PlayState.cpp | 0.3 KB | 2014-07-07 02:56 | 3 |
PlayState.h | 0.3 KB | 2014-07-07 02:56 | 4 |
SDLGameObject.h | 0.8 KB | 2014-07-07 02:56 | 7 |
Tile.h | 0.5 KB | 2014-07-07 02:56 | 0 |
TileLayer.cpp | 0.3 KB | 2014-07-07 02:56 | 3 |
TileLayer.h | 0.6 KB | 2014-07-07 02:56 | 2 |
tinystr.cpp | 2.4 KB | 2014-07-07 02:56 | 13 |
tinystr.h | 8.0 KB | 2014-07-07 02:56 | 13 |
tinyxml.cpp | 36.7 KB | 2014-07-07 02:56 | 5 |
tinyxmlerror.cpp | 1.7 KB | 2014-07-07 02:56 | 4 |
tinyxml.h | 63.4 KB | 2014-07-07 02:56 | 4 |
tinyxmlparser.cpp | 36.4 KB | 2014-07-07 02:56 | 3 |
Weapon.h | 0.5 KB | 2014-07-07 02:56 | 2 |
LevelParser.cpp | 3.6 KB | 2014-07-07 02:56 | 4 |
Level.h | 0.5 KB | 2014-07-07 02:56 | 2 |
Level.cpp | 0.5 KB | 2014-07-07 02:56 | 1 |
Layer.h | 0.2 KB | 2014-07-07 02:56 | 3 |
Key.h | 0.5 KB | 2014-07-07 02:56 | 1 |
Jewel.h | 0.5 KB | 2014-07-07 02:56 | 3 |
GameStateMachine.h | 0.3 KB | 2014-07-07 02:56 | 5 |
GameStateMachine.cpp | 0.9 KB | 2014-07-07 02:56 | 3 |
GameState.h | 0.3 KB | 2014-07-07 02:56 | 5 |
GameState.cpp | 22 B | 2014-07-07 02:56 | 2 |
GameObjectFactory.h | 0.6 KB | 2014-07-07 02:56 | 4 |
GameObject.h | 0.4 KB | 2014-07-07 02:56 | 4 |
Floor.h | 0.6 KB | 2014-07-07 02:56 | 2 |
EventHandler.h | 0.3 KB | 2014-07-07 02:56 | 4 |
EventHandler.cpp | 0.4 KB | 2014-07-07 02:56 | 2 |
Enemy.h | 0.8 KB | 2014-07-07 02:56 | 2 |
Door.h | 0.5 KB | 2014-07-07 02:56 | 1 |
data.xml | 8.6 KB | 2014-07-09 03:35 | 2 |