[gd_scene load_steps=6 format=2] [ext_resource path="res://Scripts/Player.gd" type="Script" id=1] [ext_resource path="res://Scripts/CharTween.gd" type="Script" id=2] [ext_resource path="res://Resources/Images/player.png" type="Texture" id=3] [ext_resource path="res://Resources/Images/crash.png" type="Texture" id=4] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 16, 16 ) [node name="Player" type="Area2D" groups=[ "players", ]] script = ExtResource( 1 ) [node name="Liner" type="Sprite" parent="."] z_index = 1 texture = ExtResource( 3 ) __meta__ = { "_edit_lock_": true } [node name="Crash" type="Sprite" parent="."] visible = false z_index = 1 texture = ExtResource( 4 ) __meta__ = { "_edit_lock_": true } [node name="HitBox" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) __meta__ = { "_edit_lock_": true } [node name="Tween" type="Tween" parent="."] script = ExtResource( 2 ) [connection signal="arena_removed" from="." to="Crash" method="hide"] [connection signal="arena_removed" from="." to="Liner" method="show"] [connection signal="body_entered" from="." to="." method="_on_crash"] [connection signal="crash" from="." to="Crash" method="show"] [connection signal="crash" from="." to="Liner" method="hide"]