From 65b3c4a34b26799a32920abe82fc677139b4c42e Mon Sep 17 00:00:00 2001 From: LUCASTUCIOUS Date: Mon, 22 Jul 2024 17:35:46 +0200 Subject: [PATCH] new player hierarchy + hat setup --- player.tscn | 10 +++++----- player/currentHat.tres | 6 ++++++ player/hat-layout.jpg | Bin 0 -> 50708 bytes player/hat-layout.jpg.import | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 player/currentHat.tres create mode 100644 player/hat-layout.jpg create mode 100644 player/hat-layout.jpg.import diff --git a/player.tscn b/player.tscn index 25cc803..f735371 100644 --- a/player.tscn +++ b/player.tscn @@ -2,7 +2,7 @@ [ext_resource type="Script" path="res://player.gd" id="1_0pgv8"] [ext_resource type="Texture2D" uid="uid://5pmqr3y62guu" path="res://player/currentCloth.tres" id="2_45h8h"] -[ext_resource type="Texture2D" uid="uid://hc35pmqglb14" path="res://extracted/Texture2D/Whitch Hat.png" id="3_bsp0f"] +[ext_resource type="Texture2D" uid="uid://5qixrbrclydr" path="res://player/currentHat.tres" id="3_qyf3b"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_kapu3"] size = Vector2(192, 256) @@ -153,8 +153,8 @@ region_enabled = true region_rect = Rect2(0, 0, 512, 640) [node name="Hat" type="Sprite2D" parent="Head"] -position = Vector2(80, -24) -scale = Vector2(0.531579, 0.531579) -texture = ExtResource("3_bsp0f") +position = Vector2(66, 66) +scale = Vector2(0.6, 0.6) +texture = ExtResource("3_qyf3b") region_enabled = true -region_rect = Rect2(18, 179, 1139, 665) +region_rect = Rect2(0, 0, 1152, 1136) diff --git a/player/currentHat.tres b/player/currentHat.tres new file mode 100644 index 0000000..0ad1e19 --- /dev/null +++ b/player/currentHat.tres @@ -0,0 +1,6 @@ +[gd_resource type="CanvasTexture" load_steps=2 format=3 uid="uid://5qixrbrclydr"] + +[ext_resource type="Texture2D" uid="uid://pkf86c0n3xig" path="res://extracted/Texture2D/Whitch Hat #62998.png" id="1_7652k"] + +[resource] +diffuse_texture = ExtResource("1_7652k") diff --git a/player/hat-layout.jpg b/player/hat-layout.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dd66ccba6ad249a1f2391004af44054cc3cb888b GIT binary patch literal 50708 zcmeI5Jx^3w9EbmxL1h)A6DUZun8LzFgIlZ?WY@roVdF-Fn)p&EAkxT728@k~6uaFP zwsywGFR)=-3Jbg4WD|og1@RLYqsDGLhY11W@5f}uk-|K8!pz~h_uQFzI5+p{sIAmi zWB+f%Bg0V?MO;shsJ$*$Muvv2of|znJaXn#+7VGajkI<4M@-KwR7Xz_RxVw>QrWc{ zMS84lV-xdp^^tr|M}2r!KlcA4@`$bB4>u;~C(c8(lGC|3VE+E;_q5GEia7B;qI7?QjX#L^=g)|~7aQ!*!-#!6eF@8yV|{~~r@UE7zQ%x9~lT?fA$JAs zhP#6HVkv4S^)Jct{{=Hw2RQVkv4S^)J zct{{=Hw2RQVkv@Qi#$(o!al=|NVmxLo88@sYBgSLal5xXYGGaVtEg3hg zB_qaT){=3$nWWv2N!p92WRiA6CTTC0l1WAlnPkK`OeSeFWRmvcDVe0* zkV)E$r(}|LLndi2mXb+E4Vh%bI7}vKGh~wX;whP=-H=Jzi>G9gc0(p$nWWv2N!p92 zWRiA6CTTC0l1WAlnPkK`OeSeFWRmvcDVe0*kV)E$r(}|LLndi2mXb+E4Vh%bI7}vK zGh~wX;whP=-H=Jzi>G9gc0(p