spawner can now spawn 3d models

This commit is contained in:
Luca 2024-09-17 20:06:11 +02:00
parent ccd3ef577c
commit f025f89401
10 changed files with 59 additions and 34 deletions

View file

@ -1,13 +1,15 @@
[gd_resource type="Resource" script_class="MonsterStats" load_steps=3 format=3 uid="uid://ym438vedcdyl"]
[gd_resource type="Resource" script_class="MonsterStats" load_steps=4 format=3 uid="uid://ym438vedcdyl"]
[ext_resource type="Script" path="res://resources/monster.gd" id="1_47qp4"]
[ext_resource type="PackedScene" uid="uid://h2we7rb772hy" path="res://assets/models/round_bat/model/bat.glb" id="1_ajl37"]
[ext_resource type="Texture2D" uid="uid://b6ylra30qxf30" path="res://assets/logo/logo.png" id="2_8r754"]
[ext_resource type="Script" path="res://resources/monster_stats.gd" id="2_ec3n5"]
[resource]
script = ExtResource("1_47qp4")
script = ExtResource("2_ec3n5")
thumbnail = ExtResource("2_8r754")
name = "Debug Monster 1"
health = 110
attack_value = 12
defense_value = 15
speed_value = 8
model = ExtResource("1_ajl37")

View file

@ -1,6 +1,6 @@
[gd_resource type="Resource" script_class="MonsterStats" load_steps=3 format=3 uid="uid://br8opay3hdptg"]
[ext_resource type="Script" path="res://resources/monster.gd" id="1_saexp"]
[ext_resource type="Script" path="res://resources/monster_stats.gd" id="1_saexp"]
[ext_resource type="Texture2D" uid="uid://b6ylra30qxf30" path="res://assets/logo/logo.png" id="2_3x4e0"]
[resource]

View file

@ -1,6 +1,6 @@
[gd_resource type="Resource" script_class="MonsterStats" load_steps=3 format=3 uid="uid://y250cwuiq5y"]
[ext_resource type="Script" path="res://resources/monster.gd" id="1_eka2r"]
[ext_resource type="Script" path="res://resources/monster_stats.gd" id="1_eka2r"]
[ext_resource type="Texture2D" uid="uid://b6ylra30qxf30" path="res://assets/logo/logo.png" id="2_b7c7s"]
[resource]

View file

@ -7,6 +7,7 @@ extends Resource
@export var attack_value: int = 10
@export var defense_value: int = 10
@export var speed_value: int = 10
@export var model: PackedScene
func _init() -> void:
pass