1bit-game-jam/prefabs/player.tscn

19 lines
707 B
Text

[gd_scene load_steps=4 format=3 uid="uid://bhulqhxesd5gc"]
[ext_resource type="Script" path="res://scripts/Player.cs" id="1_1vpun"]
[ext_resource type="SpriteFrames" uid="uid://cfdng3tdv65p6" path="res://sprites/player/player.tres" id="1_8jl58"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5hhj3"]
size = Vector2(15, 15)
[node name="Player" type="CharacterBody2D"]
script = ExtResource("1_1vpun")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.5, 7.5)
shape = SubResource("RectangleShape2D_5hhj3")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = ExtResource("1_8jl58")
animation = &"up"
frame_progress = 0.975256