Initial commit
This commit is contained in:
18
scenes/player.tscn
Normal file
18
scenes/player.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://07yvalnsoex7"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ddd236iwmyh0r" path="res://assets/icon.svg" id="1_3vyb7"]
|
||||
[ext_resource type="Script" uid="uid://bgahsyy7gxau4" path="res://scripts/player.gd" id="1_g2els"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_g2els"]
|
||||
size = Vector2(128, 128)
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
z_index = 5
|
||||
scale = Vector2(0.2, 0.2)
|
||||
script = ExtResource("1_g2els")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_3vyb7")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_g2els")
|
||||
Reference in New Issue
Block a user