mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-05 19:20:19 -08:00
added github contributors to credits and fixed up a quick sprite offset with hammer bros
This commit is contained in:
parent
51e1907b01
commit
750b64f443
4 changed files with 564 additions and 76 deletions
|
|
@ -20,6 +20,7 @@ func _ready() -> void:
|
|||
func _process(delta: float) -> void:
|
||||
target_player = get_tree().get_first_node_in_group("Players")
|
||||
direction = sign(target_player.global_position.x - global_position.x)
|
||||
|
||||
$MovementJoint/Sprite.scale.x = -direction
|
||||
if $TrackJoint.is_attached: $MovementAnimations.play("RESET")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue