Сцена игрока + начальная реализация перемещения
This commit is contained in:
commit
42db203fca
95 changed files with 1816 additions and 0 deletions
21
prefabs/Player.tscn
Normal file
21
prefabs/Player.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dfdsnwub212o6"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Player.cs" id="1_68nsf"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://e8ybb7seykdx" path="res://resources/sprites/player/player.tres" id="1_be2ex"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sed4o"]
|
||||
size = Vector2(20, 29)
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
script = ExtResource("1_68nsf")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
sprite_frames = ExtResource("1_be2ex")
|
||||
frame_progress = 0.641559
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 0.5)
|
||||
shape = SubResource("RectangleShape2D_sed4o")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
Loading…
Add table
Add a link
Reference in a new issue