Added the World Added Mobs, and spawning those mobs at runtime Added simple camera movement Added simple UI/HUD
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://b43wgesnaq4eg"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b0q03xfp1iy6t" path="res://scenes/entities/BaseEntity.tscn" id="1_jg071"]
|
|
[ext_resource type="Texture2D" uid="uid://cj5do47pclcnj" path="res://art/mobs/fly/bumblebee.png" id="2_opprm"]
|
|
[ext_resource type="Script" uid="uid://svy5ypjbf0gl" path="res://scenes/entities/bumblebee/Bumblebee.cs" id="2_wfrvd"]
|
|
|
|
[sub_resource type="Animation" id="Animation_y1hpr"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_wfrvd"]
|
|
resource_name = "move"
|
|
length = 0.15
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.0692609),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [0, 1]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1wlul"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_y1hpr"),
|
|
&"move": SubResource("Animation_wfrvd")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_wfrvd"]
|
|
radius = 4.0
|
|
|
|
[node name="Bumblebee" instance=ExtResource("1_jg071")]
|
|
script = ExtResource("2_wfrvd")
|
|
|
|
[node name="Sprite2D" parent="." index="0"]
|
|
texture = ExtResource("2_opprm")
|
|
hframes = 2
|
|
|
|
[node name="AnimationPlayer" parent="Sprite2D" index="0"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_1wlul")
|
|
}
|
|
|
|
[node name="CollisionShape2D" parent="." index="1"]
|
|
shape = SubResource("CircleShape2D_wfrvd")
|