Commit Graph

132 Commits

Author SHA1 Message Date
3ed09dd930 Bounding Box rendering for Mesh objects is now fixed: used to be the objects were all drawn on the original Mesh instead of its copies. 2018-12-10 09:53:13 -06:00
6a5d45ba14 Fixed faces counting bug when removing bb 2018-12-09 21:20:53 -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
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
aa4a905bd8 Update gosu and opengl-bindings, added bold defualt for Text 2018-09-17 17:13:52 -05:00
54c480ecb8 Tweaked loading screen to pause for a split second to show 100%, tweaked menu hover color and effect, fixed indention. 2018-09-09 19:19:26 -05:00
e57cf8500b git add . 2018-09-09 15:02:06 -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
d37758526a Fix falling edge case where the Player hasn't jumped before 2018-09-09 07:49:26 -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
bf783381ee Fix floating in midair, probably. 2018-09-05 08:37:52 -05:00
cd16896f86 Added comments 2018-08-05 11:09:37 -05:00
dc34054fb8 Added test menu background 2018-08-05 10:57:46 -05:00
155b89d053 Added distance for tree 2018-07-30 12:56:29 -05:00
67b06b0001 Bounding boxes are now drawn using Vertex arrays 2018-07-30 12:53:52 -05:00
ded012a9e0 added support for ruby-prof, make trees jump to nearest vertex position. 2018-07-08 14:39:57 -05:00
f21032935b dt with dt for arrow key look 2018-07-01 19:48:00 -05:00
4c603c3a3d Improved terrain collision slightly 2018-07-01 19:10:09 -05:00
5fa2843de2 added width,height and depth vars to GameObjects, randomly position 25 trees about the terrain. 2018-07-01 16:32:10 -05:00
1eea3c92cb Add files 2018-07-01 16:06:39 -05:00
a84b9d95b4 Added a proper terrain mesh, implemented basic (and glitchy) terrain collision detection. 2018-07-01 16:06:22 -05:00
5b16d9b4c3 AABB are now functional! 2018-07-01 12:10:48 -05:00
6a14c5e9be Eat memory, load faster. edited comments in parser. 2018-06-30 21:55:51 -05:00
218d7797c1 Intellisense says its faster this way 2018-06-18 13:13:37 -05:00
582443abe4 Retro-actively add sponza copyright info 2018-06-18 12:24:33 -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
aff4c8b545 Replaced usage of Time.now 2018-04-23 22:33:17 -05:00
e2af0958bb Fixed multiple text y positioning 2018-04-23 22:07:56 -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
bc8c78c90b Terrrain fill dome, added terrain to face count 2018-03-31 21:33:03 -05:00
5a4bafce26 Next! 2018-03-31 21:22:21 -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
162e23d0b4 More testing 2018-03-24 10:03:05 -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
021805cd96 Wireframes! Player now has a name tag. 2018-03-23 13:51:55 -05:00
0b0d307d2a Terrain is still broken, player moves in the correct relative directions now :) 2018-03-23 08:54:23 -05:00
dfc6a0cfe8 Got basic terrain generation working in immediate mode, all list is bugged atm. 2018-03-22 22:27:56 -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