Plant spawn
This commit is contained in:
parent
32453f2e9d
commit
941912d7f1
25 changed files with 281 additions and 40 deletions
15
scenes/plants/aloe.tscn
Normal file
15
scenes/plants/aloe.tscn
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dba4s3ke32u0l"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d4btl7vqi4v0q" path="res://assets/sprites/plants/aloe.tres" id="1_38l32"]
|
||||
[ext_resource type="Script" uid="uid://bwdvaov8sse4k" path="res://scripts/entities/entity.gd" id="1_yhqjp"]
|
||||
|
||||
[node name="Aloe" type="Node2D" groups=["Plants"]]
|
||||
|
||||
[node name="Entity" type="Node" parent="."]
|
||||
script = ExtResource("1_yhqjp")
|
||||
max_hp = 30.0
|
||||
layer = &"base"
|
||||
metadata/_custom_type_script = "uid://bwdvaov8sse4k"
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_38l32")
|
||||
Loading…
Add table
Add a link
Reference in a new issue