-
Notifications
You must be signed in to change notification settings - Fork 3
Creating a New Game
Jason El-Massih edited this page Jan 27, 2016
·
2 revisions
When creating a new game project, there is a couple steps and a few core classes and that must be created
- Call the BombastEngine function to initialize the Engine
extern INT WINAPI BombastEngine(HINSTANCE hInstance, HINSTANCE hPrevInstance, HWND hWnd = NULL, LPWSTR lpCmdLine = NULL);
INT WINAPI wWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPWSTR lpCmdLine,
int nCmdShow)
{
return BombastEngine(hInstance, hPrevInstance, NULL, lpCmdLine);
}-
Inherit BombastApp with a game specific application class that creates the gameplay logic and initial game state
-
Inherit CoreGameLogic too handle various gameplay events and where majority of the general game management occurs.
-
Inherit HumanView to handle game specific message handling, UI rendering and Player Input Events.