From c9057bbd88f14a4e0e572c16452c1ab9baebfe2a Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 17 Aug 2025 22:30:35 -0300 Subject: Atores agora são criados por código. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/definitions/actor/Player.tres | 4 +++- assets/definitions/actor/Skeleton.tres | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'assets/definitions/actor') 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" -- cgit v1.2.3