Git Product home page Git Product logo

tmpl8advgr's Introduction

BRIEF INFO ON THE 2020-01 TEMPLATE (ADVGR EDITION)

Purpose:

The template has been designed to make it easy to start coding C++ using games and graphics. It intends to offer the programmer a simple library with the main purpose of providing a 32-bit graphical window with a linear frame buffer. Some basic additional functionality is available, such as sprites, bitmap fonts, basic multi-threading, and vector math support.

How to use:

  1. Copy the template folder (or extract the zip) to a fresh folder for your project.
  2. Open the .sln file with any version of Visual Studio 2017/2019.
  3. Replace the example code in game.cpp with your own code. You can go further by:
  • Expanding the game class in game.h;
  • Implementing some of the empty functions for mouse and keyboard handling;
  • Exploring the code of the template in surface.cpp and template.cpp.

When handing in assignments based on this template, please run clean.bat prior to zipping the folder. This deletes any intermediate files created during compilation and reduces SUBMIT problems.

The Template is a 'quickstart' template, and not meant to be elaborate, performant or complete. At some point, and depending on your requirements, you may want to advance to a more full-fledged library, or you can expand the template with OpenGL or SDL2 code.

Credits

Although the template is small and bare bones, it still uses a lot of code gathered over the years:

  • EasyCE's 5x5 bitmap font (primarily used for debugging);
  • EasyCE's surface class (with lots of modifications);
  • Nils Desle's JobManager for efficient multi-threading.

Copyright

This code is completely free to use and distribute in any form.

Remplate Naming

Starting January 2018, the name of the template represents the version. This version also appears in the title of the window. Make sure you are using the most recent version.

Utrecht, 2015-2020, Utrecht University - Breda, 2014, NHTV/IGAD - Jacco Bikker - Report problems and suggestions to [email protected] .

Changelog

v2020-01: swapped SDL2 for GLFW. turned to github for distribution. added DearImgui. added Taskflow for threading.

v2019-01: upgraded to SDL2.0.10. minor upgrade for INFOMOV2019.

v2019-01: upgraded to SDL2.0.9. upgraded to FreeImage 3.18.0. upgraded to glew-2.1.0. added aabb class for ADVGR. added matrix operators for ADVGR. made cross-platform by Marijn Suijten.

v2017-02: added a changelog. debug mode now also emits .exe to project folder. removed rogue SDL2 folder. added assert.h to precomp.h.

v2017-01: initial DGDARC release.

tmpl8advgr's People

Contributors

jbikker avatar bwrsandman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.