Skip to content

HenrickyL/game-engine-2d-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

380 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Game Engine cpp

  • Engine

  • Direct3D - Sprites

  • Ai Module

Reference: Programação de Jogos - Prof. Judson Santiago


Where to start?

Main: WinMain.cpp

#include "DXUT.h"
#include "AiTest.h"

int APIENTRY WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
	_In_ LPSTR lpCmdLine, _In_ int nCmdShow) {

	  //...
		// engine->window->Mode(WINDOWED);
		// engine->window->Size(800, 600);
		// engine->window->Color(1, 1,0);
		// engine->window->Title("My Game");
		// engine->window->Icon(IDI_ICON);
		// engine->SetGraphicsFPS(FPS_MONITOR);
		// engine->window->LostFocus(Engine::Pause);
		// engine->window->InFocus(Engine::Resume);
		// cria e executa a aplicação
		int exitCode = engine->Start(new AiTest());
    //...

Documentation


Some examples

Initial Sprite with Frog game

Colision

Galaga

Breakout

Reference: Programação de Jogos - Prof. Judson Santiago

Physics

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages