-
Notifications
You must be signed in to change notification settings - Fork 0
/
_readme.txt
71 lines (58 loc) · 2.57 KB
/
_readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
BRIEF INFO ON THE 2019-08 TEMPLATE
Template, BUAS version https://www.buas.nl/games
IGAD/BUAS(NHTV)/UU - Jacco Bikker - 2006-2020
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, 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 2019.
3. Replace the example code in game.cpp with your own code.
4. Copy the 64-bit dll's from dlls_x64 to the project folder if you
want to run a 64-bit build.
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.
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);
- This version of the template uses SDL2 for low-level window handling,
hopefully improving on the compatibility of earlier versions.
Copyright
This code is completely free to use and distribute in any form.
Template Naming
Starting January 2017, 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.
Breda, 2014-2019, Games @ Breda University (NHTV/IGAD)
Utrecht, 2015-2019, Utrecht University
Report problems and suggestions to Robbie Grigg if working on this
connected to Breda University then email [email protected]
otherwise [email protected] .
Changelog
v2019-08:
removed headers from the precompiled header file to speed up compilation
fixed uninitialised values in the surface class.
v2017-01:
initial DGDARC release.
v2017-02:
added a changelog.
debug mode now also emits .exe to project folder.
removed rogue SDL2 folder.
added assert.h to precomp.h.