fastRunner/player.tscn

24 lines
826 B
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://cj80unawvnbwe"]
[ext_resource type="Texture2D" uid="uid://dkl2dsvheyaab" path="res://icon.svg" id="1_rxxuj"]
[ext_resource type="Script" path="res://player.gd" id="1_tegbt"]
[ext_resource type="PackedScene" uid="uid://bg2ky0hlrhqp6" path="res://camera.tscn" id="3_rgwin"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_gj35y"]
[node name="CharacterBody2D" type="CharacterBody2D"]
scale = Vector2(0.3, 0.3)
collision_layer = 3
script = ExtResource("1_tegbt")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2(7, 7)
shape = SubResource("RectangleShape2D_gj35y")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_rxxuj")
[node name="Camera" parent="." instance=ExtResource("3_rgwin")]
[editable path="Camera"]