summaryrefslogtreecommitdiffstats
path: root/assets/view_model/ViewModel.gd (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-04-24Move Godot 3 project to a new subdirectoryHEADmasterMalfurious1-91/+0
Signed-off-by: Malfurious <m@lfurio.us>
2022-10-30Convert script tabs to spacesMalfurious1-67/+67
and other whitespace fixes! Signed-off-by: Malfurious <m@lfurio.us>
2022-10-30Add menu placeholder hotkeyMalfurious1-0/+3
It would be nice to eventually use Escape to open/close an in-game menu. For now, use the key as a shortcut to close the application. Signed-off-by: Malfurious <m@lfurio.us>
2022-09-12ViewModel cycles characters on interact/pingMalfurious1-0/+13
Signed-off-by: Malfurious <m@lfurio.us>
2022-09-12Decouple ViewModel and the BaseCharacterMalfurious1-1/+1
The ViewModel now consists of the camera, controls, and character driving logic. The actual character model has been removed and is expected to be externally present in the scene. An exported variable is added to reference the player object that the view model is to be controlling. This will allow us to place multiple characters in a scene and change the view model's perspective on the fly. Both of the current maps have been updated to implement this properly, and add an extra character on the enemy team. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-27Add generic testing mapmikatomik1-0/+4
Initial version of shipyard map implemented for testing. Base_char mesh and goo-gun meshes property "use in baked light" set to true during experiment with GI probes for global illumination. Label added to view model to display in-game FPS. Main camera "far" property turned up to 500 so the whole map can be drawn. General purpose liquid shader added for use as water in shipyard_map. World default environment updated for visual quality. Shader_Compiler.gd implemented to combat stuttering when compiling shaders on the fly. This may be obsolete with the release of Godot 3.5 that introduced async compilation. Signed-off-by: mikatomik <mikec_2007@hotmail.com>
2022-07-22Implement Goo Gun primary fireMalfurious1-2/+12
Signed-off-by: Malfurious <m@lfurio.us>
2022-07-17Add view model implementing character movementMalfurious1-0/+61
Basic movement and mouse aim is implemented. The view model is added to DevPlane (replacing the static camera) for testing. Signed-off-by: Malfurious <m@lfurio.us>