diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-17 22:30:35 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-17 22:30:35 -0300 |
| commit | c9057bbd88f14a4e0e572c16452c1ab9baebfe2a (patch) | |
| tree | 61e22e427354995cabe878d7a9f14fb9804c9c8f /assets/definitions/actor | |
| parent | 240156765d88db25dd092fc320005cdb5f28d7a7 (diff) | |
Atores agora são criados por código.
Diffstat (limited to 'assets/definitions/actor')
| -rw-r--r-- | assets/definitions/actor/Player.tres | 4 | ||||
| -rw-r--r-- | assets/definitions/actor/Skeleton.tres | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/assets/definitions/actor/Player.tres b/assets/definitions/actor/Player.tres index 4b9b172..798bfde 100644 --- a/assets/definitions/actor/Player.tres +++ b/assets/definitions/actor/Player.tres @@ -1,9 +1,11 @@ -[gd_resource type="Resource" script_class="ActorDefinition" load_steps=2 format=3 uid="uid://cn6xnpwxjudbp"] +[gd_resource type="Resource" script_class="ActorDefinition" load_steps=3 format=3 uid="uid://cn6xnpwxjudbp"] [ext_resource type="Script" uid="uid://crxw1e37xlrrt" path="res://scripts/actors/ActorDefinition.cs" id="1_2k33r"] +[ext_resource type="Texture2D" uid="uid://dwky8qc2y602k" path="res://assets/sprites/character.png" id="2_2xyvf"] [resource] script = ExtResource("1_2k33r") name = "Jogador" +texture = ExtResource("2_2xyvf") blocksMovement = true metadata/_custom_type_script = "uid://crxw1e37xlrrt" diff --git a/assets/definitions/actor/Skeleton.tres b/assets/definitions/actor/Skeleton.tres index 687bcee..be38337 100644 --- a/assets/definitions/actor/Skeleton.tres +++ b/assets/definitions/actor/Skeleton.tres @@ -1,9 +1,11 @@ -[gd_resource type="Resource" script_class="ActorDefinition" load_steps=2 format=3 uid="uid://bphsl6o2nsb8x"] +[gd_resource type="Resource" script_class="ActorDefinition" load_steps=3 format=3 uid="uid://bphsl6o2nsb8x"] [ext_resource type="Script" uid="uid://crxw1e37xlrrt" path="res://scripts/actors/ActorDefinition.cs" id="1_m5x88"] +[ext_resource type="Texture2D" uid="uid://dh5sgjdwkps88" path="res://assets/sprites/skeleton.png" id="2_hhidw"] [resource] script = ExtResource("1_m5x88") name = "Eis que leto" +texture = ExtResource("2_hhidw") blocksMovement = true metadata/_custom_type_script = "uid://crxw1e37xlrrt" |
