WindowPuzzler/scenes/player.tscn
2024-10-09 21:52:35 -07:00

31 lines
908 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://qf1tj52hbpvv"]
[ext_resource type="Texture2D" uid="uid://cr0j5caegnmmm" path="res://sprites/player.png" id="1_5amrr"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_44r7b"]
[node name="Player" type="Node2D"]
script = ExtResource("1_44r7b")
[node name="Sprite" type="Sprite2D" parent="."]
texture = ExtResource("1_5amrr")
centered = false
[node name="UpCast" type="RayCast2D" parent="."]
position = Vector2(8, 8)
target_position = Vector2(0, -16)
[node name="LeftCast" type="RayCast2D" parent="."]
position = Vector2(8, 8)
target_position = Vector2(-16, 0)
[node name="DownCast" type="RayCast2D" parent="."]
position = Vector2(8, 8)
target_position = Vector2(0, 16)
[node name="RightCast" type="RayCast2D" parent="."]
position = Vector2(8, 8)
target_position = Vector2(16, 0)
[node name="MoveTimer" type="Timer" parent="."]
one_shot = true