Added the World Added Mobs, and spawning those mobs at runtime Added simple camera movement Added simple UI/HUD
29 lines
1008 B
Plaintext
29 lines
1008 B
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://brbhyuelsuxyx"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d0brwy88sjvv1" path="res://art/world/grasv2.png" id="1_f3sb7"]
|
|
[ext_resource type="Script" uid="uid://ctanguxj2uhw7" path="res://scenes/world/World.cs" id="1_rwgxs"]
|
|
[ext_resource type="PackedScene" uid="uid://drwdehf7caidt" path="res://scenes/spawner/spawner.tscn" id="3_1fp7r"]
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_0xm2m"]
|
|
texture = ExtResource("1_f3sb7")
|
|
texture_region_size = Vector2i(32, 32)
|
|
0:0/0 = 0
|
|
1:0/0 = 0
|
|
2:0/0 = 0
|
|
|
|
[sub_resource type="TileSet" id="TileSet_h2yge"]
|
|
tile_size = Vector2i(32, 32)
|
|
sources/0 = SubResource("TileSetAtlasSource_0xm2m")
|
|
|
|
[node name="World" type="Node2D"]
|
|
script = ExtResource("1_rwgxs")
|
|
algorithm = 1
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="TileMapLayer" type="TileMapLayer" parent="."]
|
|
texture_filter = 1
|
|
tile_set = SubResource("TileSet_h2yge")
|
|
|
|
[node name="Spawner" parent="." instance=ExtResource("3_1fp7r")]
|
|
position = Vector2(50, 50)
|