End of lesson 24.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=19 format=3 uid="uid://d3e5mg0gk8u7r"]
|
||||
[gd_scene load_steps=20 format=3 uid="uid://d3e5mg0gk8u7r"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://byx166hd5b3as" path="res://gfx/game/maps/entities/player/Idle/Untitled-0_0.png" id="1_li2a0"]
|
||||
[ext_resource type="Script" uid="uid://bo0had2vq4r7h" path="res://scripts/game/maps/entities/mob.gd" id="1_mu6cs"]
|
||||
[ext_resource type="Texture2D" uid="uid://gm5dhmls0klm" path="res://gfx/game/maps/entities/player/WalkLeft/Untitled-3_0.png" id="2_mu6cs"]
|
||||
[ext_resource type="Texture2D" uid="uid://cio1xyswbao5j" path="res://gfx/game/maps/entities/player/WalkRight/Untitled-3_0.png" id="3_tvinw"]
|
||||
[ext_resource type="Texture2D" uid="uid://svg30tifp74r" path="res://gfx/game/maps/entities/player/WalkUp/Untitled-2_0.png" id="4_cdxgq"]
|
||||
@@ -122,6 +123,7 @@ animations = [{
|
||||
}]
|
||||
|
||||
[node name="Mob" type="Node2D"]
|
||||
script = ExtResource("1_mu6cs")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(8, 8)
|
||||
|
||||
7
scenes/game/maps/entities/player.tscn
Normal file
7
scenes/game/maps/entities/player.tscn
Normal file
@@ -0,0 +1,7 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bpsrg5d3gncnd"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d3e5mg0gk8u7r" path="res://scenes/game/maps/entities/mob.tscn" id="1_7y2qh"]
|
||||
[ext_resource type="Script" uid="uid://dsguwthn2datq" path="res://scripts/game/maps/entities/Player.gd" id="2_us7jc"]
|
||||
|
||||
[node name="Player" instance=ExtResource("1_7y2qh")]
|
||||
script = ExtResource("2_us7jc")
|
||||
Reference in New Issue
Block a user