Added the World Added Mobs, and spawning those mobs at runtime Added simple camera movement Added simple UI/HUD
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://b0q03xfp1iy6t"]
|
|
|
|
[ext_resource type="Script" uid="uid://b3o37f05w3fva" path="res://scenes/entities/BaseEntity.cs" id="1_jutb3"]
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_jutb3"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_scwlb"]
|
|
size = Vector2(2, 2)
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_o625d"]
|
|
|
|
[sub_resource type="Theme" id="Theme_jutb3"]
|
|
|
|
[node name="BaseEntity" type="Area2D"]
|
|
script = ExtResource("1_jutb3")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = SubResource("PlaceholderTexture2D_jutb3")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite2D"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_scwlb")
|
|
|
|
[node name="SelectedSprite2D" type="Sprite2D" parent="."]
|
|
visible = false
|
|
scale = Vector2(5, 5)
|
|
texture = SubResource("PlaceholderTexture2D_o625d")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
visible = false
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -23.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 3
|
|
theme = SubResource("Theme_jutb3")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Name"
|
|
|
|
[node name="Label2" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Type"
|