Tentative player
This commit is contained in:
parent
1511fbecbf
commit
ddbd53292c
5 changed files with 76 additions and 1 deletions
17
Scene/player.tscn
Normal file
17
Scene/player.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bvtebeu1wy2ak"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scene/player.gd" id="1_4giad"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4viqupj5q0je" path="res://ressources/images/icon.svg" id="1_p44a3"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mgmcf"]
|
||||
size = Vector2(119, 116)
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
script = ExtResource("1_4giad")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-0.5, 1)
|
||||
shape = SubResource("RectangleShape2D_mgmcf")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_p44a3")
|
Loading…
Add table
Add a link
Reference in a new issue