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.
This commit is contained in:
parent
fc896925d6
commit
bb5724429a
23 changed files with 311 additions and 29 deletions
|
|
@ -8,12 +8,9 @@ class_name MushroomGlow
|
|||
@export var colour_name : String = "blue"
|
||||
|
||||
func _ready() -> void:
|
||||
Log.pr("And dog said let their be light...")
|
||||
Log.pr(position, global_position)
|
||||
set_light_colour(colour_name)
|
||||
animation.play("GlowFlicker")
|
||||
|
||||
|
||||
func set_light_colour(colour : String) -> void:
|
||||
if colour == "blue":
|
||||
inner_glow.color = "4cc5fa"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue