forked from interstellar_development/freettrpg
19 lines
665 B
Text
19 lines
665 B
Text
|
[gd_scene load_steps=4 format=3 uid="uid://dv67vdgb4h44q"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://dheqglouhkis6" path="res://assets/test/player.png" id="1_cujcj"]
|
||
|
[ext_resource type="Script" path="res://scripts/player.gd" id="1_oik63"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kf6qt"]
|
||
|
size = Vector2(20, 18)
|
||
|
|
||
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
||
|
script = ExtResource("1_oik63")
|
||
|
|
||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
texture = ExtResource("1_cujcj")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("RectangleShape2D_kf6qt")
|
||
|
|
||
|
[node name="Camera2D" type="Camera2D" parent="."]
|