[C++] Rigid-World Game Framework - Source Code + Framework + Game
Rigid-World Game Framework
By Justei
So yeah, this is the Rigid-World Game Framework, basically it's a framework made in C++ with Code::Blocks ( a free compilator you can find on google, just make sure u download the mingw one. )
The release comes with everything intact for usage and you can just open the project up and start working on it without any problems. (Using Code::Blocks compilator, it's free.)
A little explaination of what this is it's a game framework using Irrlicht graphics engine combined with Bullet physics.
I have a more advanced one that I personally use that has a bunch of more features, however I didn't want to release that and the features you need to add are pretty much sound and networking (If you want, I recommend RakNet for that and IrrKlang for sound).
A little presentation:
What the framework includes
- Finite State Machine
- Character Controller
- Shadows and lighting via XEffects (a Irrlicht addon)
- High-level physics via irrBullet (a Bullet wrapper)
- Working weapon, with Zoom (Aim down ironsights), recoil, muzzle flash, and shooting of projectiles.
- Player interface (GUI)
- Two sample game states, the Main Menu and Single-Player
- Well Engineered Code
Please keep in mind that this framework with its SDK, code from other projects, such as XEffects, some files from irrBullet, and a few other individual works from various places. (Such as the realistic water scene node).
Please read the license to there projects. Most if not all of them are under the ZLib/LibPNG License.
The source files that are not owned by other projects are:
- GameApplication.h and .cpp
- GameController.h and .cpp
- IGameBase.h and .cpp
- IGameSingleplayer.h and .cpp
- IMainMenu.h and .cpp
- IPlayerBase.h and .cpp
- main.cpp
All else are under the ownership of other products and are only included for the your convenience.
Overview of the Source Code
Player Interface
In IPlayerBase, you will find the implementation of a player class. This
holds the weapon data of the player, as well as the event handling for
it.
If you want to implement a separate weapon interface, this is where
you would do it.
Game Classes
GameApplication is used in main.cpp. This interface initializes and
runs the game.
GameController controls the game states. Functions are added here
to switch between gamestates and add new ones.
IMainMenu is a separate state for running the main menu.
IGameBase is the class that all game modes inherit from. For
example, IGameSingleplayer inherits from IGameBase.
IGameSingleplayer is, as the name suggests, the singleplayer mode of
the framework.
If this framework helped you then please go give credit to the creators of any source, plugins, and for the love of god, if you can, donate to Irrlicht!
Don't be afraid to press the like button on your way out! :)
Screenshots of what this framework is capable of are available here: http://forum.ragezone.com/f86/fps-ga...-world-731657/
DOWNLOADS
Source + Game files: MEGAUPLOAD - The leading online storage and file delivery service
Code::Blocks: Com.org - Only the best links ...
(Download codeblocks-10.05mingw-setup.exe)