Commit Graph

38 Commits

Author SHA1 Message Date
d5a5ced955 Can now update AABBTree however something weird is happening where the tree grows for the same numbeer of objects... 2019-02-25 09:35:01 -06:00
5cf07ca620 Partially working AABB Tree! (needs much more work) 2019-02-24 21:51:04 -06:00
965b8d0c80 Refactored bounding box to use 2 vectors, stubbed PhysicsManager. 2019-02-24 15:05:54 -06:00
fc72f2bdc8 Implemented a first class BoundingBox, refactored to use bounding box. 2019-02-23 18:28:47 -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
5c623f1540 Refactored LoadingState to use Menu 2019-02-07 12:00:11 -06:00
2f0cb47ed8 Improved Linux libGL library loader 2019-01-07 19:37:46 -06:00
9c8e781898 Added libGL lookup for ARCH 2018-12-12 20:07:44 -06:00
c142bd2392 Sync 2018-12-12 09:02:33 -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
7f8f534633 Moved game objects to their own folder 2018-12-10 10:38:42 -06:00
a5b2ab7992 Split up Renderer into OpenGL and BoundBox renderers, rotate Player nameplate 180d 2018-09-20 09:47:09 -05: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
16e0e4dcff Added Game States, decoupled game from Window class and placed it in Game < GameState 2018-09-09 07:49:26 -05:00
ded012a9e0 added support for ruby-prof, make trees jump to nearest vertex position. 2018-07-08 14:39:57 -05:00
f68c31f87c Duct taping a cache bug, added test_object that uses sponza.obj. 2018-06-18 12:17:32 -05:00
8f39c34d54 Added monkey patch to support rubies < 2.5 2018-06-18 11:47:44 -05:00
473a597b66 Bunch of stuff 2018-04-23 21:13:16 -05:00
bdbb5f2e94 Major refactor 2018-03-22 19:26:02 -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
57c52cd725 Moved camera into its own class, added CommonMethods for gosu methods outside of window. 2018-03-20 19:25:06 -05:00
46f533f83e Did some reorganizing 2018-03-20 15:11:00 -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
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
85a66a9f7d Fixed gl::error... 2018-03-04 13:32:19 -06:00
3942097c6c Broke everything 2018-01-04 14:20:56 -06:00
66e68581f5 Initial Commit 2017-12-28 22:14:20 -06:00