Commit Graph

  • 523fe0f2b1 Introduce notion of attack spec for battles doylet 2016-08-04 00:48:43 +10:00
  • b5db6e0e2b Add one-shot audio playback (i.e. buffer all data) doylet 2016-08-04 00:32:13 +10:00
  • 1900de6a92 Create event queue and start sorting entity list doylet 2016-08-03 23:20:03 +10:00
  • 190822c1f6 Add entity attack audio cue doylet 2016-07-28 22:17:32 +10:00
  • 9ec87fc8be Remove old tutorial file doylet 2016-07-28 15:58:49 +10:00
  • 85becdfd6c Merge the game to dengine, reduce header coupling doylet 2016-07-28 15:19:23 +10:00
  • 8a3886a60e Separate entity functions to own file doylet 2016-07-28 14:33:58 +10:00
  • 1427ee3fde Add draft audio change concept on mob proximity doylet 2016-07-28 13:36:16 +10:00
  • ac775b39c2 Add error checking to Audio API doylet 2016-07-28 13:11:30 +10:00
  • 09972ced6e Add start/stop audio api, fix delete buffer bug doylet 2016-07-28 01:55:21 +10:00
  • 630f2eaa5d Add audio looping, simplify audio API doylet 2016-07-27 22:50:14 +10:00
  • 824d8fd8a0 Initial integration of audio to entity structure doylet 2016-07-27 18:39:51 +10:00
  • 54dd5c84fa Enumerate audio devices, add multi-audio rendering doylet 2016-07-27 16:52:10 +10:00
  • 9c3df0c488 Fix console rendering old strings, refactor audio doylet 2016-07-27 01:40:22 +10:00
  • 84a0f755ea Abstract audio playback into own file doylet 2016-07-27 01:34:26 +10:00
  • 99a700ca13 Add audio-streaming and loop support doylet 2016-07-26 18:47:55 +10:00
  • 6b2e759257 Basic audio with stb_vorbis decoding and openal doylet 2016-07-25 22:10:50 +10:00
  • 002d6524f1 Remove extraneous files, separate assets doylet 2016-07-24 23:12:29 +10:00
  • 71faaa78c4 Add openal-soft dependency, update opengl macro doylet 2016-07-24 22:19:25 +10:00
  • 8fc895e584 Unify entity update to only use state switches doylet 2016-07-24 01:22:59 +10:00
  • a43102ee26 Rotate targetting reticule to mob. Add pivot point doylet 2016-07-23 21:26:15 +10:00
  • 358f850a2c Fixed wrong cross referencing attack to anim data doylet 2016-07-22 19:29:12 +10:00
  • 7b13615614 More corner case checks for battle interaction doylet 2016-07-21 02:04:17 +10:00
  • 2707c46df1 Add better support for multi-entity battles doylet 2016-07-20 21:42:45 +10:00
  • 906d66a12a Inline entityUpdateAndRender, clean up if branches doylet 2016-07-20 20:13:44 +10:00
  • 4f5270881f Add utility scripts for finding todos and statics doylet 2016-07-20 17:15:31 +10:00
  • 3aaad2fba3 Add basic entity death code for singular entity doylet 2016-07-20 02:23:11 +10:00
  • 3e2287e13a Link avatar UI health display to hero health doylet 2016-07-20 01:06:29 +10:00
  • fd94eb5afd Mobs battle with hero, engine architect. changes doylet 2016-07-19 21:19:26 +10:00
  • 5fc58ca643 Create notion of state switching for entities doylet 2016-07-19 15:19:08 +10:00
  • 403999b566 Change Animation names, stop input parse on attack doylet 2016-07-19 13:32:31 +10:00
  • b8b76cecd3 Switch entity anims to use references to assets doylet 2016-07-19 03:47:32 +10:00
  • fff9e6e5b2 Implement battle time bar attacking within range doylet 2016-07-18 22:02:47 +10:00
  • e00ef52f8a Add hitbox size/render size notion doylet 2016-07-18 20:37:14 +10:00
  • c52d872058 Basic attack queue implemented for hero doylet 2016-07-18 20:16:29 +10:00
  • 129234fbeb Merge update with render section in update loop doylet 2016-07-18 00:54:21 +10:00
  • 4541023396 Basic tackle animation added doylet 2016-07-18 00:45:39 +10:00
  • 7971b10b74 Remove int v2 type, change V2i to cast i32 to f32 doylet 2016-07-17 23:45:59 +10:00
  • 2745a8e25a Add simple animation scheduling infrastructure doylet 2016-07-17 20:24:51 +10:00
  • 88108bce19 Delete old assets, remove anim update in renderer doylet 2016-07-17 19:24:19 +10:00
  • 62c5fe0629 Switch animation indexing to enum, toggle anim on spacebar doylet 2016-07-17 17:16:09 +10:00
  • ca6790cb1c Add entity action timer to schedule commands doylet 2016-07-17 15:27:37 +10:00
  • a426461dad Fix up include headers, try to reduce dependencies doylet 2016-07-16 23:27:52 +10:00
  • 6da8eff9b1 Fix hero avatar moving with camera doylet 2016-07-16 21:08:30 +10:00
  • 2d9fded235 Group texture & texture rect together in renderer doylet 2016-07-16 20:21:49 +10:00
  • 0d5725eb97 Entities now have health values associated doylet 2016-07-16 20:06:52 +10:00
  • 6c3ef63a65 Draw hero status on side with profile doylet 2016-07-16 18:51:26 +10:00
  • d74cabf5c6 Fix rendering of rects, draw debug target reticule doylet 2016-07-16 17:41:17 +10:00
  • d0b4c99787 Create empty texture idea, change function scopes doylet 2016-07-16 17:15:03 +10:00
  • 86b4d1e206 Add distance to battle range metric in pixels doylet 2016-07-16 02:34:44 +10:00
  • 12fbc1000e Basic framework for scaling text, unimplemented doylet 2016-07-15 18:34:23 +10:00
  • 0551f05e73 Rotate around entity center, update math notation doylet 2016-07-14 23:15:42 +10:00
  • b1875077b7 Additional debug string rendering infrastructure doylet 2016-07-12 18:11:31 +10:00
  • d82afe49d0 Add memory allocation tracking data to debug state doylet 2016-07-09 21:42:36 +10:00
  • 54ecddad2f Add function call counting to debug infrastructure doylet 2016-07-09 20:59:54 +10:00
  • 1f364f7024 Update debug data architecture and methods doylet 2016-07-09 20:46:04 +10:00
  • ea50aeb44e Allow color modulation of sprites, refactor renderer init doylet 2016-07-09 16:08:03 +10:00
  • ea2656c0bd Fix bug accumulating debug strings without resetting doylet 2016-07-08 21:36:26 +10:00
  • ebcdd779b9 Lock camera to the bounds of the world doylet 2016-07-08 21:21:49 +10:00
  • f6ada44b41 Add rudimentary camera and side scrolling support doylet 2016-07-08 21:06:43 +10:00
  • ad48dd5062 Add notion of entity type identifier to entities doylet 2016-07-08 17:54:56 +10:00
  • fa7947fb90 Abstract add entity and animation into functions doylet 2016-07-08 17:44:41 +10:00
  • c9fc34aee1 Move rendering of tiles into rendering of entities doylet 2016-07-08 16:09:18 +10:00
  • 4b74bb9474 Delay update of debug string rendering doylet 2016-07-08 14:37:18 +10:00
  • 46629a489a Add debug rendering, fix misaligned pos render bug doylet 2016-07-08 02:45:37 +10:00
  • a04c43681d Removed rounding in glyphs per row overestimating doylet 2016-07-07 22:44:22 +10:00
  • 13a2152bf6 Correctly align text rendering to baseline doylet 2016-07-07 22:30:06 +10:00
  • 5ef54e16be Improved string rendering with text advance metric doylet 2016-06-30 00:14:07 +10:00
  • d8ee46611f Renderer calculates NDC coordinates from screen coords doylet 2016-06-29 20:44:35 +10:00
  • fa83daac60 Text rendering to screen, assetmanager merged to gamestate doylet 2016-06-29 18:23:51 +10:00
  • ef112fa4cb Flip font texture vertically on atlas creation doylet 2016-06-29 14:04:35 +10:00
  • e03d3fd14a Rudimentary font rasterisation at runtime with STB doylet 2016-06-29 03:17:03 +10:00
  • 76d6dfcf2f Change notation for dengine headers doylet 2016-06-28 16:00:03 +10:00
  • 26cec05ff0 Applied const to more vars, change tile size to 64 doylet 2016-06-28 15:03:04 +10:00
  • f53325cc6a Batch tiles to single vbo at render pass doylet 2016-06-28 02:28:57 +10:00
  • fd3a353fdd Call renderer on tiles only-if tile on screen doylet 2016-06-25 21:51:35 +10:00
  • e638724c75 Add tile grid and atlas concept to game doylet 2016-06-25 21:23:15 +10:00
  • b7063963b8 Add basic AABB collision detection doylet 2016-06-25 19:12:25 +10:00
  • 7acf36cd59 Basic multi animation support, with walking transition doylet 2016-06-23 21:34:38 +10:00
  • 7a2dc3da41 Add game entity list rendering, create animations doylet 2016-06-23 18:40:00 +10:00
  • eda06bcfe9 Rudimentary animated sprite capabilities doylet 2016-06-19 02:16:16 +10:00
  • d44ddf9371 Sprite switches direction, update vbo on render doylet 2016-06-19 00:34:20 +10:00
  • bb57f080c9 Draw sprite from offset into tilesheet doylet 2016-06-18 20:45:14 +10:00
  • 753d700ca6 Complete port over to C, replace glm math lib doylet 2016-06-18 19:12:09 +10:00
  • d4117ea729 Start math library by preprocessor templating doylet 2016-06-18 03:15:02 +10:00
  • 6251e105c8 Remove stdstring, use platform layer to open files doylet 2016-06-18 02:01:43 +10:00
  • 3c51010e77 Port project over to C, some C++ left doylet 2016-06-18 00:40:40 +10:00
  • bcb847c18c Add acceleration to movement code doylet 2016-06-17 18:11:23 +10:00
  • c54e6323a7 Use GLFW swap interval for force vsync to monitor doylet 2016-06-17 16:32:59 +10:00
  • 9861a02ed1 Add frame limiter, update glfw to 3.2 doylet 2016-06-17 03:00:11 +10:00
  • 5cebf9ad0d Build world model in engine doylet 2016-06-17 00:14:58 +10:00
  • b75009d03e Fix ortho projection, sprite vertex to map from 0 to 1 doylet 2016-06-14 00:51:14 +10:00
  • 68c53dad0a Switch to sprite renderer doylet 2016-06-09 15:49:03 +10:00
  • 60fcecab0e Apply const correctness to project doylet 2016-06-08 17:29:16 +10:00
  • a01c597340 Migrate game code into game.c doylet 2016-06-08 02:02:58 +10:00
  • 6f7f9fa50a Sprite uses unique vao for rendering doylet 2016-06-08 01:35:00 +10:00
  • 761609e1f9 Add sprite functionality, doesn't render yet doylet 2016-06-07 23:54:14 +10:00
  • 864dca6f3d Add basics for breakout game, separate tutorial code doylet 2016-06-05 17:54:41 +10:00
  • 17a89269f0 Remove cubes, restore back to drawing squares doylet 2016-06-04 23:09:59 +10:00
  • 7295d4712c Abstract asset loading to asset manager doylet 2016-06-04 22:42:22 +10:00