Commit Graph

69 Commits

Author SHA1 Message Date
4f1b490600 Use persistent hash for config 2020-01-29 18:18:46 -06:00
c1b5e72d7d Added a proper cursor, game pause menu now has a transparent background (Game is drawn behind menu) 2020-01-28 23:17:25 -06:00
46cffa293e Added more menus; stub for settings, basic pause menu, fixes for multiple Game inits 2020-01-28 19:59:42 -06:00
c25df59819 Use new @include preprocessor added to CyberarmEngin::Shader 2020-01-28 10:48:47 -06:00
40d1105fb8 Moved collision/physics information into manifest, made real mouse cursor always invisible and use 'virtual' cursor when needed. 2019-09-28 13:29:21 -05:00
8df05eda13 Added event handler for :entity_moved, added door script, various tweaks 2019-09-26 16:19:01 -05:00
b6d7a6ebdb Implemented event system, Implemented initial bit of scripting system, Stubbed component system. Entities can now use the scripting system to place their 'decorations' 2019-09-26 12:13:08 -05:00
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
80576a211a Moved menu files to be under /ui directory, added support for commands to Console! 2019-08-07 15:36:45 -05:00
ffae3ae14e Added Console to replace magic debug keys, added version file 2019-08-07 14:49:49 -05:00
12a588304b Added dependance on cyberarm_engine, removed duplicate code which is in cyberarm_engine 2019-08-07 12:00:39 -05:00
8d83901237 Removed usages of Gosu.button_down? in InputMapper allowing for 'virtual input' support, tacked on demo support (recording and playback of camera yaw and pitch along with all key events in Game.), Camera now sets @game_object.y_rotation instead of @game_object setting Camera.yaw in Camera.position_camera. 2019-02-17 20:06:48 -06:00
f4a81f1e36 Removed global state for LightManager and ObjectManager, they're now inside GameState. Simplified terrain mesh. 2019-02-07 10:05:43 -06:00
5843a9b0ae Count number of vertices instead of faces, added formatted_number to CommonMethods 2018-12-11 12:27:23 -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
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
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
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
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
f68c31f87c Duct taping a cache bug, added test_object that uses sponza.obj. 2018-06-18 12:17:32 -05:00
fb1f4370eb Added fps target, added comma 2018-04-23 21:51:10 -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
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
468600c1b4 Camera almost done, maybe. 2018-03-23 16:00:05 -05:00
28acb12efc We can now attach an object to the camera- bit buggy atm. 2018-03-23 15:34:03 -05:00
0b0d307d2a Terrain is still broken, player moves in the correct relative directions now :) 2018-03-23 08:54:23 -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
d390d3d728 Refactored lights, use light manager 2018-03-20 20:17:33 -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
7aef9b179a Added changable mouse sensitivity 2018-03-20 18:03:50 -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
a3c92f9de3 Add that plane, clamp FOV 1..179 2018-03-20 11:40:07 -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
afc039ffe6 Added crosshair, added changable FOV. 2018-03-20 09:44:59 -05:00
c21e9d5fbf Draw them again 2018-03-20 09:07:12 -05:00
86fe61f0bf Fixed mouse wweirdness 2018-03-20 08:58:00 -05:00
89c84dbe39 Broken mouse input, texture mapping issue persists. 2018-03-19 22:08:20 -05:00