|
|
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 |
|
|
|
ce7d132864
|
Fixed some warnings, moved Subcommand into its own file, added support for subcommand and subcommand options autocomplete in Console, added texture ids to Model vertex buffer object
|
2019-08-11 09:34:25 -05:00 |
|
|
|
185d760a83
|
Model is now able to push data into VBO
|
2019-08-10 13:36:37 -05:00 |
|
|
|
a22a3f3f3c
|
Moved constants into their own file, LoadingState now loads shaders and now shows 'Loading [model|shader] name...', tweaked player running speed, Player model is no longer rendered when in first person view, removed redundant ShaderManager
|
2019-08-10 09:40:31 -05:00 |
|
|
|
bc89fb6911
|
Tweaked player drag, speed, and turn speed
|
2019-08-09 19:20:19 -05:00 |
|
|
|
f84b680de5
|
PhysicsManager now has a job, CollisionManager enabled, using Player velocity instead of position for movement controls, added Entity drag, added spaces
|
2019-08-09 08:27:34 -05:00 |
|
|
|
3eb34d023e
|
Debug commands now affect game
|
2019-08-07 17:58:30 -05:00 |
|
|
|
12a588304b
|
Added dependance on cyberarm_engine, removed duplicate code which is in cyberarm_engine
|
2019-08-07 12:00:39 -05:00 |
|
|
|
1b6f8cf880
|
Added river terrain test mesh, each model's manifest file is now simply named manifest.yaml instead of model_folder_name.yaml.
|
2019-08-07 10:43:04 -05:00 |
|
|
|
2e69647ae3
|
Various tweaks
|
2019-02-26 18:43:42 -06:00 |
|
|
|
0d7210b3f7
|
Fixed always adding a new node to AABBTree when updating a node.
|
2019-02-25 12:51:26 -06:00 |
|
|
|
97818c8a33
|
Collision stuff
|
2019-02-25 11:33:18 -06:00 |
|
|
|
d5a5ced955
|
Can now update AABBTree however something weird is happening where the tree grows for the same numbeer of objects...
|
2019-02-25 09:35:01 -06:00 |
|
|
|
fc72f2bdc8
|
Implemented a first class BoundingBox, refactored to use bounding box.
|
2019-02-23 18:28:47 -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 |
|
|
|
a6e175d9e0
|
Replaced Vertex struct with Vector class
|
2019-02-20 11:00:54 -06:00 |
|
|
|
7b903fbdb9
|
Refactored GameObject to Entity, replaced @x,@y,@z with @position, added @velocity vector to Entity, bricked Player terrain interaction while authoring Axis Aligned Bounding Box Tree for CollisionManager to handle all collision interaction. Added PhysicsManager stub.
|
2019-02-20 10:49:56 -06: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 |
|
|
|
5a97d292c0
|
remove glu from gemfile, added InputMapper, using InputMapper for Camera and Player.
|
2019-02-17 14:14:39 -06:00 |
|
|
|
9f6f330202
|
Restructured 'objects' folder into a meaningful 'assets' folder, added 'war_factory' model, refactored GameObject#bind_model and ModelLoader to understand the restructuring.
|
2019-02-17 10:50:08 -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 |
|
|
|
57e96b38b2
|
Works on the Pi! Possibly fixed weird mouse behavior, which caused the camera to constantly drift on so systems, that may have been caused by Gosu's automatic screen scaling.
|
2019-01-07 19:27:04 -06:00 |
|
|
|
82265394eb
|
Improved shader error formatting, hide puts statements that are only useful in debug mode.
|
2018-12-11 11:56:53 -06:00 |
|
|
|
6341c3b817
|
Re-added mousefix :(, camera can now be flown around if it's not attached to a game object, tweaked Player initial jump velocity.
|
2018-12-10 22:22:01 -06:00 |
|
|
|
4d8638d81c
|
Added shader support, removed unused debugging puts statements and fixed Gosu Font.draw deprecation warning.
|
2018-12-10 18:50:25 -06:00 |
|
|
|
74b0a0ef6f
|
Small optimization that caches bounding boxes for GameObject collision detection
|
2018-12-10 13:39:29 -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 |
|
|
|
a7755dfbdf
|
Removed WaveFont Model Object's knowledge of parenthood.
|
2018-12-10 10:00:04 -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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
f68c31f87c
|
Duct taping a cache bug, added test_object that uses sponza.obj.
|
2018-06-18 12:17:32 -05:00 |
|
|
|
e2af0958bb
|
Fixed multiple text y positioning
|
2018-04-23 22:07:56 -05:00 |
|
|
|
473a597b66
|
Bunch of stuff
|
2018-04-23 21:13:16 -05:00 |
|