Commit Graph

45 Commits

Author SHA1 Message Date
965b8d0c80 Refactored bounding box to use 2 vectors, stubbed PhysicsManager. 2019-02-24 15:05:54 -06:00
6191699d8b Replaced usage of with CommonMethods.window (which uses ), refactored InputMapper to match actions to keys and visa-versa, removed categories from InputMapper, moved input mappings from Camera and Player into InputMapper (for now.) 2019-02-22 14:55:18 -06:00
a6e175d9e0 Replaced Vertex struct with Vector class 2019-02-20 11:00:54 -06:00
7b903fbdb9 Refactored GameObject to Entity, replaced @x,@y,@z with @position, added @velocity vector to Entity, bricked Player terrain interaction while authoring Axis Aligned Bounding Box Tree for CollisionManager to handle all collision interaction. Added PhysicsManager stub. 2019-02-20 10:49:56 -06:00
5a97d292c0 remove glu from gemfile, added InputMapper, using InputMapper for Camera and Player. 2019-02-17 14:14:39 -06:00
9f6f330202 Restructured 'objects' folder into a meaningful 'assets' folder, added 'war_factory' model, refactored GameObject#bind_model and ModelLoader to understand the restructuring. 2019-02-17 10:50:08 -06:00
c142bd2392 Sync 2018-12-12 09:02:33 -06:00
5843a9b0ae Count number of vertices instead of faces, added formatted_number to CommonMethods 2018-12-11 12:27:23 -06:00
82265394eb Improved shader error formatting, hide puts statements that are only useful in debug mode. 2018-12-11 11:56:53 -06:00
4d8638d81c Added shader support, removed unused debugging puts statements and fixed Gosu Font.draw deprecation warning. 2018-12-10 18:50:25 -06:00
a7755dfbdf Removed WaveFont Model Object's knowledge of parenthood. 2018-12-10 10:00:04 -06:00
7271c0e4a1 Fixed bounding box rendering! fixed AABB collision detection (was a bit weird), misc. tweaks and fixes. 2018-12-09 21:17:12 -06:00
35b5ee948a Moved OpenGL renderering code into its own class for future optimizations 2018-09-20 09:07:39 -05:00
66e7800cad Added main menu, added loading screen, hacked and chiseled things until I could load models without attaching to a gameobject. 2018-09-09 15:01:53 -05:00
a84b9d95b4 Added a proper terrain mesh, implemented basic (and glitchy) terrain collision detection. 2018-07-01 16:06:22 -05:00
6a14c5e9be Eat memory, load faster. edited comments in parser. 2018-06-30 21:55:51 -05:00
aff4c8b545 Replaced usage of Time.now 2018-04-23 22:33:17 -05:00
fb1f4370eb Added fps target, added comma 2018-04-23 21:51:10 -05:00
16e2352322 Got wireframe mostly working 2018-04-23 21:28:06 -05:00
473a597b66 Bunch of stuff 2018-04-23 21:13:16 -05:00
021805cd96 Wireframes! Player now has a name tag. 2018-03-23 13:51:55 -05:00
dacf05475f Cleanup 2018-03-22 21:12:21 -05:00
bdbb5f2e94 Major refactor 2018-03-22 19:26:02 -05:00
632830503b Everything is broken and stuff. 2018-03-22 15:15:20 -05:00
e7aa32b62d Fixed missing spaces, added terrain object, various tweaks trying to get collision detection working correctly; Still isn't... 2018-03-21 12:09:28 -05:00
2de1c0ffdf Camera can bind to model 2018-03-20 22:48:01 -05:00
fd4530911e Cleaning up Wavefront::Model and centralizing into Model, mouse_look now adapts to FOV better, bounding_boxes are correctly placed (not just moved from center) 2018-03-20 17:19:34 -05:00
46f533f83e Did some reorganizing 2018-03-20 15:11:00 -05:00
e26796f42c Textures work! that 3 was only getting 2... Added --native to lunch game at native resolution and fullscreen. Added basic plane. 2018-03-20 11:18:16 -05:00
89c84dbe39 Broken mouse input, texture mapping issue persists. 2018-03-19 22:08:20 -05:00
a46f3deff9 Moved OBJ parser out of Model, added axis-aligned bounding boxes, added --debug, bounding boxes can be rendered. 2018-03-19 14:35:13 -05:00
30567a9e94 Rendering texture 2018-03-19 09:44:40 -05:00
b489c48200 Pack everything as f*? It renders! 2018-03-19 09:40:06 -05:00
4818d5a67e Objectified lights, cleanup and messification. 2018-03-19 08:44:07 -05:00
62364b2145 Broken support for textures, trying to switch to opengl-bindings gem 2018-03-18 22:38:16 -05:00
c2aebbf0e8 Added basic skydome, now using glDrawArrays :D 2018-03-18 20:31:20 -05:00
47a27c15d3 Disabled glut, got scaling working as desired. 2018-03-18 15:36:36 -05:00
4d09dde058 Fixed scaling lighting weirdness 2018-03-18 11:53:41 -05:00
b35edcc7aa Added tree and biped (humanoid), can now pass x,y,z coordinance to Model 2018-03-16 23:06:09 -05:00
4f4fb7b7ca Updates 2018-03-06 15:59:14 -06:00
df97ab4528 Add support for smoothing 2018-03-04 15:30:10 -06:00
ce1f95ea45 Materials of color work! 2018-03-04 15:00:34 -06:00
85a66a9f7d Fixed gl::error... 2018-03-04 13:32:19 -06:00
bf7a1b48db WOrky sorta 2018-01-04 16:41:30 -06:00
3942097c6c Broke everything 2018-01-04 14:20:56 -06:00