Commit Graph

18 Commits

Author SHA1 Message Date
016e8109de Gravity constant moved into constants.rb, camera can now report what it is looking at, entity has knowledge of camera now, AABB tree search can now use either BoundingBox or Ray colliders 2019-08-13 09:47:23 -05:00
f11b091fe0 Renamed lighting shader to default, shoehorned in glsl 3.30 support for Intel on Linux, removed duplicate handleGlError methods, added OpenGL and GLU to Object namespace, removed redundant includes for OpenGL and GLU, VBO and VAO now render (all be it incorrectly) 2019-08-11 14:53:15 -05:00
0d7210b3f7 Fixed always adding a new node to AABBTree when updating a node. 2019-02-25 12:51:26 -06:00
7aa99a70a7 Fixed Camera free_move, reduced camera speed. 2019-02-22 15:04:42 -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
7f8f534633 Moved game objects to their own folder 2018-12-10 10:38:42 -06:00
c656686997 Camera: Removed mouse position correction (no longer needed apparently :)), Mouse can now be released from Camera be pressing LeftAlt and can get captured again by clicking with the left mouse button. 2018-12-10 10:34:18 -06:00
67b06b0001 Bounding boxes are now drawn using Vertex arrays 2018-07-30 12:53:52 -05:00
05a77a0f11 Fixed nameplate oddly cutting off terrain, got a grid for terrain, first/third person toggle. 2018-03-31 21:22:11 -05:00
79f5dba4db Clamp it 2018-03-23 16:10:40 -05:00
c9126987fe Added render_pitch to camera for use only for rendering as pitch is used for a bunch of things, maybe? 2018-03-23 16:06:42 -05:00
468600c1b4 Camera almost done, maybe. 2018-03-23 16:00:05 -05:00
134099c2b1 Camera works! 2018-03-23 15:45:07 -05:00
28acb12efc We can now attach an object to the camera- bit buggy atm. 2018-03-23 15:34:03 -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
2de1c0ffdf Camera can bind to model 2018-03-20 22:48:01 -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