Joey de Vries
1e590697b1
Get the 0.full_source folder back in game directory and comment out game compile, not ideal, but needs to be reverted for now to not break code/book links, will look into better fix.
2020-07-01 09:52:04 +02:00
rich_b
a694c848c7
Change CMakeLists.txt to add 2d_game project, and added irrKlang to LIBS.
...
Added irrKlang.dll and ikpMP2.dll to dlls folder. Added irrKlang as a
sub-folder under includes. Added irrKlang.lib to lib folder. At this point
running cmake gave an error it couldn't find source files under 2d_game.
Moved 2d_game source up one folder level, then cmake found the files.
2020-06-23 14:39:31 -04:00
Joey de Vries
1385c8a239
Update Breakout game code.
2020-05-26 17:01:45 +02:00
Joey de Vries
f9ae66b16a
Breakout spriterenderer: User-code expects rotation in degrees, make sure to convert to radians during transform generation.
2020-04-29 17:40:12 +02:00
Joey de Vries
39cdda55e4
Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL
2020-04-29 10:41:42 +02:00
Joey de Vries
88ab67dad2
Add glDeleteProgram call to relevant examples.
2020-04-29 10:41:28 +02:00
Joey de Vries
6d2976e4f9
Merge pull request #166 from FlexW/patch-1
...
Zero out memory from color variable
2020-04-29 10:36:00 +02:00
Joey de Vries
82b066067f
Update Breakout source code to match updates Text Rendering chapter.
2020-04-28 14:46:15 +02:00
Felix Weilbach
c91f8d65a5
Zero out memory from color variable
...
According to [here](https://www.khronos.org/opengl/wiki/Type_Qualifier_(GLSL)#Fragment_shader_outputs ) memory of a fragment shader variable is initialized with undefined values. Therefore it should be zeroed out.
2020-04-27 16:44:24 +02:00
Joey de Vries
be066bcb6e
Add Breakout progress code for Audio chapter.
2020-04-27 15:00:23 +02:00
Joey de Vries
75c6d5fa97
Update Breakout progress code for PowerUps chapter. Also few missed items on prev. progress code.
2020-04-27 14:26:24 +02:00
Joey de Vries
596c654c2c
Add progress code item for Breakout's PostProcessing chapter.
2020-04-26 12:58:03 +02:00
Joey de Vries
9a34b34b32
Fix include error on 6.game.cpp progress.
2020-04-25 16:58:38 +02:00
Joey de Vries
4b890eca6b
Update Breakout code for revised Particles chapter.
2020-04-25 16:57:19 +02:00
Joey de Vries
abbcac5743
Add game progress code for Breakout collision chapters. Add forgotten destructor logic on previous progress files.
2020-04-24 15:51:32 +02:00
Joey de Vries
01def67b0d
Add progress ball object code.
2020-04-23 12:30:50 +02:00
Joey de Vries
85af3b93fa
Fix awesomeface alpha channel on texture.
2020-04-23 12:30:38 +02:00
Joey de Vries
90163ce702
Forgot to add relevant include.
2020-04-23 12:01:15 +02:00
Joey de Vries
351c968373
Update breakout code to match revised changes 'Levels' chapter.
2020-04-23 12:00:15 +02:00
Joey de Vries
1f05d38e1e
Breakout changes for revision 'Rendering Sprites'
2020-04-22 19:02:20 +02:00
Joey de Vries
91f53af052
Remove unnecessary 'uncomment' statement from all code samples.
2020-04-22 16:37:07 +02:00
Joey de Vries
e046977ffb
Update Breakout code for 'Setting up' chapter.
2020-04-22 16:35:13 +02:00
Joey de Vries
599355fba8
First chapter-specific progress breakout code; test to see if I can link these directly from article.
2020-04-22 16:05:11 +02:00
Joey de Vries
d756ed80fa
Add full source code of the finished (and revised code) Breakout example. Not set up for cross-platform compilation as it has irrKlang and FreeType dependency, but at least source code is available online (and can be referenced from Breakout chapters).
2020-04-22 15:47:23 +02:00