Commit Graph

92 Commits

Author SHA1 Message Date
2da9edb6d0 Refactored to use CyberarmEngine::Window#delta_time instead of our reimplementing it, add WIP frame timing to Overlay using CyberarmEngine::Stats.frames data 2023-04-20 16:14:29 -05:00
8f2d7ff905 Moved shaders to cyberarm_engine, patched up settings menu, updated gems. 2023-01-08 17:29:31 -06:00
87bff4ab82 Extracted Console into CyberarmEngine 2021-06-26 13:10:54 +00:00
0fe1d85924 Added Window#input_hijack to allow objects to get exclusive access to button_down/up callbacks, improved Chat widget 2021-06-03 15:14:06 +00:00
5cb48233fb Removed vertices count from Window, use new CyberarmEngine::Renderer::OpenGLRenderer#vertices_count for debug stats 2021-05-30 14:09:32 +00:00
55bfe6ed79 Clean up window initialization a little bit, prevent window from being resizable if fullscreen: 'fixes' gosu believing that the window is smaller than it is 2021-04-19 19:11:01 +00:00
f04217ccc7 Fixed map editor state crashing 2020-12-14 16:04:12 -06:00
95bea199ed Ran rubocop autocorrect 2020-12-02 17:37:48 -06:00
aa30ff73d0 Rubocop autocorrect frozen string literal cop 2020-12-02 17:29:01 -06:00
9aa5dc7174 Cleanup, moved Map lifecycle into Director, added renderer_info command 2020-12-02 11:38:10 -06:00
c7590366a6 Initial work on locales, more work on netcode 2020-12-01 13:02:22 -06:00
4c8e6c3d5f update settings menu, misc tweaks and fixes 2020-09-24 10:45:15 -05:00
1d7cd19b41 Added more hud widgets for showing squadmates and crosshair, added crosshair image and source svg, hackish fix to make renderer resize on windows size change, added CameraController camera control is back in 😂 2020-07-18 15:54:00 -05:00
65cfc1a124 Moved renderering system and model loading into CyberarmEngine, added island_test_map 2020-07-15 21:29:18 -05:00
e3a2c9abe0 Added require_all method to replace explicitly requiring every source file, added SoundManager and sound effects, added sound for shield/health regen 2020-05-08 19:03:45 -05:00
fd3785cdcd Updated menus, added background to Tools 2020-05-04 11:13:51 -05:00
1629cf4605 Added Close game state, tweaked Boot state 2020-05-04 07:34:24 -05:00
face4b092a Added boot screen, added logo 2020-05-03 23:25:33 -05:00
c05009a000 Moved renderer stats to Overlay 2020-05-03 09:40:51 -05:00
9593d341bf Added overlay for future fps and stats display 2020-05-02 17:34:19 -05:00
bb8e210362 Added canvas_size_changed 'event' to Renderer and OpenGLRenderer 2020-03-25 13:27:00 -05:00
87fcc3a05c Fixed lighting artifacts caused by untransformed normals, added 'Scene' for holding objects for rendering, added turn table models to menus using a scene, misc other changes. 2020-03-23 11:48:44 -05:00
eb1bfe204b Added Asset Viewer 2020-01-30 15:30:58 -06:00
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