hopefully faster load.
This commit is contained in:
11
ego/Ego.gd
11
ego/Ego.gd
@@ -10,11 +10,12 @@ extends Node2D
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
func _process(delta):
|
||||
if %AnimatedSprite2D.animation.contains("walk"):
|
||||
%AnimatedSprite2D.material.get_shader_parameter("tex_frg_6").pause=false
|
||||
else:
|
||||
%AnimatedSprite2D.material.get_shader_parameter("tex_frg_6").pause=true
|
||||
|
||||
pass
|
||||
#if %AnimatedSprite2D.animation.contains("walk"):
|
||||
#%AnimatedSprite2D.material.get_shader_parameter("tex_frg_6").pause=false
|
||||
#else:
|
||||
#%AnimatedSprite2D.material.get_shader_parameter("tex_frg_6").pause=true
|
||||
#
|
||||
|
||||
@export var facing = "S"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user