Commit Graph

11 Commits

Author SHA1 Message Date
46629a489a Add debug rendering, fix misaligned pos render bug
Rendering using a non-default quad specifies normalised coordinates
relative to the frame buffer size. Hence each render of these frames
should origin from (0,0) any other value is invalid.
2016-07-08 02:45:37 +10:00
13a2152bf6 Correctly align text rendering to baseline 2016-07-07 22:30:06 +10:00
5ef54e16be Improved string rendering with text advance metric 2016-06-30 00:14:07 +10:00
d8ee46611f Renderer calculates NDC coordinates from screen coords 2016-06-29 20:44:35 +10:00
76d6dfcf2f Change notation for dengine headers 2016-06-28 16:00:03 +10:00
f53325cc6a Batch tiles to single vbo at render pass 2016-06-28 02:28:57 +10:00
e638724c75 Add tile grid and atlas concept to game 2016-06-25 21:23:15 +10:00
b7063963b8 Add basic AABB collision detection 2016-06-25 19:12:25 +10:00
7acf36cd59 Basic multi animation support, with walking transition 2016-06-23 21:34:38 +10:00
d44ddf9371 Sprite switches direction, update vbo on render 2016-06-19 00:34:20 +10:00
753d700ca6 Complete port over to C, replace glm math lib 2016-06-18 19:12:09 +10:00