Commit graph

3 commits

Author SHA1 Message Date
Dan
bb5724429a Added job component and queue system
- Introduced a new JobComponent and JobQueue to manage jobs in the game.
- Created two new jobs: DigJob and InfectJob with their respective scripts.
- Updated CrystalGlowComponent, FreeCameraComponent, MushroomGlowComponent, WaterEffectComponent to improve logging messages.
- Adjusted camera movement limits in FreeCameraGameCameraComponent for better control.
- Added FiniteStateMachine class for managing states of entities.
- Implemented GlowingIdle state as an example of using the state machine.
- Included a utility function to fetch file paths by extension from a directory.
2024-06-06 15:49:05 +01:00
Dan
cec9227b67 Introduced FreeCameraComponent
A new component, FreeCameraComponent, has been added to the project. This component allows for more flexible camera control including key movement, edge scrolling, mouse dragging and zooming. The camera's speed, margin and zoom limits can be adjusted as needed. The old Camera2D node in the glowing.tscn file has been removed and replaced with this new component in test_level.tscn.
2024-06-06 09:39:03 +01:00
Dan
ce0ef75241 All sorts of fun and games 2024-06-03 17:34:11 +01:00