Skip to content

The base project code used for the Advanced Diploma of Professional Game Development.

License

Notifications You must be signed in to change notification settings

AcademyOfInteractiveEntertainment/aieBootstrap

Repository files navigation

aieBootstrap

NOTE: This project is no longer being actively maintained

The base project code used for the Advanced Diploma of Professional Game Development to aid in graphical real-time applications.

Bootstrap is a static library that can be linked against to implement real-time graphical applications with OpenGL as the base API.

To build and run projects ensure that Bootstrap is the first project built, and ensure you have set the Working Directory to the bin folder, i.e. "$(SolutionDir)bin".

Provided is VS2015 project templates that can create a basic 2D project, and another for a 3D project. These are within the Tools sub-folder as .zip files. Add these to your Visual Studio Project Template directory, i.e "C:/Users/username/Documents/Visual Studio 2015/Templates/ProjectTemplates/Visual C++ Project/".

Alternatively, to create an application simply derive from the aie::Application class like so:

class MyApplication : public aie::Application {
public:

	MyApplication();
	virtual ~MyApplication();

	virtual bool startup();
	virtual void shutdown();

	virtual void update(float deltaTime);
	virtual void draw();

};

Then implement a main() function to create an instance of your application:

int main() {
	
	auto app = new MyApplication();
	// window title, dimensions and if it is fullscreen
	app->run("AIE", 1280, 720, false);
	delete app;

	return 0;
}

The run() method implements a game loop that executes in the following manner:

  if startup() is true then
    while quit is false
      update()
      draw()
  shutdown()

Tutorial Videos

Creating your Git Repo using aieBootstrap

Video: Creating your Git Repo using aieBootstrap

Getting Started with aieBootstrap

Video: Getting Started with aieBootstrap

About

The base project code used for the Advanced Diploma of Professional Game Development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published