Commit Graph

202 Commits

Author SHA1 Message Date
0d1d7ff6bc Fixed modern opengl renderer not renderering model textures, framebuffer can be used without crashing, model uv coordinates are now in buffer, minor rendering optimization 2020-03-22 17:22:10 -05:00
35d6061198 Setup GBuffer for future deferred rendering 2020-03-22 14:56:22 -05:00
fd228aa0c0 Added extras menu, stubbed map editor, made asset viewer and map editor accessible from extras menu 2020-03-22 12:17:28 -05:00
d6802c8756 Enabled wireframes for shader renderer 2020-01-30 22:54:59 -06:00
99ae19c34d Fixed bug that prevented Asset Viewer from using shader, manifests are now sorted by name, fixed sponza test model manifest 2020-01-30 22:31:49 -06:00
1b6019419b Fixed cursor not showing up in Asset Viewer main menu, fixed Camera free move not having :turn_left/right implemented 2020-01-30 19:53:42 -06:00
eb1bfe204b Added Asset Viewer 2020-01-30 15:30:58 -06:00
dbf4edbb93 Collada parser mostly works for single object/material models 2020-01-30 13:36:42 -06:00
b8e53c7a88 Oriented tree properly 2020-01-30 13:35:29 -06:00
8b35bf037e Added evergreen_tree model, added work-in-progress collada parser, renamed ModelLoader to ModelCache 2020-01-30 11:25:31 -06:00
31f0fa141b Restructured Model loading to enable easier implementation of other parsers 2020-01-30 08:50:05 -06:00
4f1b490600 Use persistent hash for config 2020-01-29 18:18:46 -06:00
201ddabbcc Added game version footer on MainMenu 2020-01-28 23:52:55 -06:00
ea68748234 Renamed MapLoader to MapParser, added level select menu 2020-01-28 23:41:44 -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
e7b84bd123 Removed redundant glError? from Map class and renamed CommonMethods#glError? to #gl_error?, added debug settings for disabling shaders and whether to exit on opengl error 2020-01-27 22:19:07 -06:00
75f94963b2 DISABLED collision detection and physics 2019-12-09 16:37:50 -06:00
59334132c8 Updated gemfile to require head version of cyberarm_engine 2019-12-09 16:17:05 -06:00
e4333a82b8 Fixed immediate mode lighting, improved-ish modern gl lighting 2019-12-09 11:48:54 -06:00
ff1d34deec Initital shader lighting support 2019-12-08 20:05:48 -06:00
af19166af2 Modern 'GL now renders properly, camera works as expected, added fallback to immediate mode if shader fails to compile. 2019-12-08 17:50:20 -06:00
e076ce8612 Stubbed out VBOs for model 2019-12-05 20:43:54 -06:00
6aeee41a71 Progress towards modern gl made 2019-12-05 17:23:02 -06:00
93a9e2215c Add character model 2019-11-06 08:39:13 -06:00
18595bdf7f Supplanted biped with character 2019-11-05 11:23:14 -06:00
2ae97aa993 Fixed progressbar jumping back due to needing to load additional assets detected in manifests 2019-09-30 09:14:35 -05:00
c1ec292570 Fixed power plant inverted normals, moved purchase terminal origin to back edge of model, fixed door texture 2019-09-28 13:55:45 -05: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
e038dcbe24 Extracted Crosshair and Demo from Game 2019-09-27 22:46:32 -05:00
4af7f21a51 Make PhysicsManager use Map#gravity, defined EARTH and MOON gravity's 2019-09-27 14:41:50 -05:00
f3d3ceebb8 Fixed crash when jumping 2019-09-27 14:33:35 -05:00
b091a489af Removed entity management from Game, refactored Map to MapLoader and added Map to manage world 2019-09-27 14:30:23 -05:00
1bfc6e6929 Initial work on Scripting sandbox, no longer Entity's responsibility. 2019-09-27 12:37:16 -05:00
0b40e042bf Make wavefront material parser use relative path for textures 2019-09-27 10:08:57 -05:00
819b3989de Update assets readme 2019-09-26 16:33:36 -05:00
b559c7c383 Add assets readme 2019-09-26 16:32:23 -05:00
8df05eda13 Added event handler for :entity_moved, added door script, various tweaks 2019-09-26 16:19:01 -05:00
f7936b38bc Ripped IMICFPS::Wavefront::Model to IMICFPS::Model, more refactoring needed. 2019-09-26 14:29:42 -05:00
f72008369d Updated PowerPlant and Alternate Tank models to be correctly orientated (x side to side, y back to front) 2019-09-26 12:23:02 -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
e41a2b6524 Cleanup i-mic-fps.rb a bit 2019-09-26 08:24:32 -05:00
eb7a7fc6d6 Added protype scripts for Alternate Tank and Power Plant, changed naming convention of assets to: package -> name instead of: package -> model 2019-09-25 22:01:03 -05:00
19f5a0cd9c Added Alternate Tank, go back to using glScalef for scaling models until shader based rendering is implemented, improved Map handling of scaling. 2019-09-25 20:59:19 -05:00
ecee086590 Exported door model, added CollisionManager#on_ground?(entity), made gravity work in PhyisicsManager if Entity has physics enabled, updated test map 2019-09-25 18:17:18 -05:00
954c6899be Made model/entity manifest a first class object 2019-09-25 11:52:19 -05:00
f41078b14b Fixed player unable to rotate 2019-09-25 10:57:37 -05:00
a2089c0ae1 Fixed demo feature crashing game 2019-09-25 10:50:50 -05:00
93522703f9 Fixed terrain and skydome not loading in LoadingState 2019-09-25 10:18:16 -05:00