snake gaming
This commit is contained in:
parent
737128614a
commit
f0f173ee06
7 changed files with 83 additions and 9 deletions
|
|
@ -39,3 +39,14 @@ func get_new_target():
|
|||
else:
|
||||
target_pos = next_segment.position
|
||||
move_progress = 0
|
||||
|
||||
func become_real():
|
||||
#activate colliders
|
||||
z_index = 10
|
||||
modulate = Color.WHITE
|
||||
pass
|
||||
|
||||
func become_fake():
|
||||
z_index = 0
|
||||
modulate = Color.DIM_GRAY
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue