ef112fa4cb
Flip font texture vertically on atlas creation
2016-06-29 14:04:35 +10:00
e03d3fd14a
Rudimentary font rasterisation at runtime with STB
2016-06-29 03:17:03 +10:00
76d6dfcf2f
Change notation for dengine headers
2016-06-28 16:00:03 +10:00
26cec05ff0
Applied const to more vars, change tile size to 64
2016-06-28 15:03:04 +10:00
f53325cc6a
Batch tiles to single vbo at render pass
2016-06-28 02:28:57 +10:00
fd3a353fdd
Call renderer on tiles only-if tile on screen
...
OpenGL automatically clips objects outside of the view space but we were
still using up a lot of useless glDraw calls which impacts performance.
This change is temporary and will change when we get to scrolling the
world.
2016-06-25 21:51:35 +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
7a2dc3da41
Add game entity list rendering, create animations
2016-06-23 18:40:00 +10:00
eda06bcfe9
Rudimentary animated sprite capabilities
2016-06-19 02:16:16 +10:00
d44ddf9371
Sprite switches direction, update vbo on render
2016-06-19 00:34:20 +10:00
bb57f080c9
Draw sprite from offset into tilesheet
2016-06-18 20:45:14 +10:00
753d700ca6
Complete port over to C, replace glm math lib
2016-06-18 19:12:09 +10:00