From 72013e48eb67bbd058553c53fc60cd002ca42a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Fri, 11 Apr 2025 17:03:19 +0200 Subject: [PATCH 01/14] feat: started adding new ui --- .../sprites/hats/DP_barret_barretina_Anim.png | Bin 0 -> 3231 bytes .../hats/DP_barret_barretina_Anim.png.import | 34 +++ assets/sprites/hats/DP_barret_casc_Anim.png | Bin 0 -> 3969 bytes .../hats/DP_barret_casc_Anim.png.import | 34 +++ assets/sprites/hats/DP_barret_copa_Anim.png | Bin 0 -> 3264 bytes .../hats/DP_barret_copa_Anim.png.import | 34 +++ assets/sprites/hats/DP_barret_corona_Anim.png | Bin 0 -> 3063 bytes .../hats/DP_barret_corona_Anim.png.import | 34 +++ assets/sprites/hats/DP_barret_palla_Anim.png | Bin 0 -> 3328 bytes .../hats/DP_barret_palla_Anim.png.import | 34 +++ .../sprites/hats/DP_barret_princesa_Anim.png | Bin 0 -> 4065 bytes .../hats/DP_barret_princesa_Anim.png.import | 34 +++ .../sprites/shirts/DP_tors_armadura_Anim.png | Bin 0 -> 4377 bytes .../shirts/DP_tors_armadura_Anim.png.import | 34 +++ assets/sprites/shirts/DP_tors_faixa_Anim.png | Bin 0 -> 4025 bytes .../shirts/DP_tors_faixa_Anim.png.import | 34 +++ assets/sprites/shirts/DP_tors_traje_Anim.png | Bin 0 -> 3626 bytes .../shirts/DP_tors_traje_Anim.png.import | 34 +++ assets/sprites/shirts/DP_tors_tutu_Anim.png | Bin 0 -> 3642 bytes .../shirts/DP_tors_tutu_Anim.png.import | 34 +++ assets/sprites/ui/DP_UI_Button_Text.png | Bin 0 -> 563 bytes .../sprites/ui/DP_UI_Button_Text.png.import | 34 +++ assets/sprites/ui/DP_UI_Buttons01.png | Bin 0 -> 2954 bytes assets/sprites/ui/DP_UI_Buttons01.png.import | 34 +++ assets/sprites/ui/DP_UI_CharCreation_BG.png | Bin 0 -> 12630 bytes .../ui/DP_UI_CharCreation_BG.png.import | 34 +++ assets/sprites/ui/DP_UI_CharList_BG.png | Bin 0 -> 4052 bytes .../sprites/ui/DP_UI_CharList_BG.png.import | 34 +++ assets/sprites/ui/DP_UI_CharList_Frame.png | Bin 0 -> 596 bytes .../ui/DP_UI_CharList_Frame.png.import | 34 +++ assets/sprites/ui/DP_UI_CharList_FrameBG.png | Bin 0 -> 557 bytes .../ui/DP_UI_CharList_FrameBG.png.import | 34 +++ assets/sprites/ui/DP_UI_CharList_Top.png | Bin 0 -> 3775 bytes .../sprites/ui/DP_UI_CharList_Top.png.import | 34 +++ assets/sprites/ui/DP_UI_Label_Big.png | Bin 0 -> 811 bytes assets/sprites/ui/DP_UI_Label_Big.png.import | 34 +++ assets/sprites/ui/DP_UI_SlideBar.png | Bin 0 -> 166 bytes assets/sprites/ui/DP_UI_SlideBar.png.import | 34 +++ assets/sprites/ui/DP_UI_Slider.png | Bin 0 -> 200 bytes assets/sprites/ui/DP_UI_Slider.png.import | 34 +++ assets/styles/style_box_empty.tres | 3 + scenes/dragon_editor/dragon_editor.gd | 14 +- scenes/dragon_editor/dragon_editor.tscn | 226 +++++++++++------- src/draggable.gd | 32 +++ src/draggable.gd.uid | 1 + 45 files changed, 860 insertions(+), 96 deletions(-) create mode 100644 assets/sprites/hats/DP_barret_barretina_Anim.png create mode 100644 assets/sprites/hats/DP_barret_barretina_Anim.png.import create mode 100644 assets/sprites/hats/DP_barret_casc_Anim.png create mode 100644 assets/sprites/hats/DP_barret_casc_Anim.png.import create mode 100644 assets/sprites/hats/DP_barret_copa_Anim.png create mode 100644 assets/sprites/hats/DP_barret_copa_Anim.png.import create mode 100644 assets/sprites/hats/DP_barret_corona_Anim.png create mode 100644 assets/sprites/hats/DP_barret_corona_Anim.png.import create mode 100644 assets/sprites/hats/DP_barret_palla_Anim.png create mode 100644 assets/sprites/hats/DP_barret_palla_Anim.png.import create mode 100644 assets/sprites/hats/DP_barret_princesa_Anim.png create mode 100644 assets/sprites/hats/DP_barret_princesa_Anim.png.import create mode 100644 assets/sprites/shirts/DP_tors_armadura_Anim.png create mode 100644 assets/sprites/shirts/DP_tors_armadura_Anim.png.import create mode 100644 assets/sprites/shirts/DP_tors_faixa_Anim.png create mode 100644 assets/sprites/shirts/DP_tors_faixa_Anim.png.import create mode 100644 assets/sprites/shirts/DP_tors_traje_Anim.png create mode 100644 assets/sprites/shirts/DP_tors_traje_Anim.png.import create mode 100644 assets/sprites/shirts/DP_tors_tutu_Anim.png create mode 100644 assets/sprites/shirts/DP_tors_tutu_Anim.png.import create mode 100644 assets/sprites/ui/DP_UI_Button_Text.png create mode 100644 assets/sprites/ui/DP_UI_Button_Text.png.import create mode 100644 assets/sprites/ui/DP_UI_Buttons01.png create mode 100644 assets/sprites/ui/DP_UI_Buttons01.png.import create mode 100644 assets/sprites/ui/DP_UI_CharCreation_BG.png create mode 100644 assets/sprites/ui/DP_UI_CharCreation_BG.png.import create mode 100644 assets/sprites/ui/DP_UI_CharList_BG.png create mode 100644 assets/sprites/ui/DP_UI_CharList_BG.png.import create mode 100644 assets/sprites/ui/DP_UI_CharList_Frame.png create mode 100644 assets/sprites/ui/DP_UI_CharList_Frame.png.import create mode 100644 assets/sprites/ui/DP_UI_CharList_FrameBG.png create mode 100644 assets/sprites/ui/DP_UI_CharList_FrameBG.png.import create mode 100644 assets/sprites/ui/DP_UI_CharList_Top.png create mode 100644 assets/sprites/ui/DP_UI_CharList_Top.png.import create mode 100644 assets/sprites/ui/DP_UI_Label_Big.png create mode 100644 assets/sprites/ui/DP_UI_Label_Big.png.import create mode 100644 assets/sprites/ui/DP_UI_SlideBar.png create mode 100644 assets/sprites/ui/DP_UI_SlideBar.png.import create mode 100644 assets/sprites/ui/DP_UI_Slider.png create mode 100644 assets/sprites/ui/DP_UI_Slider.png.import create mode 100644 assets/styles/style_box_empty.tres create mode 100644 src/draggable.gd create mode 100644 src/draggable.gd.uid diff --git a/assets/sprites/hats/DP_barret_barretina_Anim.png b/assets/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zS(O<^bh1p9r;*8l(j literal 0 HcmV?d00001 diff --git a/assets/sprites/hats/DP_barret_barretina_Anim.png.import b/assets/sprites/hats/DP_barret_barretina_Anim.png.import new file mode 100644 index 0000000..ad59250 --- /dev/null +++ b/assets/sprites/hats/DP_barret_barretina_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://blkh88mh1rnm" +path="res://.godot/imported/DP_barret_barretina_Anim.png-ebd66457744b024a3e2179851454b448.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/hats/DP_barret_barretina_Anim.png" +dest_files=["res://.godot/imported/DP_barret_barretina_Anim.png-ebd66457744b024a3e2179851454b448.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/hats/DP_barret_casc_Anim.png b/assets/sprites/hats/DP_barret_casc_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..c353391a78ec852cb6c48de06494a1f7ab31b392 GIT binary patch literal 3969 zcmeH~X;4#H7RMi`;4}u9VFr{i!03#$D~g)P(tx|TfUP`%MhTJzL`V=pAV7c?ZFDfE z6cvyqJuTB29>^j)ghWA-RsyuGELjLbhJ-CdcoGOpGA|FQn(B{J<)`sODz{$Mx$m5F z&;NJ-@75{LBbYBNzW@LL<8k!hX#mi_2>^QKs|}DRn{VEiBY(fUeAF)*0F2CZKRw`4 z-dX@K+2wI?pLcwoqK|XuZ7`NMkSGaUf5Uup{wuT}igdrGi& z)0*Z#SeiV0wc&@?TQQojO<(rBa{tSXzna75Z7oxa3ggNhmAg2hGYyswg1!s?R(ZH~ z<_r2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O=-{d$)d6Kaf7ePBm2Xa@ckb4SPZT#S=>MamwM%bPn6MKz!Wl+mtnvAD-o^Ue?$_;}F|aVap*AwVW&E%2 zD3$dSa+VwA{N$&F(wvf{6+7&@FQJ{a#d5$^*rynsz>_xKQKP`%mo(Xan)La8+rL6l zz})`0un3y~S~iOv;s9Xpo7kx=BOX$d(K5_|A9zk4CP|o_gny}EY>I5^JPl?}gcSUe OKtAhzy>9(LJ@_};z2hJN literal 0 HcmV?d00001 diff --git a/assets/sprites/hats/DP_barret_copa_Anim.png.import b/assets/sprites/hats/DP_barret_copa_Anim.png.import new file mode 100644 index 0000000..cac1969 --- /dev/null +++ b/assets/sprites/hats/DP_barret_copa_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cikq8k32v8ann" +path="res://.godot/imported/DP_barret_copa_Anim.png-e7216cf9f41d234cf020952ae418efc1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/hats/DP_barret_copa_Anim.png" +dest_files=["res://.godot/imported/DP_barret_copa_Anim.png-e7216cf9f41d234cf020952ae418efc1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/hats/DP_barret_corona_Anim.png b/assets/sprites/hats/DP_barret_corona_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..a92fb0885f004ff6b837253f46e71962cdfe1a9e GIT binary patch literal 3063 zcmeHJYfO_@7(QhVP{U=J1GK2PB@&$xXR{V(D`0S7Hqp2(I+Ow;HOsnQ#0r%{nQX#_ z$eh#qNoli-A%;N#fg-)JQK?%$+8KC1DJF zxw11g<^3Yz=%C`uto&tV_c*6QucYo$zrB^2JVIB1n_HWser#*)c;}V$(UplqWsP-3 zFI*t5U%uvpE(k;h zy#&f4VML!LF9LCkUIk!HBo2gr8VZs_Qvuli{Dv^<9<3gt6HV401Q|UpGuTH2+@J0x zW;+g1q3JcjF!03LVD`H4%iRLQK0zUgKq%aHV)|V@f2fp5ATa4;mq&~VuFQCnjl)vj zzAlGGJsk#9WVgEG{F}x0slKnXMM>V-3{k-fTYESIbqw<%VE5_N~%PV z`0M@&sVqm;C6^WZA2!H#%T=EH?%mW{1W9u`qn7ije2ONQ>ag_6H|h*s7cq0Sq`-<2 zHU3exm9m?()Mw6QfCNhCB`h5WWp79h)zOMN3?#D%L8?5eKJ=V8U?y1{cvrtjVwAmOm{sL}S1vruS`>jM~i zN8GE_N!z?dG#VqT^t>vYxPoM4#a@6};$2-&%9+qRS59Lv+w4!+!Kd5WH^OTC&HDp< z>Rr~Ii@1RhESR6M8O>OZ3yC%VrC2&SkCuT*Pq|(c;^&!_3T4uKHnTq4=8`M7)LUnIB+lV28Y>TH|8-t#H>c9^OE*shDa5 z$yQI{`|4L8q0wZ6Cn7Ak4X&@+i+YeosRn6gVatyuPC%#!+Rsb|y%7{&AxS z`ws7VYaqQ*o8+(fRskKblw}3^<*+>p2a6*IFY2qRm&KleX}zWHxxQeQ6?z2=`dEZ9wId$?JcgYx?oEr>(tS zclGpaueZ%E2~6HcQM&YiGlg81PbHC}0=GA-1gl1f@7XvpS~)}I8A4GW+f#ucGZW)m z^;5IsZgbyh?#eHpVc)!n1@(23XM4V`f0xdXy9KJN6)RPVc4D8?C0U{l*Z=s*|E zYNErPzw&Bv1f)E-x)Bpeg literal 0 HcmV?d00001 diff --git a/assets/sprites/hats/DP_barret_corona_Anim.png.import b/assets/sprites/hats/DP_barret_corona_Anim.png.import new file mode 100644 index 0000000..c75c931 --- /dev/null +++ b/assets/sprites/hats/DP_barret_corona_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://chdfhv2fysfnc" +path="res://.godot/imported/DP_barret_corona_Anim.png-65b440a539a09f8d83278ded69d36e6b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/hats/DP_barret_corona_Anim.png" +dest_files=["res://.godot/imported/DP_barret_corona_Anim.png-65b440a539a09f8d83278ded69d36e6b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/hats/DP_barret_palla_Anim.png b/assets/sprites/hats/DP_barret_palla_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..72a411a506a03719ef80413791f8189166f5d4f5 GIT binary patch literal 3328 zcmeHKdsI?)9RF!$P3LrLN1M2Gwbs%m(nBQ6M?R)m+EH(2KG2xjOKj57m>O=ia))7a zc8Wx$)62YSI1C+zu;qlUFxn|KMPSYZ4V4uTAqu-dXaDT4ozoxwu|Mv)_uTV)e1D(U z_ug-ICw%Ja?BxsqaE*(NN&>*K5&(y`WlqQ&zshqegz8rSW9Dqf7t;CS1H4+mAYuTk7BuO{SD{#@4_P&k>`$D4g3 z99jBm*?lxu1ecuWB^aM684SbqCR6pWWF{+p(l~6`)~y|rpbe*wn{!qKL=PqQ@&Zoh z7K%-pV%Sevgsdl?0EI z;jZV;wM}OWDf!vnqUHYX9vfNw^<9{-mp`UM`IZoD!TrV&x->FCMQkX0aMd;$rx5B7i0L@_!K#QFYkKJ$z>pXuPGlR@z>>Y zzPEJTF8?6@L^6FaZ|^Yzkj0<`CLo@m3ikx4eTzlG%a$=H$c`G&#T>s2kXPXtV#|v7L3)U;It1zqQz(dsO zoD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Q0bg-Gpunq1f;jHEw2Iye@#Y`cGcBFgOGf#&iQM+gj$ zfY}hOY}V`akQ%=5%Qlb{ z4G|J(fuM5g!n#eLpN=OYSj;JOjD*YqWaH?qi$t3FL;TaM{XJ zomssN1r4ev{K_hOf?@>(upI$-YE*kK$_R+bfVs5kuPZPBVshZ;e{a426%G1t+s6K1 e-T&mCdc7p2SaDesuc4s?0H3}7p4GdLT>J;7Q_7qG literal 0 HcmV?d00001 diff --git a/assets/sprites/hats/DP_barret_princesa_Anim.png.import b/assets/sprites/hats/DP_barret_princesa_Anim.png.import new file mode 100644 index 0000000..11a5a21 --- /dev/null +++ b/assets/sprites/hats/DP_barret_princesa_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://1a5x8tv4ts0f" +path="res://.godot/imported/DP_barret_princesa_Anim.png-905c56a0c0130d0bfc2331d3d988dea1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/hats/DP_barret_princesa_Anim.png" +dest_files=["res://.godot/imported/DP_barret_princesa_Anim.png-905c56a0c0130d0bfc2331d3d988dea1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/shirts/DP_tors_armadura_Anim.png b/assets/sprites/shirts/DP_tors_armadura_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..c00be97a13aaec2bb633f8dad4619199800a3eaa GIT binary patch literal 4377 zcmeI0dr(t%7RN7$RaC^5sW?KwI=f-Js{}+qd8G)b%!*i=3-U-JpkRf7hyhH1P-qJZ z!YHjG2v|@aH$Z>@AwYsHB8$9K62e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B3DFihx$bQ8AK2IB6tXZGN7JNgqX< zBSfl!x~Y-l1hWJWPQ?SfrR&fF#Z!>a#*(e0_PTJ`a1Ur6PhD({J|77N zP$vpUK4-Ze9C$y^T@>DBJL_*7%FD$#&yqB$#sd{%a;v7snt(y$#Lb09yr`;c6!1q% zZE$-~8ocqucRK#em^=a*!2t<+RX72H(Qw1 z1c23omO$dex({s=^{9gU&`QSMlqvl+qenm0d1!5wB^BO_lM5Tig?C3n9p&TE{Xt?x zN3(JQ>druf2OnnMx&46fu5VTCWbP5D%YPrJ}p13k*A~fX##AZ{|tHKvDuHr0r^5+yxEF^|b$_9N!Gt&1N zoXSOtxFvAJv_57X6+>ZM+5K|mGK(c3Tu_rwGmK8$x7JNcgQWZiU2Bm{2pVQOI;xXH zDosmi{vhZpx13U@O0P)w&5T7mydb+M!c+8$boiW&K`fW-G^yt9g9J!Dixw9RxcoT@ zrjxS_??zfLym9`TPJm01wwMW9Ord#8uChfCmB+g3?cB#cnwWmZzSepGGWmRjUQ1t` z?%=&U7k(|Jo2|SLa-WxVdhu;Dtfl$Ef9|JICSBj+u+koW7P^n{4F%3a1Yu z@S1XDK5mIKIZzuk+$cF$Gg)0#EN#=$Mk>XB18 zR&Bdn{i1(Gzv34i^_Wy!mf`E>T;(sTC$|Sk3w#d6Bm{H(i;ts_c?pu3RG+izTqsUq zvZ*=8CJX&5TL^_-l6t#&3BU9+V)e1kYM)`)sxK;j(~0{lJTxq#T(^>C_t$zzE^Mg5oLQf}^4a-MvV-ds z&F787?6|B;)RNpQuH*O5$2|Xd!TAP7n`Qy|LIh z?Imr#Gc3zxdmyE-i;=4G19*~^2&XrOv nSN8v&xbpv*@W1lWU2QqR`cXL@vf7CJ*8zBYo%F0bawh#BP1$ln literal 0 HcmV?d00001 diff --git a/assets/sprites/shirts/DP_tors_armadura_Anim.png.import b/assets/sprites/shirts/DP_tors_armadura_Anim.png.import new file mode 100644 index 0000000..d733723 --- /dev/null +++ b/assets/sprites/shirts/DP_tors_armadura_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://do2jnyp7khi61" +path="res://.godot/imported/DP_tors_armadura_Anim.png-9a17dd9d38640685f1d12c4601e875d8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/shirts/DP_tors_armadura_Anim.png" +dest_files=["res://.godot/imported/DP_tors_armadura_Anim.png-9a17dd9d38640685f1d12c4601e875d8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/shirts/DP_tors_faixa_Anim.png b/assets/sprites/shirts/DP_tors_faixa_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..d3a83c8116aba1b25cfb00a5cd06c9ffe9fc381e GIT binary patch literal 4025 zcmeH~dsI^S7RQg4Xf>v@vL}vu>n7R5M^j*wk!7VeW?AOg15In36!8@)CE6WlN;C7W z@vSIpCXrE6#PW^eB$XvfGm5CF%%DK|i1a833fu$M+<)$Wcin&P>W{O|Z*lhd{Wjmd z_h;{ucIxDD^Oc)c0svs{<>}!E0LG~RU{q}egMQhbnk|EFE22FE;{agQ8vSJi6p}Xp zfJKCthx^$C^3*UJe^#*R`Jc59t&WslkM{d}D$LPt^V-*A_{~S}Svh!z{^D6-wa+_8 z*s->hdFJyNqt|v{nOwT=>@T%y-Y-uFQIGLjUCeJxR(9i=O{Ra_Yn7VD@TtR?v+)G_kl7E5VkFu@= z6Z&)MNGG@l037}j&e5(=z4u_5&4!xj7Aga#wG*-XTdU@3C}^vZPOH*H%I8|p&)Wf1v6?$HTM7h{=s{RTa!3_OkK0}{ zT6cN}%359^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o+#7+OY` zvr}-mq3lEPmJ>xMe7nO)Yr$r=4z1Y2ij8tz)=l3*wGxhWZBnbZBWEu#!?O}bUbL$c z@ej?&OEFyu=ZyaxKQ@ng;%?171r`psgrzi?6g9M7^c9{#rL9-3qb7W|yql*_li(cy zaL5obGpGT6cL?eS|M!c;1Bx$zvj4;Y;0ebdN=nDM0nggE>dr7~wqH|Kx;slNzLAJ6 z4iXTgNMpfzXDdUG0^uGADRRKm=Zx+qnw7Lpr?f5N$?LJt78spV^XNGE-HBBV+di0b zUZoKWaixQ=+4u@=Vg;HOg-vXo9o5eh@0(YR9L)j#xK*`e`B!!=A%6sNz>}&?8WJJafU`>8@B&qP+Og$ z%hlJ+Tc;5l`4v?jwbfpBuoXhQ(YU=hL1Y3vW(JQcA=; z-i#vCCXpl-Xqp#f;*5A51mu}{Z4U%)o2f58OSIVd<42vJQU~nNE>U?Iy^5vNjOJmxA-D(0fqwE@nCXh8CrymMk@d+K8E?3GF(aI??Z`Tm2Po_4$V-Pl< z3!8qVMo7gXH}Z0L`OCM^G%zem?mFRc^@b9g`2LAG$se^S-Q)Ndr16shsy2++HF2bFA2*lB8!yE-{Ng4!Hr{dP;SOqc3gXt05x1KUxOB9@1k-$r$Es_aGx_QV z1CgQXRhO-aTZStQj)NROYY1Q26Zc2td?Vo4l@IEf0c}qVPdKx5J;5&owlXe|^m WHC}*@RRMjA171f@dQ=?_{_bBu8n0CV literal 0 HcmV?d00001 diff --git a/assets/sprites/shirts/DP_tors_faixa_Anim.png.import b/assets/sprites/shirts/DP_tors_faixa_Anim.png.import new file mode 100644 index 0000000..6cbc356 --- /dev/null +++ b/assets/sprites/shirts/DP_tors_faixa_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ckf8ac7yfrpe8" +path="res://.godot/imported/DP_tors_faixa_Anim.png-72a5543865786d1e64f2b2fb632ed6c1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/shirts/DP_tors_faixa_Anim.png" +dest_files=["res://.godot/imported/DP_tors_faixa_Anim.png-72a5543865786d1e64f2b2fb632ed6c1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/shirts/DP_tors_traje_Anim.png b/assets/sprites/shirts/DP_tors_traje_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..26168284305859c19ef9eba8d47d25aea886c81d GIT binary patch literal 3626 zcmeH~e^3)=8pju`AZh@IQ5>R@(>vRGDj<*`S|~lPpq^mWi0CB&EmQ*`ARwd?;H1Zo zT1h=B;b$Vs$PqLN0tGP;As}ZH&>!{Pazi;Md>>oS3v+q0a z`|js?zTfBByh9;Dn3XOo0RX`43l2OC0M@wxU?p5(gS^?6`-29#*~JHkCj!7KC(C68 zl$5PUCM)*^1{_T-n;sU^Hzd1sz4~hNw=ciVRbRUiXjt|n+^d=|+LZy2DnD9#y{XXV zjK1P~>n{#hw#>P>?DS%2=DFEQ!)G)sc03t{qYzBY;oHgM1+XDiD9B#CdEr3`$*#r-yn_FE;6FiaY}#O9sh=A*5CA^& z#CEWE7;2wN)2C%M2MJJz(gmbuARPwaMM*h@w7dVv!d z4?R&0^yS@MJKk^eD2L`D_|kILLflV%#o84-psZXa%geM0d>j zhwDoCNvK}@WT@Pg&s@6QI74AT0|IdgIJ@5CSBraJ#vqv%S&LCOy&xE7r)`PEg&yZe zTOmlRVz%&j&!CyA-43iZAhp0L@uaKtNJkPrGWyU;1U(vuFv#Ea_xF3%Q_M3jXV^!;T^aL^x z3UvKQBTMY27F+7#^xBU-Jq6G?3zddWG3705$mU9K{WKvkenW_i=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Z?+THg0AL+51@e$>x>n@9pdp2>7b<3}y043%hx>LExlt=TZv^TIAO z>u54%OwXj2vTzH-(GA@D@pD_IziF8s5#Gt#UkAOoV>&1tNI_pjM3ZwWkmu5kIO4~q zbb~te>Jj$SWTe%2Nb^!;6V}<`3FAt(2&(+Og(A|d*N%?nbw5MU3t`I_Jk4gLhJBef zh0W*##F!6kHpZ|E17>pEP*tI&hg=%L?HUB9?a49=hM!{hKZAhBB^mIn-nTqnT>*mp zfe9|+@L_86isn)Ft?n)GzV>ff>CTE?DaVIy84(2K45w<+A2vVnW;p-F&>J@Bj9&pM%6x{7pt!La!q0&EuEGyZ+3(t<^<%VG~iP6bGfn z(ZaoVb2fRxt*MyKKyH9kWd>y3nCTc@d}h-sE*-ouXt=JL)lCjOy#%SQ$i;_v9y(Jl zse+iHn+}(8k50OZ9euXO#7Xs0tJPRJBLK;<1r;rIXm+;IkYo0nnioBm?)+XvzijqC zrEELf_S1NLbVeMlyDjPJBXqx5i;hdjT)=c}Q`Hp4OfH(02~^5HJR6kBORS3HKIHeE z^AtsizacI{H_iTHfWN`ztIA^OI?NUMAe{_NkI{!x-8ZB67U0@cbA&BpbZ4#vwSQei z^t=B7?6(Iz5^X+OPf_T#oIZFieK(oMJ>rNY)t zprk6UFHYPw?a<+=7^#ezTu5Wc2ir`CCi@ZtLOEuPF6Up+#5>l|0~rJ%W#)B?`4k1@ z(|mTO%d}>6R)1P-&yPV&XaJZ#^Kd8`VTnc4DQR(f&Fxi;o{Yy4V6WnKg4C?E33|_!E8-146cj1vh;cd;A{{r3bVC literal 0 HcmV?d00001 diff --git a/assets/sprites/shirts/DP_tors_tutu_Anim.png.import b/assets/sprites/shirts/DP_tors_tutu_Anim.png.import new file mode 100644 index 0000000..18f9078 --- /dev/null +++ b/assets/sprites/shirts/DP_tors_tutu_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cs2mds1fjgoi0" +path="res://.godot/imported/DP_tors_tutu_Anim.png-117851e7f124991f76de11ed033873f2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/shirts/DP_tors_tutu_Anim.png" +dest_files=["res://.godot/imported/DP_tors_tutu_Anim.png-117851e7f124991f76de11ed033873f2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/ui/DP_UI_Button_Text.png b/assets/sprites/ui/DP_UI_Button_Text.png new file mode 100644 index 0000000000000000000000000000000000000000..20b6a153946dc891cd296ba09a7c31af94520369 GIT binary patch literal 563 zcmV-30?hr1P)X5LNU@MZ&1VHkoWV(W=fyDs2AvbXC32q}X7 ztOfN((`vH?lhLNH3jv_sXl}Qff(Rxfxn4AT3>uwyflBMq#pLgevqB5n7AKPz8Ln$~ z&E&S{j^*9R>`E!CzroYq&onymg2?Exp44iSo2+4WCroa#soBNkwfcFUW#z^+7|Srx z>@+&@g1FJ0GPz02aAGzmO>UB9cGKkZ<4R$*ZIjB!96-9+X>{TRnfvI(Oe>a~XyJaM)@WP+k5kh65RLAD#HeN{=q)oArB|*=@r#`5(w9Khf;Ak!5m0=F1nC z3IGA)_v4O*b%!MqQ=aOa+YNMOe z55dxCXUirxS;?U|S^ioqpRr+Us-SM|;7bS(zvLsMaI8Y|r5|jb!$isc7#99<@_EZ; zF76lcstQR4{6KSsS{exa2z}ezuY{x|IrIce9792qzdyr<-sw75+HVykB zUr5734JWFkQU_HGVQisatjzvWixCF>g`So57zx`g&1&D@)zCcI zB@Pz8H^Pc__1hi?VXH}t>Q$JXd0m?W-1hm7apjDO_9r>o9ry?AiS8kxo#Pw<(67a? z4&cy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)!4MG=!=mM^i z|6@EZ=VlHiNA>VPGcMDwNkV)ICeCnvTKefmX|z3 zoRK#pensz#zd3ag!FeWe-TXVax^ ztN%3#fTY&Vl*P=}JKfoPv9o6M{=mK<{|DpiFaE27Kp*`R{(qR%)|X_LzHjBB&VGEy zf92Fvy@Q$`BWzp?@EQUg*pooO|bGj5LGhXd8!Ccr;C@L3eRz%)Tgx1_%{3?!sWenh^J`;PX09j1WF{0>*Lgij?m6@ z1?+&%up2C6V58%HYQlODfZjhbtD{o6h< zGw~6^(0c6!P$qB>(f_$=$`mf7jz@3;hFF_I1L>mee6jIe@t5!BIyy0t_Y)p9S3Vxr zC$%InM-moOf#VYp9(Jn5USU?+RQlDNIikKQ^GqqwFEzK2!5hc?&Ym<%%WXMEJJ|{P zQLBAdbf#G5#PeYW96F}Rww4D6CTPei^j@}J{R|m_yyRrao)OKS-7bg*K-Zo%Zdn3zXwaWB#mu*&uC$C8+uCT>PYM1oV9IuaNCT<m?FCc#KzQxKd92__NrS;Hlzlyd94Q&arRAKLW zxMV|x_Q7XCo~}Scy!b)x?Xxk%2_ykIhQP`oo%o9b;Qa#mf5bO)xIn5x%9MiGA>eWi NGB>d{CK=w0`ZrKL$YuZl literal 0 HcmV?d00001 diff --git a/assets/sprites/ui/DP_UI_Buttons01.png.import b/assets/sprites/ui/DP_UI_Buttons01.png.import new file mode 100644 index 0000000..b733935 --- /dev/null +++ b/assets/sprites/ui/DP_UI_Buttons01.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bu5xa7tgfk3h3" +path="res://.godot/imported/DP_UI_Buttons01.png-8bf9c42efb1059969b45f58674de2bbe.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/ui/DP_UI_Buttons01.png" +dest_files=["res://.godot/imported/DP_UI_Buttons01.png-8bf9c42efb1059969b45f58674de2bbe.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/ui/DP_UI_CharCreation_BG.png b/assets/sprites/ui/DP_UI_CharCreation_BG.png new file mode 100644 index 0000000000000000000000000000000000000000..88b6ae771348065e2b83339f4626a003f943241b GIT binary patch literal 12630 zcmXYYcT^MK^Y&t=2!g|18$nXuBdlAab5z(ztb&Oy7RMx8Gr_%&(tbk$@T<5_~(pBh~1R{(Vu?l5Ak0{m(h3|CUC&4nw^{aD{! zUnHPbpv`)dQF#%k-ec%KLR7g~{QaB&1p4mqcb7j64#{e1SO+vDh(c87zw%pa#sZpc z*Y0P7a-WQXI4wOGu^tb9=?7!rx2+fCouy^qZDRUFX(;Vlxro8zAZy6tq`*}<{zP@< zZz~ps)gbjl(OU$YnM?ESpG$gMM7jyhUy>=2X61%rE2%p`elH#-v8jb}GZykcgz1eG z#Ic2{wUXLFU#46eza|S-;_e|t48L>gC`J3nFQh1KeOg>3oIx4nlqT^153v}r;SVp z&`j9MV1mK#2G>D1hmWt7m>iO`s|uA0C<1$$iiwhr@>gFRv34+EEZmLJhm3<+Qu!?3c{E3HBI<$5)z< z_NDeW_Fu3=!C#oHHqTxh>*oswoh6uYthd~CH{5vxbxk0o9`K3?l`;OzQd%*2m#u^a zE-m<|=7SlQY#!-$x}^I%vy;kforR1E7E|=1wkNlakN84Xc@oehsSxwADye)M(fjX z{tk1lz{@2+aiNyQA_3n2 zPu8S?iC?%9gxMI>Mu4rw@W)JC+p-D$BaGkHyrO4;jKtNqDH5O{L41OCt_tE5_g|4? z3HHrHnS#=j;%*I#bM>?r@19PAimApL(T=@iKOPM;AX<%*sERa@j+pX$%^tT9g&BL_ zgQD$4c2j7Yy2Vu;?5DOPI?o~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d+yS?vaH)@36rEV=hy^5QQn( lGOU3ip^{&HBk=U9f0o})3YB(5{G$Y*s;H$y literal 0 HcmV?d00001 diff --git a/assets/sprites/ui/DP_UI_CharCreation_BG.png.import b/assets/sprites/ui/DP_UI_CharCreation_BG.png.import new file mode 100644 index 0000000..25ce502 --- /dev/null +++ b/assets/sprites/ui/DP_UI_CharCreation_BG.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dceoy4417v83e" +path="res://.godot/imported/DP_UI_CharCreation_BG.png-c6cfef46e2b28b9038f8191a2bdb27ea.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/ui/DP_UI_CharCreation_BG.png" +dest_files=["res://.godot/imported/DP_UI_CharCreation_BG.png-c6cfef46e2b28b9038f8191a2bdb27ea.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/ui/DP_UI_CharList_BG.png b/assets/sprites/ui/DP_UI_CharList_BG.png new file mode 100644 index 0000000000000000000000000000000000000000..8a720f0aadd9d23b471620c5c13a3d17ef2e1af3 GIT binary patch literal 4052 zcmds4`8S)}-j5VD9Hm8T=55QRC>pavsi{>;jE8EfRf!=~jg^>BovIqz8WTauk)kzJ zNKA>LgO=dL6cNJF8Y&`fO*Mo!T|M_b_ujwYuJ?!U`aF9-d+p~leAjyRe&BM&UQ9$z z1ONbtUAk!F%EJW!fX`7#koPo$?z+zd;qZ&zkpO_GbxV%XE2 zIj7&qzWoxrAf)BpcyI9BF(H3>O2EB$DBILqEw2j{B#%8diLmTap8fdb)afQIy0FBf zM;|g*z8#f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oZ`KL+L!pHDPo%ZhcBG<2xU}G6=<-yVBrg~D zGYfr`<6}E9ChV0Fqa)^Ov%>@7%t0RyRz_yl-1MAh3~cAHX2&7+p_l z-q>>+vM|~@o6?k#iI%yo2v;HMQQ;L4F>lzR9s@ld{`QC4g=(Zm>CEe)EcaKE1% z3(DeCz&^etR}ID*{==~St$`hBe5|Fr<5UzWa&PHIs3y+HR9>JF!hC_;-7q2=ej7Z@ z3DYKqB4^JuFNUZFlQ#K%V#I+Lq*fBbn7>X5gI_^g_2$p?GI>T5;x z+O?qFUj%cmjx{C5L!q1FB`^wQh574!Pn|;{#q@{J&6YTfha2b5v{pqM2k#@y ziQQVuH?N%xMLg@D_@*nf2D3Xai@}+!9s5sPT}d$hN=+gTI+8U zJB5A#gJ>bf=d9Gi+S1%HX}lIp^O=`9X>oFETs(3i#o9@>1+M95rfgm)w#bym(>mc} zW+wRPiDiq03Iut|qbYEK8i#kgUCZtZVU{{VC1e_R*Ag!6^MH`})tslvn3j!rH}e$KA$)>9(NjoTeiIQu;cNc0DhrX87m;+-jgw!_0Je z`vJHaqu|L|D*}(L=Y!*?{qBY!}dlKr6MNW0U4p{PNfV?SoRVB>_UYk7N`!;$h%I}r3KJS_i OxMX|9rtX4Y>i+@

&S` literal 0 HcmV?d00001 diff --git a/assets/sprites/ui/DP_UI_CharList_BG.png.import b/assets/sprites/ui/DP_UI_CharList_BG.png.import new file mode 100644 index 0000000..9f403f4 --- /dev/null +++ b/assets/sprites/ui/DP_UI_CharList_BG.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cup2lrb8lou72" +path="res://.godot/imported/DP_UI_CharList_BG.png-7a606cdb3b4f2c6e5d0354cbfeed0452.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/ui/DP_UI_CharList_BG.png" +dest_files=["res://.godot/imported/DP_UI_CharList_BG.png-7a606cdb3b4f2c6e5d0354cbfeed0452.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/ui/DP_UI_CharList_Frame.png b/assets/sprites/ui/DP_UI_CharList_Frame.png new file mode 100644 index 0000000000000000000000000000000000000000..dd1a65b9611c5a932d604e07844e6a4c6798bddf GIT binary patch literal 596 zcmeAS@N?(olHy`uVBq!ia0vp^Za^Hs!3HFkEM#T^Qk(@Ik;M!Q+`=Ht$S`Y;1Oo#T zo2QFoNX4ADcQ*PlIf}GC+ zY01O4eJYucKe$c$^0Q{%--nkU|Mh z{Zyg-=ViOf%YFAxUHgC3vsyd){`b$Xmm9j}_IF;IciAMVOBNIv5cNT)3i_Tc9dzYRh3E(>Gk{{9+)3FeN$9MkD~$GL5VqDY`umS zQ+cG4HyoERIi?`doWRp$$U!D!MQwa$?9ub=7bTjHO?mXZ8E8qe*Be7_C6KY-W(Y06 z)Rf`V8Jy|3S!(jW{ySIR$Df~b(lxm!D)~{&RKNF2GtbVn)K~Y_T43mQbw=gqkSiA~ zEA!$&K9>wF!9d!hD$)dpSgN)oytn{@R%{OD8VNy)A6`WXl)Uh}5TXHg@~fL({i!&wY0IuIuOD5yu#AHr>pV z`tR8`!O-DaLe?fXph)x0yjfajCK@_yOjt8pIhlc#SwkY>slBT1KC9rYe$`}#&j+Wx zihI_q=_-CE@BXa1v`M#RB$-9tdnFfMJF;oE&J;t3(ql&sg|AQH30P|wob8*DKH2cV z0g3HQ)84?X+nz04Hsiq<_Bpu2fcrt!eda~#~HgbB5moc=wBx! z6mCDU-fs4^E=(o4A*p)l4Ynii`i$6Cl$F2rFm*pEvA`5K$8=SdS6PLUQ<{N zQYWxh`zOz)JP&zE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zPLHOrmtP}a0KahdL`1F6mx0mqzhYOAK@FvG4BYUoMJf<7_u zLXc4$Gg?OLE_H#%Rvh|xVYRo)kPON+>2QeaEM%-;5(k8-?RP(ZaIa_*&g=8hEFcvc zw4f4qW>XvVt4)H}@0Iaaq9&KOTPA=h@1by(TC#dPt(N+N9cTBl#)74PP-*k2;T6?I z5^o=})+zE>!-Q|Zeo_OY3~V=H&b%M938Y&wp0Nt}vU2GCaEy-dFI{`v$EK##v*%AW zOhr%Eh^QiyAY|~+{-7cX!@xnhS;`4 z^@6La^kYoS@opO6AK>e@9`I#wsgKXjYf>wTK=802amE$TG(fWp`pdQ`h^b}*CfT9@ zzg)v-|5ZdU5ty=eG^@5|Ok%@Un;J2T0CKA3TTE~f>0BH{M}kyePbp0gI-j)Fi2n~S cNRyj|=$HLJ>G|yj-$-HD^R|{{zudh4KVy;#oB#j- literal 0 HcmV?d00001 diff --git a/assets/sprites/ui/DP_UI_CharList_Top.png.import b/assets/sprites/ui/DP_UI_CharList_Top.png.import new file mode 100644 index 0000000..c7e467b --- /dev/null +++ b/assets/sprites/ui/DP_UI_CharList_Top.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bo2ehwr5q48d0" +path="res://.godot/imported/DP_UI_CharList_Top.png-2a8cb0a34c5e9ba97fee13317cfc6d3e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/ui/DP_UI_CharList_Top.png" +dest_files=["res://.godot/imported/DP_UI_CharList_Top.png-2a8cb0a34c5e9ba97fee13317cfc6d3e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/ui/DP_UI_Label_Big.png b/assets/sprites/ui/DP_UI_Label_Big.png new file mode 100644 index 0000000000000000000000000000000000000000..6143d37bd75f20619131277adb32a26c54f42a0c GIT binary patch literal 811 zcmV+`1JwM9P)IF&G8#cS!~$x>RMMVXTym4R#g=$N(&iurc)y zpaY5+U~d=LV5F6R0T{ZlmyL-^j165H(NscWA;)m{<%ln?eeLJug5PiIC2r*8tQVip zc9Qi@8&z!W_tQ%MKnrcX(@uQKZGJld05pQuhN9E*Ehx$K^ZSRX&yT)7001Tno>%ES=I7Zw|E@k26N*%MU*(y}G;Ci9QzNQ{?S9rLlBAM8l?xM!R5=q$#wm7A zmH+_5cD0dpT1@f{wDY460O%RxiZ)CrQsqo28EHLUy%fAMR6ob7**DVO?os~8z+M2Hid2mgN?P3DE$1nbo!LHC z?q%&}Grvj7gd$ZfGnsmiFHA4FG_yKU4cXd-w3{SJQh*6X%1T#xGMnJlovcMZeE&Op zf(aEhTf68P<(N>U$~sd1>GQArujY)ZLW{uFE|^fHDghuPo&bPbH!e;sc$XvPQG0jo zXzJsVSX=wqyeTFWscOl+nBpGZ+h!ox?X90PHJ?*@vPaO5;#wpQ_kJr8C27QQerk>6r7N#w)gGS0#!88x*NxgCbSV zRWHTPX1vOaScZ<(Zun1K;0x5lkpj^%sOT2o;ic<(~im002ovPDHLkV1o0zb|wG- literal 0 HcmV?d00001 diff --git a/assets/sprites/ui/DP_UI_Label_Big.png.import b/assets/sprites/ui/DP_UI_Label_Big.png.import new file mode 100644 index 0000000..70f6ce8 --- /dev/null +++ b/assets/sprites/ui/DP_UI_Label_Big.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdrm1nxydvf5t" +path="res://.godot/imported/DP_UI_Label_Big.png-5521a5777a6785c199d8a42613a97572.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/ui/DP_UI_Label_Big.png" +dest_files=["res://.godot/imported/DP_UI_Label_Big.png-5521a5777a6785c199d8a42613a97572.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/ui/DP_UI_SlideBar.png b/assets/sprites/ui/DP_UI_SlideBar.png new file mode 100644 index 0000000000000000000000000000000000000000..87426b8aa061097dd19a1a2c8e94011a5f4916e3 GIT binary patch literal 166 zcmeAS@N?(olHy`uVBq!ia0vp^96d~qo+R^rG-=-(k{tr$~RZiCOTxPT6+_O8= q5;x{&$HfBmVgnEK1GfLX{oH|FO_KdTb z)5S5wqBl9kq2WKziiU}eK+xI9kkIn7raqmU83+#V_x{KO0*4&)B|D57Sz{ku(M#0m z_7HXx4e(~P(M#BP;($WWqK0{WDVL&899Xh_!nCjlOd&k%n`#YLJW2{VxT48%5yL!v pDJ{zdYt}EBd7$Hn+WKqE43o6Pf5)2{0G-3Y;OXk;vd$@?2>`mdK{@~c literal 0 HcmV?d00001 diff --git a/assets/sprites/ui/DP_UI_Slider.png.import b/assets/sprites/ui/DP_UI_Slider.png.import new file mode 100644 index 0000000..55febe7 --- /dev/null +++ b/assets/sprites/ui/DP_UI_Slider.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bv56c620gg6m6" +path="res://.godot/imported/DP_UI_Slider.png-78de0dfd1f3ddafc89bae947eefcbf3f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/ui/DP_UI_Slider.png" +dest_files=["res://.godot/imported/DP_UI_Slider.png-78de0dfd1f3ddafc89bae947eefcbf3f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/styles/style_box_empty.tres b/assets/styles/style_box_empty.tres new file mode 100644 index 0000000..e9c0eb2 --- /dev/null +++ b/assets/styles/style_box_empty.tres @@ -0,0 +1,3 @@ +[gd_resource type="StyleBoxEmpty" format=3 uid="uid://bhe580k04w6ve"] + +[resource] diff --git a/scenes/dragon_editor/dragon_editor.gd b/scenes/dragon_editor/dragon_editor.gd index f2c5018..1ebf09a 100644 --- a/scenes/dragon_editor/dragon_editor.gd +++ b/scenes/dragon_editor/dragon_editor.gd @@ -12,7 +12,9 @@ class_name DragonEditor @export var shoes_outfits: DragonOutfit @export var dragon_colors: DragonOutfit -@onready var dragon_name: LineEdit = $CanvasLayer/LineEdit +@onready var dragon_name: LineEdit = $CanvasLayer/NameLabel/LineEdit + +@onready var dragger: DraggableWindow = $CanvasLayer/Dragger signal on_create_dragon(hat: Texture2D, shirt: Texture2D, shoes: Texture2D, dragon_name: String) @@ -21,10 +23,12 @@ func _ready() -> void: hat.texture = null shirt.texture = null shoes.texture = null + + dragger.on_drag.connect(_on_drag) -func _on_close_requested() -> void: - queue_free() +func _on_drag(offset: Vector2i): + position += offset func _on_next_color_pressed() -> void: @@ -52,3 +56,7 @@ func _on_create_pressed() -> void: return on_create_dragon.emit(hat.texture, shirt.texture, shoes.texture, dragon_name.text) queue_free() + + +func _on_close_pressed() -> void: + queue_free() diff --git a/scenes/dragon_editor/dragon_editor.tscn b/scenes/dragon_editor/dragon_editor.tscn index 11a7698..462a5b9 100644 --- a/scenes/dragon_editor/dragon_editor.tscn +++ b/scenes/dragon_editor/dragon_editor.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=11 format=3 uid="uid://fut42ruut302"] +[gd_scene load_steps=23 format=3 uid="uid://fut42ruut302"] [ext_resource type="Script" uid="uid://bfuos2kgfgber" path="res://scenes/dragon_editor/dragon_editor.gd" id="1_8vkll"] [ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_vvtct"] @@ -7,17 +7,49 @@ [ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_1ivi1"] [ext_resource type="Texture2D" uid="uid://dl87ffgh2hl68" path="res://assets/sprites/dragons/DragonPet_drac01.png" id="5_xhgxf"] [ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="6_1ivi1"] +[ext_resource type="Texture2D" uid="uid://dceoy4417v83e" path="res://assets/sprites/ui/DP_UI_CharCreation_BG.png" id="6_udwtk"] +[ext_resource type="Script" uid="uid://dxl7onk7x6h8b" path="res://src/draggable.gd" id="7_1vw8k"] [ext_resource type="Texture2D" uid="uid://cs0ke244c33t2" path="res://assets/sprites/shirts/DragonPet_roba_armadura.png" id="7_giwys"] +[ext_resource type="Texture2D" uid="uid://bu5xa7tgfk3h3" path="res://assets/sprites/ui/DP_UI_Buttons01.png" id="7_qppok"] +[ext_resource type="Texture2D" uid="uid://bgpbbkmwt8ysq" path="res://assets/sprites/ui/DP_UI_Button_Text.png" id="8_ofxsr"] [ext_resource type="Texture2D" uid="uid://onajhbpjtnil" path="res://assets/sprites/decor/DragonPet_acc_escut.png" id="8_udwtk"] [ext_resource type="Script" uid="uid://mhudiyt5gnt1" path="res://scenes/dragon_editor/line_edit.gd" id="9_xhgxf"] +[ext_resource type="Texture2D" uid="uid://bdrm1nxydvf5t" path="res://assets/sprites/ui/DP_UI_Label_Big.png" id="12_qppok"] +[ext_resource type="StyleBox" uid="uid://bhe580k04w6ve" path="res://assets/styles/style_box_empty.tres" id="14_bh8dj"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_ofxsr"] +atlas = ExtResource("7_qppok") +region = Rect2(0, 40, 38, 40) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bh8dj"] +atlas = ExtResource("7_qppok") +region = Rect2(0, 80, 38, 40) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1vw8k"] +atlas = ExtResource("7_qppok") +region = Rect2(0, 0, 38, 40) + +[sub_resource type="AtlasTexture" id="AtlasTexture_rrp4v"] +atlas = ExtResource("7_qppok") +region = Rect2(0, 120, 38, 40) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mc14k"] +atlas = ExtResource("8_ofxsr") +region = Rect2(0, 0, 62, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kohpo"] +atlas = ExtResource("7_qppok") +region = Rect2(0, 160, 38, 40) [node name="DragonEditor" type="Window"] +transparent_bg = true title = "Dragon Editor" position = Vector2i(0, 36) -size = Vector2i(300, 500) +size = Vector2i(230, 332) +unresizable = true +borderless = true always_on_top = true -min_size = Vector2i(300, 500) -max_size = Vector2i(1000, 1000) +transparent = true script = ExtResource("1_8vkll") hat_outfits = ExtResource("2_vvtct") shirt_outfits = ExtResource("3_xhgxf") @@ -26,92 +58,16 @@ dragon_colors = ExtResource("5_1ivi1") [node name="CanvasLayer" type="CanvasLayer" parent="."] -[node name="change_hat" type="Button" parent="CanvasLayer"] -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -130.0 -offset_top = -206.0 -offset_right = -62.0 -offset_bottom = -175.0 -grow_horizontal = 2 -grow_vertical = 2 -focus_mode = 0 -text = "barret" - -[node name="change_shirt" type="Button" parent="CanvasLayer"] -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -47.0 -offset_top = -242.0 -offset_right = 42.0 -offset_bottom = -211.0 -grow_horizontal = 2 -grow_vertical = 2 -focus_mode = 0 -text = "samarreta" - -[node name="change_shoes" type="Button" parent="CanvasLayer"] -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = 54.0 -offset_top = -206.0 -offset_right = 114.0 -offset_bottom = -175.0 -grow_horizontal = 2 -grow_vertical = 2 -focus_mode = 0 -text = "sabata" - -[node name="dragon_previous" type="Button" parent="CanvasLayer"] -offset_left = 40.0 -offset_top = 232.0 -offset_right = 58.0 -offset_bottom = 263.0 -focus_mode = 0 -text = "<" - -[node name="dragon_next" type="Button" parent="CanvasLayer"] -offset_left = 235.0 -offset_top = 232.0 -offset_right = 253.0 -offset_bottom = 263.0 -focus_mode = 0 -text = ">" - -[node name="create" type="Button" parent="CanvasLayer"] -anchors_preset = 3 -anchor_left = 1.0 -anchor_top = 1.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -offset_left = -42.0 -offset_top = -31.0 -grow_horizontal = 0 -grow_vertical = 0 -focus_mode = 0 -text = "crea" +[node name="BG" type="TextureRect" parent="CanvasLayer"] +offset_right = 40.0 +offset_bottom = 40.0 +texture = ExtResource("6_udwtk") [node name="Dragon" type="TextureRect" parent="CanvasLayer"] -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -38.0 -offset_top = -57.0 -offset_right = 38.0 -offset_bottom = 31.0 -grow_horizontal = 2 -grow_vertical = 2 +offset_left = 76.0 +offset_top = 120.0 +offset_right = 152.0 +offset_bottom = 208.0 texture = ExtResource("5_xhgxf") [node name="Hat" type="TextureRect" parent="CanvasLayer/Dragon"] @@ -159,14 +115,97 @@ grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("8_udwtk") -[node name="LineEdit" type="LineEdit" parent="CanvasLayer"] -offset_left = 59.0 -offset_top = 372.0 -offset_right = 250.0 -offset_bottom = 403.0 +[node name="Dragger" type="Control" parent="CanvasLayer"] +layout_mode = 3 +anchors_preset = 0 +offset_left = 18.0 +offset_top = 32.0 +offset_right = 198.0 +offset_bottom = 320.0 +script = ExtResource("7_1vw8k") + +[node name="change_hat" type="Button" parent="CanvasLayer"] +offset_left = 48.0 +offset_top = 38.0 +offset_right = 94.0 +offset_bottom = 86.0 +focus_mode = 0 +icon = SubResource("AtlasTexture_ofxsr") +flat = true + +[node name="change_shirt" type="Button" parent="CanvasLayer"] +offset_left = 84.0 +offset_top = 50.0 +offset_right = 130.0 +offset_bottom = 98.0 +focus_mode = 0 +icon = SubResource("AtlasTexture_bh8dj") +flat = true + +[node name="change_shoes" type="Button" parent="CanvasLayer"] +offset_left = 120.0 +offset_top = 38.0 +offset_right = 166.0 +offset_bottom = 86.0 +focus_mode = 0 +icon = SubResource("AtlasTexture_1vw8k") +flat = true + +[node name="dragon_previous" type="Button" parent="CanvasLayer"] +offset_left = 76.0 +offset_top = 136.0 +offset_right = 122.0 +offset_bottom = 184.0 +scale = Vector2(-1, 1) +focus_mode = 0 +icon = SubResource("AtlasTexture_rrp4v") +flat = true + +[node name="dragon_next" type="Button" parent="CanvasLayer"] +offset_left = 134.0 +offset_top = 136.0 +offset_right = 180.0 +offset_bottom = 184.0 +focus_mode = 0 +icon = SubResource("AtlasTexture_rrp4v") +flat = true + +[node name="create" type="Button" parent="CanvasLayer"] +offset_left = 112.0 +offset_top = 274.0 +offset_right = 182.0 +offset_bottom = 306.0 +focus_mode = 0 +icon = SubResource("AtlasTexture_mc14k") +flat = true + +[node name="close" type="Button" parent="CanvasLayer"] +offset_left = 178.0 +offset_top = 6.0 +offset_right = 224.0 +offset_bottom = 54.0 +focus_mode = 0 +icon = SubResource("AtlasTexture_kohpo") +flat = true + +[node name="NameLabel" type="TextureRect" parent="CanvasLayer"] +offset_left = 34.0 +offset_top = 228.0 +offset_right = 182.0 +offset_bottom = 276.0 +texture = ExtResource("12_qppok") + +[node name="LineEdit" type="LineEdit" parent="CanvasLayer/NameLabel"] +offset_left = 10.0 +offset_top = 8.0 +offset_right = 138.0 +offset_bottom = 42.0 +theme_override_styles/focus = ExtResource("14_bh8dj") placeholder_text = "NOM" alignment = 1 max_length = 8 +flat = true +caret_blink = true script = ExtResource("9_xhgxf") [connection signal="close_requested" from="." to="." method="_on_close_requested"] @@ -176,3 +215,4 @@ script = ExtResource("9_xhgxf") [connection signal="pressed" from="CanvasLayer/dragon_previous" to="." method="_on_previous_color_pressed"] [connection signal="pressed" from="CanvasLayer/dragon_next" to="." method="_on_next_color_pressed"] [connection signal="pressed" from="CanvasLayer/create" to="." method="_on_create_pressed"] +[connection signal="pressed" from="CanvasLayer/close" to="." method="_on_close_pressed"] diff --git a/src/draggable.gd b/src/draggable.gd new file mode 100644 index 0000000..032275c --- /dev/null +++ b/src/draggable.gd @@ -0,0 +1,32 @@ +extends Control +class_name DraggableWindow + + +var dragging: bool = false +var dragging_start_position: Vector2i = Vector2i() + +signal on_drag(offset: Vector2i) +signal on_drop() + + +func _ready() -> void: + set_process_input(true) + + +func _gui_input(event: InputEvent) -> void: + if event is not InputEventMouseButton: + return + if event.button_index != MOUSE_BUTTON_LEFT: + return + + if event.pressed: + dragging = true + dragging_start_position = Vector2i(get_global_mouse_position()) + else: + dragging = false + on_drop.emit() + + +func _process(_delta) -> void: + if dragging: + on_drag.emit(Vector2i(get_global_mouse_position()) - dragging_start_position) diff --git a/src/draggable.gd.uid b/src/draggable.gd.uid new file mode 100644 index 0000000..2bd709d --- /dev/null +++ b/src/draggable.gd.uid @@ -0,0 +1 @@ +uid://dxl7onk7x6h8b From 46726bca324fa6ea5b622713db8a384b672f7a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Fri, 11 Apr 2025 23:18:23 +0200 Subject: [PATCH 02/14] feat: start adding new sharing method --- assets/outfits/dragons.tres | 1 + scenes/dragon_editor/dragon_editor.tscn | 1 + scenes/dragon_sharing.gd | 34 +++++++++++++ scenes/dragon_sharing.gd.uid | 1 + scenes/main.gd | 65 +++++++++++++++---------- scenes/main.tscn | 6 ++- src/dragon_library.gd | 24 +++------ src/dragon_properties.gd | 24 +++++++++ src/dragon_properties.gd.uid | 1 + src/save_load.gd | 21 +++++++- 10 files changed, 132 insertions(+), 46 deletions(-) create mode 100644 scenes/dragon_sharing.gd create mode 100644 scenes/dragon_sharing.gd.uid create mode 100644 src/dragon_properties.gd create mode 100644 src/dragon_properties.gd.uid diff --git a/assets/outfits/dragons.tres b/assets/outfits/dragons.tres index 272f0ec..5cf1c05 100644 --- a/assets/outfits/dragons.tres +++ b/assets/outfits/dragons.tres @@ -7,5 +7,6 @@ [resource] script = ExtResource("4_sxi2r") +allow_null = false outfits = Array[Texture2D]([ExtResource("1_3e6qx"), ExtResource("2_lvc22"), ExtResource("3_8ji77")]) metadata/_custom_type_script = "uid://rw26nny160xh" diff --git a/scenes/dragon_editor/dragon_editor.tscn b/scenes/dragon_editor/dragon_editor.tscn index 462a5b9..46e87eb 100644 --- a/scenes/dragon_editor/dragon_editor.tscn +++ b/scenes/dragon_editor/dragon_editor.tscn @@ -196,6 +196,7 @@ offset_bottom = 276.0 texture = ExtResource("12_qppok") [node name="LineEdit" type="LineEdit" parent="CanvasLayer/NameLabel"] +layout_mode = 0 offset_left = 10.0 offset_top = 8.0 offset_right = 138.0 diff --git a/scenes/dragon_sharing.gd b/scenes/dragon_sharing.gd new file mode 100644 index 0000000..ec4e025 --- /dev/null +++ b/scenes/dragon_sharing.gd @@ -0,0 +1,34 @@ +extends HTTPRequest +class_name DragonSharing + + +signal on_dragon_received(dragon: DragonProperties) + + +func _ready() -> void: + request_completed.connect(_on_request_completed) + + +func _on_request_completed(result: int, response_code: int, headers: PackedStringArray, body: PackedByteArray): + if response_code != 200: + print("HTTP request returned error: ", response_code) + return + if body.size() != 0: + var json = JSON.parse_string(body.get_string_from_utf8()) + var properties = DragonProperties.new(json['name'], json['origin'], json['color'], json['hat'], json['shirt'], json['decor']) + print(properties) + on_dragon_received.emit(properties) + + +func send(origin: String, name: String, color: int, shirt: int, hat: int, decor: int) -> void: + var url: String = 'http://torreta.gerardgascon.com/add/%s/%s/%s/%s/%s/%s/' % [origin, name, color, shirt, hat, decor] + var err = request(url) + if err != OK: + print("HTTP request failed: ", err) + + +func receive(origin: String) -> void: + var url: String = 'http://torreta.gerardgascon.com/get/%s/' % origin + var err = request(url) + if err != OK: + print("HTTP request failed: ", err) diff --git a/scenes/dragon_sharing.gd.uid b/scenes/dragon_sharing.gd.uid new file mode 100644 index 0000000..dcb5f1b --- /dev/null +++ b/scenes/dragon_sharing.gd.uid @@ -0,0 +1 @@ +uid://bg58e3dobon4j diff --git a/scenes/main.gd b/scenes/main.gd index 2025295..6fb0adb 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -25,6 +25,8 @@ var rng: RandomNumberGenerator = RandomNumberGenerator.new() @export var min_dragon_instantiation_time: float @export var max_dragon_instantiation_time: float +@onready var dragon_sharing: DragonSharing = $HTTPRequest + func _ready(): _library = DragonLibrary.new(hat_outfits, shirt_outfits, shoes_outfits) @@ -43,32 +45,41 @@ func _ready(): func _queue_dragon_instantiation(): await get_tree().create_timer(rng.randf_range(min_dragon_instantiation_time, max_dragon_instantiation_time)).timeout _instantiate_random_dragon() - - -func _instantiate_random_dragon(): - for spot in dragon_spots: - if not _filled_spots.has(spot): - var dragon: DragonEntity = _pick_random_dragon(spot.position) - if dragon != null: - _filled_spots[spot] = dragon.id - break _queue_dragon_instantiation() -func _pick_random_dragon(pos: Vector2) -> DragonEntity: - for dragon in _library.dragons: - var id: int = dragon['id'] - if _instantiated_dragons.has(id) or _dragon_entities.has(id): - continue - var dragon_name: String = dragon['name'] - var hat: Texture2D = hat_outfits.get_texture(dragon['hat']) - var shirt: Texture2D = shirt_outfits.get_texture(dragon['shirt']) - var shoes: Texture2D = shoes_outfits.get_texture(dragon['shoes']) - return _instantiate_dragon_ingame(pos, hat, shirt, shoes, dragon_name, id) - +func _instantiate_random_dragon(): + var spot: Node2D = _get_free_spot() + if spot == null: + return + + for i in range(5): + dragon_sharing.receive("potato") + var dragon: DragonProperties = await dragon_sharing.on_dragon_received + for d in _library.dragons: + # TODO: Search for dragon and if is in library or in instantiated dragons continue next iteration + pass + var dragon_entity: DragonEntity = _generate_entity(spot.position, dragon) + _filled_spots[spot] = dragon_entity.id + return + + +func _get_free_spot() -> Node2D: + for spot in dragon_spots: + if not _filled_spots.has(spot): + return spot return null +func _generate_entity(pos: Vector2, properties: DragonProperties) -> DragonEntity: + var id: int = rng.randi() + var hat: Texture2D = hat_outfits.get_texture(properties.hat) + var shirt: Texture2D = shirt_outfits.get_texture(properties.shirt) + var shoes: Texture2D = shoes_outfits.get_texture(properties.decor) + var dragon_name: String = properties.name + return _instantiate_dragon_ingame(pos, hat, shirt, shoes, dragon_name, id) + + func move_window_to_bottom_right(): var display_index: int = DisplayServer.window_get_current_screen() @@ -94,14 +105,14 @@ func add_dragon(hat: Texture2D, shirt: Texture2D, shoes: Texture2D, dragon_name: func _load_game(): _save_load.load() - var dragons: Array = _save_load.get_dragons() + var dragons: Array[DragonProperties] = _save_load.get_dragons() _library.add_dragons(dragons) - for d in dragons: - if d['pos'] != Vector2i(0, 0): - var hat: Texture2D = hat_outfits.get_texture(d['hat']) - var shirt: Texture2D = shirt_outfits.get_texture(d['shirt']) - var shoes: Texture2D = shoes_outfits.get_texture(d['shoes']) - _pick_dragon(d['id'], d['pos'], hat, shirt, shoes, false) + for d: DragonProperties in dragons: + if d.position != Vector2i(0, 0): + var hat: Texture2D = hat_outfits.get_texture(d.hat) + var shirt: Texture2D = shirt_outfits.get_texture(d.shirt) + var shoes: Texture2D = shoes_outfits.get_texture(d.decor) + _pick_dragon(rng.randi(), d.position, hat, shirt, shoes, false) print(_save_load.contents_to_save) diff --git a/scenes/main.tscn b/scenes/main.tscn index 4e82ecf..94f1167 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=3 uid="uid://ctytpqaed0yqx"] +[gd_scene load_steps=18 format=3 uid="uid://ctytpqaed0yqx"] [ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"] [ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"] @@ -16,6 +16,7 @@ [ext_resource type="Texture2D" uid="uid://bc2lykc3gwykh" path="res://assets/sprites/environment/castle/DP_castle_back.png" id="15_muem4"] [ext_resource type="Texture2D" uid="uid://o1e8lge2vuqu" path="res://assets/sprites/environment/castle/DP_castle_mid.png" id="16_dp3eg"] [ext_resource type="Texture2D" uid="uid://b1w6y1qvetsaw" path="res://assets/sprites/environment/castle/DP_castle_front.png" id="17_0ld40"] +[ext_resource type="Script" uid="uid://bg58e3dobon4j" path="res://scenes/dragon_sharing.gd" id="17_muem4"] [node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")] script = ExtResource("1_sugp2") @@ -111,6 +112,9 @@ position = Vector2(142, 118) [node name="DragonSpot3" type="Node2D" parent="."] position = Vector2(207, 252) +[node name="HTTPRequest" type="HTTPRequest" parent="."] +script = ExtResource("17_muem4") + [connection signal="tree_entered" from="." to="." method="_on_tree_entered"] [connection signal="tree_exiting" from="." to="." method="_on_tree_exiting"] [connection signal="button_up" from="CanvasLayer/Create" to="CanvasLayer/Create" method="_on_button_up"] diff --git a/src/dragon_library.gd b/src/dragon_library.gd index 401723e..0971195 100644 --- a/src/dragon_library.gd +++ b/src/dragon_library.gd @@ -2,7 +2,7 @@ extends Node class_name DragonLibrary -var dragons: Array = [] +var dragons: Array[DragonProperties] = [] var hat_outfits: DragonOutfit var shirt_outfits: DragonOutfit @@ -15,21 +15,13 @@ func _init(hat_outfits: DragonOutfit, shirt_outfits: DragonOutfit, shoes_outfits self.shoes_outfits = shoes_outfits -func add_dragon(name: String, hat: Texture2D, shirt: Texture2D, shoes: Texture2D) -> int: - var hat_index: int = hat_outfits.get_index(hat) - var shirt_index: int = shirt_outfits.get_index(shirt) - var shoes_index: int = shoes_outfits.get_index(shoes) - var id: int = RandomNumberGenerator.new().randi() - _push_dragon(id, name, hat_index, shirt_index, shoes_index) - return id +func add_dragon(properties: DragonProperties) -> int: + if properties.id == 0: + properties.id = randi() + dragons.push_back(properties) + return properties.id -func add_dragons(dragons: Array) -> void: +func add_dragons(dragons: Array[DragonProperties]) -> void: for d in dragons: - _push_dragon(d['id'], d['name'], d['hat'], d['shirt'], d['shoes']) - - -func _push_dragon(id: int, name: String, hat: int, shirt: int, shoes: int): - dragons.push_back( - {'id': id, 'name': name, 'hat': hat, 'shirt': shirt, 'shoes': shoes} - ) + dragons.push_back(d) diff --git a/src/dragon_properties.gd b/src/dragon_properties.gd new file mode 100644 index 0000000..9ac5ff4 --- /dev/null +++ b/src/dragon_properties.gd @@ -0,0 +1,24 @@ +class_name DragonProperties + + +var name: String +var origin: String +var color: int +var hat: int +var shirt: int +var decor: int +var position: Vector2i +var id: int + + +func _init(name: String, origin: String, color: int, hat: int, shirt: int, decor: int) -> void: + self.name = name + self.origin = origin + self.color = color + self.hat = hat + self.shirt = shirt + self.decor = decor + + +func _to_string() -> String: + return '%s: [origin: %s, color: %d, hat: %d, shirt: %d, decor: %d]' % [self.name, self.origin, self.color, self.hat, self.shirt, self.decor] diff --git a/src/dragon_properties.gd.uid b/src/dragon_properties.gd.uid new file mode 100644 index 0000000..943b952 --- /dev/null +++ b/src/dragon_properties.gd.uid @@ -0,0 +1 @@ +uid://jyglnbx4cxwm diff --git a/src/save_load.gd b/src/save_load.gd index 5ef2728..11b6e5e 100644 --- a/src/save_load.gd +++ b/src/save_load.gd @@ -44,8 +44,25 @@ func add_dragon(id: int, name: String, hat: int, shirt: int, shoes: int, pos: Ve contents_to_save['dragons'].push_back({'id': id, 'name': name, 'hat': hat, 'shirt': shirt, 'shoes': shoes, 'pos': pos}) -func get_dragons() -> Array: - return contents_to_save['dragons'] +func get_dragon(dragon: Dictionary) -> DragonProperties: + var name: String = dragon['name'] + var origin: String = dragon['origin'] + var hat: int = dragon['hat'] + var shirt: int = dragon['shirt'] + var decor: int = dragon['decor'] + var color: int = dragon['color'] + var position: Vector2i = dragon['pos'] + var properties = DragonProperties.new(name, origin, color, hat, shirt, decor) + properties.position = position + properties.id = randi() + return properties + + +func get_dragons() -> Array[DragonProperties]: + var dragons: Array[DragonProperties] = [] + for dragon in contents_to_save['dragons']: + dragons.push_back(get_dragon(dragon)) + return dragons func add_item(id: int, position: Vector2i) -> void: From 50bc814367ae5c2c2a379302224aea5cca53bcdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Fri, 11 Apr 2025 23:52:31 +0200 Subject: [PATCH 03/14] fix: compilation errors that were caused by the dragonproperties refactoring --- scenes/dragon_adder.gd | 22 --------- scenes/dragon_adder.gd.uid | 1 - scenes/dragon_adder/dragon_adder.gd | 35 -------------- scenes/dragon_adder/dragon_adder.gd.uid | 1 - scenes/dragon_adder/dragon_adder.tscn | 62 ------------------------- scenes/dragon_editor/dragon_editor.gd | 2 +- scenes/dragons/dragon_entity_dragger.gd | 17 +++---- scenes/dragons/dragon_sprite.gd | 17 +++++-- scenes/dragons/dragon_sprite.tscn | 18 +++++-- scenes/main.gd | 44 +++++++----------- scenes/main.tscn | 19 +------- scenes/window/dragon.gd | 6 +-- src/dragon_instantiator.gd | 19 ++++---- src/dragon_library.gd | 10 ---- 14 files changed, 66 insertions(+), 207 deletions(-) delete mode 100644 scenes/dragon_adder.gd delete mode 100644 scenes/dragon_adder.gd.uid delete mode 100644 scenes/dragon_adder/dragon_adder.gd delete mode 100644 scenes/dragon_adder/dragon_adder.gd.uid delete mode 100644 scenes/dragon_adder/dragon_adder.tscn diff --git a/scenes/dragon_adder.gd b/scenes/dragon_adder.gd deleted file mode 100644 index 1116a4f..0000000 --- a/scenes/dragon_adder.gd +++ /dev/null @@ -1,22 +0,0 @@ -extends Button - - -@export var dragon_adder: PackedScene -@onready var base: GameManager = $"../.." - - -func _on_pressed() -> void: - var adder: DragonAdder = dragon_adder.instantiate() - adder.dragon_added.connect(_add_dragon) - - var window_position: Vector2i = DisplayServer.window_get_position() - var window_size: Vector2i = DisplayServer.window_get_size() - - adder.position = window_position - adder.size / 2 - - adder.show() - add_child(adder) - - -func _add_dragon(dragon_name: String, hat: Texture2D, shirt: Texture2D, shoes: Texture2D): - base.add_dragon(hat, shirt, shoes, dragon_name) diff --git a/scenes/dragon_adder.gd.uid b/scenes/dragon_adder.gd.uid deleted file mode 100644 index a510bd2..0000000 --- a/scenes/dragon_adder.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://w60u0tg1hlvu diff --git a/scenes/dragon_adder/dragon_adder.gd b/scenes/dragon_adder/dragon_adder.gd deleted file mode 100644 index 5decaf1..0000000 --- a/scenes/dragon_adder/dragon_adder.gd +++ /dev/null @@ -1,35 +0,0 @@ -extends Window -class_name DragonAdder - - -@export var hat_outfits: DragonOutfit -@export var shirt_outfits: DragonOutfit -@export var shoes_outfits: DragonOutfit - -var code_generator: CodeGenerator - -@onready var line_edit: LineEdit = $CanvasLayer/LineEdit - -signal dragon_added(dragon_name: String, hat: Texture2D, shirt: Texture2D, shoes: Texture2D) - - -func _ready() -> void: - code_generator = CodeGenerator.new(hat_outfits, shirt_outfits, shoes_outfits) - - -func _on_button_pressed() -> void: - var dragon: Dictionary = code_generator.descrypt(line_edit.text) - if dragon['name'] == null: - return - - var name: String = dragon['name'] - var hat: Texture2D = dragon['hat'] - var shirt: Texture2D = dragon['shirt'] - var shoes: Texture2D = dragon['shoes'] - - dragon_added.emit(name, hat, shirt, shoes) - - queue_free() - -func _on_close_requested() -> void: - queue_free() diff --git a/scenes/dragon_adder/dragon_adder.gd.uid b/scenes/dragon_adder/dragon_adder.gd.uid deleted file mode 100644 index 839e749..0000000 --- a/scenes/dragon_adder/dragon_adder.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://b1fnwy6wnufw1 diff --git a/scenes/dragon_adder/dragon_adder.tscn b/scenes/dragon_adder/dragon_adder.tscn deleted file mode 100644 index a2ab07c..0000000 --- a/scenes/dragon_adder/dragon_adder.tscn +++ /dev/null @@ -1,62 +0,0 @@ -[gd_scene load_steps=6 format=3 uid="uid://oqa2ry73vqjf"] - -[ext_resource type="Script" uid="uid://b1fnwy6wnufw1" path="res://scenes/dragon_adder/dragon_adder.gd" id="1_x83p2"] -[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_33u3u"] -[ext_resource type="Script" uid="uid://mhudiyt5gnt1" path="res://scenes/dragon_editor/line_edit.gd" id="2_77mmq"] -[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_xb0i6"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_nf61g"] - -[node name="DragonAdder" type="Window"] -position = Vector2i(0, 36) -size = Vector2i(500, 300) -always_on_top = true -script = ExtResource("1_x83p2") -hat_outfits = ExtResource("2_33u3u") -shirt_outfits = ExtResource("3_xb0i6") -shoes_outfits = ExtResource("4_nf61g") - -[node name="CanvasLayer" type="CanvasLayer" parent="."] - -[node name="Button" type="Button" parent="CanvasLayer"] -anchors_preset = 7 -anchor_left = 0.5 -anchor_top = 1.0 -anchor_right = 0.5 -anchor_bottom = 1.0 -offset_left = -32.0 -offset_top = -31.0 -offset_right = 32.0 -grow_horizontal = 2 -grow_vertical = 0 -focus_mode = 0 -text = "afegeix" - -[node name="LineEdit" type="LineEdit" parent="CanvasLayer"] -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -214.0 -offset_top = -29.0 -offset_right = 214.0 -offset_bottom = 29.0 -grow_horizontal = 2 -grow_vertical = 2 -placeholder_text = "CODI" -alignment = 1 -max_length = 22 -script = ExtResource("2_77mmq") - -[node name="Label" type="Label" parent="CanvasLayer"] -anchors_preset = 5 -anchor_left = 0.5 -anchor_right = 0.5 -offset_left = -59.5 -offset_right = 59.5 -offset_bottom = 23.0 -grow_horizontal = 2 -text = "afegeix un drac" - -[connection signal="close_requested" from="." to="." method="_on_close_requested"] -[connection signal="pressed" from="CanvasLayer/Button" to="." method="_on_button_pressed"] diff --git a/scenes/dragon_editor/dragon_editor.gd b/scenes/dragon_editor/dragon_editor.gd index 1ebf09a..f763fe9 100644 --- a/scenes/dragon_editor/dragon_editor.gd +++ b/scenes/dragon_editor/dragon_editor.gd @@ -16,7 +16,7 @@ class_name DragonEditor @onready var dragger: DraggableWindow = $CanvasLayer/Dragger -signal on_create_dragon(hat: Texture2D, shirt: Texture2D, shoes: Texture2D, dragon_name: String) +signal on_create_dragon(properties: DragonProperties) func _ready() -> void: diff --git a/scenes/dragons/dragon_entity_dragger.gd b/scenes/dragons/dragon_entity_dragger.gd index b096621..3d55f9d 100644 --- a/scenes/dragons/dragon_entity_dragger.gd +++ b/scenes/dragons/dragon_entity_dragger.gd @@ -8,11 +8,11 @@ class_name DragonEntity @export var min_exit_time: float @export var max_exit_time: float -signal on_pick(dragon_id: int, position: Vector2, hat: Texture2D, shirt: Texture2D, shoes: Texture2D) +signal on_pick(properties: DragonProperties) signal on_quit(dragon_id: int) var rng: RandomNumberGenerator = RandomNumberGenerator.new() -var id: int +var properties: DragonProperties func _ready() -> void: @@ -22,13 +22,13 @@ func _ready() -> void: func _queue_exit(): await get_tree().create_timer(rng.randf_range(min_exit_time, max_exit_time)).timeout - var tween = get_tree().create_tween() + var tween: Tween = get_tree().create_tween() tween.tween_property($CollisionShape2D, "position", Vector2(get_window().size.x + 200, 0), animation_duration) tween.tween_callback(_proceed_exit) func _proceed_exit(): - on_quit.emit(id) + on_quit.emit(properties.id) queue_free() @@ -39,13 +39,14 @@ func _play_initial_animation() -> void: tween.tween_callback(_queue_exit) -func _input_event(viewport, event, shape_idx) -> void: +func _input_event(_viewport, event, _shape_idx) -> void: if event is InputEventMouseButton \ and event.button_index == MOUSE_BUTTON_LEFT \ and event.is_pressed(): - on_pick.emit(id, position + $CollisionShape2D.position, dragon.hat.texture, dragon.shirt.texture, dragon.shoes.texture) + properties.position = position + $CollisionShape2D.position + on_pick.emit(properties) queue_free() -func dress(hat: Texture2D, shirt: Texture2D, shoes: Texture2D): - dragon.dress(hat, shirt, shoes) +func dress(properties: DragonProperties): + dragon.dress(properties) diff --git a/scenes/dragons/dragon_sprite.gd b/scenes/dragons/dragon_sprite.gd index fe1cfe3..3558087 100644 --- a/scenes/dragons/dragon_sprite.gd +++ b/scenes/dragons/dragon_sprite.gd @@ -4,13 +4,20 @@ class_name DragonSprite @export var hat: Sprite2D @export var shirt: Sprite2D -@export var shoes: Sprite2D +@export var decor: Sprite2D +@export var color: Sprite2D + +@export var hat_outfits: DragonOutfit +@export var shirt_outfits: DragonOutfit +@export var decor_outfits: DragonOutfit +@export var color_outfits: DragonOutfit -func dress(hat: Texture2D, shirt: Texture2D, shoes: Texture2D): - self.hat.texture = hat - self.shirt.texture = shirt - self.shoes.texture = shoes +func dress(properties: DragonProperties): + self.hat.texture = hat_outfits.get_texture(properties.hat) + self.shirt.texture = shirt_outfits.get_texture(properties.shirt) + self.decor.texture = decor_outfits.get_texture(properties.decor) + self.color.texture = color_outfits.get_texture(properties.color) func walk_left(): diff --git a/scenes/dragons/dragon_sprite.tscn b/scenes/dragons/dragon_sprite.tscn index e999b7b..4446d10 100644 --- a/scenes/dragons/dragon_sprite.tscn +++ b/scenes/dragons/dragon_sprite.tscn @@ -1,20 +1,29 @@ -[gd_scene load_steps=8 format=3 uid="uid://baa8gpicw2yg0"] +[gd_scene load_steps=12 format=3 uid="uid://baa8gpicw2yg0"] [ext_resource type="Script" uid="uid://bjiap06gs02j" path="res://scenes/dragons/dragon_sprite.gd" id="1_oaoux"] +[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_mxc00"] [ext_resource type="Texture2D" uid="uid://dl87ffgh2hl68" path="res://assets/sprites/dragons/DragonPet_drac01.png" id="2_oaoux"] [ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="3_oaoux"] +[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_umqeb"] +[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_7b2ll"] [ext_resource type="Texture2D" uid="uid://b3xnii6r00hol" path="res://assets/sprites/shirts/DragonPet_roba_traje.png" id="4_oaoux"] [ext_resource type="Texture2D" uid="uid://c1b8gp5uf2ehk" path="res://assets/sprites/decor/DragonPet_acc_rosa.png" id="5_stf6f"] +[ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_x2k4p"] [ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragon_green.tres" id="6_yf7bj"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"] size = Vector2(76, 88) -[node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "shoes")] +[node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "decor", "color")] script = ExtResource("1_oaoux") hat = NodePath("Sprite/Hat") shirt = NodePath("Sprite/Shirt") -shoes = NodePath("Sprite/Shoes") +decor = NodePath("Sprite/Decor") +color = NodePath("Sprite") +hat_outfits = ExtResource("2_mxc00") +shirt_outfits = ExtResource("3_umqeb") +decor_outfits = ExtResource("4_7b2ll") +color_outfits = ExtResource("5_x2k4p") [node name="Area2D" type="Area2D" parent="."] @@ -32,10 +41,11 @@ texture = ExtResource("3_oaoux") [node name="Shirt" type="Sprite2D" parent="Sprite"] texture = ExtResource("4_oaoux") -[node name="Shoes" type="Sprite2D" parent="Sprite"] +[node name="Decor" type="Sprite2D" parent="Sprite"] texture = ExtResource("5_stf6f") [node name="DragonBody" type="AnimatedSprite2D" parent="."] +visible = false position = Vector2(36, 34) sprite_frames = ExtResource("6_yf7bj") animation = &"idle" diff --git a/scenes/main.gd b/scenes/main.gd index 6fb0adb..33c006e 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -29,7 +29,7 @@ var rng: RandomNumberGenerator = RandomNumberGenerator.new() func _ready(): - _library = DragonLibrary.new(hat_outfits, shirt_outfits, shoes_outfits) + _library = DragonLibrary.new() _instantiator = DragonInstantiator.new(dragon_template, get_viewport(), get_window()) _save_load = SaveLoad.new() @@ -60,7 +60,7 @@ func _instantiate_random_dragon(): # TODO: Search for dragon and if is in library or in instantiated dragons continue next iteration pass var dragon_entity: DragonEntity = _generate_entity(spot.position, dragon) - _filled_spots[spot] = dragon_entity.id + _filled_spots[spot] = dragon_entity.properties.id return @@ -72,12 +72,8 @@ func _get_free_spot() -> Node2D: func _generate_entity(pos: Vector2, properties: DragonProperties) -> DragonEntity: - var id: int = rng.randi() - var hat: Texture2D = hat_outfits.get_texture(properties.hat) - var shirt: Texture2D = shirt_outfits.get_texture(properties.shirt) - var shoes: Texture2D = shoes_outfits.get_texture(properties.decor) - var dragon_name: String = properties.name - return _instantiate_dragon_ingame(pos, hat, shirt, shoes, dragon_name, id) + properties.id = rng.randi() + return _instantiate_dragon_ingame(pos, properties) func move_window_to_bottom_right(): @@ -94,11 +90,11 @@ func move_window_to_bottom_right(): DisplayServer.window_set_position(new_position) -func add_dragon(hat: Texture2D, shirt: Texture2D, shoes: Texture2D, dragon_name: String): - var id: int = _library.add_dragon(dragon_name, hat, shirt, shoes) +func add_dragon(properties: DragonProperties): + var id: int = _library.add_dragon(properties) for spot in dragon_spots: if not _filled_spots.has(spot): - _instantiate_dragon_ingame(spot.position, hat, shirt, shoes, dragon_name, id) + _instantiate_dragon_ingame(spot.position, properties) _filled_spots[spot] = id break @@ -109,35 +105,31 @@ func _load_game(): _library.add_dragons(dragons) for d: DragonProperties in dragons: if d.position != Vector2i(0, 0): - var hat: Texture2D = hat_outfits.get_texture(d.hat) - var shirt: Texture2D = shirt_outfits.get_texture(d.shirt) - var shoes: Texture2D = shoes_outfits.get_texture(d.decor) - _pick_dragon(rng.randi(), d.position, hat, shirt, shoes, false) + _pick_dragon(d, false) print(_save_load.contents_to_save) -func _instantiate_dragon_ingame(position: Vector2, hat: Texture2D, shirt: Texture2D, shoes: Texture2D, dragon_name: String, id: int) -> DragonEntity: +func _instantiate_dragon_ingame(window_position: Vector2, properties: DragonProperties) -> DragonEntity: var dragon: DragonEntity = dragon_ingame.instantiate() - dragon.dress(hat, shirt, shoes) + dragon.dress(properties) add_child(dragon) - dragon.id = id - dragon.position = position + dragon.properties = properties + dragon.position = window_position dragon.on_pick.connect(_pick_dragon) dragon.on_quit.connect(_quit_dragon) - _instantiated_dragons[id] = dragon + _instantiated_dragons[properties.id] = dragon return dragon -func _pick_dragon(id: int, position: Vector2, hat: Texture2D, shirt: Texture2D, shoes: Texture2D, drag: bool = true): - var dragon: Dragon = _instantiator.instantiate(position, hat, shirt, shoes, drag) - dragon.id = id - _dragon_entities[id] = dragon +func _pick_dragon(properties: DragonProperties, drag: bool = true): + var dragon: Dragon = _instantiator.instantiate(properties, drag) + _dragon_entities[properties.id] = dragon dragon.place_back.connect(_dragon_place_back) add_child(dragon) - _instantiated_dragons.erase(id) + _instantiated_dragons.erase(properties.id) for spot in _filled_spots: - if _filled_spots[spot] == id: + if _filled_spots[spot] == properties.id: _filled_spots.erase(spot) diff --git a/scenes/main.tscn b/scenes/main.tscn index 94f1167..a75bad7 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=3 uid="uid://ctytpqaed0yqx"] +[gd_scene load_steps=16 format=3 uid="uid://ctytpqaed0yqx"] [ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"] [ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"] @@ -11,8 +11,6 @@ [ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="6_ya4ey"] [ext_resource type="Script" uid="uid://oc6mw86npbii" path="res://scenes/list_button.gd" id="9_choun"] [ext_resource type="PackedScene" uid="uid://tubxrqxjic6r" path="res://scenes/dragon_list/dragon_list.tscn" id="10_ya4ey"] -[ext_resource type="Script" uid="uid://w60u0tg1hlvu" path="res://scenes/dragon_adder.gd" id="11_eb6dy"] -[ext_resource type="PackedScene" uid="uid://oqa2ry73vqjf" path="res://scenes/dragon_adder/dragon_adder.tscn" id="12_trceg"] [ext_resource type="Texture2D" uid="uid://bc2lykc3gwykh" path="res://assets/sprites/environment/castle/DP_castle_back.png" id="15_muem4"] [ext_resource type="Texture2D" uid="uid://o1e8lge2vuqu" path="res://assets/sprites/environment/castle/DP_castle_mid.png" id="16_dp3eg"] [ext_resource type="Texture2D" uid="uid://b1w6y1qvetsaw" path="res://assets/sprites/environment/castle/DP_castle_front.png" id="17_0ld40"] @@ -72,20 +70,6 @@ text = "llista" script = ExtResource("9_choun") dragon_list = ExtResource("10_ya4ey") -[node name="Adder" type="Button" parent="CanvasLayer"] -anchors_preset = 1 -anchor_left = 1.0 -anchor_right = 1.0 -offset_left = -393.0 -offset_top = 14.0 -offset_right = -329.0 -offset_bottom = 45.0 -grow_horizontal = 0 -focus_mode = 0 -text = "afegeix" -script = ExtResource("11_eb6dy") -dragon_adder = ExtResource("12_trceg") - [node name="Castle" type="Node2D" parent="."] [node name="DpCastleBack" type="Sprite2D" parent="Castle"] @@ -120,4 +104,3 @@ script = ExtResource("17_muem4") [connection signal="button_up" from="CanvasLayer/Create" to="CanvasLayer/Create" method="_on_button_up"] [connection signal="pressed" from="CanvasLayer/Close" to="." method="_on_close_pressed"] [connection signal="pressed" from="CanvasLayer/List" to="CanvasLayer/List" method="_on_pressed"] -[connection signal="pressed" from="CanvasLayer/Adder" to="CanvasLayer/Adder" method="_on_pressed"] diff --git a/scenes/window/dragon.gd b/scenes/window/dragon.gd index e88030e..8e27860 100644 --- a/scenes/window/dragon.gd +++ b/scenes/window/dragon.gd @@ -17,7 +17,7 @@ var _fall_speed: float signal place_back(dragon: Dragon) -var id: int +var properties: DragonProperties enum State { @@ -64,8 +64,8 @@ func _process(delta: float) -> void: _move_to_target(delta) -func dress(hat: Texture2D, shirt: Texture2D, shoes: Texture2D): - dragon.dress(hat, shirt, shoes) +func dress(): + dragon.dress(properties) func _think_path(): diff --git a/src/dragon_instantiator.gd b/src/dragon_instantiator.gd index 8d41212..592bc28 100644 --- a/src/dragon_instantiator.gd +++ b/src/dragon_instantiator.gd @@ -10,11 +10,8 @@ func _init(dragon: PackedScene, viewport: Viewport, window: Window) -> void: _dragon_template = dragon -func instantiate(position: Vector2, hat: Texture2D, shirt: Texture2D, shoes: Texture2D, drag: bool) -> Node: - if drag == false: - return _instantiate_dragon(position, hat, shirt, shoes, drag) - var relative_position: Vector2i = _calculate_relative_position(position) - return _instantiate_dragon(relative_position, hat, shirt, shoes, drag) +func instantiate(properties: DragonProperties, drag: bool) -> Node: + return _instantiate_dragon(properties, drag) func _calculate_window_scale() -> Vector2: @@ -29,19 +26,19 @@ func _calculate_relative_position(position: Vector2) -> Vector2i: return Vector2i(Vector2(position) * scale) -func _instantiate_dragon(relative_position: Vector2i, hat: Texture2D, shirt: Texture2D, shoes: Texture2D, drag: bool) -> Node: +func _instantiate_dragon(properties: DragonProperties, drag: bool) -> Node: var dragon: Dragon = _dragon_template.instantiate() + dragon.properties = properties var window_position: Vector2i = DisplayServer.window_get_position() var window_size: Vector2i = DisplayServer.window_get_size() if drag == false: - dragon.position = relative_position + dragon.position = properties.position else: - dragon.position = window_position + relative_position - dragon.size / 2 - dragon.dress(hat, shirt, shoes) - - var size: float = _calculate_window_scale().y + dragon.position = window_position + _calculate_relative_position(properties.position) - dragon.size / 2 + dragon.dress() + dragon.main_window_rect = Rect2i(window_position, window_size) dragon.show() diff --git a/src/dragon_library.gd b/src/dragon_library.gd index 0971195..219b410 100644 --- a/src/dragon_library.gd +++ b/src/dragon_library.gd @@ -4,16 +4,6 @@ class_name DragonLibrary var dragons: Array[DragonProperties] = [] -var hat_outfits: DragonOutfit -var shirt_outfits: DragonOutfit -var shoes_outfits: DragonOutfit - - -func _init(hat_outfits: DragonOutfit, shirt_outfits: DragonOutfit, shoes_outfits: DragonOutfit) -> void: - self.hat_outfits = hat_outfits - self.shirt_outfits = shirt_outfits - self.shoes_outfits = shoes_outfits - func add_dragon(properties: DragonProperties) -> int: if properties.id == 0: From b080ab7bf4c59721a5a2ec457bc67d56e7041a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 00:21:07 +0200 Subject: [PATCH 04/14] feat: pulling dragons from server working --- scenes/dragon_list/dragon_list.tscn | 8 +- scenes/dragon_list/dragon_list_entry.gd | 10 +- scenes/dragon_list/dragon_list_view.gd | 15 +-- scenes/dragon_list/dragon_properties.tscn | 6 +- scenes/main.gd | 10 +- scenes/window/dragon.gd | 2 + src/dragon_code_generator.gd | 147 ---------------------- src/dragon_code_generator.gd.uid | 1 - src/dragon_library.gd | 11 +- src/dragon_properties.gd | 6 +- src/save_load.gd | 23 ++-- 11 files changed, 46 insertions(+), 193 deletions(-) delete mode 100644 src/dragon_code_generator.gd delete mode 100644 src/dragon_code_generator.gd.uid diff --git a/scenes/dragon_list/dragon_list.tscn b/scenes/dragon_list/dragon_list.tscn index 0102f4d..cdfd8a5 100644 --- a/scenes/dragon_list/dragon_list.tscn +++ b/scenes/dragon_list/dragon_list.tscn @@ -1,10 +1,7 @@ -[gd_scene load_steps=6 format=3 uid="uid://tubxrqxjic6r"] +[gd_scene load_steps=3 format=3 uid="uid://tubxrqxjic6r"] [ext_resource type="PackedScene" uid="uid://bs45hvb2mpw4k" path="res://scenes/dragon_list/dragon_properties.tscn" id="1_4vct3"] [ext_resource type="Script" uid="uid://dm8d0ikf1n8qa" path="res://scenes/dragon_list/dragon_list_view.gd" id="1_q7g8i"] -[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="3_xxwat"] -[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="4_7mhmu"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="5_h4iwm"] [node name="DragonList" type="Window" node_paths=PackedStringArray("dragon_list_view")] size = Vector2i(450, 700) @@ -12,9 +9,6 @@ always_on_top = true script = ExtResource("1_q7g8i") dragon_list_entry = ExtResource("1_4vct3") dragon_list_view = NodePath("CanvasLayer/ScrollContainer/VBoxContainer") -hat_outfits = ExtResource("3_xxwat") -shirt_outfits = ExtResource("4_7mhmu") -shoes_outfits = ExtResource("5_h4iwm") [node name="CanvasLayer" type="CanvasLayer" parent="."] diff --git a/scenes/dragon_list/dragon_list_entry.gd b/scenes/dragon_list/dragon_list_entry.gd index 06670cb..9f49e7c 100644 --- a/scenes/dragon_list/dragon_list_entry.gd +++ b/scenes/dragon_list/dragon_list_entry.gd @@ -3,15 +3,13 @@ class_name DragonListEntry @export var texture_rect: TextureRect @export var name_label: Label -@export var code_label: Label - -var code_generator: CodeGenerator +@export var origin_label: Label @export var hat_outfits: DragonOutfit @export var shirt_outfits: DragonOutfit @export var shoes_outfits: DragonOutfit -func set_properties(name: String, hat: Texture2D, shirt: Texture2D, shoes: Texture2D) -> void: - name_label.text = name - code_label.text = CodeGenerator.new(hat_outfits, shirt_outfits, shoes_outfits).encrypt(hat, shirt, shoes, name) +func set_properties(properties: DragonProperties) -> void: + name_label.text = properties.name + origin_label.text = properties.origin diff --git a/scenes/dragon_list/dragon_list_view.gd b/scenes/dragon_list/dragon_list_view.gd index 0dbbd29..5a873c0 100644 --- a/scenes/dragon_list/dragon_list_view.gd +++ b/scenes/dragon_list/dragon_list_view.gd @@ -4,25 +4,18 @@ class_name DragonList @export var dragon_list_entry: PackedScene @export var dragon_list_view: VBoxContainer -@export var hat_outfits: DragonOutfit -@export var shirt_outfits: DragonOutfit -@export var shoes_outfits: DragonOutfit - var _library: DragonLibrary func set_library(library: DragonLibrary): _library = library for d in _library.dragons: - var hat: Texture2D = hat_outfits.get_texture(d['hat']) - var shirt: Texture2D = shirt_outfits.get_texture(d['shirt']) - var shoes: Texture2D = shoes_outfits.get_texture(d['shoes']) - append_dragon(d['name'], hat, shirt, shoes) -# + append_dragon(d) -func append_dragon(name: String, hat: Texture2D, shirt: Texture2D, shoes: Texture2D): + +func append_dragon(properties: DragonProperties): var dragon: DragonListEntry = dragon_list_entry.instantiate() - dragon.set_properties(name, hat, shirt, shoes) + dragon.set_properties(properties) dragon_list_view.add_child(dragon) diff --git a/scenes/dragon_list/dragon_properties.tscn b/scenes/dragon_list/dragon_properties.tscn index e386ae4..717aac3 100644 --- a/scenes/dragon_list/dragon_properties.tscn +++ b/scenes/dragon_list/dragon_properties.tscn @@ -7,14 +7,14 @@ [ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_84ie0"] [ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_xvxt0"] -[node name="DragonProperties" type="Control" node_paths=PackedStringArray("texture_rect", "name_label", "code_label")] +[node name="DragonProperties" type="Control" node_paths=PackedStringArray("texture_rect", "name_label", "origin_label")] custom_minimum_size = Vector2(0, 128) layout_mode = 3 anchors_preset = 0 script = ExtResource("1_s7he7") texture_rect = NodePath("TextureRect") name_label = NodePath("Name") -code_label = NodePath("Code") +origin_label = NodePath("Origin") hat_outfits = ExtResource("2_y33em") shirt_outfits = ExtResource("3_84ie0") shoes_outfits = ExtResource("4_xvxt0") @@ -39,7 +39,7 @@ theme_override_fonts/font = ExtResource("2_s7he7") theme_override_font_sizes/font_size = 36 text = "AAAAAAAA" -[node name="Code" type="Label" parent="."] +[node name="Origin" type="Label" parent="."] layout_mode = 0 offset_left = 132.0 offset_top = 8.0 diff --git a/scenes/main.gd b/scenes/main.gd index 33c006e..631e974 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -128,6 +128,9 @@ func _pick_dragon(properties: DragonProperties, drag: bool = true): add_child(dragon) _instantiated_dragons.erase(properties.id) + if not _library.has(properties): + _library.add_dragon(properties) + for spot in _filled_spots: if _filled_spots[spot] == properties.id: _filled_spots.erase(spot) @@ -148,10 +151,11 @@ func _dragon_place_back(dragon: Dragon): func _on_close_pressed() -> void: _save_load.clear_dragons() for d in _library.dragons: - if _dragon_entities.has(d['id']) and _dragon_entities[d['id']] != null: - _save_load.add_dragon(d['id'], d['name'], d['hat'], d['shirt'], d['shoes'], _dragon_entities[d['id']].position) + if _dragon_entities.has(d.id) and _dragon_entities[d.id] != null: + _save_load.add_dragon(d) else: - _save_load.add_dragon(d['id'], d['name'], d['hat'], d['shirt'], d['shoes'], Vector2i(0, 0)) + d.position = Vector2i(0, 0) + _save_load.add_dragon(d) _save_load.save() await get_tree().process_frame await get_tree().process_frame diff --git a/scenes/window/dragon.gd b/scenes/window/dragon.gd index 8e27860..4199764 100644 --- a/scenes/window/dragon.gd +++ b/scenes/window/dragon.gd @@ -63,6 +63,8 @@ func _process(delta: float) -> void: State.FLYING: _move_to_target(delta) + properties.position = position + func dress(): dragon.dress(properties) diff --git a/src/dragon_code_generator.gd b/src/dragon_code_generator.gd deleted file mode 100644 index d32f764..0000000 --- a/src/dragon_code_generator.gd +++ /dev/null @@ -1,147 +0,0 @@ -class_name CodeGenerator - -var hat_outfits: DragonOutfit -var shirt_outfits: DragonOutfit -var shoes_outfits: DragonOutfit - -var key: int = 123 - -var alphabet: Dictionary = { - 'A': '00', - 'B': '01', - 'C': '02', - 'D': '03', - 'E': '04', - 'F': '05', - 'G': '06', - 'H': '07', - 'I': '08', - 'J': '09', - 'K': '10', - 'L': '11', - 'M': '12', - 'N': '13', - 'O': '14', - 'P': '15', - 'Q': '16', - 'R': '17', - 'S': '18', - 'T': '19', - 'U': '20', - 'V': '21', - 'W': '22', - 'X': '23', - 'Y': '24', - 'Z': '25', - ' ': '26' -} - -var alphabet_inverse: Dictionary = { - '00': 'A', - '01': 'B', - '02': 'C', - '03': 'D', - '04': 'E', - '05': 'F', - '06': 'G', - '07': 'H', - '08': 'I', - '09': 'J', - '10': 'K', - '11': 'L', - '12': 'M', - '13': 'N', - '14': 'O', - '15': 'P', - '16': 'Q', - '17': 'R', - '18': 'S', - '19': 'T', - '20': 'U', - '21': 'V', - '22': 'W', - '23': 'X', - '24': 'Y', - '25': 'Z', - '26': ' ' -} - - -func _init(hat: DragonOutfit, shirt: DragonOutfit, shoes: DragonOutfit) -> void: - hat_outfits = hat - shirt_outfits = shirt - shoes_outfits = shoes - - -func encrypt(hat: Texture2D, shirt: Texture2D, shoes: Texture2D, name: String) -> String: - var hat_index: int = hat_outfits.get_index(hat) - var shirt_index: int = shirt_outfits.get_index(shirt) - var shoes_index: int = shoes_outfits.get_index(shoes) - var code: String = generate_code(hat_index, shirt_index, shoes_index, name) - return xor_encrypt_decrypt(code) - - -func descrypt(input: String) -> Dictionary: - var decrypted_code: String = xor_encrypt_decrypt(input) - - if len(decrypted_code) % 2 != 0 or len(decrypted_code) <= 6: - return {'hat': null, 'shirt': null, 'shoes': null, 'name': null} - - return read_code(decrypted_code) - - -func generate_code(int1: int, int2: int, int3: int, input_string: String) -> String: - input_string = input_string.substr(0, 8) - - var binary_data: String = "" - binary_data += _int_to_bin(int1) - binary_data += _int_to_bin(int2) - binary_data += _int_to_bin(int3) - - for i in range(input_string.length()): - binary_data += _char_to_bin(input_string[i]) - - return binary_data - - -func _int_to_bin(value: int) -> String: - return "%02X" % value - - -func _bin_to_int(value: String) -> int: - return value.hex_to_int() - - -func _char_to_bin(character: String) -> String: - return alphabet[character] - - -func _bin_to_char(character: String) -> String: - if not alphabet_inverse.has(character): - return "" - return alphabet_inverse[character] - - -func xor_encrypt_decrypt(data: String) -> String: - var result: String = "" - for i in range(data.length()): - var c: int = data[i].unicode_at(0) - var encrypted_char: int = c ^ key - result += char(encrypted_char) - return result - - -func read_code(code: String) -> Dictionary: - var hat: Texture2D = hat_outfits.get_texture(_bin_to_int(code.substr(0, 2))) - var shirt: Texture2D = shirt_outfits.get_texture(_bin_to_int(code.substr(2, 2))) - var shoes: Texture2D = shoes_outfits.get_texture(_bin_to_int(code.substr(4, 2))) - - var name: String = "" - for i in range(code.substr(6).length()): - if i % 2 != 0: - continue - if _bin_to_char(code.substr(6 + i, 2)) == "": - return {'hat': null, 'shirt': null, 'shoes': null, 'name': null} - name += _bin_to_char(code.substr(6 + i, 2)) - - return {'hat': hat, 'shirt': shirt, 'shoes': shoes, 'name': name} diff --git a/src/dragon_code_generator.gd.uid b/src/dragon_code_generator.gd.uid deleted file mode 100644 index b5b6a11..0000000 --- a/src/dragon_code_generator.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://bhnm8ysguu4u4 diff --git a/src/dragon_library.gd b/src/dragon_library.gd index 219b410..11bccee 100644 --- a/src/dragon_library.gd +++ b/src/dragon_library.gd @@ -5,6 +5,13 @@ class_name DragonLibrary var dragons: Array[DragonProperties] = [] +func has(properties: DragonProperties) -> bool: + for dragon in dragons: + if properties.equals(dragon): + return true + return false + + func add_dragon(properties: DragonProperties) -> int: if properties.id == 0: properties.id = randi() @@ -12,6 +19,6 @@ func add_dragon(properties: DragonProperties) -> int: return properties.id -func add_dragons(dragons: Array[DragonProperties]) -> void: - for d in dragons: +func add_dragons(new_dragons: Array[DragonProperties]) -> void: + for d in new_dragons: dragons.push_back(d) diff --git a/src/dragon_properties.gd b/src/dragon_properties.gd index 9ac5ff4..2e2cdd5 100644 --- a/src/dragon_properties.gd +++ b/src/dragon_properties.gd @@ -1,6 +1,6 @@ +extends RefCounted class_name DragonProperties - var name: String var origin: String var color: int @@ -22,3 +22,7 @@ func _init(name: String, origin: String, color: int, hat: int, shirt: int, decor func _to_string() -> String: return '%s: [origin: %s, color: %d, hat: %d, shirt: %d, decor: %d]' % [self.name, self.origin, self.color, self.hat, self.shirt, self.decor] + + +func equals(other: DragonProperties): + return name == other.name and origin == other.origin and color == other.color and hat == other.hat and shirt == other.shirt and decor == other.decor diff --git a/src/save_load.gd b/src/save_load.gd index 11b6e5e..0fc6ebe 100644 --- a/src/save_load.gd +++ b/src/save_load.gd @@ -1,11 +1,10 @@ class_name SaveLoad - const save_location = "user://save.data" var contents_to_save: Dictionary = { -} + } func save() -> void: @@ -20,7 +19,7 @@ func load() -> void: var file: FileAccess = FileAccess.open(save_location, FileAccess.READ) var data: Dictionary = file.get_var() file.close() - + contents_to_save = data.duplicate(true) else: contents_to_save.get_or_add('coins', 0) @@ -40,19 +39,19 @@ func clear_dragons() -> void: contents_to_save['dragons'] = [] -func add_dragon(id: int, name: String, hat: int, shirt: int, shoes: int, pos: Vector2i) -> void: - contents_to_save['dragons'].push_back({'id': id, 'name': name, 'hat': hat, 'shirt': shirt, 'shoes': shoes, 'pos': pos}) +func add_dragon(dragon: DragonProperties) -> void: + contents_to_save['dragons'].push_back({'name': dragon.name, 'origin': dragon.origin, 'color': dragon.color, 'hat': dragon.hat, 'shirt': dragon.shirt, 'decor': dragon.decor, 'pos': dragon.position}) func get_dragon(dragon: Dictionary) -> DragonProperties: - var name: String = dragon['name'] - var origin: String = dragon['origin'] - var hat: int = dragon['hat'] - var shirt: int = dragon['shirt'] - var decor: int = dragon['decor'] - var color: int = dragon['color'] + var name: String = dragon['name'] + var origin: String = dragon['origin'] + var hat: int = dragon['hat'] + var shirt: int = dragon['shirt'] + var decor: int = dragon['decor'] + var color: int = dragon['color'] var position: Vector2i = dragon['pos'] - var properties = DragonProperties.new(name, origin, color, hat, shirt, decor) + var properties = DragonProperties.new(name, origin, color, hat, shirt, decor) properties.position = position properties.id = randi() return properties From f9f38ba95cf3b4dd5b38f0ac19ac225d453e1811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 00:31:52 +0200 Subject: [PATCH 05/14] feat: pushing dragons to server --- scenes/dragon_editor/dragon_editor.gd | 8 +++++++- scenes/dragon_sharing.gd | 10 +++++----- scenes/main.gd | 1 + 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/scenes/dragon_editor/dragon_editor.gd b/scenes/dragon_editor/dragon_editor.gd index f763fe9..64d111f 100644 --- a/scenes/dragon_editor/dragon_editor.gd +++ b/scenes/dragon_editor/dragon_editor.gd @@ -54,7 +54,13 @@ func _on_change_shoes_pressed() -> void: func _on_create_pressed() -> void: if dragon_name.text.is_empty(): return - on_create_dragon.emit(hat.texture, shirt.texture, shoes.texture, dragon_name.text) + + var hat_index: int = hat_outfits.get_index(hat.texture) + var shirt_index: int = shirt_outfits.get_index(shirt.texture) + var decor_index: int = shoes_outfits.get_index(shoes.texture) + var color_index: int = dragon_colors.get_index(dragon.texture) + var properties = DragonProperties.new(dragon_name.text, "tower", color_index, hat_index, shirt_index, decor_index) + on_create_dragon.emit(properties) queue_free() diff --git a/scenes/dragon_sharing.gd b/scenes/dragon_sharing.gd index ec4e025..a3052df 100644 --- a/scenes/dragon_sharing.gd +++ b/scenes/dragon_sharing.gd @@ -9,7 +9,7 @@ func _ready() -> void: request_completed.connect(_on_request_completed) -func _on_request_completed(result: int, response_code: int, headers: PackedStringArray, body: PackedByteArray): +func _on_request_completed(_result: int, response_code: int, _headers: PackedStringArray, body: PackedByteArray): if response_code != 200: print("HTTP request returned error: ", response_code) return @@ -20,15 +20,15 @@ func _on_request_completed(result: int, response_code: int, headers: PackedStrin on_dragon_received.emit(properties) -func send(origin: String, name: String, color: int, shirt: int, hat: int, decor: int) -> void: - var url: String = 'http://torreta.gerardgascon.com/add/%s/%s/%s/%s/%s/%s/' % [origin, name, color, shirt, hat, decor] - var err = request(url) +func send(properties: DragonProperties) -> void: + var url: String = 'http://torreta.gerardgascon.com/add/%s/%s/%s/%s/%s/%s/' % [properties.origin, properties.name, properties.color, properties.shirt, properties.hat, properties.decor] + var err: int = request(url) if err != OK: print("HTTP request failed: ", err) func receive(origin: String) -> void: var url: String = 'http://torreta.gerardgascon.com/get/%s/' % origin - var err = request(url) + var err: int = request(url) if err != OK: print("HTTP request failed: ", err) diff --git a/scenes/main.gd b/scenes/main.gd index 631e974..8803ea9 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -92,6 +92,7 @@ func move_window_to_bottom_right(): func add_dragon(properties: DragonProperties): var id: int = _library.add_dragon(properties) + dragon_sharing.send(properties) for spot in dragon_spots: if not _filled_spots.has(spot): _instantiate_dragon_ingame(spot.position, properties) From 98e3b8a1e3e463cc42ecf89d2f31f281ec860f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 00:47:28 +0200 Subject: [PATCH 06/14] fix: dragon buffering when no dragons in database --- scenes/dragon_sharing.gd | 1 + scenes/main.gd | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scenes/dragon_sharing.gd b/scenes/dragon_sharing.gd index a3052df..b16c6f5 100644 --- a/scenes/dragon_sharing.gd +++ b/scenes/dragon_sharing.gd @@ -12,6 +12,7 @@ func _ready() -> void: func _on_request_completed(_result: int, response_code: int, _headers: PackedStringArray, body: PackedByteArray): if response_code != 200: print("HTTP request returned error: ", response_code) + on_dragon_received.emit(null) return if body.size() != 0: var json = JSON.parse_string(body.get_string_from_utf8()) diff --git a/scenes/main.gd b/scenes/main.gd index 8803ea9..e2efbe4 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -56,6 +56,8 @@ func _instantiate_random_dragon(): for i in range(5): dragon_sharing.receive("potato") var dragon: DragonProperties = await dragon_sharing.on_dragon_received + if dragon == null: + return for d in _library.dragons: # TODO: Search for dragon and if is in library or in instantiated dragons continue next iteration pass @@ -146,7 +148,7 @@ func _quit_dragon(id: int): func _dragon_place_back(dragon: Dragon): - _dragon_entities.erase(dragon.id) + _dragon_entities.erase(dragon.properties.id) func _on_close_pressed() -> void: From a3f86c015ae9c6b3e5de30e20505cbcd10738fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 12:31:50 +0200 Subject: [PATCH 07/14] feat: added dragon animations --- assets/animations/dragons/dragon_blue.tres | 3 + assets/animations/dragons/dragon_gray.tres | 119 ++++++++++++++++++ .../{ => dragons}/dragon_green.tres | 0 assets/animations/dragons/dragon_orange.tres | 119 ++++++++++++++++++ assets/animations/dragons/dragon_pink.tres | 119 ++++++++++++++++++ assets/animations/dragons/dragon_purple.tres | 119 ++++++++++++++++++ assets/sprites/dragons/DP_drac04_Anim.png | Bin 0 -> 11649 bytes ...3.png.import => DP_drac04_Anim.png.import} | 8 +- assets/sprites/dragons/DP_drac05_Anim.png | Bin 0 -> 11669 bytes ...1.png.import => DP_drac05_Anim.png.import} | 8 +- assets/sprites/dragons/DP_drac06_Anim.png | Bin 0 -> 11344 bytes ...2.png.import => DP_drac06_Anim.png.import} | 8 +- assets/sprites/dragons/DragonPet_drac01.png | Bin 1526 -> 0 bytes assets/sprites/dragons/DragonPet_drac02.png | Bin 1526 -> 0 bytes assets/sprites/dragons/DragonPet_drac03.png | Bin 1526 -> 0 bytes scenes/dragons/dragon_sprite.tscn | 8 +- 16 files changed, 496 insertions(+), 15 deletions(-) create mode 100644 assets/animations/dragons/dragon_blue.tres create mode 100644 assets/animations/dragons/dragon_gray.tres rename assets/animations/{ => dragons}/dragon_green.tres (100%) create mode 100644 assets/animations/dragons/dragon_orange.tres create mode 100644 assets/animations/dragons/dragon_pink.tres create mode 100644 assets/animations/dragons/dragon_purple.tres create mode 100644 assets/sprites/dragons/DP_drac04_Anim.png rename assets/sprites/dragons/{DragonPet_drac03.png.import => DP_drac04_Anim.png.import} (65%) create mode 100644 assets/sprites/dragons/DP_drac05_Anim.png rename assets/sprites/dragons/{DragonPet_drac01.png.import => DP_drac05_Anim.png.import} (65%) create mode 100644 assets/sprites/dragons/DP_drac06_Anim.png rename assets/sprites/dragons/{DragonPet_drac02.png.import => DP_drac06_Anim.png.import} (65%) delete mode 100644 assets/sprites/dragons/DragonPet_drac01.png delete mode 100644 assets/sprites/dragons/DragonPet_drac02.png delete mode 100644 assets/sprites/dragons/DragonPet_drac03.png diff --git a/assets/animations/dragons/dragon_blue.tres b/assets/animations/dragons/dragon_blue.tres new file mode 100644 index 0000000..0ca9fd0 --- /dev/null +++ b/assets/animations/dragons/dragon_blue.tres @@ -0,0 +1,3 @@ +[gd_resource type="SpriteFrames" format=3 uid="uid://1yn652crf484"] + +[resource] diff --git a/assets/animations/dragons/dragon_gray.tres b/assets/animations/dragons/dragon_gray.tres new file mode 100644 index 0000000..e782f5c --- /dev/null +++ b/assets/animations/dragons/dragon_gray.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://bdri1wjc6eary"] + +[ext_resource type="Texture2D" uid="uid://c0ix7r57l1swx" path="res://assets/sprites/dragons/DP_drac06_Anim.png" id="1_nmisb"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_vs0c3"] +atlas = ExtResource("1_nmisb") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wiled"] +atlas = ExtResource("1_nmisb") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3qimm"] +atlas = ExtResource("1_nmisb") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pgupe"] +atlas = ExtResource("1_nmisb") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nmisb"] +atlas = ExtResource("1_nmisb") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ply4o"] +atlas = ExtResource("1_nmisb") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uldnr"] +atlas = ExtResource("1_nmisb") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cuv31"] +atlas = ExtResource("1_nmisb") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_68pbo"] +atlas = ExtResource("1_nmisb") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_sh07d"] +atlas = ExtResource("1_nmisb") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qc1gi"] +atlas = ExtResource("1_nmisb") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_58c6e"] +atlas = ExtResource("1_nmisb") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lvnxr"] +atlas = ExtResource("1_nmisb") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6ndl6"] +atlas = ExtResource("1_nmisb") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_vs0c3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wiled") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3qimm") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pgupe") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_nmisb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ply4o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uldnr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_cuv31") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_68pbo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_sh07d") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_qc1gi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_58c6e") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lvnxr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6ndl6") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragon_green.tres b/assets/animations/dragons/dragon_green.tres similarity index 100% rename from assets/animations/dragon_green.tres rename to assets/animations/dragons/dragon_green.tres diff --git a/assets/animations/dragons/dragon_orange.tres b/assets/animations/dragons/dragon_orange.tres new file mode 100644 index 0000000..6e6fb1c --- /dev/null +++ b/assets/animations/dragons/dragon_orange.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://buvaij5fn2jkk"] + +[ext_resource type="Texture2D" uid="uid://blej4jyd3oup1" path="res://assets/sprites/dragons/DP_drac04_Anim.png" id="1_hgmmo"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_ub7hq"] +atlas = ExtResource("1_hgmmo") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_frclk"] +atlas = ExtResource("1_hgmmo") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_55hsi"] +atlas = ExtResource("1_hgmmo") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dhrkn"] +atlas = ExtResource("1_hgmmo") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7h6a8"] +atlas = ExtResource("1_hgmmo") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hk7mw"] +atlas = ExtResource("1_hgmmo") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4rwpa"] +atlas = ExtResource("1_hgmmo") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_p1ygt"] +atlas = ExtResource("1_hgmmo") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3tl36"] +atlas = ExtResource("1_hgmmo") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_oqwn7"] +atlas = ExtResource("1_hgmmo") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_21i6q"] +atlas = ExtResource("1_hgmmo") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_as7nj"] +atlas = ExtResource("1_hgmmo") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m3eui"] +atlas = ExtResource("1_hgmmo") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i7kqd"] +atlas = ExtResource("1_hgmmo") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ub7hq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_frclk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_55hsi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dhrkn") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_7h6a8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hk7mw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_4rwpa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_p1ygt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3tl36") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_oqwn7") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_21i6q") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_as7nj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m3eui") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i7kqd") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/dragon_pink.tres b/assets/animations/dragons/dragon_pink.tres new file mode 100644 index 0000000..c08e30d --- /dev/null +++ b/assets/animations/dragons/dragon_pink.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://chw5o81g1w8qp"] + +[ext_resource type="Texture2D" uid="uid://ig3pbqrpnm7u" path="res://assets/sprites/dragons/DP_drac03_Anim.png" id="1_0rxrn"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_mmj1o"] +atlas = ExtResource("1_0rxrn") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_biwbj"] +atlas = ExtResource("1_0rxrn") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e86o5"] +atlas = ExtResource("1_0rxrn") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5exht"] +atlas = ExtResource("1_0rxrn") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_62vta"] +atlas = ExtResource("1_0rxrn") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ijluj"] +atlas = ExtResource("1_0rxrn") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t186t"] +atlas = ExtResource("1_0rxrn") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_iei0t"] +atlas = ExtResource("1_0rxrn") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u1l6v"] +atlas = ExtResource("1_0rxrn") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bk2js"] +atlas = ExtResource("1_0rxrn") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_11k2n"] +atlas = ExtResource("1_0rxrn") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m3pae"] +atlas = ExtResource("1_0rxrn") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wfq62"] +atlas = ExtResource("1_0rxrn") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0yic0"] +atlas = ExtResource("1_0rxrn") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_mmj1o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_biwbj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e86o5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5exht") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_62vta") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ijluj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t186t") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_iei0t") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_u1l6v") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bk2js") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_11k2n") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m3pae") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wfq62") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0yic0") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/dragon_purple.tres b/assets/animations/dragons/dragon_purple.tres new file mode 100644 index 0000000..6162a53 --- /dev/null +++ b/assets/animations/dragons/dragon_purple.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://dmutxyu7jh3d6"] + +[ext_resource type="Texture2D" uid="uid://d21m7gvjn7t2w" path="res://assets/sprites/dragons/DP_drac05_Anim.png" id="2_anvkt"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_tey01"] +atlas = ExtResource("2_anvkt") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e3p4x"] +atlas = ExtResource("2_anvkt") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kxp1n"] +atlas = ExtResource("2_anvkt") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_c6xgx"] +atlas = ExtResource("2_anvkt") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_anvkt"] +atlas = ExtResource("2_anvkt") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_r2n4o"] +atlas = ExtResource("2_anvkt") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gfwqi"] +atlas = ExtResource("2_anvkt") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vglir"] +atlas = ExtResource("2_anvkt") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8p844"] +atlas = ExtResource("2_anvkt") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6j6s6"] +atlas = ExtResource("2_anvkt") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yy5o8"] +atlas = ExtResource("2_anvkt") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_df7rw"] +atlas = ExtResource("2_anvkt") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j0r56"] +atlas = ExtResource("2_anvkt") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vkmfp"] +atlas = ExtResource("2_anvkt") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_tey01") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e3p4x") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kxp1n") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_c6xgx") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_anvkt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_r2n4o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_gfwqi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vglir") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8p844") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6j6s6") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yy5o8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_df7rw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_j0r56") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vkmfp") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/sprites/dragons/DP_drac04_Anim.png b/assets/sprites/dragons/DP_drac04_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..6a7887b3502a261b5048f35ddc4784e04f35ffc5 GIT binary patch literal 11649 zcmdsd2~?9;w>GU+Kdx1awo<4FjRRW5OeByn6$mIYSQ(6f1VacI0)#0HfrKib6+TdE z0hz&>nWzXzAW2n(sz543qB2B5KocMa3;{yOeG}AgXutoi|E_iaweHUfZ(fpp_Bm&t zXYc*&{gVEJ`~LO+q5mIRT3YL!4`4jBv_4JK()#4aU)BJhe3zCp0laBP9`K3L(ptA! z{riblVe!{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lpD+R8pT@CZhiS}0g9UenJhrG;6D!+V~`gkIyCGT>H zr4fBT=FrrnzwB5|U&)g6x_tsuhCq#Q#)rs?{EmY;{yW%?Mp?^f1 zd*Rky@bR%<4#@6L*#gg>=U=49Pc0c4N+QgkEHjjpl$f{6>^Y$2m@w-nNl!~t*c{#^ zD(}ve&jl+B+lN?CpbpY_f%*x?Hg>-S@C3tkYg6erod=47uNN3`W`HLzZLi?tzI891 zfndiyqn9t+I}uWTA+MTi=X$>z7lw^j~> zWrFj$K=tT9_wASG=rdzSJ-iDrqBq(p7LYy|1+02RX!>!F6 z({EzS-NCXdv=GPH}+_ z=l_d2)Lm39t;ci2DrH&Y8EaKLcd7oYqoIqgX6q-^5BL7%VvzwDAxWZ$=UOhUO_7H< zl-azasP6w>U&>VSxX04#OLzXe|41o*@VQpa*~hBo0SBJV@)NF&MXVxa@lA>zOKFMS zX24Pw**@LMQoeDy?^o9pz(v1XaG5x?R~B|c9ky1l|KsKK*{P{Z#shmh$5hKtF7XWM zQw^&PwY9!~12n;l^sl)O#VkBE4v3(p{M$1F9ziuf94LEsZ0=hvtok0a(~TJn9_m=BD)>aQ_$JSN+rDnXP_vc67(o*&jdkpE(M}5C8xG literal 0 HcmV?d00001 diff --git a/assets/sprites/dragons/DragonPet_drac03.png.import b/assets/sprites/dragons/DP_drac04_Anim.png.import similarity index 65% rename from assets/sprites/dragons/DragonPet_drac03.png.import rename to assets/sprites/dragons/DP_drac04_Anim.png.import index fe2339c..fde5a37 100644 --- a/assets/sprites/dragons/DragonPet_drac03.png.import +++ b/assets/sprites/dragons/DP_drac04_Anim.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://c4l1h6ecobnsu" -path="res://.godot/imported/DragonPet_drac03.png-4c0df3b4fcbc1020139df5f2df1408f0.ctex" +uid="uid://blej4jyd3oup1" +path="res://.godot/imported/DP_drac04_Anim.png-de055384305dd558c2c7e3596141d96e.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/sprites/dragons/DragonPet_drac03.png" -dest_files=["res://.godot/imported/DragonPet_drac03.png-4c0df3b4fcbc1020139df5f2df1408f0.ctex"] +source_file="res://assets/sprites/dragons/DP_drac04_Anim.png" +dest_files=["res://.godot/imported/DP_drac04_Anim.png-de055384305dd558c2c7e3596141d96e.ctex"] [params] diff --git a/assets/sprites/dragons/DP_drac05_Anim.png b/assets/sprites/dragons/DP_drac05_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..87e9c30b28baf86d5d79674ce55c4ab63ac5b16b GIT binary patch literal 11669 zcmdUVd03Ozwl_VtdOVIm711IzDq0XSCjvjLw`VSQqm36i@cqbK=za^=te0KBiE5RMTr1PWTYjv27TZD?r8g<3r zXDXMjYytOH2Rge(y4oE!_N9j!QvB#XRKt^@VW72&%6_wxVHDqBYNU=2H6V~?0uk3W zKy(8AOduq*9n3Dwl6pMQh8a#h%CvX(Wd{4={2*qgI{Qx=0|BAbNQ%zM&=6XL@ktYi zQm!%ht+)+^=qQ^+2Ae?46$9$H+8xocq=!>=u!e90Ul^MD=9&w!hZ$y85 z{7(Y_+uGTE9OIL^gob_`A|lc%3QXg@K|a|!!Z{|43U#7J&>7*rRI4bU<_^Vd!i+7$ zsgy{1xHFv|@?oWpd{9{jfi#5a>>&lx{OHjU-~6cq6;Fwznn1v+p$%Xt1326n4mU=? zjnOcD7{V9^TW)Gc_Y3ro`In}M_f3)5e`*SR#*Y$7`HzkLe2x9-;h_{T;lNNz02LZW z3xMc+G^4R4J%k<(1_s(8m0H-@8Qan#A}KUqsx96G0_JQO80cs0+kAaad5^Dgbz>ye#lrO>$3;!U^Av_QS8YSe81IhbDrSjdR?(PBXfc>gOT&=ig$U|=vD+=zfd zz>r9SB^pD(5U@xT77fP{kg)wwML2+l%aNw&VUETaAJvQ(7Ut$w<~R%ths2qqt&lJrj)1qs!!QVp1=Hj)3%rE| z#tMc+|Fs7ejYn9bfH?^S1PW;eYl-r57(dKJ>qj5HJA11)D%c#KgS!`lHk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LY8=~X?nkST6q0%M3K05Q;`^u%rq21B3= zUj5j;QvDv-PJr}^?99+vRMrqD1KNlV-E9{|<-a&hi(Wnb&Ao~Hd8Oe~S8&iaE8&Z_ zjceaU+g)!NWo^mYLJ}2upCxML+1-k}B)(^7hp;%+O$EvO#`p@_*X2q6fjT?r_b!^$4 zMD%Zy>z)(V2FX*{G&uhlLpl4MNjomWXD;JegI%S4DNt8$1%RooetA(bbndYzaBKSq z@)vG(A$;8{BBgn)%HC}XvHzQ2OZXq^rg(cnMdjE0c-qpp?V9B#=!=L}% zs~80rKl?T-T2i}c_h3hZHdFj4)(ksUG73Ph;!A6jL;vRGjYh{dm0w$K%a-J)uUTs^ zW$sv_y`Em0%M!02SZw?85W~#p^)xt>+s>UFuI<>sTLQ=Vo0+I8#e#pThzy+er|ls~ z?2@Q2Pm8&vKREyL$_zLQtCKVyVx&41m)}_sCoa&~9A$3)#A_uPKWaC5j{f1X0m{@+ zQTYjT@ZR+PJDXKc%$Y6Ty5`U;y}N|G>vhRQ={!mk9T@D|b-Gnq6i{%-i$?}~wstFz z86v0m_^YUFwp8qf^A$n=iQ)dYzQwYneM}>4qrVRB8}N4YdaA3fznz_m9{Bxt#p}}G T^Z00{;>*^`9$#*8?EC)%cNUf> literal 0 HcmV?d00001 diff --git a/assets/sprites/dragons/DragonPet_drac01.png.import b/assets/sprites/dragons/DP_drac05_Anim.png.import similarity index 65% rename from assets/sprites/dragons/DragonPet_drac01.png.import rename to assets/sprites/dragons/DP_drac05_Anim.png.import index 8f0ffc7..bd9e01f 100644 --- a/assets/sprites/dragons/DragonPet_drac01.png.import +++ b/assets/sprites/dragons/DP_drac05_Anim.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dl87ffgh2hl68" -path="res://.godot/imported/DragonPet_drac01.png-225ecd48e88f7c99a74b06cb880c2607.ctex" +uid="uid://d21m7gvjn7t2w" +path="res://.godot/imported/DP_drac05_Anim.png-b6d51be0ef5b910bc705667114108142.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/sprites/dragons/DragonPet_drac01.png" -dest_files=["res://.godot/imported/DragonPet_drac01.png-225ecd48e88f7c99a74b06cb880c2607.ctex"] +source_file="res://assets/sprites/dragons/DP_drac05_Anim.png" +dest_files=["res://.godot/imported/DP_drac05_Anim.png-b6d51be0ef5b910bc705667114108142.ctex"] [params] diff --git a/assets/sprites/dragons/DP_drac06_Anim.png b/assets/sprites/dragons/DP_drac06_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..b50d74066a8764d965b6d7c10fdc66b5d3c7963f GIT binary patch literal 11344 zcmdUVd011|)_3fn@jds;bCht{d#$zC@Y}z= z&WZol!Dh|hHvJ6(fvmATKyZXWK8k}tR^0n+CAhOE?(#7Bp?2bc8yx~!y=Q%@)AgqK2ZWgFNh|q!x&gkX zdah_9jCjJ5ay;MwE0l7C<>2JQ3i84E>Y44=HHp9j0aQvDSvP_j974xOnChwI;=y<2 zZK$5EYDid+sh+t~q3%)Qx4M?JP>L?r5N_ZDgTZvMI76}#776#p?bAiT5O63A2QC8` z43EU(kw&_2KYBo2sIMR1kzoB+8Tidq?|4|)2|N_aWHJqzNJCnvKNOC`0Rado0$~6~ z7|Sd$A$(w|)X1gGP`~ zK;eck<(gCjeSO}KJHZGIRw?)Ofl`7gR7yw~9gKy)AA90BEsRD#PWv~a-~aia6ae26 ziSKoM&=xB7y$X7mRXAA2TZepbG~Frk1O@6yq0<F#z72=S#c>0kfD1PXy1Mlsa`Q9~QRPzG?g6C935An{1_UKj!o zgDnpw(tHE_BL8J5;_XnF(LW6ZIpa$XBma+seSPqLv`{J;EI5El_NPEkg!t>}zIP+u zk`_!01&V=nNR<^tBHlKH9!3uFq1X~k^}w190|I>UeiW=9!p8`0KtcQ941CEbtbvgq z1p`(CgLz{q-Utkq{BAyh=EG1%Rylt;%YA7+K*ry-8sU76DBd`411tuEHSorwCB!UdakkLqr0n!_0WPm`U;0E4)ei-0j zUn2}K7>@8kDYN%ax{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t-ReCIt@{f!bt_P32~rmA4jOR~^(pK-V9Xa80Lu({Io56;qpiviUSc zw|(Dw$f>dFLpp(hmsyOKLB$)drDvnVs>1ld%MreV{&4Kv%K^TJ%n$-epkAK9EeQ+b z;##syVbjEU(n7@dl@B9Sh{(?GTLC$BJ-}|QPz9_65PI0n>l}2jo@$pIcWZ<|3eNsJ zk9|P-f6bd2OJ?Iu(uf~F9RqKZK-N-@+WHZRkUil0XUaEy!Kd{|vhs(ml>?#3;=9xT E2V5Ngg8%>k literal 0 HcmV?d00001 diff --git a/assets/sprites/dragons/DragonPet_drac02.png.import b/assets/sprites/dragons/DP_drac06_Anim.png.import similarity index 65% rename from assets/sprites/dragons/DragonPet_drac02.png.import rename to assets/sprites/dragons/DP_drac06_Anim.png.import index 6f2229e..441837a 100644 --- a/assets/sprites/dragons/DragonPet_drac02.png.import +++ b/assets/sprites/dragons/DP_drac06_Anim.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://davsy68qknywo" -path="res://.godot/imported/DragonPet_drac02.png-529be99ec19decf574a0f3715e12aee4.ctex" +uid="uid://c0ix7r57l1swx" +path="res://.godot/imported/DP_drac06_Anim.png-43a5cb7feec3d3315477e7e9e121b3b7.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/sprites/dragons/DragonPet_drac02.png" -dest_files=["res://.godot/imported/DragonPet_drac02.png-529be99ec19decf574a0f3715e12aee4.ctex"] +source_file="res://assets/sprites/dragons/DP_drac06_Anim.png" +dest_files=["res://.godot/imported/DP_drac06_Anim.png-43a5cb7feec3d3315477e7e9e121b3b7.ctex"] [params] diff --git a/assets/sprites/dragons/DragonPet_drac01.png b/assets/sprites/dragons/DragonPet_drac01.png deleted file mode 100644 index 30a09f6be8f053490ee1db0072f37a226701e037..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1526 zcmbVLZBP_t9A95^n4nS<4XSk+CsFry_uhBoWRT+o5i^DK1J}2AmLVGUy+!My2)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g;cFOB2Me`LEpf)3E5D0=mZM0G3cuwH?EYw7pNSv_Xq{ToGjG1OE7Ib7`(3~n( zFmASR#2Do4m`~RO435{;)fwx|Mn$c}Nt&i{!i1Yl28b|d^|Hx*dbA4#yw`T&_{YvNn<_m@_=c1#r?x;F1&#YzVFCZt$-gk3?&p`T)S) zKvQZ|0T!epEhY?;_jp55AoPZLQT4;BaMi3L)JQ0)gTU*#buz zD3ir%;CN7Buu)c#5-A=4(h}42DEWLFX(^;EHqu&PBgsO7rcCsLJc_nZHri}1pkuO5 zS<^XL05RKsXnRDKdaNvyuL4e2RF9%m$J(IOr|632Qv#^TY$VV*Wqw&y>a@Ah8V!fc z0@Ysne((4izV{zo`KW@qzO&Rk)jflV~v*}Exb)6DS_j#5qa_dCJ%>B z;n7a{Pv^w0U^_<1(LsRB=qLdh&W{QQg0b;pVZun9KC(3D`ot9WeLCSpex@R+|t)G?u}org&j$?-0(B2?Tbj5o!Q(S z3RLgC+;i@1#x$?E^v}+=5OHW9YCZ*S4g~M;=ef;bPlLnjA z^j_}XM~X4GxA*Gmff=E*&dIxz?(M(w^{UG)h1}{E`?`FE>TQ(vZNu)ghaxj6d0u7t zF8h*~b5c&f+x0M9ehFJPv3>V`=}MdQ;E-O)I}+O)_pe{GH+f)kDD3{DXnX20Yr~Tl zTF;#DJpJ~8`FFAwr>xgV_+z}9JU7dhSw8J#N_BYOOZ(DS_GB+xu_qy+yD4wXJHn*f zuC;MOhbfdQ^)20zwY~qt>92)u9JzjMpwn72Zp_6Mo4+|Y{d^&EC-XS+d)#NMizg diff --git a/scenes/dragons/dragon_sprite.tscn b/scenes/dragons/dragon_sprite.tscn index 4446d10..b288216 100644 --- a/scenes/dragons/dragon_sprite.tscn +++ b/scenes/dragons/dragon_sprite.tscn @@ -2,18 +2,20 @@ [ext_resource type="Script" uid="uid://bjiap06gs02j" path="res://scenes/dragons/dragon_sprite.gd" id="1_oaoux"] [ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_mxc00"] -[ext_resource type="Texture2D" uid="uid://dl87ffgh2hl68" path="res://assets/sprites/dragons/DragonPet_drac01.png" id="2_oaoux"] [ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="3_oaoux"] [ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_umqeb"] [ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_7b2ll"] [ext_resource type="Texture2D" uid="uid://b3xnii6r00hol" path="res://assets/sprites/shirts/DragonPet_roba_traje.png" id="4_oaoux"] [ext_resource type="Texture2D" uid="uid://c1b8gp5uf2ehk" path="res://assets/sprites/decor/DragonPet_acc_rosa.png" id="5_stf6f"] [ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_x2k4p"] -[ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragon_green.tres" id="6_yf7bj"] +[ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragons/dragon_green.tres" id="6_yf7bj"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"] size = Vector2(76, 88) +[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f0h1k"] +load_path = "res://.godot/imported/DragonPet_drac01.png-225ecd48e88f7c99a74b06cb880c2607.ctex" + [node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "decor", "color")] script = ExtResource("1_oaoux") hat = NodePath("Sprite/Hat") @@ -33,7 +35,7 @@ shape = SubResource("RectangleShape2D_oaoux") [node name="Sprite" type="Sprite2D" parent="."] position = Vector2(38, 44) -texture = ExtResource("2_oaoux") +texture = SubResource("CompressedTexture2D_f0h1k") [node name="Hat" type="Sprite2D" parent="Sprite"] texture = ExtResource("3_oaoux") From 2f60fd19d65198e7c800a832aec4d3d4cf547887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 13:39:23 +0200 Subject: [PATCH 08/14] feat: created animations --- assets/animations/decor/escut.tres | 119 ++++++++++++++++++ assets/animations/decor/espasa.tres | 119 ++++++++++++++++++ assets/animations/decor/rosa.tres | 119 ++++++++++++++++++ .../dragons/{dragon_blue.tres => blue.tres} | 0 .../dragons/{dragon_gray.tres => gray.tres} | 0 .../dragons/{dragon_green.tres => green.tres} | 0 .../{dragon_orange.tres => orange.tres} | 0 .../dragons/{dragon_pink.tres => pink.tres} | 0 .../{dragon_purple.tres => purple.tres} | 0 assets/animations/hats/barretina.tres | 3 + assets/animations/hats/casc.tres | 119 ++++++++++++++++++ assets/animations/hats/copa.tres | 119 ++++++++++++++++++ assets/animations/hats/corona.tres | 119 ++++++++++++++++++ assets/animations/hats/palla.tres | 119 ++++++++++++++++++ assets/animations/hats/princesa.tres | 119 ++++++++++++++++++ assets/animations/shirts/armadura.tres | 119 ++++++++++++++++++ assets/animations/shirts/faixa.tres | 119 ++++++++++++++++++ assets/animations/shirts/traje.tres | 119 ++++++++++++++++++ assets/animations/shirts/tutu.tres | 119 ++++++++++++++++++ assets/sprites/decor/DP_acc_escut_Anim.png | Bin 0 -> 3408 bytes .../decor/DP_acc_escut_Anim.png.import | 34 +++++ assets/sprites/decor/DP_acc_espasa_Anim.png | Bin 0 -> 3506 bytes .../decor/DP_acc_espasa_Anim.png.import | 34 +++++ assets/sprites/decor/DP_acc_rosa_Anim.png | Bin 0 -> 3623 bytes .../sprites/decor/DP_acc_rosa_Anim.png.import | 34 +++++ scenes/dragons/dragon_sprite.tscn | 2 +- 26 files changed, 1534 insertions(+), 1 deletion(-) create mode 100644 assets/animations/decor/escut.tres create mode 100644 assets/animations/decor/espasa.tres create mode 100644 assets/animations/decor/rosa.tres rename assets/animations/dragons/{dragon_blue.tres => blue.tres} (100%) rename assets/animations/dragons/{dragon_gray.tres => gray.tres} (100%) rename assets/animations/dragons/{dragon_green.tres => green.tres} (100%) rename assets/animations/dragons/{dragon_orange.tres => orange.tres} (100%) rename assets/animations/dragons/{dragon_pink.tres => pink.tres} (100%) rename assets/animations/dragons/{dragon_purple.tres => purple.tres} (100%) create mode 100644 assets/animations/hats/barretina.tres create mode 100644 assets/animations/hats/casc.tres create mode 100644 assets/animations/hats/copa.tres create mode 100644 assets/animations/hats/corona.tres create mode 100644 assets/animations/hats/palla.tres create mode 100644 assets/animations/hats/princesa.tres create mode 100644 assets/animations/shirts/armadura.tres create mode 100644 assets/animations/shirts/faixa.tres create mode 100644 assets/animations/shirts/traje.tres create mode 100644 assets/animations/shirts/tutu.tres create mode 100644 assets/sprites/decor/DP_acc_escut_Anim.png create mode 100644 assets/sprites/decor/DP_acc_escut_Anim.png.import create mode 100644 assets/sprites/decor/DP_acc_espasa_Anim.png create mode 100644 assets/sprites/decor/DP_acc_espasa_Anim.png.import create mode 100644 assets/sprites/decor/DP_acc_rosa_Anim.png create mode 100644 assets/sprites/decor/DP_acc_rosa_Anim.png.import diff --git a/assets/animations/decor/escut.tres b/assets/animations/decor/escut.tres new file mode 100644 index 0000000..8487bd3 --- /dev/null +++ b/assets/animations/decor/escut.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b52ph2qg7ovgc"] + +[ext_resource type="Texture2D" uid="uid://c7nmelv0lx3i3" path="res://assets/sprites/decor/DP_acc_escut_Anim.png" id="1_p6fb4"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] +atlas = ExtResource("1_p6fb4") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] +atlas = ExtResource("1_p6fb4") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] +atlas = ExtResource("1_p6fb4") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] +atlas = ExtResource("1_p6fb4") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] +atlas = ExtResource("1_p6fb4") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] +atlas = ExtResource("1_p6fb4") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] +atlas = ExtResource("1_p6fb4") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_26ptf"] +atlas = ExtResource("1_p6fb4") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_amy8y"] +atlas = ExtResource("1_p6fb4") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_knwp6"] +atlas = ExtResource("1_p6fb4") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yfy00"] +atlas = ExtResource("1_p6fb4") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bnccx"] +atlas = ExtResource("1_p6fb4") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hc8ch"] +atlas = ExtResource("1_p6fb4") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0nuxw"] +atlas = ExtResource("1_p6fb4") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_n1vju") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m1nfd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3fnsk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_njuvk") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_mq26c") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_p6fb4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fwa0p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_26ptf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_amy8y") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_knwp6") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yfy00") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bnccx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hc8ch") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0nuxw") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/decor/espasa.tres b/assets/animations/decor/espasa.tres new file mode 100644 index 0000000..14a2b00 --- /dev/null +++ b/assets/animations/decor/espasa.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://d3q17wrt8ii17"] + +[ext_resource type="Texture2D" uid="uid://drnel2cjwf5dr" path="res://assets/sprites/decor/DP_acc_espasa_Anim.png" id="1_qqvla"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] +atlas = ExtResource("1_qqvla") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] +atlas = ExtResource("1_qqvla") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] +atlas = ExtResource("1_qqvla") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] +atlas = ExtResource("1_qqvla") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] +atlas = ExtResource("1_qqvla") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] +atlas = ExtResource("1_qqvla") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] +atlas = ExtResource("1_qqvla") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] +atlas = ExtResource("1_qqvla") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] +atlas = ExtResource("1_qqvla") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] +atlas = ExtResource("1_qqvla") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] +atlas = ExtResource("1_qqvla") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] +atlas = ExtResource("1_qqvla") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] +atlas = ExtResource("1_qqvla") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xsi0i"] +atlas = ExtResource("1_qqvla") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_qwppa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1uixo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xccp0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nyede") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_cxse4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_edjcl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jhak8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t2351") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uw07h") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xcrai") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_tywya") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7pu4u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i1w1o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xsi0i") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/decor/rosa.tres b/assets/animations/decor/rosa.tres new file mode 100644 index 0000000..b9aa589 --- /dev/null +++ b/assets/animations/decor/rosa.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://cjoufnwxcvvf4"] + +[ext_resource type="Texture2D" uid="uid://dbbcv076jh4ep" path="res://assets/sprites/decor/DP_acc_rosa_Anim.png" id="1_ewn65"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] +atlas = ExtResource("1_ewn65") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] +atlas = ExtResource("1_ewn65") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] +atlas = ExtResource("1_ewn65") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] +atlas = ExtResource("1_ewn65") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] +atlas = ExtResource("1_ewn65") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] +atlas = ExtResource("1_ewn65") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] +atlas = ExtResource("1_ewn65") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] +atlas = ExtResource("1_ewn65") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] +atlas = ExtResource("1_ewn65") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] +atlas = ExtResource("1_ewn65") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] +atlas = ExtResource("1_ewn65") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] +atlas = ExtResource("1_ewn65") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] +atlas = ExtResource("1_ewn65") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pral7"] +atlas = ExtResource("1_ewn65") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ifv4k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uera2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0q8tn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_f2bes") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_albls") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mlrdx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dipuj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_d0xss") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mpdbr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dy3ut") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_gi66g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_am77p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_asxml") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pral7") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/dragon_blue.tres b/assets/animations/dragons/blue.tres similarity index 100% rename from assets/animations/dragons/dragon_blue.tres rename to assets/animations/dragons/blue.tres diff --git a/assets/animations/dragons/dragon_gray.tres b/assets/animations/dragons/gray.tres similarity index 100% rename from assets/animations/dragons/dragon_gray.tres rename to assets/animations/dragons/gray.tres diff --git a/assets/animations/dragons/dragon_green.tres b/assets/animations/dragons/green.tres similarity index 100% rename from assets/animations/dragons/dragon_green.tres rename to assets/animations/dragons/green.tres diff --git a/assets/animations/dragons/dragon_orange.tres b/assets/animations/dragons/orange.tres similarity index 100% rename from assets/animations/dragons/dragon_orange.tres rename to assets/animations/dragons/orange.tres diff --git a/assets/animations/dragons/dragon_pink.tres b/assets/animations/dragons/pink.tres similarity index 100% rename from assets/animations/dragons/dragon_pink.tres rename to assets/animations/dragons/pink.tres diff --git a/assets/animations/dragons/dragon_purple.tres b/assets/animations/dragons/purple.tres similarity index 100% rename from assets/animations/dragons/dragon_purple.tres rename to assets/animations/dragons/purple.tres diff --git a/assets/animations/hats/barretina.tres b/assets/animations/hats/barretina.tres new file mode 100644 index 0000000..976d91b --- /dev/null +++ b/assets/animations/hats/barretina.tres @@ -0,0 +1,3 @@ +[gd_resource type="SpriteFrames" format=3 uid="uid://cwxqw54jvqryh"] + +[resource] diff --git a/assets/animations/hats/casc.tres b/assets/animations/hats/casc.tres new file mode 100644 index 0000000..612bff6 --- /dev/null +++ b/assets/animations/hats/casc.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://okcrgispsiyh"] + +[ext_resource type="Texture2D" uid="uid://uchf8kc02nq2" path="res://assets/sprites/hats/DP_barret_casc_Anim.png" id="1_v5wkj"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_rnyfi"] +atlas = ExtResource("1_v5wkj") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_an2bm"] +atlas = ExtResource("1_v5wkj") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_83lh8"] +atlas = ExtResource("1_v5wkj") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_04ex5"] +atlas = ExtResource("1_v5wkj") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6sbcy"] +atlas = ExtResource("1_v5wkj") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1olxv"] +atlas = ExtResource("1_v5wkj") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3bvwv"] +atlas = ExtResource("1_v5wkj") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nhgsj"] +atlas = ExtResource("1_v5wkj") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ixq2b"] +atlas = ExtResource("1_v5wkj") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pak8g"] +atlas = ExtResource("1_v5wkj") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wqor3"] +atlas = ExtResource("1_v5wkj") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_rjvh1"] +atlas = ExtResource("1_v5wkj") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_sqqba"] +atlas = ExtResource("1_v5wkj") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ospjs"] +atlas = ExtResource("1_v5wkj") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_rnyfi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_an2bm") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_83lh8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_04ex5") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_6sbcy") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1olxv") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3bvwv") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nhgsj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ixq2b") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pak8g") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_wqor3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_rjvh1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_sqqba") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ospjs") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/hats/copa.tres b/assets/animations/hats/copa.tres new file mode 100644 index 0000000..f5b0168 --- /dev/null +++ b/assets/animations/hats/copa.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://deujtfpb6uodr"] + +[ext_resource type="Texture2D" uid="uid://cikq8k32v8ann" path="res://assets/sprites/hats/DP_barret_copa_Anim.png" id="1_lexmk"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_50j2j"] +atlas = ExtResource("1_lexmk") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1gtgj"] +atlas = ExtResource("1_lexmk") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j1iax"] +atlas = ExtResource("1_lexmk") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dkc5t"] +atlas = ExtResource("1_lexmk") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_12efb"] +atlas = ExtResource("1_lexmk") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fqhbc"] +atlas = ExtResource("1_lexmk") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_c4e6a"] +atlas = ExtResource("1_lexmk") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_81d3g"] +atlas = ExtResource("1_lexmk") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3edwv"] +atlas = ExtResource("1_lexmk") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3dbo2"] +atlas = ExtResource("1_lexmk") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0fupp"] +atlas = ExtResource("1_lexmk") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_o4nce"] +atlas = ExtResource("1_lexmk") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_phb2t"] +atlas = ExtResource("1_lexmk") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vggro"] +atlas = ExtResource("1_lexmk") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_50j2j") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1gtgj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_j1iax") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dkc5t") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_12efb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fqhbc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_c4e6a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_81d3g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3edwv") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3dbo2") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_0fupp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_o4nce") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_phb2t") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vggro") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/hats/corona.tres b/assets/animations/hats/corona.tres new file mode 100644 index 0000000..b26e90b --- /dev/null +++ b/assets/animations/hats/corona.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b86f546ym6u3s"] + +[ext_resource type="Texture2D" uid="uid://chdfhv2fysfnc" path="res://assets/sprites/hats/DP_barret_corona_Anim.png" id="1_b2w28"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_px20u"] +atlas = ExtResource("1_b2w28") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_x46yd"] +atlas = ExtResource("1_b2w28") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cu4dy"] +atlas = ExtResource("1_b2w28") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wkf2m"] +atlas = ExtResource("1_b2w28") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bnv28"] +atlas = ExtResource("1_b2w28") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8pgb1"] +atlas = ExtResource("1_b2w28") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_eiwrn"] +atlas = ExtResource("1_b2w28") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fgqbr"] +atlas = ExtResource("1_b2w28") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tx00u"] +atlas = ExtResource("1_b2w28") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_plwgp"] +atlas = ExtResource("1_b2w28") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dckeg"] +atlas = ExtResource("1_b2w28") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5c1ja"] +atlas = ExtResource("1_b2w28") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_k3p5f"] +atlas = ExtResource("1_b2w28") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_sp0f4"] +atlas = ExtResource("1_b2w28") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_px20u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_x46yd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_cu4dy") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wkf2m") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_bnv28") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8pgb1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_eiwrn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fgqbr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_tx00u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_plwgp") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_dckeg") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5c1ja") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_k3p5f") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_sp0f4") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/hats/palla.tres b/assets/animations/hats/palla.tres new file mode 100644 index 0000000..00dc0ef --- /dev/null +++ b/assets/animations/hats/palla.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b2sdrkuvpqyhl"] + +[ext_resource type="Texture2D" uid="uid://cwmkb6rqfiopn" path="res://assets/sprites/hats/DP_barret_palla_Anim.png" id="1_tcv3u"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_da6ue"] +atlas = ExtResource("1_tcv3u") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kw4rt"] +atlas = ExtResource("1_tcv3u") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jv4da"] +atlas = ExtResource("1_tcv3u") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_isbj3"] +atlas = ExtResource("1_tcv3u") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_55m84"] +atlas = ExtResource("1_tcv3u") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gjqlb"] +atlas = ExtResource("1_tcv3u") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3ko3f"] +atlas = ExtResource("1_tcv3u") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hv1r2"] +atlas = ExtResource("1_tcv3u") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_68eqo"] +atlas = ExtResource("1_tcv3u") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_abafu"] +atlas = ExtResource("1_tcv3u") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_aqiqq"] +atlas = ExtResource("1_tcv3u") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_rvse7"] +atlas = ExtResource("1_tcv3u") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t4vtj"] +atlas = ExtResource("1_tcv3u") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_donk0"] +atlas = ExtResource("1_tcv3u") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_da6ue") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kw4rt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jv4da") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_isbj3") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_55m84") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_gjqlb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3ko3f") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hv1r2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_68eqo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_abafu") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_aqiqq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_rvse7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t4vtj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_donk0") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/hats/princesa.tres b/assets/animations/hats/princesa.tres new file mode 100644 index 0000000..807d1df --- /dev/null +++ b/assets/animations/hats/princesa.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://c6ai0r87uhj4s"] + +[ext_resource type="Texture2D" uid="uid://1a5x8tv4ts0f" path="res://assets/sprites/hats/DP_barret_princesa_Anim.png" id="1_1bd2i"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_yfsyi"] +atlas = ExtResource("1_1bd2i") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_aakrx"] +atlas = ExtResource("1_1bd2i") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_b3ldy"] +atlas = ExtResource("1_1bd2i") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7xgra"] +atlas = ExtResource("1_1bd2i") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_do08g"] +atlas = ExtResource("1_1bd2i") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nyj5o"] +atlas = ExtResource("1_1bd2i") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uunbt"] +atlas = ExtResource("1_1bd2i") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_n2w2x"] +atlas = ExtResource("1_1bd2i") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tg4yk"] +atlas = ExtResource("1_1bd2i") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7ysxe"] +atlas = ExtResource("1_1bd2i") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4n3lf"] +atlas = ExtResource("1_1bd2i") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8g0c4"] +atlas = ExtResource("1_1bd2i") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mv71d"] +atlas = ExtResource("1_1bd2i") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_d5of5"] +atlas = ExtResource("1_1bd2i") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yfsyi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_aakrx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_b3ldy") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7xgra") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_do08g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nyj5o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uunbt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_n2w2x") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_tg4yk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7ysxe") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_4n3lf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8g0c4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mv71d") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_d5of5") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/shirts/armadura.tres b/assets/animations/shirts/armadura.tres new file mode 100644 index 0000000..8ffc574 --- /dev/null +++ b/assets/animations/shirts/armadura.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b7ojkd0itqcx8"] + +[ext_resource type="Texture2D" uid="uid://do2jnyp7khi61" path="res://assets/sprites/shirts/DP_tors_armadura_Anim.png" id="1_qj3ua"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_40ca8"] +atlas = ExtResource("1_qj3ua") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_b5s42"] +atlas = ExtResource("1_qj3ua") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j1m1d"] +atlas = ExtResource("1_qj3ua") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3ctjs"] +atlas = ExtResource("1_qj3ua") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s5nje"] +atlas = ExtResource("1_qj3ua") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8brq5"] +atlas = ExtResource("1_qj3ua") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2tcdn"] +atlas = ExtResource("1_qj3ua") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dlxxp"] +atlas = ExtResource("1_qj3ua") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_526hu"] +atlas = ExtResource("1_qj3ua") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5b44k"] +atlas = ExtResource("1_qj3ua") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_q6nmq"] +atlas = ExtResource("1_qj3ua") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cbwm1"] +atlas = ExtResource("1_qj3ua") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dvtad"] +atlas = ExtResource("1_qj3ua") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_r3tgl"] +atlas = ExtResource("1_qj3ua") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_40ca8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_b5s42") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_j1m1d") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3ctjs") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_s5nje") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8brq5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2tcdn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dlxxp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_526hu") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5b44k") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_q6nmq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_cbwm1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dvtad") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_r3tgl") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/shirts/faixa.tres b/assets/animations/shirts/faixa.tres new file mode 100644 index 0000000..a2841a9 --- /dev/null +++ b/assets/animations/shirts/faixa.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://dp47llrsgk3c3"] + +[ext_resource type="Texture2D" uid="uid://ckf8ac7yfrpe8" path="res://assets/sprites/shirts/DP_tors_faixa_Anim.png" id="1_21a7t"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_38422"] +atlas = ExtResource("1_21a7t") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2mhq4"] +atlas = ExtResource("1_21a7t") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_td7uk"] +atlas = ExtResource("1_21a7t") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tm7qa"] +atlas = ExtResource("1_21a7t") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kut48"] +atlas = ExtResource("1_21a7t") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8fcqq"] +atlas = ExtResource("1_21a7t") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ksbs5"] +atlas = ExtResource("1_21a7t") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4hopx"] +atlas = ExtResource("1_21a7t") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_f06ic"] +atlas = ExtResource("1_21a7t") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7xalm"] +atlas = ExtResource("1_21a7t") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cj6h0"] +atlas = ExtResource("1_21a7t") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nnm3j"] +atlas = ExtResource("1_21a7t") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fr1fj"] +atlas = ExtResource("1_21a7t") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xvp2b"] +atlas = ExtResource("1_21a7t") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_38422") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2mhq4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_td7uk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_tm7qa") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_kut48") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8fcqq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ksbs5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_4hopx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_f06ic") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7xalm") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_cj6h0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nnm3j") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fr1fj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xvp2b") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/shirts/traje.tres b/assets/animations/shirts/traje.tres new file mode 100644 index 0000000..a36716c --- /dev/null +++ b/assets/animations/shirts/traje.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://csm1127xw2qoh"] + +[ext_resource type="Texture2D" uid="uid://cdum44fqvsa71" path="res://assets/sprites/shirts/DP_tors_traje_Anim.png" id="1_6b0p8"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_epv7g"] +atlas = ExtResource("1_6b0p8") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_areka"] +atlas = ExtResource("1_6b0p8") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_n44x0"] +atlas = ExtResource("1_6b0p8") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kt4p1"] +atlas = ExtResource("1_6b0p8") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uyq6w"] +atlas = ExtResource("1_6b0p8") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6b0p8"] +atlas = ExtResource("1_6b0p8") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xicmt"] +atlas = ExtResource("1_6b0p8") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_aa5wf"] +atlas = ExtResource("1_6b0p8") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3q4vm"] +atlas = ExtResource("1_6b0p8") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u36ea"] +atlas = ExtResource("1_6b0p8") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ng271"] +atlas = ExtResource("1_6b0p8") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_araj8"] +atlas = ExtResource("1_6b0p8") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qgh4n"] +atlas = ExtResource("1_6b0p8") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t7luh"] +atlas = ExtResource("1_6b0p8") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_epv7g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_areka") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_n44x0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kt4p1") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_uyq6w") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6b0p8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xicmt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_aa5wf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3q4vm") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_u36ea") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ng271") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_araj8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qgh4n") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t7luh") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/shirts/tutu.tres b/assets/animations/shirts/tutu.tres new file mode 100644 index 0000000..cb5fc70 --- /dev/null +++ b/assets/animations/shirts/tutu.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://bbae8y4w7du3j"] + +[ext_resource type="Texture2D" uid="uid://cs2mds1fjgoi0" path="res://assets/sprites/shirts/DP_tors_tutu_Anim.png" id="1_g26hv"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_1s6pj"] +atlas = ExtResource("1_g26hv") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nvh52"] +atlas = ExtResource("1_g26hv") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i40w0"] +atlas = ExtResource("1_g26hv") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mdjac"] +atlas = ExtResource("1_g26hv") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3n6r8"] +atlas = ExtResource("1_g26hv") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lvejb"] +atlas = ExtResource("1_g26hv") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_adymh"] +atlas = ExtResource("1_g26hv") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_rdwbh"] +atlas = ExtResource("1_g26hv") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kg1pc"] +atlas = ExtResource("1_g26hv") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_y6n83"] +atlas = ExtResource("1_g26hv") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kty36"] +atlas = ExtResource("1_g26hv") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_butvq"] +atlas = ExtResource("1_g26hv") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_v4jan"] +atlas = ExtResource("1_g26hv") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vto6e"] +atlas = ExtResource("1_g26hv") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_1s6pj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nvh52") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i40w0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mdjac") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_3n6r8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lvejb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_adymh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_rdwbh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kg1pc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_y6n83") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_kty36") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_butvq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_v4jan") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vto6e") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/sprites/decor/DP_acc_escut_Anim.png b/assets/sprites/decor/DP_acc_escut_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..afccfbd598e4e644eaaed25f992f798251ecaf38 GIT binary patch literal 3408 zcmeHKeNl;CP-XNu;3stK6De(7LZ1OV@z3Wz{G`fAhM6{y<=H_c20k?bMCqC*?HdgeV*U% z_xzr7i(;5>;Fhgj1^@sqVpn)90ALCMz@y&V3;rjdu-FK{o=o5Mb_M_}Cm@dpP$pdi z0NC+}aK@fo>6ErD?Op4tt~-qA3In2ABuBr(gnyYA@mgZ~ zS|dJoXW_EY%J7<*jX%vyw<{CNlYBh@@5RM`1;Kyn5uST15UbDP#ey%L7-)MM;GQtnvA+(Z5W@lBN?+Ccaiyzm zLvtU2;5zZ#HxM);a&Eied^p`?(InX7`>XGsPMRRsS5fQO>XZ(?V{)v|u&=-yc;&-Z zhV)Gl`_Bxq$g$HVGB%yAb+AG3xIWmXU&2+LspxFk3h$|1+MCekH>uzv{2j|%y>)&9 zBG-3_9z7$H^McPE@2ZNr#+G-sY=L8!4{k$~y3F%6);$g6<6jnAZ=|w=U@0D+A*$s5 zLKX;iceJeguz%eTOC}}f$uCoFgyWLgOP)01~N0)qcOvASiLo=pUbm zuUgqDHzNlKgJ%$EQ<{)_pI^9FM`G$c1KaY?5G2W|yUg!xHTCpFSDVtD%=@y} zLJn^J6a_B#G2?5__4Xc0ZOO#cLXo;>TCYHa5~sLHsSr>p92P>7C&Jz#Bo_ukhUenq z{{`XBS(fggW(!uCt1aIHcUl&&D^y*xG-LAGaDF+eC~RcN#-8Zw$;N6B%(9IYK#*YG ze)Ez;->vK6iKpK?MR<@(tzNILA!j@hbkz&?)jm-{a7BrcJl0I7J2!|rES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YA}?tCgNFgr&CBDT!(Zewj%|^GGHWs%+d{2& zJue8WaMVXgyB_zx1;t|0zV=Q_6SMp` z<^C6VZr8#V+*cJcW~b(vr;CF4GSo@ZCdizInQ-Hrd*RZp-m$*f5EP!iHghIQTM$1% zD=oO#YWTW1D6~DWeyCmn+urP`YG#xHHx3+IKC2Su+?az0`(Ov)S=h|C+5;Or^M=$8 zyo&ok6>;P{AXn^Mqt}p)cCX7)vn*kxUjo6r|{S;vouaW@LZiiIoV7m@v><&4b zg_YyhzD>liX+sJ+8n zwY5T0fPCpUI5-rR2ZgC)b5%^bEhV3PnvFm~sL&Z)gql{=eD_zgPL*3Au(XQ$%5x!w z9q5JylIvIx?wY<|)+1z-w|T>^WlN@9%VM3DgQ)qWukXGM9FyTbvf05kx!c;K%lo3b z1;W1aLCBWd=12dUYObORxb=3%)$>W%`^E_TlMiX;M|s%cmimAqCURUe8f&|j^YcRtS z`VarbPcA;rSEWjZO9WzFN&bYWd1WEDQ)5bS24kNeteKziYic0=}PuD_kWyXb&qR{GdKN#Ze4r426p z)6W6(r7%K1VP_L-E6z&=&r5)C>oSxClC2+N6##&2gp5b;kd_4PgLU@S4d}md;X7z{ rZ}C@$!hRnO{`I_)m4rDJ7YFPG*BijoaokVfI4+n&*qE-j(?9qZ8_%N2 literal 0 HcmV?d00001 diff --git a/assets/sprites/decor/DP_acc_espasa_Anim.png.import b/assets/sprites/decor/DP_acc_espasa_Anim.png.import new file mode 100644 index 0000000..a618113 --- /dev/null +++ b/assets/sprites/decor/DP_acc_espasa_Anim.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://drnel2cjwf5dr" +path="res://.godot/imported/DP_acc_espasa_Anim.png-6908e0a55c6be33f5fbeb0168db595ba.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/decor/DP_acc_espasa_Anim.png" +dest_files=["res://.godot/imported/DP_acc_espasa_Anim.png-6908e0a55c6be33f5fbeb0168db595ba.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/decor/DP_acc_rosa_Anim.png b/assets/sprites/decor/DP_acc_rosa_Anim.png new file mode 100644 index 0000000000000000000000000000000000000000..47409ea8b2a3312a4d6ce853fe0fa74cfc3c2d42 GIT binary patch literal 3623 zcmeHKeNa=`6@O3^kOu5f%W9Oc8jK?2f~V4 zWvPh>hA1n8r8`1`ix9w&h$0k8pn?zrLS)IuB8CS<2q9m63Cr%z?mwN*w14qt?z}s1 z?mhSX&bhzeIqzx={s3&vhBW{Hz;KZfM*zU_3II6Nx~zu2Y`=0-1HD``BTtY4z|GS( z8~_gY18A`r7qRasg{vL$FS>KuyJHNLAAR}iLodNG7gql^rw>@Oj=TR+fW5c>6CCW! z_OB}b3G?1~4CxYs{98<$=!>Y#-$ti}$9nfxz;pc$~NZb%gjYfBIZS!RYI85nf$NhHe` zg#=sB(-`@UI~HW(YynYBpHMf_^+FK}PntyS=1`^2g$+`jEIzfY1hyFfR1(tK#Kzey zma<>QIK+A_I!C6KMBNP4OV2xoOiI#ssRO+r%eONUf}o3bb0n7Mi^;4xBnS09kE#)d zMQ3q$ECZi5Vt62%@9aeF)(x%JajsFrHbI*L_?NE**WOr2*kwZtkZ3q z$x+bCkOo7(zxyb7AIpejnJ6>bMPagG`{VnEr=N|$WuSGev;wiJC%G!@VxckYf#+aW zc^X41RG&;BPn!b0blJgnDE$iOnbBx5k{UOam_XTsJ8QUe4aW)*xHCs7*n7hzJUz_V z!$y*5<^+~eb9}pV&+V@G(@24e5G#1OU8v3vbIRlwR;S$Uy5~ba`0b zznLfd4`|1gA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its/decor.tres | 12 +++++ assets/outfits/dragons.tres | 13 ++++-- assets/outfits/hats.tres | 14 +++--- assets/outfits/shirts.tres | 10 ++-- assets/outfits/shoes.tres | 12 ----- scenes/dragon_editor/dragon_editor.tscn | 7 +-- scenes/dragon_list/dragon_properties.tscn | 2 +- scenes/dragons/dragon_sprite.gd | 52 +++++++++++++++++---- scenes/dragons/dragon_sprite.tscn | 56 ++++++++++------------- scenes/main.tscn | 2 +- src/dragon_outfit.gd | 6 +-- 12 files changed, 123 insertions(+), 93 deletions(-) create mode 100644 assets/outfits/decor.tres delete mode 100644 assets/outfits/shoes.tres diff --git a/assets/animations/dragons/green.tres b/assets/animations/dragons/green.tres index 022863c..dd98657 100644 --- a/assets/animations/dragons/green.tres +++ b/assets/animations/dragons/green.tres @@ -1,61 +1,61 @@ [gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://4cm7picl2gvs"] -[ext_resource type="Texture2D" uid="uid://f4c3ib4p7gcy" path="res://assets/sprites/dragons/DP_drac01_Anim.png" id="1_7wf4o"] +[ext_resource type="Texture2D" uid="uid://f4c3ib4p7gcy" path="res://assets/sprites/dragons/DP_drac01_Anim.png" id="1_6pw77"] [sub_resource type="AtlasTexture" id="AtlasTexture_7wf4o"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(0, 216, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_06adf"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(108, 216, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_r1nr2"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(216, 216, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_ob486"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(324, 216, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_vxc6x"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(0, 0, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_jbw75"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(108, 0, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_ei2lw"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(216, 0, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_q6cr0"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(324, 0, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_m3lw6"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(432, 0, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_kdf45"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(540, 0, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_1w6rw"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(0, 108, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_80v1m"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(108, 108, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_nv7os"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(216, 108, 108, 108) [sub_resource type="AtlasTexture" id="AtlasTexture_ly6pi"] -atlas = ExtResource("1_7wf4o") +atlas = ExtResource("1_6pw77") region = Rect2(324, 108, 108, 108) [resource] diff --git a/assets/outfits/decor.tres b/assets/outfits/decor.tres new file mode 100644 index 0000000..aced588 --- /dev/null +++ b/assets/outfits/decor.tres @@ -0,0 +1,12 @@ +[gd_resource type="Resource" script_class="DragonOutfit" load_steps=5 format=3 uid="uid://ba5684xylts3f"] + +[ext_resource type="SpriteFrames" uid="uid://b52ph2qg7ovgc" path="res://assets/animations/decor/escut.tres" id="1_7gbys"] +[ext_resource type="SpriteFrames" uid="uid://d3q17wrt8ii17" path="res://assets/animations/decor/espasa.tres" id="2_igpcj"] +[ext_resource type="SpriteFrames" uid="uid://cjoufnwxcvvf4" path="res://assets/animations/decor/rosa.tres" id="3_wdoma"] +[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="4_l42ho"] + +[resource] +script = ExtResource("4_l42ho") +allow_null = true +outfits = Array[SpriteFrames]([ExtResource("1_7gbys"), ExtResource("2_igpcj"), ExtResource("3_wdoma")]) +metadata/_custom_type_script = "uid://rw26nny160xh" diff --git a/assets/outfits/dragons.tres b/assets/outfits/dragons.tres index 5cf1c05..681af81 100644 --- a/assets/outfits/dragons.tres +++ b/assets/outfits/dragons.tres @@ -1,12 +1,15 @@ -[gd_resource type="Resource" script_class="DragonOutfit" load_steps=5 format=3 uid="uid://bcs60f2k7h0jc"] +[gd_resource type="Resource" script_class="DragonOutfit" load_steps=8 format=3 uid="uid://bcs60f2k7h0jc"] -[ext_resource type="Texture2D" uid="uid://dl87ffgh2hl68" path="res://assets/sprites/dragons/DragonPet_drac01.png" id="1_3e6qx"] -[ext_resource type="Texture2D" uid="uid://davsy68qknywo" path="res://assets/sprites/dragons/DragonPet_drac02.png" id="2_lvc22"] -[ext_resource type="Texture2D" uid="uid://c4l1h6ecobnsu" path="res://assets/sprites/dragons/DragonPet_drac03.png" id="3_8ji77"] +[ext_resource type="SpriteFrames" uid="uid://1yn652crf484" path="res://assets/animations/dragons/blue.tres" id="1_sxi2r"] +[ext_resource type="SpriteFrames" uid="uid://bdri1wjc6eary" path="res://assets/animations/dragons/gray.tres" id="2_7l1b6"] +[ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragons/green.tres" id="3_2i6dq"] +[ext_resource type="SpriteFrames" uid="uid://buvaij5fn2jkk" path="res://assets/animations/dragons/orange.tres" id="4_erkm0"] [ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="4_sxi2r"] +[ext_resource type="SpriteFrames" uid="uid://chw5o81g1w8qp" path="res://assets/animations/dragons/pink.tres" id="5_waqaf"] +[ext_resource type="SpriteFrames" uid="uid://dmutxyu7jh3d6" path="res://assets/animations/dragons/purple.tres" id="6_236cy"] [resource] script = ExtResource("4_sxi2r") allow_null = false -outfits = Array[Texture2D]([ExtResource("1_3e6qx"), ExtResource("2_lvc22"), ExtResource("3_8ji77")]) +outfits = Array[SpriteFrames]([ExtResource("1_sxi2r"), ExtResource("2_7l1b6"), ExtResource("3_2i6dq"), ExtResource("4_erkm0"), ExtResource("5_waqaf"), ExtResource("6_236cy")]) metadata/_custom_type_script = "uid://rw26nny160xh" diff --git a/assets/outfits/hats.tres b/assets/outfits/hats.tres index dd7f690..b8e2c47 100644 --- a/assets/outfits/hats.tres +++ b/assets/outfits/hats.tres @@ -1,15 +1,15 @@ [gd_resource type="Resource" script_class="DragonOutfit" load_steps=8 format=3 uid="uid://cnhwn6kfcbjl5"] [ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="1_e7uo0"] -[ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="1_jhy4n"] -[ext_resource type="Texture2D" uid="uid://bmw61grwcpoik" path="res://assets/sprites/hats/DragonPet_barret_casc.png" id="2_cmu3h"] -[ext_resource type="Texture2D" uid="uid://dy46ipxh5g5up" path="res://assets/sprites/hats/DragonPet_barret_copa.png" id="3_330df"] -[ext_resource type="Texture2D" uid="uid://ct4ilf6g8fe44" path="res://assets/sprites/hats/DragonPet_barret_corona.png" id="4_7rdvc"] -[ext_resource type="Texture2D" uid="uid://d2jh1mprvmnpk" path="res://assets/sprites/hats/DragonPet_barret_palla.png" id="5_1scq7"] -[ext_resource type="Texture2D" uid="uid://b8pf6op2f51p7" path="res://assets/sprites/hats/DragonPet_barret_princesa.png" id="6_2f5tc"] +[ext_resource type="SpriteFrames" uid="uid://cwxqw54jvqryh" path="res://assets/animations/hats/barretina.tres" id="1_jhy4n"] +[ext_resource type="SpriteFrames" uid="uid://okcrgispsiyh" path="res://assets/animations/hats/casc.tres" id="2_cmu3h"] +[ext_resource type="SpriteFrames" uid="uid://deujtfpb6uodr" path="res://assets/animations/hats/copa.tres" id="3_330df"] +[ext_resource type="SpriteFrames" uid="uid://b86f546ym6u3s" path="res://assets/animations/hats/corona.tres" id="4_7rdvc"] +[ext_resource type="SpriteFrames" uid="uid://b2sdrkuvpqyhl" path="res://assets/animations/hats/palla.tres" id="5_1scq7"] +[ext_resource type="SpriteFrames" uid="uid://c6ai0r87uhj4s" path="res://assets/animations/hats/princesa.tres" id="6_2f5tc"] [resource] script = ExtResource("1_e7uo0") allow_null = true -outfits = Array[Texture2D]([ExtResource("1_jhy4n"), ExtResource("2_cmu3h"), ExtResource("3_330df"), ExtResource("4_7rdvc"), ExtResource("5_1scq7"), ExtResource("6_2f5tc")]) +outfits = Array[SpriteFrames]([ExtResource("1_jhy4n"), ExtResource("2_cmu3h"), ExtResource("3_330df"), ExtResource("4_7rdvc"), ExtResource("5_1scq7"), ExtResource("6_2f5tc")]) metadata/_custom_type_script = "uid://rw26nny160xh" diff --git a/assets/outfits/shirts.tres b/assets/outfits/shirts.tres index f8bee6d..4dfd659 100644 --- a/assets/outfits/shirts.tres +++ b/assets/outfits/shirts.tres @@ -1,13 +1,13 @@ [gd_resource type="Resource" script_class="DragonOutfit" load_steps=6 format=3 uid="uid://etegcak2sphs"] -[ext_resource type="Texture2D" uid="uid://cs0ke244c33t2" path="res://assets/sprites/shirts/DragonPet_roba_armadura.png" id="1_8ueji"] +[ext_resource type="SpriteFrames" uid="uid://b7ojkd0itqcx8" path="res://assets/animations/shirts/armadura.tres" id="1_8ueji"] [ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="1_yaxr2"] -[ext_resource type="Texture2D" uid="uid://d13xg46q5a7as" path="res://assets/sprites/shirts/DragonPet_roba_faixa.png" id="2_rue66"] -[ext_resource type="Texture2D" uid="uid://b3xnii6r00hol" path="res://assets/sprites/shirts/DragonPet_roba_traje.png" id="3_rq2qf"] -[ext_resource type="Texture2D" uid="uid://bhfmyrxor0fli" path="res://assets/sprites/shirts/DragonPet_roba_tutu.png" id="4_tgfck"] +[ext_resource type="SpriteFrames" uid="uid://dp47llrsgk3c3" path="res://assets/animations/shirts/faixa.tres" id="2_rue66"] +[ext_resource type="SpriteFrames" uid="uid://csm1127xw2qoh" path="res://assets/animations/shirts/traje.tres" id="3_rq2qf"] +[ext_resource type="SpriteFrames" uid="uid://bbae8y4w7du3j" path="res://assets/animations/shirts/tutu.tres" id="4_tgfck"] [resource] script = ExtResource("1_yaxr2") allow_null = true -outfits = Array[Texture2D]([ExtResource("1_8ueji"), ExtResource("2_rue66"), ExtResource("3_rq2qf"), ExtResource("4_tgfck")]) +outfits = Array[SpriteFrames]([ExtResource("1_8ueji"), ExtResource("2_rue66"), ExtResource("3_rq2qf"), ExtResource("4_tgfck")]) metadata/_custom_type_script = "uid://rw26nny160xh" diff --git a/assets/outfits/shoes.tres b/assets/outfits/shoes.tres deleted file mode 100644 index 64b63c1..0000000 --- a/assets/outfits/shoes.tres +++ /dev/null @@ -1,12 +0,0 @@ -[gd_resource type="Resource" script_class="DragonOutfit" load_steps=5 format=3 uid="uid://ba5684xylts3f"] - -[ext_resource type="Texture2D" uid="uid://onajhbpjtnil" path="res://assets/sprites/decor/DragonPet_acc_escut.png" id="1_5pwyu"] -[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="1_lu1y3"] -[ext_resource type="Texture2D" uid="uid://bkiuuvv4kp1oi" path="res://assets/sprites/decor/DragonPet_acc_espasa.png" id="2_d5wid"] -[ext_resource type="Texture2D" uid="uid://c1b8gp5uf2ehk" path="res://assets/sprites/decor/DragonPet_acc_rosa.png" id="3_yasvr"] - -[resource] -script = ExtResource("1_lu1y3") -allow_null = true -outfits = Array[Texture2D]([ExtResource("1_5pwyu"), ExtResource("2_d5wid"), ExtResource("3_yasvr")]) -metadata/_custom_type_script = "uid://rw26nny160xh" diff --git a/scenes/dragon_editor/dragon_editor.tscn b/scenes/dragon_editor/dragon_editor.tscn index 46e87eb..b7a01c3 100644 --- a/scenes/dragon_editor/dragon_editor.tscn +++ b/scenes/dragon_editor/dragon_editor.tscn @@ -3,9 +3,8 @@ [ext_resource type="Script" uid="uid://bfuos2kgfgber" path="res://scenes/dragon_editor/dragon_editor.gd" id="1_8vkll"] [ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_vvtct"] [ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_xhgxf"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_1ivi1"] +[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="4_1ivi1"] [ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_1ivi1"] -[ext_resource type="Texture2D" uid="uid://dl87ffgh2hl68" path="res://assets/sprites/dragons/DragonPet_drac01.png" id="5_xhgxf"] [ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="6_1ivi1"] [ext_resource type="Texture2D" uid="uid://dceoy4417v83e" path="res://assets/sprites/ui/DP_UI_CharCreation_BG.png" id="6_udwtk"] [ext_resource type="Script" uid="uid://dxl7onk7x6h8b" path="res://src/draggable.gd" id="7_1vw8k"] @@ -17,6 +16,8 @@ [ext_resource type="Texture2D" uid="uid://bdrm1nxydvf5t" path="res://assets/sprites/ui/DP_UI_Label_Big.png" id="12_qppok"] [ext_resource type="StyleBox" uid="uid://bhe580k04w6ve" path="res://assets/styles/style_box_empty.tres" id="14_bh8dj"] +[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f0h1k"] + [sub_resource type="AtlasTexture" id="AtlasTexture_ofxsr"] atlas = ExtResource("7_qppok") region = Rect2(0, 40, 38, 40) @@ -68,7 +69,7 @@ offset_left = 76.0 offset_top = 120.0 offset_right = 152.0 offset_bottom = 208.0 -texture = ExtResource("5_xhgxf") +texture = SubResource("CompressedTexture2D_f0h1k") [node name="Hat" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 diff --git a/scenes/dragon_list/dragon_properties.tscn b/scenes/dragon_list/dragon_properties.tscn index 717aac3..54b32a2 100644 --- a/scenes/dragon_list/dragon_properties.tscn +++ b/scenes/dragon_list/dragon_properties.tscn @@ -5,7 +5,7 @@ [ext_resource type="FontFile" uid="uid://dn8qanm8tctb2" path="res://assets/fonts/Montserrat-Regular.ttf" id="2_s7he7"] [ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_y33em"] [ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_84ie0"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_xvxt0"] +[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="4_xvxt0"] [node name="DragonProperties" type="Control" node_paths=PackedStringArray("texture_rect", "name_label", "origin_label")] custom_minimum_size = Vector2(0, 128) diff --git a/scenes/dragons/dragon_sprite.gd b/scenes/dragons/dragon_sprite.gd index 3558087..65cfd10 100644 --- a/scenes/dragons/dragon_sprite.gd +++ b/scenes/dragons/dragon_sprite.gd @@ -2,10 +2,10 @@ extends Node2D class_name DragonSprite -@export var hat: Sprite2D -@export var shirt: Sprite2D -@export var decor: Sprite2D -@export var color: Sprite2D +@export var hat: AnimatedSprite2D +@export var shirt: AnimatedSprite2D +@export var decor: AnimatedSprite2D +@export var color: AnimatedSprite2D @export var hat_outfits: DragonOutfit @export var shirt_outfits: DragonOutfit @@ -14,10 +14,19 @@ class_name DragonSprite func dress(properties: DragonProperties): - self.hat.texture = hat_outfits.get_texture(properties.hat) - self.shirt.texture = shirt_outfits.get_texture(properties.shirt) - self.decor.texture = decor_outfits.get_texture(properties.decor) - self.color.texture = color_outfits.get_texture(properties.color) + _set_dress(hat, hat_outfits.get_texture(properties.hat)) + _set_dress(shirt, shirt_outfits.get_texture(properties.shirt)) + _set_dress(decor, decor_outfits.get_texture(properties.decor)) + _set_dress(color, color_outfits.get_texture(properties.color)) + play_idle() + + +func _set_dress(part: AnimatedSprite2D, dress: SpriteFrames): + if dress == null: + part.visible = false + else: + part.visible = true + part.set_sprite_frames(dress) func walk_left(): @@ -28,3 +37,30 @@ func walk_left(): func walk_right(): $Sprite.scale.x = -1 $DragonBody.scale.x = -1 + + +func _play_animation(animation_name: String, part: AnimatedSprite2D) -> void: + if !part.is_visible(): + return + part.play(animation_name) + + +func play_idle() -> void: + _play_animation("idle", hat) + _play_animation("idle", shirt) + _play_animation("idle", decor) + _play_animation("idle", color) + + +func play_fly() -> void: + _play_animation("fly", hat) + _play_animation("fly", shirt) + _play_animation("fly", decor) + _play_animation("fly", color) + + +func play_walk() -> void: + _play_animation("walk", hat) + _play_animation("walk", shirt) + _play_animation("walk", decor) + _play_animation("walk", color) diff --git a/scenes/dragons/dragon_sprite.tscn b/scenes/dragons/dragon_sprite.tscn index 816248a..59ec97b 100644 --- a/scenes/dragons/dragon_sprite.tscn +++ b/scenes/dragons/dragon_sprite.tscn @@ -1,27 +1,24 @@ -[gd_scene load_steps=12 format=3 uid="uid://baa8gpicw2yg0"] +[gd_scene load_steps=11 format=3 uid="uid://baa8gpicw2yg0"] [ext_resource type="Script" uid="uid://bjiap06gs02j" path="res://scenes/dragons/dragon_sprite.gd" id="1_oaoux"] [ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_mxc00"] -[ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="3_oaoux"] [ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_umqeb"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_7b2ll"] -[ext_resource type="Texture2D" uid="uid://b3xnii6r00hol" path="res://assets/sprites/shirts/DragonPet_roba_traje.png" id="4_oaoux"] -[ext_resource type="Texture2D" uid="uid://c1b8gp5uf2ehk" path="res://assets/sprites/decor/DragonPet_acc_rosa.png" id="5_stf6f"] +[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="4_7b2ll"] [ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_x2k4p"] [ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragons/green.tres" id="6_yf7bj"] +[ext_resource type="SpriteFrames" uid="uid://cwxqw54jvqryh" path="res://assets/animations/hats/barretina.tres" id="10_7b2ll"] +[ext_resource type="SpriteFrames" uid="uid://csm1127xw2qoh" path="res://assets/animations/shirts/traje.tres" id="11_x2k4p"] +[ext_resource type="SpriteFrames" uid="uid://cjoufnwxcvvf4" path="res://assets/animations/decor/rosa.tres" id="12_rhebu"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"] -size = Vector2(76, 88) - -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f0h1k"] -load_path = "res://.godot/imported/DragonPet_drac01.png-225ecd48e88f7c99a74b06cb880c2607.ctex" +size = Vector2(108, 88) [node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "decor", "color")] script = ExtResource("1_oaoux") -hat = NodePath("Sprite/Hat") -shirt = NodePath("Sprite/Shirt") -decor = NodePath("Sprite/Decor") -color = NodePath("Sprite") +hat = NodePath("Dragon/Hat") +shirt = NodePath("Dragon/Shirt") +decor = NodePath("Dragon/Decor") +color = NodePath("Dragon") hat_outfits = ExtResource("2_mxc00") shirt_outfits = ExtResource("3_umqeb") decor_outfits = ExtResource("4_7b2ll") @@ -30,29 +27,22 @@ color_outfits = ExtResource("5_x2k4p") [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] -position = Vector2(38, 44) +position = Vector2(54, 44) shape = SubResource("RectangleShape2D_oaoux") -[node name="Sprite" type="Sprite2D" parent="."] -position = Vector2(38, 44) -texture = SubResource("CompressedTexture2D_f0h1k") - -[node name="Hat" type="Sprite2D" parent="Sprite"] -texture = ExtResource("3_oaoux") - -[node name="Shirt" type="Sprite2D" parent="Sprite"] -texture = ExtResource("4_oaoux") - -[node name="Decor" type="Sprite2D" parent="Sprite"] -texture = ExtResource("5_stf6f") - -[node name="DragonBody" type="AnimatedSprite2D" parent="."] -visible = false -position = Vector2(36, 34) +[node name="Dragon" type="AnimatedSprite2D" parent="."] +position = Vector2(54, 34) sprite_frames = ExtResource("6_yf7bj") -animation = &"idle" -autoplay = "idle" -frame_progress = 0.10072 + +[node name="Hat" type="AnimatedSprite2D" parent="Dragon"] +sprite_frames = ExtResource("10_7b2ll") + +[node name="Shirt" type="AnimatedSprite2D" parent="Dragon"] +sprite_frames = ExtResource("11_x2k4p") + +[node name="Decor" type="AnimatedSprite2D" parent="Dragon"] +sprite_frames = ExtResource("12_rhebu") +animation = &"walk" [connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"] [connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"] diff --git a/scenes/main.tscn b/scenes/main.tscn index a75bad7..668fa9f 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -8,7 +8,7 @@ [ext_resource type="Script" uid="uid://cj4l3a6a8ro0r" path="res://scenes/create_button.gd" id="4_tbgi4"] [ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="5_choun"] [ext_resource type="PackedScene" uid="uid://fut42ruut302" path="res://scenes/dragon_editor/dragon_editor.tscn" id="5_tefeu"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="6_ya4ey"] +[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="6_ya4ey"] [ext_resource type="Script" uid="uid://oc6mw86npbii" path="res://scenes/list_button.gd" id="9_choun"] [ext_resource type="PackedScene" uid="uid://tubxrqxjic6r" path="res://scenes/dragon_list/dragon_list.tscn" id="10_ya4ey"] [ext_resource type="Texture2D" uid="uid://bc2lykc3gwykh" path="res://assets/sprites/environment/castle/DP_castle_back.png" id="15_muem4"] diff --git a/src/dragon_outfit.gd b/src/dragon_outfit.gd index 9015ca2..092f480 100644 --- a/src/dragon_outfit.gd +++ b/src/dragon_outfit.gd @@ -3,11 +3,11 @@ class_name DragonOutfit @export var allow_null: bool -@export var outfits: Array[Texture2D] +@export var outfits: Array[SpriteFrames] var index: int = 0 -func _init(outfits: Array[Texture2D] = []): +func _init(outfits: Array[SpriteFrames] = []): self.outfits = outfits @@ -44,7 +44,7 @@ func get_index(texture: Texture2D) -> int: return outfits.find(texture) -func get_texture(index: int) -> Texture2D: +func get_texture(index: int) -> SpriteFrames: if index < 0 or index >= len(outfits): return null From 2445a71f0c3363b1e37cde1b6f2a3394bb75666d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 17:12:04 +0200 Subject: [PATCH 10/14] feat: animations working --- assets/animations/decor/escut.tres | 46 +- assets/animations/decor/espasa.tres | 48 +- assets/animations/decor/rosa.tres | 48 +- assets/animations/dragons/blau.tres | 119 ++ assets/animations/dragons/blue.tres | 3 - assets/animations/dragons/gray.tres | 119 -- assets/animations/dragons/green.tres | 119 -- assets/animations/dragons/gris.tres | 119 ++ assets/animations/dragons/lila.tres | 119 ++ assets/animations/dragons/orange.tres | 119 -- assets/animations/dragons/pink.tres | 119 -- assets/animations/dragons/purple.tres | 119 -- assets/animations/dragons/rosa.tres | 119 ++ assets/animations/dragons/taronja.tres | 119 ++ assets/animations/dragons/verd.tres | 119 ++ assets/animations/hats/barretina.tres | 118 +- assets/animations/hats/casc.tres | 48 +- assets/animations/hats/copa.tres | 48 +- assets/animations/hats/corona.tres | 48 +- assets/animations/hats/palla.tres | 48 +- assets/animations/hats/princesa.tres | 48 +- assets/animations/shirts/armadura.tres | 48 +- assets/animations/shirts/faixa.tres | 48 +- assets/animations/shirts/traje.tres | 30 +- assets/animations/shirts/tutu.tres | 48 +- assets/outfits/decor.tres | 8 +- assets/outfits/dragons.tres | 14 +- assets/outfits/hats.tres | 14 +- assets/outfits/shirts.tres | 10 +- assets/sprites/decor/DragonPet_acc_escut.png | Bin 1178 -> 0 bytes .../decor/DragonPet_acc_escut.png.import | 34 - assets/sprites/decor/DragonPet_acc_espasa.png | Bin 1200 -> 0 bytes .../decor/DragonPet_acc_espasa.png.import | 34 - assets/sprites/decor/DragonPet_acc_rosa.png | Bin 1203 -> 0 bytes .../decor/DragonPet_acc_rosa.png.import | 34 - .../hats/DragonPet_barret_barretina.png | Bin 1161 -> 0 bytes .../DragonPet_barret_barretina.png.import | 34 - assets/sprites/hats/DragonPet_barret_casc.png | Bin 1220 -> 0 bytes .../hats/DragonPet_barret_casc.png.import | 34 - assets/sprites/hats/DragonPet_barret_copa.png | Bin 1160 -> 0 bytes .../hats/DragonPet_barret_copa.png.import | 34 - .../sprites/hats/DragonPet_barret_corona.png | Bin 1171 -> 0 bytes .../hats/DragonPet_barret_corona.png.import | 34 - .../sprites/hats/DragonPet_barret_palla.png | Bin 1176 -> 0 bytes .../hats/DragonPet_barret_palla.png.import | 34 - .../hats/DragonPet_barret_princesa.png | Bin 1216 -> 0 bytes .../hats/DragonPet_barret_princesa.png.import | 34 - .../shirts/DragonPet_roba_armadura.png | Bin 1235 -> 0 bytes .../shirts/DragonPet_roba_armadura.png.import | 34 - .../sprites/shirts/DragonPet_roba_faixa.png | Bin 1209 -> 0 bytes .../shirts/DragonPet_roba_faixa.png.import | 34 - .../sprites/shirts/DragonPet_roba_traje.png | Bin 1195 -> 0 bytes .../shirts/DragonPet_roba_traje.png.import | 34 - assets/sprites/shirts/DragonPet_roba_tutu.png | Bin 1186 -> 0 bytes .../shirts/DragonPet_roba_tutu.png.import | 34 - scenes/dragon_editor/dragon_editor.tscn | 1111 ++++++++++++++++- scenes/dragon_list/dragon_properties.tscn | 382 +++++- scenes/dragons/dragon_sprite.gd | 10 +- scenes/dragons/dragon_sprite.tscn | 22 +- scenes/main.gd | 2 +- scenes/main.tscn | 382 +++++- scenes/window/dragon.gd | 46 +- scenes/window/dragon_popup.tscn | 2 +- 63 files changed, 3023 insertions(+), 1408 deletions(-) create mode 100644 assets/animations/dragons/blau.tres delete mode 100644 assets/animations/dragons/blue.tres delete mode 100644 assets/animations/dragons/gray.tres delete mode 100644 assets/animations/dragons/green.tres create mode 100644 assets/animations/dragons/gris.tres create mode 100644 assets/animations/dragons/lila.tres delete mode 100644 assets/animations/dragons/orange.tres delete mode 100644 assets/animations/dragons/pink.tres delete mode 100644 assets/animations/dragons/purple.tres create mode 100644 assets/animations/dragons/rosa.tres create mode 100644 assets/animations/dragons/taronja.tres create mode 100644 assets/animations/dragons/verd.tres delete mode 100644 assets/sprites/decor/DragonPet_acc_escut.png delete mode 100644 assets/sprites/decor/DragonPet_acc_escut.png.import delete mode 100644 assets/sprites/decor/DragonPet_acc_espasa.png delete mode 100644 assets/sprites/decor/DragonPet_acc_espasa.png.import delete mode 100644 assets/sprites/decor/DragonPet_acc_rosa.png delete mode 100644 assets/sprites/decor/DragonPet_acc_rosa.png.import delete mode 100644 assets/sprites/hats/DragonPet_barret_barretina.png delete mode 100644 assets/sprites/hats/DragonPet_barret_barretina.png.import delete mode 100644 assets/sprites/hats/DragonPet_barret_casc.png delete mode 100644 assets/sprites/hats/DragonPet_barret_casc.png.import delete mode 100644 assets/sprites/hats/DragonPet_barret_copa.png delete mode 100644 assets/sprites/hats/DragonPet_barret_copa.png.import delete mode 100644 assets/sprites/hats/DragonPet_barret_corona.png delete mode 100644 assets/sprites/hats/DragonPet_barret_corona.png.import delete mode 100644 assets/sprites/hats/DragonPet_barret_palla.png delete mode 100644 assets/sprites/hats/DragonPet_barret_palla.png.import delete mode 100644 assets/sprites/hats/DragonPet_barret_princesa.png delete mode 100644 assets/sprites/hats/DragonPet_barret_princesa.png.import delete mode 100644 assets/sprites/shirts/DragonPet_roba_armadura.png delete mode 100644 assets/sprites/shirts/DragonPet_roba_armadura.png.import delete mode 100644 assets/sprites/shirts/DragonPet_roba_faixa.png delete mode 100644 assets/sprites/shirts/DragonPet_roba_faixa.png.import delete mode 100644 assets/sprites/shirts/DragonPet_roba_traje.png delete mode 100644 assets/sprites/shirts/DragonPet_roba_traje.png.import delete mode 100644 assets/sprites/shirts/DragonPet_roba_tutu.png delete mode 100644 assets/sprites/shirts/DragonPet_roba_tutu.png.import diff --git a/assets/animations/decor/escut.tres b/assets/animations/decor/escut.tres index 8487bd3..fde0f72 100644 --- a/assets/animations/decor/escut.tres +++ b/assets/animations/decor/escut.tres @@ -1,32 +1,32 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b52ph2qg7ovgc"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://d02qrwmwvxvw2"] [ext_resource type="Texture2D" uid="uid://c7nmelv0lx3i3" path="res://assets/sprites/decor/DP_acc_escut_Anim.png" id="1_p6fb4"] -[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] atlas = ExtResource("1_p6fb4") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] +[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] atlas = ExtResource("1_p6fb4") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] +[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] atlas = ExtResource("1_p6fb4") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] +[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] atlas = ExtResource("1_p6fb4") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] +[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] atlas = ExtResource("1_p6fb4") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] atlas = ExtResource("1_p6fb4") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] +[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] atlas = ExtResource("1_p6fb4") region = Rect2(216, 0, 108, 108) @@ -62,9 +62,23 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_n1vju") +"texture": SubResource("AtlasTexture_mq26c") }, { "duration": 1.0, +"texture": SubResource("AtlasTexture_p6fb4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fwa0p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_n1vju") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, "texture": SubResource("AtlasTexture_m1nfd") }, { "duration": 1.0, @@ -72,20 +86,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_njuvk") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_mq26c") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_p6fb4") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_fwa0p") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_26ptf") diff --git a/assets/animations/decor/espasa.tres b/assets/animations/decor/espasa.tres index 14a2b00..47d2bc4 100644 --- a/assets/animations/decor/espasa.tres +++ b/assets/animations/decor/espasa.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://d3q17wrt8ii17"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://ghqhbf88d1j8"] [ext_resource type="Texture2D" uid="uid://drnel2cjwf5dr" path="res://assets/sprites/decor/DP_acc_espasa_Anim.png" id="1_qqvla"] -[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] +[sub_resource type="AtlasTexture" id="AtlasTexture_qqvla"] atlas = ExtResource("1_qqvla") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] +[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] atlas = ExtResource("1_qqvla") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] atlas = ExtResource("1_qqvla") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] +[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] atlas = ExtResource("1_qqvla") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] atlas = ExtResource("1_qqvla") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] atlas = ExtResource("1_qqvla") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] +[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] atlas = ExtResource("1_qqvla") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] +[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] atlas = ExtResource("1_qqvla") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] +[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] atlas = ExtResource("1_qqvla") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] +[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] atlas = ExtResource("1_qqvla") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] +[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] atlas = ExtResource("1_qqvla") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] atlas = ExtResource("1_qqvla") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] atlas = ExtResource("1_qqvla") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_xsi0i"] +[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] atlas = ExtResource("1_qqvla") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_qqvla") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_qwppa") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_xccp0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_nyede") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_nyede") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_cxse4") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_uw07h") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xcrai") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_xcrai") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_tywya") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_i1w1o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xsi0i") }], "loop": true, "name": &"walk", diff --git a/assets/animations/decor/rosa.tres b/assets/animations/decor/rosa.tres index b9aa589..95df6e4 100644 --- a/assets/animations/decor/rosa.tres +++ b/assets/animations/decor/rosa.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://cjoufnwxcvvf4"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://c5rqqy7b5ihi5"] [ext_resource type="Texture2D" uid="uid://dbbcv076jh4ep" path="res://assets/sprites/decor/DP_acc_rosa_Anim.png" id="1_ewn65"] -[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] +[sub_resource type="AtlasTexture" id="AtlasTexture_ewn65"] atlas = ExtResource("1_ewn65") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] +[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] atlas = ExtResource("1_ewn65") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] +[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] atlas = ExtResource("1_ewn65") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] +[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] atlas = ExtResource("1_ewn65") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] +[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] atlas = ExtResource("1_ewn65") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] +[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] atlas = ExtResource("1_ewn65") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] atlas = ExtResource("1_ewn65") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] atlas = ExtResource("1_ewn65") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] +[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] atlas = ExtResource("1_ewn65") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] atlas = ExtResource("1_ewn65") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] atlas = ExtResource("1_ewn65") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] +[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] atlas = ExtResource("1_ewn65") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] +[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] atlas = ExtResource("1_ewn65") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_pral7"] +[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] atlas = ExtResource("1_ewn65") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_ewn65") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_ifv4k") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_0q8tn") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_f2bes") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_f2bes") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_albls") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_mpdbr") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dy3ut") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_dy3ut") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_gi66g") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_asxml") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_pral7") }], "loop": true, "name": &"walk", diff --git a/assets/animations/dragons/blau.tres b/assets/animations/dragons/blau.tres new file mode 100644 index 0000000..a42c108 --- /dev/null +++ b/assets/animations/dragons/blau.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://bfviwc5qcl6fj"] + +[ext_resource type="Texture2D" uid="uid://clp02nlyac2g8" path="res://assets/sprites/dragons/DP_drac02_Anim.png" id="1_yijd7"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_fl06t"] +atlas = ExtResource("1_yijd7") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_14fve"] +atlas = ExtResource("1_yijd7") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ce0w3"] +atlas = ExtResource("1_yijd7") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_x5531"] +atlas = ExtResource("1_yijd7") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gxug3"] +atlas = ExtResource("1_yijd7") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dfjkg"] +atlas = ExtResource("1_yijd7") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fq5di"] +atlas = ExtResource("1_yijd7") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_l5odh"] +atlas = ExtResource("1_yijd7") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qcp1n"] +atlas = ExtResource("1_yijd7") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0h0gq"] +atlas = ExtResource("1_yijd7") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m6iqp"] +atlas = ExtResource("1_yijd7") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hvha6"] +atlas = ExtResource("1_yijd7") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2mhj3"] +atlas = ExtResource("1_yijd7") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qwnnt"] +atlas = ExtResource("1_yijd7") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_fl06t") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_14fve") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ce0w3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_x5531") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_gxug3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dfjkg") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fq5di") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_l5odh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qcp1n") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0h0gq") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_m6iqp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hvha6") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2mhj3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qwnnt") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/blue.tres b/assets/animations/dragons/blue.tres deleted file mode 100644 index 0ca9fd0..0000000 --- a/assets/animations/dragons/blue.tres +++ /dev/null @@ -1,3 +0,0 @@ -[gd_resource type="SpriteFrames" format=3 uid="uid://1yn652crf484"] - -[resource] diff --git a/assets/animations/dragons/gray.tres b/assets/animations/dragons/gray.tres deleted file mode 100644 index e782f5c..0000000 --- a/assets/animations/dragons/gray.tres +++ /dev/null @@ -1,119 +0,0 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://bdri1wjc6eary"] - -[ext_resource type="Texture2D" uid="uid://c0ix7r57l1swx" path="res://assets/sprites/dragons/DP_drac06_Anim.png" id="1_nmisb"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_vs0c3"] -atlas = ExtResource("1_nmisb") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_wiled"] -atlas = ExtResource("1_nmisb") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3qimm"] -atlas = ExtResource("1_nmisb") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_pgupe"] -atlas = ExtResource("1_nmisb") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nmisb"] -atlas = ExtResource("1_nmisb") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ply4o"] -atlas = ExtResource("1_nmisb") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_uldnr"] -atlas = ExtResource("1_nmisb") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_cuv31"] -atlas = ExtResource("1_nmisb") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_68pbo"] -atlas = ExtResource("1_nmisb") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_sh07d"] -atlas = ExtResource("1_nmisb") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_qc1gi"] -atlas = ExtResource("1_nmisb") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_58c6e"] -atlas = ExtResource("1_nmisb") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_lvnxr"] -atlas = ExtResource("1_nmisb") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_6ndl6"] -atlas = ExtResource("1_nmisb") -region = Rect2(324, 108, 108, 108) - -[resource] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_vs0c3") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_wiled") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3qimm") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_pgupe") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_nmisb") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ply4o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_uldnr") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_cuv31") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_68pbo") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_sh07d") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_qc1gi") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_58c6e") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_lvnxr") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_6ndl6") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] diff --git a/assets/animations/dragons/green.tres b/assets/animations/dragons/green.tres deleted file mode 100644 index dd98657..0000000 --- a/assets/animations/dragons/green.tres +++ /dev/null @@ -1,119 +0,0 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://4cm7picl2gvs"] - -[ext_resource type="Texture2D" uid="uid://f4c3ib4p7gcy" path="res://assets/sprites/dragons/DP_drac01_Anim.png" id="1_6pw77"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_7wf4o"] -atlas = ExtResource("1_6pw77") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_06adf"] -atlas = ExtResource("1_6pw77") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_r1nr2"] -atlas = ExtResource("1_6pw77") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ob486"] -atlas = ExtResource("1_6pw77") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_vxc6x"] -atlas = ExtResource("1_6pw77") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jbw75"] -atlas = ExtResource("1_6pw77") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ei2lw"] -atlas = ExtResource("1_6pw77") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_q6cr0"] -atlas = ExtResource("1_6pw77") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m3lw6"] -atlas = ExtResource("1_6pw77") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_kdf45"] -atlas = ExtResource("1_6pw77") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_1w6rw"] -atlas = ExtResource("1_6pw77") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_80v1m"] -atlas = ExtResource("1_6pw77") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nv7os"] -atlas = ExtResource("1_6pw77") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ly6pi"] -atlas = ExtResource("1_6pw77") -region = Rect2(324, 108, 108, 108) - -[resource] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_7wf4o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_06adf") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_r1nr2") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ob486") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_vxc6x") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jbw75") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ei2lw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_q6cr0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m3lw6") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kdf45") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_1w6rw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_80v1m") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_nv7os") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ly6pi") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] diff --git a/assets/animations/dragons/gris.tres b/assets/animations/dragons/gris.tres new file mode 100644 index 0000000..71fa838 --- /dev/null +++ b/assets/animations/dragons/gris.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://8ooldj4ypfj2"] + +[ext_resource type="Texture2D" uid="uid://c0ix7r57l1swx" path="res://assets/sprites/dragons/DP_drac06_Anim.png" id="1_2went"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_waewi"] +atlas = ExtResource("1_2went") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bqp3r"] +atlas = ExtResource("1_2went") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_to3q2"] +atlas = ExtResource("1_2went") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_akaea"] +atlas = ExtResource("1_2went") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xbxev"] +atlas = ExtResource("1_2went") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e4f2w"] +atlas = ExtResource("1_2went") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1h3nn"] +atlas = ExtResource("1_2went") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_680yn"] +atlas = ExtResource("1_2went") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s56j0"] +atlas = ExtResource("1_2went") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_iaqbq"] +atlas = ExtResource("1_2went") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ny8vc"] +atlas = ExtResource("1_2went") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s1wsx"] +atlas = ExtResource("1_2went") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dy35q"] +atlas = ExtResource("1_2went") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nlpvo"] +atlas = ExtResource("1_2went") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_waewi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bqp3r") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_to3q2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_akaea") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_xbxev") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e4f2w") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1h3nn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_680yn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s56j0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_iaqbq") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ny8vc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s1wsx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dy35q") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nlpvo") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/lila.tres b/assets/animations/dragons/lila.tres new file mode 100644 index 0000000..d782506 --- /dev/null +++ b/assets/animations/dragons/lila.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://rtlmmehjocac"] + +[ext_resource type="Texture2D" uid="uid://d21m7gvjn7t2w" path="res://assets/sprites/dragons/DP_drac05_Anim.png" id="1_f3ong"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_yrrwj"] +atlas = ExtResource("1_f3ong") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ja57i"] +atlas = ExtResource("1_f3ong") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ejeov"] +atlas = ExtResource("1_f3ong") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ussad"] +atlas = ExtResource("1_f3ong") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_prirb"] +atlas = ExtResource("1_f3ong") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_07rsg"] +atlas = ExtResource("1_f3ong") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0wmao"] +atlas = ExtResource("1_f3ong") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_abuf0"] +atlas = ExtResource("1_f3ong") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kdbgm"] +atlas = ExtResource("1_f3ong") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7mxbr"] +atlas = ExtResource("1_f3ong") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hrq48"] +atlas = ExtResource("1_f3ong") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_femvo"] +atlas = ExtResource("1_f3ong") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_up28x"] +atlas = ExtResource("1_f3ong") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lh724"] +atlas = ExtResource("1_f3ong") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yrrwj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ja57i") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ejeov") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ussad") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_prirb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_07rsg") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0wmao") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_abuf0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kdbgm") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7mxbr") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_hrq48") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_femvo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_up28x") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lh724") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/orange.tres b/assets/animations/dragons/orange.tres deleted file mode 100644 index 6e6fb1c..0000000 --- a/assets/animations/dragons/orange.tres +++ /dev/null @@ -1,119 +0,0 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://buvaij5fn2jkk"] - -[ext_resource type="Texture2D" uid="uid://blej4jyd3oup1" path="res://assets/sprites/dragons/DP_drac04_Anim.png" id="1_hgmmo"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_ub7hq"] -atlas = ExtResource("1_hgmmo") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_frclk"] -atlas = ExtResource("1_hgmmo") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_55hsi"] -atlas = ExtResource("1_hgmmo") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_dhrkn"] -atlas = ExtResource("1_hgmmo") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_7h6a8"] -atlas = ExtResource("1_hgmmo") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_hk7mw"] -atlas = ExtResource("1_hgmmo") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_4rwpa"] -atlas = ExtResource("1_hgmmo") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_p1ygt"] -atlas = ExtResource("1_hgmmo") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3tl36"] -atlas = ExtResource("1_hgmmo") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_oqwn7"] -atlas = ExtResource("1_hgmmo") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_21i6q"] -atlas = ExtResource("1_hgmmo") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_as7nj"] -atlas = ExtResource("1_hgmmo") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m3eui"] -atlas = ExtResource("1_hgmmo") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_i7kqd"] -atlas = ExtResource("1_hgmmo") -region = Rect2(324, 108, 108, 108) - -[resource] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_ub7hq") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_frclk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_55hsi") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dhrkn") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_7h6a8") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_hk7mw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_4rwpa") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_p1ygt") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3tl36") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_oqwn7") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_21i6q") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_as7nj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m3eui") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_i7kqd") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] diff --git a/assets/animations/dragons/pink.tres b/assets/animations/dragons/pink.tres deleted file mode 100644 index c08e30d..0000000 --- a/assets/animations/dragons/pink.tres +++ /dev/null @@ -1,119 +0,0 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://chw5o81g1w8qp"] - -[ext_resource type="Texture2D" uid="uid://ig3pbqrpnm7u" path="res://assets/sprites/dragons/DP_drac03_Anim.png" id="1_0rxrn"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_mmj1o"] -atlas = ExtResource("1_0rxrn") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_biwbj"] -atlas = ExtResource("1_0rxrn") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_e86o5"] -atlas = ExtResource("1_0rxrn") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_5exht"] -atlas = ExtResource("1_0rxrn") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_62vta"] -atlas = ExtResource("1_0rxrn") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ijluj"] -atlas = ExtResource("1_0rxrn") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_t186t"] -atlas = ExtResource("1_0rxrn") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_iei0t"] -atlas = ExtResource("1_0rxrn") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_u1l6v"] -atlas = ExtResource("1_0rxrn") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_bk2js"] -atlas = ExtResource("1_0rxrn") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_11k2n"] -atlas = ExtResource("1_0rxrn") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m3pae"] -atlas = ExtResource("1_0rxrn") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_wfq62"] -atlas = ExtResource("1_0rxrn") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0yic0"] -atlas = ExtResource("1_0rxrn") -region = Rect2(324, 108, 108, 108) - -[resource] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_mmj1o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_biwbj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_e86o5") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_5exht") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_62vta") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ijluj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_t186t") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_iei0t") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_u1l6v") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_bk2js") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_11k2n") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m3pae") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_wfq62") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_0yic0") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] diff --git a/assets/animations/dragons/purple.tres b/assets/animations/dragons/purple.tres deleted file mode 100644 index 6162a53..0000000 --- a/assets/animations/dragons/purple.tres +++ /dev/null @@ -1,119 +0,0 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://dmutxyu7jh3d6"] - -[ext_resource type="Texture2D" uid="uid://d21m7gvjn7t2w" path="res://assets/sprites/dragons/DP_drac05_Anim.png" id="2_anvkt"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_tey01"] -atlas = ExtResource("2_anvkt") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_e3p4x"] -atlas = ExtResource("2_anvkt") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_kxp1n"] -atlas = ExtResource("2_anvkt") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_c6xgx"] -atlas = ExtResource("2_anvkt") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_anvkt"] -atlas = ExtResource("2_anvkt") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_r2n4o"] -atlas = ExtResource("2_anvkt") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_gfwqi"] -atlas = ExtResource("2_anvkt") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_vglir"] -atlas = ExtResource("2_anvkt") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_8p844"] -atlas = ExtResource("2_anvkt") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_6j6s6"] -atlas = ExtResource("2_anvkt") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_yy5o8"] -atlas = ExtResource("2_anvkt") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_df7rw"] -atlas = ExtResource("2_anvkt") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_j0r56"] -atlas = ExtResource("2_anvkt") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_vkmfp"] -atlas = ExtResource("2_anvkt") -region = Rect2(324, 108, 108, 108) - -[resource] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_tey01") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_e3p4x") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kxp1n") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_c6xgx") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_anvkt") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_r2n4o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_gfwqi") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_vglir") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_8p844") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_6j6s6") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_yy5o8") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_df7rw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_j0r56") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_vkmfp") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] diff --git a/assets/animations/dragons/rosa.tres b/assets/animations/dragons/rosa.tres new file mode 100644 index 0000000..9e30777 --- /dev/null +++ b/assets/animations/dragons/rosa.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://byt01eiqq6set"] + +[ext_resource type="Texture2D" uid="uid://ig3pbqrpnm7u" path="res://assets/sprites/dragons/DP_drac03_Anim.png" id="1_m4sxj"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_f7m8a"] +atlas = ExtResource("1_m4sxj") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nafcc"] +atlas = ExtResource("1_m4sxj") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_a3w85"] +atlas = ExtResource("1_m4sxj") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_o7xst"] +atlas = ExtResource("1_m4sxj") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u3vb2"] +atlas = ExtResource("1_m4sxj") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lgfao"] +atlas = ExtResource("1_m4sxj") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s8edn"] +atlas = ExtResource("1_m4sxj") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lq16e"] +atlas = ExtResource("1_m4sxj") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xcin1"] +atlas = ExtResource("1_m4sxj") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wv0f5"] +atlas = ExtResource("1_m4sxj") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_b1anw"] +atlas = ExtResource("1_m4sxj") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qxmjr"] +atlas = ExtResource("1_m4sxj") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lus7l"] +atlas = ExtResource("1_m4sxj") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8l3dm"] +atlas = ExtResource("1_m4sxj") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_f7m8a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nafcc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_a3w85") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_o7xst") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_u3vb2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lgfao") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s8edn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lq16e") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xcin1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wv0f5") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_b1anw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qxmjr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lus7l") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8l3dm") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/taronja.tres b/assets/animations/dragons/taronja.tres new file mode 100644 index 0000000..8d8b8ff --- /dev/null +++ b/assets/animations/dragons/taronja.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://eewnnh458hux"] + +[ext_resource type="Texture2D" uid="uid://blej4jyd3oup1" path="res://assets/sprites/dragons/DP_drac04_Anim.png" id="1_ng7ie"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_un46y"] +atlas = ExtResource("1_ng7ie") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6sc05"] +atlas = ExtResource("1_ng7ie") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bk8fb"] +atlas = ExtResource("1_ng7ie") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4rtcn"] +atlas = ExtResource("1_ng7ie") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_k80y2"] +atlas = ExtResource("1_ng7ie") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mp7mu"] +atlas = ExtResource("1_ng7ie") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7awqb"] +atlas = ExtResource("1_ng7ie") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qagc0"] +atlas = ExtResource("1_ng7ie") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2s8wk"] +atlas = ExtResource("1_ng7ie") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kq5if"] +atlas = ExtResource("1_ng7ie") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t1wlu"] +atlas = ExtResource("1_ng7ie") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_82l4f"] +atlas = ExtResource("1_ng7ie") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mi1ns"] +atlas = ExtResource("1_ng7ie") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jkrmy"] +atlas = ExtResource("1_ng7ie") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_un46y") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6sc05") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bk8fb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_4rtcn") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_k80y2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mp7mu") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7awqb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qagc0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2s8wk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kq5if") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_t1wlu") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_82l4f") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mi1ns") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jkrmy") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/dragons/verd.tres b/assets/animations/dragons/verd.tres new file mode 100644 index 0000000..7242a2f --- /dev/null +++ b/assets/animations/dragons/verd.tres @@ -0,0 +1,119 @@ +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://duxxw4mfxql3c"] + +[ext_resource type="Texture2D" uid="uid://f4c3ib4p7gcy" path="res://assets/sprites/dragons/DP_drac01_Anim.png" id="1_4rvgc"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_x822l"] +atlas = ExtResource("1_4rvgc") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_l5gib"] +atlas = ExtResource("1_4rvgc") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8hd5r"] +atlas = ExtResource("1_4rvgc") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_crcff"] +atlas = ExtResource("1_4rvgc") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_f7tkc"] +atlas = ExtResource("1_4rvgc") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_183wa"] +atlas = ExtResource("1_4rvgc") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ww7bl"] +atlas = ExtResource("1_4rvgc") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_auf5o"] +atlas = ExtResource("1_4rvgc") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gmmhw"] +atlas = ExtResource("1_4rvgc") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j4sk3"] +atlas = ExtResource("1_4rvgc") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pe34j"] +atlas = ExtResource("1_4rvgc") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6gvnx"] +atlas = ExtResource("1_4rvgc") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7g40m"] +atlas = ExtResource("1_4rvgc") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6hge5"] +atlas = ExtResource("1_4rvgc") +region = Rect2(324, 108, 108, 108) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_x822l") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_l5gib") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8hd5r") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_crcff") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_f7tkc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_183wa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ww7bl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_auf5o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_gmmhw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_j4sk3") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_pe34j") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6gvnx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7g40m") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6hge5") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/hats/barretina.tres b/assets/animations/hats/barretina.tres index 976d91b..a5c06dd 100644 --- a/assets/animations/hats/barretina.tres +++ b/assets/animations/hats/barretina.tres @@ -1,3 +1,119 @@ -[gd_resource type="SpriteFrames" format=3 uid="uid://cwxqw54jvqryh"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://ccxyplt2t7t6y"] + +[ext_resource type="Texture2D" uid="uid://blkh88mh1rnm" path="res://assets/sprites/hats/DP_barret_barretina_Anim.png" id="1_nds5y"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_gde4a"] +atlas = ExtResource("1_nds5y") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e3yq5"] +atlas = ExtResource("1_nds5y") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_olugv"] +atlas = ExtResource("1_nds5y") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vayoa"] +atlas = ExtResource("1_nds5y") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7lo45"] +atlas = ExtResource("1_nds5y") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8tpmy"] +atlas = ExtResource("1_nds5y") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e403u"] +atlas = ExtResource("1_nds5y") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e366r"] +atlas = ExtResource("1_nds5y") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ylcln"] +atlas = ExtResource("1_nds5y") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2xe73"] +atlas = ExtResource("1_nds5y") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dakrn"] +atlas = ExtResource("1_nds5y") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_q80c7"] +atlas = ExtResource("1_nds5y") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bhxca"] +atlas = ExtResource("1_nds5y") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m466e"] +atlas = ExtResource("1_nds5y") +region = Rect2(324, 108, 108, 108) [resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_gde4a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e3yq5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_olugv") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vayoa") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_7lo45") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8tpmy") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e403u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e366r") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ylcln") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2xe73") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_dakrn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_q80c7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bhxca") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m466e") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/assets/animations/hats/casc.tres b/assets/animations/hats/casc.tres index 612bff6..d43a448 100644 --- a/assets/animations/hats/casc.tres +++ b/assets/animations/hats/casc.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://okcrgispsiyh"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://ci2is31ratmsd"] [ext_resource type="Texture2D" uid="uid://uchf8kc02nq2" path="res://assets/sprites/hats/DP_barret_casc_Anim.png" id="1_v5wkj"] -[sub_resource type="AtlasTexture" id="AtlasTexture_rnyfi"] +[sub_resource type="AtlasTexture" id="AtlasTexture_v5wkj"] atlas = ExtResource("1_v5wkj") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_an2bm"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rnyfi"] atlas = ExtResource("1_v5wkj") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_83lh8"] +[sub_resource type="AtlasTexture" id="AtlasTexture_an2bm"] atlas = ExtResource("1_v5wkj") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_04ex5"] +[sub_resource type="AtlasTexture" id="AtlasTexture_83lh8"] atlas = ExtResource("1_v5wkj") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_6sbcy"] +[sub_resource type="AtlasTexture" id="AtlasTexture_04ex5"] atlas = ExtResource("1_v5wkj") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_1olxv"] +[sub_resource type="AtlasTexture" id="AtlasTexture_6sbcy"] atlas = ExtResource("1_v5wkj") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_3bvwv"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1olxv"] atlas = ExtResource("1_v5wkj") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_nhgsj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3bvwv"] atlas = ExtResource("1_v5wkj") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_ixq2b"] +[sub_resource type="AtlasTexture" id="AtlasTexture_nhgsj"] atlas = ExtResource("1_v5wkj") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_pak8g"] +[sub_resource type="AtlasTexture" id="AtlasTexture_ixq2b"] atlas = ExtResource("1_v5wkj") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_wqor3"] +[sub_resource type="AtlasTexture" id="AtlasTexture_pak8g"] atlas = ExtResource("1_v5wkj") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_rjvh1"] +[sub_resource type="AtlasTexture" id="AtlasTexture_wqor3"] atlas = ExtResource("1_v5wkj") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_sqqba"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rjvh1"] atlas = ExtResource("1_v5wkj") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_ospjs"] +[sub_resource type="AtlasTexture" id="AtlasTexture_sqqba"] atlas = ExtResource("1_v5wkj") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_v5wkj") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_rnyfi") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_83lh8") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_04ex5") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_04ex5") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_6sbcy") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ixq2b") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_pak8g") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_pak8g") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_wqor3") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_sqqba") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ospjs") }], "loop": true, "name": &"walk", diff --git a/assets/animations/hats/copa.tres b/assets/animations/hats/copa.tres index f5b0168..094de9d 100644 --- a/assets/animations/hats/copa.tres +++ b/assets/animations/hats/copa.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://deujtfpb6uodr"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b80fhqafet4su"] [ext_resource type="Texture2D" uid="uid://cikq8k32v8ann" path="res://assets/sprites/hats/DP_barret_copa_Anim.png" id="1_lexmk"] -[sub_resource type="AtlasTexture" id="AtlasTexture_50j2j"] +[sub_resource type="AtlasTexture" id="AtlasTexture_lexmk"] atlas = ExtResource("1_lexmk") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_1gtgj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_50j2j"] atlas = ExtResource("1_lexmk") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_j1iax"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1gtgj"] atlas = ExtResource("1_lexmk") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_dkc5t"] +[sub_resource type="AtlasTexture" id="AtlasTexture_j1iax"] atlas = ExtResource("1_lexmk") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_12efb"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dkc5t"] atlas = ExtResource("1_lexmk") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_fqhbc"] +[sub_resource type="AtlasTexture" id="AtlasTexture_12efb"] atlas = ExtResource("1_lexmk") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_c4e6a"] +[sub_resource type="AtlasTexture" id="AtlasTexture_fqhbc"] atlas = ExtResource("1_lexmk") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_81d3g"] +[sub_resource type="AtlasTexture" id="AtlasTexture_c4e6a"] atlas = ExtResource("1_lexmk") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_3edwv"] +[sub_resource type="AtlasTexture" id="AtlasTexture_81d3g"] atlas = ExtResource("1_lexmk") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_3dbo2"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3edwv"] atlas = ExtResource("1_lexmk") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_0fupp"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3dbo2"] atlas = ExtResource("1_lexmk") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_o4nce"] +[sub_resource type="AtlasTexture" id="AtlasTexture_0fupp"] atlas = ExtResource("1_lexmk") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_phb2t"] +[sub_resource type="AtlasTexture" id="AtlasTexture_o4nce"] atlas = ExtResource("1_lexmk") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_vggro"] +[sub_resource type="AtlasTexture" id="AtlasTexture_phb2t"] atlas = ExtResource("1_lexmk") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_lexmk") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_50j2j") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_j1iax") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dkc5t") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_dkc5t") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_12efb") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3edwv") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3dbo2") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_3dbo2") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_0fupp") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_phb2t") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_vggro") }], "loop": true, "name": &"walk", diff --git a/assets/animations/hats/corona.tres b/assets/animations/hats/corona.tres index b26e90b..5021784 100644 --- a/assets/animations/hats/corona.tres +++ b/assets/animations/hats/corona.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b86f546ym6u3s"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://8yggiamdjxiq"] [ext_resource type="Texture2D" uid="uid://chdfhv2fysfnc" path="res://assets/sprites/hats/DP_barret_corona_Anim.png" id="1_b2w28"] -[sub_resource type="AtlasTexture" id="AtlasTexture_px20u"] +[sub_resource type="AtlasTexture" id="AtlasTexture_b2w28"] atlas = ExtResource("1_b2w28") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_x46yd"] +[sub_resource type="AtlasTexture" id="AtlasTexture_px20u"] atlas = ExtResource("1_b2w28") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_cu4dy"] +[sub_resource type="AtlasTexture" id="AtlasTexture_x46yd"] atlas = ExtResource("1_b2w28") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_wkf2m"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cu4dy"] atlas = ExtResource("1_b2w28") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_bnv28"] +[sub_resource type="AtlasTexture" id="AtlasTexture_wkf2m"] atlas = ExtResource("1_b2w28") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_8pgb1"] +[sub_resource type="AtlasTexture" id="AtlasTexture_bnv28"] atlas = ExtResource("1_b2w28") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_eiwrn"] +[sub_resource type="AtlasTexture" id="AtlasTexture_8pgb1"] atlas = ExtResource("1_b2w28") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_fgqbr"] +[sub_resource type="AtlasTexture" id="AtlasTexture_eiwrn"] atlas = ExtResource("1_b2w28") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_tx00u"] +[sub_resource type="AtlasTexture" id="AtlasTexture_fgqbr"] atlas = ExtResource("1_b2w28") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_plwgp"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tx00u"] atlas = ExtResource("1_b2w28") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_dckeg"] +[sub_resource type="AtlasTexture" id="AtlasTexture_plwgp"] atlas = ExtResource("1_b2w28") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_5c1ja"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dckeg"] atlas = ExtResource("1_b2w28") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_k3p5f"] +[sub_resource type="AtlasTexture" id="AtlasTexture_5c1ja"] atlas = ExtResource("1_b2w28") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_sp0f4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_k3p5f"] atlas = ExtResource("1_b2w28") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_b2w28") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_px20u") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_cu4dy") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_wkf2m") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_wkf2m") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_bnv28") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tx00u") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_plwgp") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_plwgp") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_dckeg") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_k3p5f") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_sp0f4") }], "loop": true, "name": &"walk", diff --git a/assets/animations/hats/palla.tres b/assets/animations/hats/palla.tres index 00dc0ef..0ba4968 100644 --- a/assets/animations/hats/palla.tres +++ b/assets/animations/hats/palla.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b2sdrkuvpqyhl"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://c0wthowsa1sbt"] [ext_resource type="Texture2D" uid="uid://cwmkb6rqfiopn" path="res://assets/sprites/hats/DP_barret_palla_Anim.png" id="1_tcv3u"] -[sub_resource type="AtlasTexture" id="AtlasTexture_da6ue"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tcv3u"] atlas = ExtResource("1_tcv3u") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_kw4rt"] +[sub_resource type="AtlasTexture" id="AtlasTexture_da6ue"] atlas = ExtResource("1_tcv3u") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_jv4da"] +[sub_resource type="AtlasTexture" id="AtlasTexture_kw4rt"] atlas = ExtResource("1_tcv3u") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_isbj3"] +[sub_resource type="AtlasTexture" id="AtlasTexture_jv4da"] atlas = ExtResource("1_tcv3u") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_55m84"] +[sub_resource type="AtlasTexture" id="AtlasTexture_isbj3"] atlas = ExtResource("1_tcv3u") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_gjqlb"] +[sub_resource type="AtlasTexture" id="AtlasTexture_55m84"] atlas = ExtResource("1_tcv3u") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_3ko3f"] +[sub_resource type="AtlasTexture" id="AtlasTexture_gjqlb"] atlas = ExtResource("1_tcv3u") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_hv1r2"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3ko3f"] atlas = ExtResource("1_tcv3u") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_68eqo"] +[sub_resource type="AtlasTexture" id="AtlasTexture_hv1r2"] atlas = ExtResource("1_tcv3u") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_abafu"] +[sub_resource type="AtlasTexture" id="AtlasTexture_68eqo"] atlas = ExtResource("1_tcv3u") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_aqiqq"] +[sub_resource type="AtlasTexture" id="AtlasTexture_abafu"] atlas = ExtResource("1_tcv3u") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_rvse7"] +[sub_resource type="AtlasTexture" id="AtlasTexture_aqiqq"] atlas = ExtResource("1_tcv3u") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_t4vtj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rvse7"] atlas = ExtResource("1_tcv3u") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_donk0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_t4vtj"] atlas = ExtResource("1_tcv3u") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_tcv3u") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_da6ue") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_jv4da") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_isbj3") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_isbj3") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_55m84") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_68eqo") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_abafu") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_abafu") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_aqiqq") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_t4vtj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_donk0") }], "loop": true, "name": &"walk", diff --git a/assets/animations/hats/princesa.tres b/assets/animations/hats/princesa.tres index 807d1df..7a7b74f 100644 --- a/assets/animations/hats/princesa.tres +++ b/assets/animations/hats/princesa.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://c6ai0r87uhj4s"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://uy33g2ifbwnu"] [ext_resource type="Texture2D" uid="uid://1a5x8tv4ts0f" path="res://assets/sprites/hats/DP_barret_princesa_Anim.png" id="1_1bd2i"] -[sub_resource type="AtlasTexture" id="AtlasTexture_yfsyi"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1bd2i"] atlas = ExtResource("1_1bd2i") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_aakrx"] +[sub_resource type="AtlasTexture" id="AtlasTexture_yfsyi"] atlas = ExtResource("1_1bd2i") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_b3ldy"] +[sub_resource type="AtlasTexture" id="AtlasTexture_aakrx"] atlas = ExtResource("1_1bd2i") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_7xgra"] +[sub_resource type="AtlasTexture" id="AtlasTexture_b3ldy"] atlas = ExtResource("1_1bd2i") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_do08g"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7xgra"] atlas = ExtResource("1_1bd2i") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_nyj5o"] +[sub_resource type="AtlasTexture" id="AtlasTexture_do08g"] atlas = ExtResource("1_1bd2i") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_uunbt"] +[sub_resource type="AtlasTexture" id="AtlasTexture_nyj5o"] atlas = ExtResource("1_1bd2i") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_n2w2x"] +[sub_resource type="AtlasTexture" id="AtlasTexture_uunbt"] atlas = ExtResource("1_1bd2i") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_tg4yk"] +[sub_resource type="AtlasTexture" id="AtlasTexture_n2w2x"] atlas = ExtResource("1_1bd2i") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_7ysxe"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tg4yk"] atlas = ExtResource("1_1bd2i") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_4n3lf"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7ysxe"] atlas = ExtResource("1_1bd2i") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_8g0c4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_4n3lf"] atlas = ExtResource("1_1bd2i") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_mv71d"] +[sub_resource type="AtlasTexture" id="AtlasTexture_8g0c4"] atlas = ExtResource("1_1bd2i") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_d5of5"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mv71d"] atlas = ExtResource("1_1bd2i") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_1bd2i") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_yfsyi") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_b3ldy") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_7xgra") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_7xgra") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_do08g") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tg4yk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_7ysxe") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_7ysxe") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_4n3lf") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_mv71d") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_d5of5") }], "loop": true, "name": &"walk", diff --git a/assets/animations/shirts/armadura.tres b/assets/animations/shirts/armadura.tres index 8ffc574..a721247 100644 --- a/assets/animations/shirts/armadura.tres +++ b/assets/animations/shirts/armadura.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b7ojkd0itqcx8"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://d3oqg43q07hgx"] [ext_resource type="Texture2D" uid="uid://do2jnyp7khi61" path="res://assets/sprites/shirts/DP_tors_armadura_Anim.png" id="1_qj3ua"] -[sub_resource type="AtlasTexture" id="AtlasTexture_40ca8"] +[sub_resource type="AtlasTexture" id="AtlasTexture_qj3ua"] atlas = ExtResource("1_qj3ua") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_b5s42"] +[sub_resource type="AtlasTexture" id="AtlasTexture_40ca8"] atlas = ExtResource("1_qj3ua") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_j1m1d"] +[sub_resource type="AtlasTexture" id="AtlasTexture_b5s42"] atlas = ExtResource("1_qj3ua") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_3ctjs"] +[sub_resource type="AtlasTexture" id="AtlasTexture_j1m1d"] atlas = ExtResource("1_qj3ua") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_s5nje"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3ctjs"] atlas = ExtResource("1_qj3ua") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_8brq5"] +[sub_resource type="AtlasTexture" id="AtlasTexture_s5nje"] atlas = ExtResource("1_qj3ua") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_2tcdn"] +[sub_resource type="AtlasTexture" id="AtlasTexture_8brq5"] atlas = ExtResource("1_qj3ua") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_dlxxp"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2tcdn"] atlas = ExtResource("1_qj3ua") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_526hu"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dlxxp"] atlas = ExtResource("1_qj3ua") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_5b44k"] +[sub_resource type="AtlasTexture" id="AtlasTexture_526hu"] atlas = ExtResource("1_qj3ua") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_q6nmq"] +[sub_resource type="AtlasTexture" id="AtlasTexture_5b44k"] atlas = ExtResource("1_qj3ua") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_cbwm1"] +[sub_resource type="AtlasTexture" id="AtlasTexture_q6nmq"] atlas = ExtResource("1_qj3ua") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_dvtad"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cbwm1"] atlas = ExtResource("1_qj3ua") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_r3tgl"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dvtad"] atlas = ExtResource("1_qj3ua") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_qj3ua") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_40ca8") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_j1m1d") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3ctjs") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_3ctjs") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_s5nje") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_526hu") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_5b44k") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_5b44k") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_q6nmq") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_dvtad") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_r3tgl") }], "loop": true, "name": &"walk", diff --git a/assets/animations/shirts/faixa.tres b/assets/animations/shirts/faixa.tres index a2841a9..1c339a9 100644 --- a/assets/animations/shirts/faixa.tres +++ b/assets/animations/shirts/faixa.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://dp47llrsgk3c3"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://10jannrmftdx"] [ext_resource type="Texture2D" uid="uid://ckf8ac7yfrpe8" path="res://assets/sprites/shirts/DP_tors_faixa_Anim.png" id="1_21a7t"] -[sub_resource type="AtlasTexture" id="AtlasTexture_38422"] +[sub_resource type="AtlasTexture" id="AtlasTexture_21a7t"] atlas = ExtResource("1_21a7t") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_2mhq4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_38422"] atlas = ExtResource("1_21a7t") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_td7uk"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2mhq4"] atlas = ExtResource("1_21a7t") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_tm7qa"] +[sub_resource type="AtlasTexture" id="AtlasTexture_td7uk"] atlas = ExtResource("1_21a7t") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_kut48"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tm7qa"] atlas = ExtResource("1_21a7t") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_8fcqq"] +[sub_resource type="AtlasTexture" id="AtlasTexture_kut48"] atlas = ExtResource("1_21a7t") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_ksbs5"] +[sub_resource type="AtlasTexture" id="AtlasTexture_8fcqq"] atlas = ExtResource("1_21a7t") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_4hopx"] +[sub_resource type="AtlasTexture" id="AtlasTexture_ksbs5"] atlas = ExtResource("1_21a7t") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_f06ic"] +[sub_resource type="AtlasTexture" id="AtlasTexture_4hopx"] atlas = ExtResource("1_21a7t") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_7xalm"] +[sub_resource type="AtlasTexture" id="AtlasTexture_f06ic"] atlas = ExtResource("1_21a7t") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_cj6h0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7xalm"] atlas = ExtResource("1_21a7t") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_nnm3j"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cj6h0"] atlas = ExtResource("1_21a7t") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_fr1fj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_nnm3j"] atlas = ExtResource("1_21a7t") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_xvp2b"] +[sub_resource type="AtlasTexture" id="AtlasTexture_fr1fj"] atlas = ExtResource("1_21a7t") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_21a7t") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_38422") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_td7uk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_tm7qa") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_tm7qa") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_kut48") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_f06ic") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_7xalm") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_7xalm") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_cj6h0") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fr1fj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xvp2b") }], "loop": true, "name": &"walk", diff --git a/assets/animations/shirts/traje.tres b/assets/animations/shirts/traje.tres index a36716c..db13243 100644 --- a/assets/animations/shirts/traje.tres +++ b/assets/animations/shirts/traje.tres @@ -1,28 +1,28 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://csm1127xw2qoh"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://dsxhfu2ekw7j"] [ext_resource type="Texture2D" uid="uid://cdum44fqvsa71" path="res://assets/sprites/shirts/DP_tors_traje_Anim.png" id="1_6b0p8"] -[sub_resource type="AtlasTexture" id="AtlasTexture_epv7g"] +[sub_resource type="AtlasTexture" id="AtlasTexture_uyq6w"] atlas = ExtResource("1_6b0p8") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_areka"] +[sub_resource type="AtlasTexture" id="AtlasTexture_6b0p8"] atlas = ExtResource("1_6b0p8") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_n44x0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_epv7g"] atlas = ExtResource("1_6b0p8") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_kt4p1"] +[sub_resource type="AtlasTexture" id="AtlasTexture_areka"] atlas = ExtResource("1_6b0p8") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_uyq6w"] +[sub_resource type="AtlasTexture" id="AtlasTexture_n44x0"] atlas = ExtResource("1_6b0p8") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_6b0p8"] +[sub_resource type="AtlasTexture" id="AtlasTexture_kt4p1"] atlas = ExtResource("1_6b0p8") region = Rect2(108, 0, 108, 108) @@ -62,16 +62,16 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_uyq6w") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6b0p8") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_epv7g") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_areka") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_n44x0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kt4p1") }], "loop": true, "name": &"fly", @@ -79,10 +79,10 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_uyq6w") +"texture": SubResource("AtlasTexture_n44x0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_6b0p8") +"texture": SubResource("AtlasTexture_kt4p1") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_xicmt") diff --git a/assets/animations/shirts/tutu.tres b/assets/animations/shirts/tutu.tres index cb5fc70..a3678d4 100644 --- a/assets/animations/shirts/tutu.tres +++ b/assets/animations/shirts/tutu.tres @@ -1,60 +1,60 @@ -[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://bbae8y4w7du3j"] +[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://d4jne76ck2l1w"] [ext_resource type="Texture2D" uid="uid://cs2mds1fjgoi0" path="res://assets/sprites/shirts/DP_tors_tutu_Anim.png" id="1_g26hv"] -[sub_resource type="AtlasTexture" id="AtlasTexture_1s6pj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_g26hv"] atlas = ExtResource("1_g26hv") region = Rect2(0, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_nvh52"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1s6pj"] atlas = ExtResource("1_g26hv") region = Rect2(108, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_i40w0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_nvh52"] atlas = ExtResource("1_g26hv") region = Rect2(216, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_mdjac"] +[sub_resource type="AtlasTexture" id="AtlasTexture_i40w0"] atlas = ExtResource("1_g26hv") region = Rect2(324, 216, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_3n6r8"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mdjac"] atlas = ExtResource("1_g26hv") region = Rect2(0, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_lvejb"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3n6r8"] atlas = ExtResource("1_g26hv") region = Rect2(108, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_adymh"] +[sub_resource type="AtlasTexture" id="AtlasTexture_lvejb"] atlas = ExtResource("1_g26hv") region = Rect2(216, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_rdwbh"] +[sub_resource type="AtlasTexture" id="AtlasTexture_adymh"] atlas = ExtResource("1_g26hv") region = Rect2(324, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_kg1pc"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rdwbh"] atlas = ExtResource("1_g26hv") region = Rect2(432, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_y6n83"] +[sub_resource type="AtlasTexture" id="AtlasTexture_kg1pc"] atlas = ExtResource("1_g26hv") region = Rect2(540, 0, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_kty36"] +[sub_resource type="AtlasTexture" id="AtlasTexture_y6n83"] atlas = ExtResource("1_g26hv") region = Rect2(0, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_butvq"] +[sub_resource type="AtlasTexture" id="AtlasTexture_kty36"] atlas = ExtResource("1_g26hv") region = Rect2(108, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_v4jan"] +[sub_resource type="AtlasTexture" id="AtlasTexture_butvq"] atlas = ExtResource("1_g26hv") region = Rect2(216, 108, 108, 108) -[sub_resource type="AtlasTexture" id="AtlasTexture_vto6e"] +[sub_resource type="AtlasTexture" id="AtlasTexture_v4jan"] atlas = ExtResource("1_g26hv") region = Rect2(324, 108, 108, 108) @@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_g26hv") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_1s6pj") }, { "duration": 1.0, @@ -69,9 +72,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_i40w0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_mdjac") }], "loop": true, "name": &"fly", @@ -79,6 +79,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_mdjac") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_3n6r8") }, { "duration": 1.0, @@ -92,9 +95,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_kg1pc") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_y6n83") }], "loop": true, "name": &"idle", @@ -102,6 +102,9 @@ animations = [{ }, { "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_y6n83") +}, { +"duration": 1.0, "texture": SubResource("AtlasTexture_kty36") }, { "duration": 1.0, @@ -109,9 +112,6 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_v4jan") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_vto6e") }], "loop": true, "name": &"walk", diff --git a/assets/outfits/decor.tres b/assets/outfits/decor.tres index aced588..33b2c54 100644 --- a/assets/outfits/decor.tres +++ b/assets/outfits/decor.tres @@ -1,8 +1,8 @@ -[gd_resource type="Resource" script_class="DragonOutfit" load_steps=5 format=3 uid="uid://ba5684xylts3f"] +[gd_resource type="Resource" script_class="DragonOutfit" load_steps=5 format=3 uid="uid://dkm7d10c1lp2n"] -[ext_resource type="SpriteFrames" uid="uid://b52ph2qg7ovgc" path="res://assets/animations/decor/escut.tres" id="1_7gbys"] -[ext_resource type="SpriteFrames" uid="uid://d3q17wrt8ii17" path="res://assets/animations/decor/espasa.tres" id="2_igpcj"] -[ext_resource type="SpriteFrames" uid="uid://cjoufnwxcvvf4" path="res://assets/animations/decor/rosa.tres" id="3_wdoma"] +[ext_resource type="SpriteFrames" uid="uid://d02qrwmwvxvw2" path="res://assets/animations/decor/escut.tres" id="1_7gbys"] +[ext_resource type="SpriteFrames" uid="uid://ghqhbf88d1j8" path="res://assets/animations/decor/espasa.tres" id="2_igpcj"] +[ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="3_wdoma"] [ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="4_l42ho"] [resource] diff --git a/assets/outfits/dragons.tres b/assets/outfits/dragons.tres index 681af81..08f4be5 100644 --- a/assets/outfits/dragons.tres +++ b/assets/outfits/dragons.tres @@ -1,12 +1,12 @@ -[gd_resource type="Resource" script_class="DragonOutfit" load_steps=8 format=3 uid="uid://bcs60f2k7h0jc"] +[gd_resource type="Resource" script_class="DragonOutfit" load_steps=8 format=3 uid="uid://c03ejnvavmcj5"] -[ext_resource type="SpriteFrames" uid="uid://1yn652crf484" path="res://assets/animations/dragons/blue.tres" id="1_sxi2r"] -[ext_resource type="SpriteFrames" uid="uid://bdri1wjc6eary" path="res://assets/animations/dragons/gray.tres" id="2_7l1b6"] -[ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragons/green.tres" id="3_2i6dq"] -[ext_resource type="SpriteFrames" uid="uid://buvaij5fn2jkk" path="res://assets/animations/dragons/orange.tres" id="4_erkm0"] +[ext_resource type="SpriteFrames" uid="uid://duxxw4mfxql3c" path="res://assets/animations/dragons/verd.tres" id="1_sxi2r"] +[ext_resource type="SpriteFrames" uid="uid://bfviwc5qcl6fj" path="res://assets/animations/dragons/blau.tres" id="2_7l1b6"] +[ext_resource type="SpriteFrames" uid="uid://byt01eiqq6set" path="res://assets/animations/dragons/rosa.tres" id="3_2i6dq"] +[ext_resource type="SpriteFrames" uid="uid://eewnnh458hux" path="res://assets/animations/dragons/taronja.tres" id="4_erkm0"] [ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="4_sxi2r"] -[ext_resource type="SpriteFrames" uid="uid://chw5o81g1w8qp" path="res://assets/animations/dragons/pink.tres" id="5_waqaf"] -[ext_resource type="SpriteFrames" uid="uid://dmutxyu7jh3d6" path="res://assets/animations/dragons/purple.tres" id="6_236cy"] +[ext_resource type="SpriteFrames" uid="uid://rtlmmehjocac" path="res://assets/animations/dragons/lila.tres" id="5_waqaf"] +[ext_resource type="SpriteFrames" uid="uid://8ooldj4ypfj2" path="res://assets/animations/dragons/gris.tres" id="6_236cy"] [resource] script = ExtResource("4_sxi2r") diff --git a/assets/outfits/hats.tres b/assets/outfits/hats.tres index b8e2c47..cf6dd5c 100644 --- a/assets/outfits/hats.tres +++ b/assets/outfits/hats.tres @@ -1,12 +1,12 @@ -[gd_resource type="Resource" script_class="DragonOutfit" load_steps=8 format=3 uid="uid://cnhwn6kfcbjl5"] +[gd_resource type="Resource" script_class="DragonOutfit" load_steps=8 format=3 uid="uid://x063x858re3f"] [ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="1_e7uo0"] -[ext_resource type="SpriteFrames" uid="uid://cwxqw54jvqryh" path="res://assets/animations/hats/barretina.tres" id="1_jhy4n"] -[ext_resource type="SpriteFrames" uid="uid://okcrgispsiyh" path="res://assets/animations/hats/casc.tres" id="2_cmu3h"] -[ext_resource type="SpriteFrames" uid="uid://deujtfpb6uodr" path="res://assets/animations/hats/copa.tres" id="3_330df"] -[ext_resource type="SpriteFrames" uid="uid://b86f546ym6u3s" path="res://assets/animations/hats/corona.tres" id="4_7rdvc"] -[ext_resource type="SpriteFrames" uid="uid://b2sdrkuvpqyhl" path="res://assets/animations/hats/palla.tres" id="5_1scq7"] -[ext_resource type="SpriteFrames" uid="uid://c6ai0r87uhj4s" path="res://assets/animations/hats/princesa.tres" id="6_2f5tc"] +[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="1_jhy4n"] +[ext_resource type="SpriteFrames" uid="uid://ci2is31ratmsd" path="res://assets/animations/hats/casc.tres" id="2_cmu3h"] +[ext_resource type="SpriteFrames" uid="uid://b80fhqafet4su" path="res://assets/animations/hats/copa.tres" id="3_330df"] +[ext_resource type="SpriteFrames" uid="uid://8yggiamdjxiq" path="res://assets/animations/hats/corona.tres" id="4_7rdvc"] +[ext_resource type="SpriteFrames" uid="uid://c0wthowsa1sbt" path="res://assets/animations/hats/palla.tres" id="5_1scq7"] +[ext_resource type="SpriteFrames" uid="uid://uy33g2ifbwnu" path="res://assets/animations/hats/princesa.tres" id="6_2f5tc"] [resource] script = ExtResource("1_e7uo0") diff --git a/assets/outfits/shirts.tres b/assets/outfits/shirts.tres index 4dfd659..93ee53c 100644 --- a/assets/outfits/shirts.tres +++ b/assets/outfits/shirts.tres @@ -1,10 +1,10 @@ -[gd_resource type="Resource" script_class="DragonOutfit" load_steps=6 format=3 uid="uid://etegcak2sphs"] +[gd_resource type="Resource" script_class="DragonOutfit" load_steps=6 format=3 uid="uid://bsydervvb1jpe"] -[ext_resource type="SpriteFrames" uid="uid://b7ojkd0itqcx8" path="res://assets/animations/shirts/armadura.tres" id="1_8ueji"] +[ext_resource type="SpriteFrames" uid="uid://d3oqg43q07hgx" path="res://assets/animations/shirts/armadura.tres" id="1_8ueji"] [ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="1_yaxr2"] -[ext_resource type="SpriteFrames" uid="uid://dp47llrsgk3c3" path="res://assets/animations/shirts/faixa.tres" id="2_rue66"] -[ext_resource type="SpriteFrames" uid="uid://csm1127xw2qoh" path="res://assets/animations/shirts/traje.tres" id="3_rq2qf"] -[ext_resource type="SpriteFrames" uid="uid://bbae8y4w7du3j" path="res://assets/animations/shirts/tutu.tres" id="4_tgfck"] +[ext_resource type="SpriteFrames" uid="uid://10jannrmftdx" path="res://assets/animations/shirts/faixa.tres" id="2_rue66"] +[ext_resource type="SpriteFrames" uid="uid://dsxhfu2ekw7j" path="res://assets/animations/shirts/traje.tres" id="3_rq2qf"] +[ext_resource type="SpriteFrames" uid="uid://d4jne76ck2l1w" path="res://assets/animations/shirts/tutu.tres" id="4_tgfck"] [resource] script = ExtResource("1_yaxr2") diff --git a/assets/sprites/decor/DragonPet_acc_escut.png b/assets/sprites/decor/DragonPet_acc_escut.png deleted file mode 100644 index efc20caf3bbddf5a9ba170dc40032c467482d044..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1178 zcmbVLNoW&M7#`@MTD3P<6o%1*MQ2MU%S;=WG>Jx&TGF7wlW%5Tnz5aET3w2VB=tTc&^*|d#%aSkJMaLXgy!7xqK z$`@!Mo6!tn3#g_eRBRW}4AZf^;v%CDQ&z{lmJ{Q?+`7%NmKozVgtAiB?ZhQ(^^k{q zhPv{`P@kci-122?M@0hzHl~QJ*!_;LRbt$jT@CIvvBB!LarEEY7$fBf(vcgM}7F0DwVe5+ncb-|)a*0&k8N6a#iBeY+#d5hU zl!F5CdPP}PRZ$9vfdCI0yg%qrRN)s}SCj=wwC!48W7!*Wk0zC*8jnO(NeV`lNCTU8e2N?cH+);*yN-?i6RUN47*XQo3F&XN zL3fEz;+Kfa27-dbF5X}{CMo-EwHl3woWP#76`LuK*z8!6HER+Aax|)kP_W3WIAZd8 zNC`slut|oj=n+#68whcAy!pS$6M>Xi>y$q_ry+uNtX(Gt0Ui^hgdLb44+iDO#+wIW z$YyqD^2uto3fE8b7d?1xEkNI>lbvDU1%E(>5wWGt@6PV*j9F!q$tK%oH(|5rqCR+M=5BUKX6`t1 z<4*D*{yh1hApR9wp9>8H>{E*mQfms*r#=*-&_W(83Wicd#X^l|H@i_J_~3>6bM8Ig zIo~<=oO2_^fsNhUyBUVrm>)Dtun)nkbaud6+q7^Qwr#Y(LPtrJ)=`L=tV1l!<~=lq zOBgv*$M4}DhUuVgxk4+2A;Tt~fEqeN>;-^kn4SZ1fb4NhSqqQ3eun$!)@_b;oeXy< zS&#}rAFjEB(;*(6E|%@-aa(t|1N+&Y*Z>0_rihKb2|qI84A-=4z`1cPa%@wDj%T=K zQkB98+ebpoYJ$w$k|eR3E;z_Swq@;Q6-kjrNfl+4mn0*h8>-5-1_$m!r)reUT+10q z8LmcYV2EP9UKi>KfrMkCtn0ccDWanAputB|K1DI_N4we1?mAN(njHugP*w%IcOHjoZFm@ZG{H@5LH@ zAx4yhWkM#}WiV1BlteWWuu4LZ*v}5RzC-HK=Z!yF4%x(^djdPTka%n}$%eZM0Xdzv zk|tetCr@-DH|cKg?BzQc_NS!8`#MgU=@m9P)} z6GEfh9}sRplkFH8D)+-a_uHLIS1&FtEiKM&dAvl=?(6DI7$D9+-F*a}yJ)F63Sx6G zqr>rLxV)M-v*q}~lRp-^Pq746ygOzt z+`BGX-1mQd_wAs2=H%Bes_tX;#-7@_dwl?_ zO@8Gb@oxS|ubsbtGxHyM_;=^xzn8~PUnxGCng8aCAGBX@z1%VJ$uUORGPiE-r{^*- NWb*w*bGG-`nb$B)lM?^{ diff --git a/assets/sprites/decor/DragonPet_acc_espasa.png.import b/assets/sprites/decor/DragonPet_acc_espasa.png.import deleted file mode 100644 index fa80534..0000000 --- a/assets/sprites/decor/DragonPet_acc_espasa.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bkiuuvv4kp1oi" -path="res://.godot/imported/DragonPet_acc_espasa.png-0d25074a5e22603702f6057ab57bdfb4.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/decor/DragonPet_acc_espasa.png" -dest_files=["res://.godot/imported/DragonPet_acc_espasa.png-0d25074a5e22603702f6057ab57bdfb4.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/decor/DragonPet_acc_rosa.png b/assets/sprites/decor/DragonPet_acc_rosa.png deleted file mode 100644 index 0173a2dc1fd25d676127f7bd68f8750225ded4b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1203 zcmbVLU1$_n6duTn1`TaQP-}6R*rK%ab7y9EGef45&FtzzHZHqcT%-l>%-qdRlbJi6 zx#><)gjhk_R1mR+_Ms1Li3$cwOQDnsTAG%oNLx`M_@s#V(5MfBL=e`yo87bz!G~VB z|K~gBJAWS)M)q#(-qy`9%*Nb4vq<-0IxFkC=vwQ!{R!Q+l1zn^aFx_yh?qeKTZqkh za1<30bSB?jKm!cZMci_QRPw{RjXeQ2WrWxZD4Jmg_QV0S#}HvHH0t^W_wc7n9P2s; zcOa3M^1%?Qx%;LS!(h(`5e`%~K9hD~oBo}CuKFkLkm^;R5IZt zouq{jP&<0o!l#q!U}^}+AdyJ{kd@L(N=|EOIgv?cO&}>9Y|f7e^lj9!?NZxqEO;(f z9|{p9I4om4-YJ7Z4HF#IaKOrnAhEj+xW0qy(e7rBR$Mkw=)Q-XY=}L!6=dCAg8=C7 zw-QjP@)}Axyp>QD>O5T}8>m*w0ZAJ|u8nv8Z}3D)N^Dlje=4W*M9Z;xTx|q;S#2fc z)BXu*qm+`yN!nyD6^6?hy8rpgTc>sh*>BzDnNOeoc)1(D|IhZFjYeZ>@#;?cy`B_D zO7z+qOlg1IOCLYanS{zU+zB!{UAE`=w*IuY7&?8 z+K!`dOK&Qt&UIhc%gW~0G6yft{eBiK8`U%0j^A4R`_5-GnXBh!9vqK^$M?VbW`22n dgMZw6i0MDJ@WtUL#x+Wk$z?{&3+Y22JOi2;n}z@Y diff --git a/assets/sprites/decor/DragonPet_acc_rosa.png.import b/assets/sprites/decor/DragonPet_acc_rosa.png.import deleted file mode 100644 index 961d0f3..0000000 --- a/assets/sprites/decor/DragonPet_acc_rosa.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c1b8gp5uf2ehk" -path="res://.godot/imported/DragonPet_acc_rosa.png-1bc66f61f27cc23193c5a9c4de9d2ff3.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/decor/DragonPet_acc_rosa.png" -dest_files=["res://.godot/imported/DragonPet_acc_rosa.png-1bc66f61f27cc23193c5a9c4de9d2ff3.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/hats/DragonPet_barret_barretina.png b/assets/sprites/hats/DragonPet_barret_barretina.png deleted file mode 100644 index 9a68f8c5f4c2b044552931a390be70f50f4a0de8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1161 zcmbVLPe>F|7@x4Hq`X9CQZ$Sa3eCTr*`1xqP1M=VCD)d9p*>Y^X5PA!&b)Ev*{nts zMTa5~Dm{4V*2NNnF43VnL1`~Ka?51iQD z*xE=@)b4DbULbovnWY^KWUVxPzDu_KI9e;F_9N!UX)ou&?HrpWx6&PV$Qe9T0zg$jFDT4sbK7BJRgQ3 z7fKxRhj>v{RbGhku^3Av*kIhnpvt;ITU~<=1Jk!XY$KPBGy(&S;S@utuKD12x!k&9 zH>gF5#Eh>3j~6+Ccbv$vRp|g1;2#VpfTSh2`RVL!6bN_8;S%88|{>D zldOOd9hqYeba7TsG31A{Y)ey(xCqUJ!6r>0vWb`+XMq9BtdfXZ2`gbhD9Uv`8{xY% zvY3`Ksu)izqL>j>C9U?z$zDb3QIfipsbjNlfPrhmx^0`-u3?j#Vzpi$0*w43LL>Du z$X5_XK?QkqOyUH({j}{`C=5EH9Id&mL*Kptt&EQxdNs(Jy#WC+nKa@+Dzhq7EY^t2 z5^k{5pGY}I$Mr@am-SYHF6keiG|JH2xzl{GVNXj-ODWbLJ`rp*HQSQhw@@6t^tEi< z9(u!k)E-Ex(Dm!#{Gs#HTV}_Cm(%C>HlO`I{{Gu?-?Pat`CFfM?)qme&UZYg?q#Na T+@E>aPAE{>^ngCsbMESI6g+tj diff --git a/assets/sprites/hats/DragonPet_barret_barretina.png.import b/assets/sprites/hats/DragonPet_barret_barretina.png.import deleted file mode 100644 index 37e5489..0000000 --- a/assets/sprites/hats/DragonPet_barret_barretina.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://12fv5nymaljj" -path="res://.godot/imported/DragonPet_barret_barretina.png-c34714d149520b48d66d5ee32f5868c1.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/hats/DragonPet_barret_barretina.png" -dest_files=["res://.godot/imported/DragonPet_barret_barretina.png-c34714d149520b48d66d5ee32f5868c1.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/hats/DragonPet_barret_casc.png b/assets/sprites/hats/DragonPet_barret_casc.png deleted file mode 100644 index 200302344642680f89e0534677e78316d2572e44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1220 zcmbVLU1$_n6dusFCd8Ij#Qs=%nG|c$`P-e@*%`CZ&CW&_vTM3o%}{*s&dlBHG&^&r zGdI~ud^2rB8!7ZhsYOv}pQK1$#DbzmBO(gc7aznvh?G89DA*S%NP2g(oAx32&tFRJ=j*CKv0Tvo_{S5o(h082( zoeVpw6vbkYLp68LbcjZ#OBH*1+}0d+XFu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|G^w$N<{mHA7R8mc8@qFd|mpAd&V_?;? z>DQlr-o3SC{q@1#2b&*Fyqk@eQZo}1?>uw)p|a-lz_*KUZa@1z{q)H{>ttrha)zHd U8u!I3$0-XYmB?s!x(^=z4F+e1>;M1& diff --git a/assets/sprites/hats/DragonPet_barret_copa.png.import b/assets/sprites/hats/DragonPet_barret_copa.png.import deleted file mode 100644 index 456f209..0000000 --- a/assets/sprites/hats/DragonPet_barret_copa.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dy46ipxh5g5up" -path="res://.godot/imported/DragonPet_barret_copa.png-b8b5d7726989033eea7ee43edb9fd8c0.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/hats/DragonPet_barret_copa.png" -dest_files=["res://.godot/imported/DragonPet_barret_copa.png-b8b5d7726989033eea7ee43edb9fd8c0.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/hats/DragonPet_barret_corona.png b/assets/sprites/hats/DragonPet_barret_corona.png deleted file mode 100644 index c4679155ea57aefebefaaa5d3a858592580ac8b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1171 zcmbVLO=#3W6iyNUYAd3m)GCCiP{I7|ZZ@0PwbV_jE8T6`E_4M2C&_F#Y?Fz})J=OT zEr^03iiigf3f=^7En*Q5LZRqEK@W-^Jc(B6QNhDH+3r?_;=u>W%)EKud*6HW-j(6} z$0AavJR53v}FVNSGIq=NtQ0Gm+%NG;~MZG)o&pK(pd+L!2$%<;?WUQPg{KT{TWMxg$_Y6y11t8a zDIbnZ<%{N2)l@8|?>OBXs>Fcjno~9yA!3zU^Tfxpd?a7-#~g8A5e62gl3h z)*QP*vr?pHd3|MC6q+}(nqyeFrX!%(W z-=B($nT(={k}iwlfS@E(k}jUmwWJ)A6nPDsbps4s6SiX8Bz6;<`X^S+_z+;^7ZDn7 zwZU)&VH8x5N5|rvK=+K=u7zsBk?4(9Q`VqwUxe0xj~u#DWYu1WfS5`d5{Q>s1H4GPTbq|ZJlXyI?HQr%)6E+jAI!}yFU=gNegPHz@V5EWo38dz9e>IA^>fp0 X)M(d|(tUa1J|RJ6^}P1*#QB+Dl#7EK diff --git a/assets/sprites/hats/DragonPet_barret_corona.png.import b/assets/sprites/hats/DragonPet_barret_corona.png.import deleted file mode 100644 index 5944770..0000000 --- a/assets/sprites/hats/DragonPet_barret_corona.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://ct4ilf6g8fe44" -path="res://.godot/imported/DragonPet_barret_corona.png-443cfb9afeb5411eb2422ba84b8d2355.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/hats/DragonPet_barret_corona.png" -dest_files=["res://.godot/imported/DragonPet_barret_corona.png-443cfb9afeb5411eb2422ba84b8d2355.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/hats/DragonPet_barret_palla.png b/assets/sprites/hats/DragonPet_barret_palla.png deleted file mode 100644 index 715b054efa656975c494e51dd63b6a2eb856d4f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1176 zcmbVLU5FD`6dt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j zYPd_L#k;$s7LZ1xAM|bdDzKix=7fV>lFuYK`bV&AOV^C3giO`o<0h1NRaT-rG*Fd~ zsZmR{R0APN>DpP3pUP#`TsEmm(QHhTav-H?sgxX#B;}NvRN|n^&AS1Cu8F$7ZR)$j zjo+24r+owo_RAR8yKPXcVSHPR~P`-V7;W!<#t;L~o_R7K~D!%p3n>`VIWpxdmx=vO1k<#!;Tfuxd|K2>+ zT*+sW<>vLD7B6nO%x(&OwR3i5WeK95bLmG5;aB_rTuh&|`gYy<-I(r`jL%+vD4d(2 z!t=*&J#h_O+iQd+;epWO;i|Kv$ zvBRHy*Z1&qrTMGHquV|>1}~4^*!_j{;N0mSx4)G9W?uTS4r7WZ6*Z_kX}1UH}j zL%nn9(ClwZZ~T40pWRXa`G@6;8|ts+c6@o^+1m2x^46s@)3?tTW_srq2Jh`<=B69( U9(;ep9-0u7&kkqKrbb`<2a<57*#H0l diff --git a/assets/sprites/shirts/DragonPet_roba_armadura.png.import b/assets/sprites/shirts/DragonPet_roba_armadura.png.import deleted file mode 100644 index 5f555ea..0000000 --- a/assets/sprites/shirts/DragonPet_roba_armadura.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cs0ke244c33t2" -path="res://.godot/imported/DragonPet_roba_armadura.png-3cad0d14b8ca1ac4914a907d8acf7ec5.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/shirts/DragonPet_roba_armadura.png" -dest_files=["res://.godot/imported/DragonPet_roba_armadura.png-3cad0d14b8ca1ac4914a907d8acf7ec5.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/shirts/DragonPet_roba_faixa.png b/assets/sprites/shirts/DragonPet_roba_faixa.png deleted file mode 100644 index ac8e59fff14352008b68fb68d0abfc1a82a4bab6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1209 zcmbVLTWB0r7#>)~8gdb_(gq2KiBN^kZD)2jGiHsOon5=_ZrpAbvoFe?GjldOBr|6+ zbCTUe#Y>;`L8w#+2qJ=55KCJyh4i69rB(E$r43pNQi_(U5X_5$=z2EUjd=)p@W7nQ zKmYgt-+z0%IPrX6&tMP7aecWXW{I77_Eq*p*k13ybBY}YX{JIaNsTsOfVq@S5C%CH zPU8}W_Tt<(c$DKJ)G1eJrI0r);)<}XBQ{;1p*e1Jtm#8*22+6WwBsfD^^2Ey;Mhri zDprsSej3-EBTE6ET$(6bOEZ>k^JC9~(Wb!+xR^rFbZ5QLXeRkhy9T?r#S#xTRp?BT z-y&5h6hWE<7$ihRuw+>V30<@yf)+xDK~#<^lB`LJCdjg(>V~F)&f=N7z^)l3Guv^- zUP-=Asc%S9qtOr>sz`!qNzrv(lA}^IDliQpT=Xbx3SKzewP51V3LKw0!~<=M5RrMB zj95?+;!!OoK!j^TA|A8j zb{t`>Xk9zI;nSL~sA(;u#4-s*$;#s?Ma^htMpH*psjR+@&3Pe(o`t)<9p<}(HTT3C z=>S7Yf-)hq-8LxJ2_<2j_#mo^GI(mr@odrvpKjM^D`XP~&H}cx0dc`*k_~4U0?Nn; zib1s|=r~~uD5j|_c(%!wqM?MX#4QN<4&MI1$&(ld_OR_qpTa=l&Qw|3Cq+p1psn_;`!ZyB}QpX!*m)vFeU>XZgn3 z<;RZ31`-46=^LZBd-Gp`PpGoOeocSl z&E>DZc;x7}f4z4VC4YM9baj2XzuI^B!qBwdI(zd$w6rp~F!x#YO5edRtKY@-AFul2 hl`-MKf$!amT!cHcaq{yQO@}bbTrM+Vo*A#c^)G`_mWTiV diff --git a/assets/sprites/shirts/DragonPet_roba_faixa.png.import b/assets/sprites/shirts/DragonPet_roba_faixa.png.import deleted file mode 100644 index ffc41e3..0000000 --- a/assets/sprites/shirts/DragonPet_roba_faixa.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://d13xg46q5a7as" -path="res://.godot/imported/DragonPet_roba_faixa.png-f4a3eade65583caa1723ed9730e5fa27.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/shirts/DragonPet_roba_faixa.png" -dest_files=["res://.godot/imported/DragonPet_roba_faixa.png-f4a3eade65583caa1723ed9730e5fa27.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/shirts/DragonPet_roba_traje.png b/assets/sprites/shirts/DragonPet_roba_traje.png deleted file mode 100644 index 0e54ef55b24bffb402094eb10609f9ae56f2864d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1195 zcmbVLPiPcZ7@ssfgqQ?+k+u*z9W7LGX5ReU-5GX`CbO$scGq;X;EEo6^X6@Kn#{a$ z=EdElJ;Vm2wI}fp=1_X7hZdCLr69q!_y;cy6cnpaD5VsNr58~zx_y)E#vXzPAH4Uz z?|a|x`}e-@^U2D-;lZ~DIgT4H?zgM#F0ox7=x1khkIvZ9LsSej|+I^SIaa~HV{t7;dz z&KQ>ynv{l?EVo)MsijFInwAyQG-aU5swy%KF`f@7Y>Pp>t!Kf;F^as9dL-Zzi_jr+ zG$*i7*K_d0a(TmW5O*uZY9_Z~C@T_>eLqQTO*^Jl{347^wd2}+h~+Ad$y|ikhcveJ zz^r&Lca$iyXsiQ~$9@IQ+62w{IG{y4C$JaE^<2wz3W~P z*!)CnP`3PVpRgf&bFx&+4`>!6&zwI!NIvd#IzPX6@d*;az292@LJ|@WJq(&(oJq6zt{fqVh}U@X73spZeSt(AWQBT^*ge zy!B$|`WNA$3m?slo;qgUE9Ji*D&3jAxbx_(J)f+6P=BX-`o_0Q{^48yJox*{lU>J0 zmVW(g`Oc3wQEK(^HxR9&XMNXqZ(puIdhNvM<*zD*lkaZ%WA%-pp@%o_9a!w+zLdWH T?(E|0Nj6+DU$HNZAN}+{OWcn& diff --git a/assets/sprites/shirts/DragonPet_roba_traje.png.import b/assets/sprites/shirts/DragonPet_roba_traje.png.import deleted file mode 100644 index 9e92bf8..0000000 --- a/assets/sprites/shirts/DragonPet_roba_traje.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b3xnii6r00hol" -path="res://.godot/imported/DragonPet_roba_traje.png-7284413a39a408ef2e8aaceab10af027.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/shirts/DragonPet_roba_traje.png" -dest_files=["res://.godot/imported/DragonPet_roba_traje.png-7284413a39a408ef2e8aaceab10af027.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/sprites/shirts/DragonPet_roba_tutu.png b/assets/sprites/shirts/DragonPet_roba_tutu.png deleted file mode 100644 index 17e0401c8d49c3d4623c03b9f4bd37855a740870..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1186 zcmbVLUuYCZ7~fVX61^gVH7e+`K~T)@&fe|)*(KLB$=>NkafFI$=WyWq5konyfHp(C??nbHQN@b)PRi$WCMG|@zo&7E!kD+z4k0}?2-x@ zPIAkn3fVrk3wwx-3leVt0NA)9m{5m?uD7yb5SBzBi;~O(phgr`mf8B^s5{RrsyQuP zcSfZoS0cn!MX_8i3+0G_y&+Lj6h#DKF&yTp2JcrK0t4RhTN)NLT(RWo6W8mcKmv#XwJj{x}qci(Y9-WEou8Chu+axRol;3TqNd@k4HU&7NpqH z0Mq1s+)+)DvQc|Ii&h1WXxJFFkwY?ClB0hF(=t^>k4ngh>3qU~5+4i8Q6B23$j4(* zGiJtgge19PXEl7MmWU|nbWDn-;*yjG9jORNYq3rcmb(%uMQLC&j!&RtpoVXY`mST6 zAH}L&9)bjWd5lLIZO~W31p6iIvf+pT*j~xyx9-jFJWQoGXQ$Ri)M~YQ?5=Wy%3qLNPd^o_Rpyu3 znOXWWnbA7(!QcP<(b4oPSg#$}f9YxUw;whfzaM(^+4RZ(hu}}Izgc%-VOZbV{Neg* zhw<;j`%hYazkK@E&EAQHy|=gRxz>An8zkM;?>U{tC!NCX5?`@wtdog|83jKLyp>h>G))%MSUwt*mOe}t*p Lsz>{=bMVAld((_& diff --git a/assets/sprites/shirts/DragonPet_roba_tutu.png.import b/assets/sprites/shirts/DragonPet_roba_tutu.png.import deleted file mode 100644 index d462060..0000000 --- a/assets/sprites/shirts/DragonPet_roba_tutu.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bhfmyrxor0fli" -path="res://.godot/imported/DragonPet_roba_tutu.png-96d7fba9f8e4327bed40a9599fea1b10.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/sprites/shirts/DragonPet_roba_tutu.png" -dest_files=["res://.godot/imported/DragonPet_roba_tutu.png-96d7fba9f8e4327bed40a9599fea1b10.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/scenes/dragon_editor/dragon_editor.tscn b/scenes/dragon_editor/dragon_editor.tscn index b7a01c3..6394f94 100644 --- a/scenes/dragon_editor/dragon_editor.tscn +++ b/scenes/dragon_editor/dragon_editor.tscn @@ -1,23 +1,1104 @@ -[gd_scene load_steps=23 format=3 uid="uid://fut42ruut302"] +[gd_scene load_steps=169 format=3 uid="uid://fut42ruut302"] [ext_resource type="Script" uid="uid://bfuos2kgfgber" path="res://scenes/dragon_editor/dragon_editor.gd" id="1_8vkll"] -[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_vvtct"] -[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_xhgxf"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="4_1ivi1"] -[ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_1ivi1"] -[ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="6_1ivi1"] +[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="2_aystc"] +[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="3_x0448"] +[ext_resource type="Texture2D" uid="uid://c7nmelv0lx3i3" path="res://assets/sprites/decor/DP_acc_escut_Anim.png" id="4_aystc"] +[ext_resource type="Texture2D" uid="uid://drnel2cjwf5dr" path="res://assets/sprites/decor/DP_acc_espasa_Anim.png" id="5_x0448"] +[ext_resource type="Texture2D" uid="uid://dbbcv076jh4ep" path="res://assets/sprites/decor/DP_acc_rosa_Anim.png" id="6_hukd7"] [ext_resource type="Texture2D" uid="uid://dceoy4417v83e" path="res://assets/sprites/ui/DP_UI_CharCreation_BG.png" id="6_udwtk"] [ext_resource type="Script" uid="uid://dxl7onk7x6h8b" path="res://src/draggable.gd" id="7_1vw8k"] -[ext_resource type="Texture2D" uid="uid://cs0ke244c33t2" path="res://assets/sprites/shirts/DragonPet_roba_armadura.png" id="7_giwys"] +[ext_resource type="Texture2D" uid="uid://clp02nlyac2g8" path="res://assets/sprites/dragons/DP_drac02_Anim.png" id="7_6eo4l"] [ext_resource type="Texture2D" uid="uid://bu5xa7tgfk3h3" path="res://assets/sprites/ui/DP_UI_Buttons01.png" id="7_qppok"] +[ext_resource type="Texture2D" uid="uid://c0ix7r57l1swx" path="res://assets/sprites/dragons/DP_drac06_Anim.png" id="8_c4sli"] [ext_resource type="Texture2D" uid="uid://bgpbbkmwt8ysq" path="res://assets/sprites/ui/DP_UI_Button_Text.png" id="8_ofxsr"] -[ext_resource type="Texture2D" uid="uid://onajhbpjtnil" path="res://assets/sprites/decor/DragonPet_acc_escut.png" id="8_udwtk"] [ext_resource type="Script" uid="uid://mhudiyt5gnt1" path="res://scenes/dragon_editor/line_edit.gd" id="9_xhgxf"] +[ext_resource type="Texture2D" uid="uid://f4c3ib4p7gcy" path="res://assets/sprites/dragons/DP_drac01_Anim.png" id="9_xxrn0"] +[ext_resource type="Texture2D" uid="uid://blej4jyd3oup1" path="res://assets/sprites/dragons/DP_drac04_Anim.png" id="10_q2c4g"] +[ext_resource type="Texture2D" uid="uid://ig3pbqrpnm7u" path="res://assets/sprites/dragons/DP_drac03_Anim.png" id="11_tjfw2"] +[ext_resource type="Texture2D" uid="uid://d21m7gvjn7t2w" path="res://assets/sprites/dragons/DP_drac05_Anim.png" id="12_53w5y"] [ext_resource type="Texture2D" uid="uid://bdrm1nxydvf5t" path="res://assets/sprites/ui/DP_UI_Label_Big.png" id="12_qppok"] [ext_resource type="StyleBox" uid="uid://bhe580k04w6ve" path="res://assets/styles/style_box_empty.tres" id="14_bh8dj"] +[sub_resource type="Resource" id="Resource_nlx3a"] +script = ExtResource("3_x0448") +allow_null = true +outfits = Array[SpriteFrames]([ExtResource("2_aystc")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + +[sub_resource type="Resource" id="Resource_1dq4x"] +script = ExtResource("3_x0448") +allow_null = true +outfits = Array[SpriteFrames]([ExtResource("2_aystc")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + +[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] +atlas = ExtResource("4_aystc") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] +atlas = ExtResource("4_aystc") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] +atlas = ExtResource("4_aystc") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] +atlas = ExtResource("4_aystc") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] +atlas = ExtResource("4_aystc") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] +atlas = ExtResource("4_aystc") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] +atlas = ExtResource("4_aystc") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_26ptf"] +atlas = ExtResource("4_aystc") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_amy8y"] +atlas = ExtResource("4_aystc") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_knwp6"] +atlas = ExtResource("4_aystc") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yfy00"] +atlas = ExtResource("4_aystc") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bnccx"] +atlas = ExtResource("4_aystc") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hc8ch"] +atlas = ExtResource("4_aystc") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0nuxw"] +atlas = ExtResource("4_aystc") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_gqmmt"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_n1vju") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m1nfd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3fnsk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_njuvk") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_mq26c") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_p6fb4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fwa0p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_26ptf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_amy8y") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_knwp6") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yfy00") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bnccx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hc8ch") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0nuxw") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] +atlas = ExtResource("5_x0448") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] +atlas = ExtResource("5_x0448") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] +atlas = ExtResource("5_x0448") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] +atlas = ExtResource("5_x0448") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] +atlas = ExtResource("5_x0448") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] +atlas = ExtResource("5_x0448") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] +atlas = ExtResource("5_x0448") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] +atlas = ExtResource("5_x0448") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] +atlas = ExtResource("5_x0448") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] +atlas = ExtResource("5_x0448") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] +atlas = ExtResource("5_x0448") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] +atlas = ExtResource("5_x0448") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] +atlas = ExtResource("5_x0448") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xsi0i"] +atlas = ExtResource("5_x0448") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_yc10j"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_qwppa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1uixo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xccp0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nyede") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_cxse4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_edjcl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jhak8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t2351") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uw07h") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xcrai") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_tywya") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7pu4u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i1w1o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xsi0i") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] +atlas = ExtResource("6_hukd7") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] +atlas = ExtResource("6_hukd7") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] +atlas = ExtResource("6_hukd7") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] +atlas = ExtResource("6_hukd7") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] +atlas = ExtResource("6_hukd7") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] +atlas = ExtResource("6_hukd7") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] +atlas = ExtResource("6_hukd7") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] +atlas = ExtResource("6_hukd7") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] +atlas = ExtResource("6_hukd7") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] +atlas = ExtResource("6_hukd7") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] +atlas = ExtResource("6_hukd7") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] +atlas = ExtResource("6_hukd7") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] +atlas = ExtResource("6_hukd7") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pral7"] +atlas = ExtResource("6_hukd7") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_rhebu"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ifv4k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uera2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0q8tn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_f2bes") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_albls") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mlrdx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dipuj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_d0xss") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mpdbr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dy3ut") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_gi66g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_am77p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_asxml") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pral7") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="Resource" id="Resource_if2jb"] +script = ExtResource("3_x0448") +allow_null = true +outfits = Array[SpriteFrames]([SubResource("SpriteFrames_gqmmt"), SubResource("SpriteFrames_yc10j"), SubResource("SpriteFrames_rhebu")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + +[sub_resource type="AtlasTexture" id="AtlasTexture_mmj1o"] +atlas = ExtResource("7_6eo4l") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_biwbj"] +atlas = ExtResource("7_6eo4l") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e86o5"] +atlas = ExtResource("7_6eo4l") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5exht"] +atlas = ExtResource("7_6eo4l") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_62vta"] +atlas = ExtResource("7_6eo4l") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ijluj"] +atlas = ExtResource("7_6eo4l") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t186t"] +atlas = ExtResource("7_6eo4l") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_iei0t"] +atlas = ExtResource("7_6eo4l") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u1l6v"] +atlas = ExtResource("7_6eo4l") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bk2js"] +atlas = ExtResource("7_6eo4l") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_11k2n"] +atlas = ExtResource("7_6eo4l") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m3pae"] +atlas = ExtResource("7_6eo4l") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wfq62"] +atlas = ExtResource("7_6eo4l") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0yic0"] +atlas = ExtResource("7_6eo4l") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_0hqgm"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_mmj1o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_biwbj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e86o5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5exht") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_62vta") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ijluj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t186t") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_iei0t") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_u1l6v") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bk2js") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_11k2n") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m3pae") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wfq62") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0yic0") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_vs0c3"] +atlas = ExtResource("8_c4sli") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wiled"] +atlas = ExtResource("8_c4sli") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3qimm"] +atlas = ExtResource("8_c4sli") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pgupe"] +atlas = ExtResource("8_c4sli") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nmisb"] +atlas = ExtResource("8_c4sli") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ply4o"] +atlas = ExtResource("8_c4sli") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uldnr"] +atlas = ExtResource("8_c4sli") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cuv31"] +atlas = ExtResource("8_c4sli") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_68pbo"] +atlas = ExtResource("8_c4sli") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_sh07d"] +atlas = ExtResource("8_c4sli") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qc1gi"] +atlas = ExtResource("8_c4sli") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_58c6e"] +atlas = ExtResource("8_c4sli") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lvnxr"] +atlas = ExtResource("8_c4sli") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6ndl6"] +atlas = ExtResource("8_c4sli") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_o77k0"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_vs0c3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wiled") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3qimm") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pgupe") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_nmisb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ply4o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uldnr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_cuv31") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_68pbo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_sh07d") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_qc1gi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_58c6e") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lvnxr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6ndl6") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_7wf4o"] +atlas = ExtResource("9_xxrn0") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_06adf"] +atlas = ExtResource("9_xxrn0") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_r1nr2"] +atlas = ExtResource("9_xxrn0") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ob486"] +atlas = ExtResource("9_xxrn0") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vxc6x"] +atlas = ExtResource("9_xxrn0") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jbw75"] +atlas = ExtResource("9_xxrn0") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ei2lw"] +atlas = ExtResource("9_xxrn0") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_q6cr0"] +atlas = ExtResource("9_xxrn0") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m3lw6"] +atlas = ExtResource("9_xxrn0") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kdf45"] +atlas = ExtResource("9_xxrn0") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1w6rw"] +atlas = ExtResource("9_xxrn0") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_80v1m"] +atlas = ExtResource("9_xxrn0") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nv7os"] +atlas = ExtResource("9_xxrn0") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ly6pi"] +atlas = ExtResource("9_xxrn0") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_7b2ll"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_7wf4o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_06adf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_r1nr2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ob486") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_vxc6x") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jbw75") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ei2lw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_q6cr0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m3lw6") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kdf45") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_1w6rw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_80v1m") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nv7os") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ly6pi") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_ub7hq"] +atlas = ExtResource("10_q2c4g") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_frclk"] +atlas = ExtResource("10_q2c4g") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_55hsi"] +atlas = ExtResource("10_q2c4g") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dhrkn"] +atlas = ExtResource("10_q2c4g") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7h6a8"] +atlas = ExtResource("10_q2c4g") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hk7mw"] +atlas = ExtResource("10_q2c4g") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4rwpa"] +atlas = ExtResource("10_q2c4g") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_p1ygt"] +atlas = ExtResource("10_q2c4g") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3tl36"] +atlas = ExtResource("10_q2c4g") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_oqwn7"] +atlas = ExtResource("10_q2c4g") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_21i6q"] +atlas = ExtResource("10_q2c4g") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_as7nj"] +atlas = ExtResource("10_q2c4g") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m3eui"] +atlas = ExtResource("10_q2c4g") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i7kqd"] +atlas = ExtResource("10_q2c4g") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_4orem"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ub7hq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_frclk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_55hsi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dhrkn") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_7h6a8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hk7mw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_4rwpa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_p1ygt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3tl36") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_oqwn7") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_21i6q") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_as7nj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m3eui") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i7kqd") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_x6jc7"] +atlas = ExtResource("11_tjfw2") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jouv2"] +atlas = ExtResource("11_tjfw2") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hyevi"] +atlas = ExtResource("11_tjfw2") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hym2s"] +atlas = ExtResource("11_tjfw2") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4jy8g"] +atlas = ExtResource("11_tjfw2") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kupkf"] +atlas = ExtResource("11_tjfw2") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jtr4g"] +atlas = ExtResource("11_tjfw2") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m55cp"] +atlas = ExtResource("11_tjfw2") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_r3mni"] +atlas = ExtResource("11_tjfw2") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ncrm1"] +atlas = ExtResource("11_tjfw2") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_r4roq"] +atlas = ExtResource("11_tjfw2") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bobdh"] +atlas = ExtResource("11_tjfw2") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wem1g"] +atlas = ExtResource("11_tjfw2") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tedt2"] +atlas = ExtResource("11_tjfw2") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_xqwu6"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_x6jc7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jouv2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hyevi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hym2s") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_4jy8g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kupkf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jtr4g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m55cp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_r3mni") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ncrm1") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_r4roq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bobdh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wem1g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_tedt2") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_tey01"] +atlas = ExtResource("12_53w5y") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e3p4x"] +atlas = ExtResource("12_53w5y") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kxp1n"] +atlas = ExtResource("12_53w5y") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_c6xgx"] +atlas = ExtResource("12_53w5y") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_anvkt"] +atlas = ExtResource("12_53w5y") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_r2n4o"] +atlas = ExtResource("12_53w5y") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gfwqi"] +atlas = ExtResource("12_53w5y") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vglir"] +atlas = ExtResource("12_53w5y") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8p844"] +atlas = ExtResource("12_53w5y") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_6j6s6"] +atlas = ExtResource("12_53w5y") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yy5o8"] +atlas = ExtResource("12_53w5y") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_df7rw"] +atlas = ExtResource("12_53w5y") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j0r56"] +atlas = ExtResource("12_53w5y") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vkmfp"] +atlas = ExtResource("12_53w5y") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_y4fkp"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_tey01") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e3p4x") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kxp1n") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_c6xgx") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_anvkt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_r2n4o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_gfwqi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vglir") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8p844") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_6j6s6") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yy5o8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_df7rw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_j0r56") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vkmfp") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="Resource" id="Resource_ttj25"] +script = ExtResource("3_x0448") +allow_null = false +outfits = Array[SpriteFrames]([SubResource("SpriteFrames_0hqgm"), SubResource("SpriteFrames_o77k0"), SubResource("SpriteFrames_7b2ll"), SubResource("SpriteFrames_4orem"), SubResource("SpriteFrames_xqwu6"), SubResource("SpriteFrames_y4fkp")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f0h1k"] +[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ofxsr"] +load_path = "res://.godot/imported/DragonPet_barret_barretina.png-c34714d149520b48d66d5ee32f5868c1.ctex" + +[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mc14k"] +load_path = "res://.godot/imported/DragonPet_roba_armadura.png-3cad0d14b8ca1ac4914a907d8acf7ec5.ctex" + +[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_jtpn4"] +load_path = "res://.godot/imported/DragonPet_acc_escut.png-ab5c138b3d2900950a73fcd404b97a42.ctex" + [sub_resource type="AtlasTexture" id="AtlasTexture_ofxsr"] atlas = ExtResource("7_qppok") region = Rect2(0, 40, 38, 40) @@ -52,10 +1133,10 @@ borderless = true always_on_top = true transparent = true script = ExtResource("1_8vkll") -hat_outfits = ExtResource("2_vvtct") -shirt_outfits = ExtResource("3_xhgxf") -shoes_outfits = ExtResource("4_1ivi1") -dragon_colors = ExtResource("5_1ivi1") +hat_outfits = SubResource("Resource_nlx3a") +shirt_outfits = SubResource("Resource_1dq4x") +shoes_outfits = SubResource("Resource_if2jb") +dragon_colors = SubResource("Resource_ttj25") [node name="CanvasLayer" type="CanvasLayer" parent="."] @@ -84,7 +1165,7 @@ offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("6_1ivi1") +texture = SubResource("CompressedTexture2D_ofxsr") [node name="Shirt" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 @@ -99,7 +1180,7 @@ offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_giwys") +texture = SubResource("CompressedTexture2D_mc14k") [node name="Shoes" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 @@ -114,7 +1195,7 @@ offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_udwtk") +texture = SubResource("CompressedTexture2D_jtpn4") [node name="Dragger" type="Control" parent="CanvasLayer"] layout_mode = 3 diff --git a/scenes/dragon_list/dragon_properties.tscn b/scenes/dragon_list/dragon_properties.tscn index 54b32a2..abf93c3 100644 --- a/scenes/dragon_list/dragon_properties.tscn +++ b/scenes/dragon_list/dragon_properties.tscn @@ -1,11 +1,379 @@ -[gd_scene load_steps=7 format=3 uid="uid://bs45hvb2mpw4k"] +[gd_scene load_steps=57 format=3 uid="uid://bs45hvb2mpw4k"] [ext_resource type="Texture2D" uid="uid://fdqnc2qrrvn1" path="res://assets/sprites/icon.svg" id="1_4i8li"] [ext_resource type="Script" uid="uid://d1bq5f35wptxt" path="res://scenes/dragon_list/dragon_list_entry.gd" id="1_s7he7"] [ext_resource type="FontFile" uid="uid://dn8qanm8tctb2" path="res://assets/fonts/Montserrat-Regular.ttf" id="2_s7he7"] -[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_y33em"] -[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_84ie0"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="4_xvxt0"] +[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="2_xvxt0"] +[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="3_eop0l"] +[ext_resource type="Texture2D" uid="uid://c7nmelv0lx3i3" path="res://assets/sprites/decor/DP_acc_escut_Anim.png" id="4_xvxt0"] +[ext_resource type="Texture2D" uid="uid://drnel2cjwf5dr" path="res://assets/sprites/decor/DP_acc_espasa_Anim.png" id="5_eop0l"] +[ext_resource type="Texture2D" uid="uid://dbbcv076jh4ep" path="res://assets/sprites/decor/DP_acc_rosa_Anim.png" id="6_chh13"] + +[sub_resource type="Resource" id="Resource_nlx3a"] +script = ExtResource("3_eop0l") +allow_null = true +outfits = Array[SpriteFrames]([ExtResource("2_xvxt0")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + +[sub_resource type="Resource" id="Resource_1dq4x"] +script = ExtResource("3_eop0l") +allow_null = true +outfits = Array[SpriteFrames]([ExtResource("2_xvxt0")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + +[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] +atlas = ExtResource("4_xvxt0") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] +atlas = ExtResource("4_xvxt0") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] +atlas = ExtResource("4_xvxt0") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] +atlas = ExtResource("4_xvxt0") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] +atlas = ExtResource("4_xvxt0") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] +atlas = ExtResource("4_xvxt0") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] +atlas = ExtResource("4_xvxt0") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_26ptf"] +atlas = ExtResource("4_xvxt0") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_amy8y"] +atlas = ExtResource("4_xvxt0") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_knwp6"] +atlas = ExtResource("4_xvxt0") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yfy00"] +atlas = ExtResource("4_xvxt0") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bnccx"] +atlas = ExtResource("4_xvxt0") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hc8ch"] +atlas = ExtResource("4_xvxt0") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0nuxw"] +atlas = ExtResource("4_xvxt0") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_gqmmt"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_n1vju") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m1nfd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3fnsk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_njuvk") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_mq26c") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_p6fb4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fwa0p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_26ptf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_amy8y") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_knwp6") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yfy00") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bnccx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hc8ch") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0nuxw") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] +atlas = ExtResource("5_eop0l") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] +atlas = ExtResource("5_eop0l") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] +atlas = ExtResource("5_eop0l") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] +atlas = ExtResource("5_eop0l") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] +atlas = ExtResource("5_eop0l") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] +atlas = ExtResource("5_eop0l") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] +atlas = ExtResource("5_eop0l") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] +atlas = ExtResource("5_eop0l") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] +atlas = ExtResource("5_eop0l") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] +atlas = ExtResource("5_eop0l") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] +atlas = ExtResource("5_eop0l") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] +atlas = ExtResource("5_eop0l") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] +atlas = ExtResource("5_eop0l") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xsi0i"] +atlas = ExtResource("5_eop0l") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_yc10j"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_qwppa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1uixo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xccp0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nyede") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_cxse4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_edjcl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jhak8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t2351") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uw07h") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xcrai") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_tywya") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7pu4u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i1w1o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xsi0i") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] +atlas = ExtResource("6_chh13") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] +atlas = ExtResource("6_chh13") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] +atlas = ExtResource("6_chh13") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] +atlas = ExtResource("6_chh13") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] +atlas = ExtResource("6_chh13") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] +atlas = ExtResource("6_chh13") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] +atlas = ExtResource("6_chh13") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] +atlas = ExtResource("6_chh13") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] +atlas = ExtResource("6_chh13") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] +atlas = ExtResource("6_chh13") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] +atlas = ExtResource("6_chh13") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] +atlas = ExtResource("6_chh13") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] +atlas = ExtResource("6_chh13") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pral7"] +atlas = ExtResource("6_chh13") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_rhebu"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ifv4k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uera2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0q8tn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_f2bes") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_albls") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mlrdx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dipuj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_d0xss") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mpdbr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dy3ut") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_gi66g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_am77p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_asxml") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pral7") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="Resource" id="Resource_if2jb"] +script = ExtResource("3_eop0l") +allow_null = true +outfits = Array[SpriteFrames]([SubResource("SpriteFrames_gqmmt"), SubResource("SpriteFrames_yc10j"), SubResource("SpriteFrames_rhebu")]) +metadata/_custom_type_script = "uid://rw26nny160xh" [node name="DragonProperties" type="Control" node_paths=PackedStringArray("texture_rect", "name_label", "origin_label")] custom_minimum_size = Vector2(0, 128) @@ -15,9 +383,9 @@ script = ExtResource("1_s7he7") texture_rect = NodePath("TextureRect") name_label = NodePath("Name") origin_label = NodePath("Origin") -hat_outfits = ExtResource("2_y33em") -shirt_outfits = ExtResource("3_84ie0") -shoes_outfits = ExtResource("4_xvxt0") +hat_outfits = SubResource("Resource_nlx3a") +shirt_outfits = SubResource("Resource_1dq4x") +shoes_outfits = SubResource("Resource_if2jb") [node name="TextureRect" type="TextureRect" parent="."] layout_mode = 0 diff --git a/scenes/dragons/dragon_sprite.gd b/scenes/dragons/dragon_sprite.gd index 65cfd10..da7f82c 100644 --- a/scenes/dragons/dragon_sprite.gd +++ b/scenes/dragons/dragon_sprite.gd @@ -18,7 +18,7 @@ func dress(properties: DragonProperties): _set_dress(shirt, shirt_outfits.get_texture(properties.shirt)) _set_dress(decor, decor_outfits.get_texture(properties.decor)) _set_dress(color, color_outfits.get_texture(properties.color)) - play_idle() + play_walk() func _set_dress(part: AnimatedSprite2D, dress: SpriteFrames): @@ -30,19 +30,19 @@ func _set_dress(part: AnimatedSprite2D, dress: SpriteFrames): func walk_left(): - $Sprite.scale.x = 1 - $DragonBody.scale.x = 1 + $Dragon.scale.x = 1 func walk_right(): - $Sprite.scale.x = -1 - $DragonBody.scale.x = -1 + $Dragon.scale.x = -1 func _play_animation(animation_name: String, part: AnimatedSprite2D) -> void: if !part.is_visible(): return + print(part) part.play(animation_name) + print(part.is_playing()) func play_idle() -> void: diff --git a/scenes/dragons/dragon_sprite.tscn b/scenes/dragons/dragon_sprite.tscn index 59ec97b..15fc737 100644 --- a/scenes/dragons/dragon_sprite.tscn +++ b/scenes/dragons/dragon_sprite.tscn @@ -1,14 +1,11 @@ -[gd_scene load_steps=11 format=3 uid="uid://baa8gpicw2yg0"] +[gd_scene load_steps=8 format=3 uid="uid://baa8gpicw2yg0"] [ext_resource type="Script" uid="uid://bjiap06gs02j" path="res://scenes/dragons/dragon_sprite.gd" id="1_oaoux"] -[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_mxc00"] -[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_umqeb"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="4_7b2ll"] -[ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_x2k4p"] -[ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragons/green.tres" id="6_yf7bj"] -[ext_resource type="SpriteFrames" uid="uid://cwxqw54jvqryh" path="res://assets/animations/hats/barretina.tres" id="10_7b2ll"] -[ext_resource type="SpriteFrames" uid="uid://csm1127xw2qoh" path="res://assets/animations/shirts/traje.tres" id="11_x2k4p"] -[ext_resource type="SpriteFrames" uid="uid://cjoufnwxcvvf4" path="res://assets/animations/decor/rosa.tres" id="12_rhebu"] +[ext_resource type="Resource" uid="uid://x063x858re3f" path="res://assets/outfits/hats.tres" id="2_mxc00"] +[ext_resource type="Resource" uid="uid://bsydervvb1jpe" path="res://assets/outfits/shirts.tres" id="3_umqeb"] +[ext_resource type="Resource" uid="uid://dkm7d10c1lp2n" path="res://assets/outfits/decor.tres" id="4_7b2ll"] +[ext_resource type="Resource" uid="uid://c03ejnvavmcj5" path="res://assets/outfits/dragons.tres" id="5_x2k4p"] +[ext_resource type="SpriteFrames" uid="uid://duxxw4mfxql3c" path="res://assets/animations/dragons/verd.tres" id="6_yf7bj"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"] size = Vector2(108, 88) @@ -33,16 +30,15 @@ shape = SubResource("RectangleShape2D_oaoux") [node name="Dragon" type="AnimatedSprite2D" parent="."] position = Vector2(54, 34) sprite_frames = ExtResource("6_yf7bj") +animation = &"idle" [node name="Hat" type="AnimatedSprite2D" parent="Dragon"] -sprite_frames = ExtResource("10_7b2ll") +animation = &"" [node name="Shirt" type="AnimatedSprite2D" parent="Dragon"] -sprite_frames = ExtResource("11_x2k4p") +animation = &"" [node name="Decor" type="AnimatedSprite2D" parent="Dragon"] -sprite_frames = ExtResource("12_rhebu") -animation = &"walk" [connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"] [connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"] diff --git a/scenes/main.gd b/scenes/main.gd index e2efbe4..795ac4e 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -114,8 +114,8 @@ func _load_game(): func _instantiate_dragon_ingame(window_position: Vector2, properties: DragonProperties) -> DragonEntity: var dragon: DragonEntity = dragon_ingame.instantiate() - dragon.dress(properties) add_child(dragon) + dragon.dress(properties) dragon.properties = properties dragon.position = window_position dragon.on_pick.connect(_pick_dragon) diff --git a/scenes/main.tscn b/scenes/main.tscn index 668fa9f..80f3a52 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,14 +1,16 @@ -[gd_scene load_steps=16 format=3 uid="uid://ctytpqaed0yqx"] +[gd_scene load_steps=66 format=3 uid="uid://ctytpqaed0yqx"] [ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"] [ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"] -[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="4_85g3d"] [ext_resource type="PackedScene" uid="uid://bj5ptaniasaaj" path="res://scenes/clock/clock.tscn" id="4_a8y0u"] [ext_resource type="PackedScene" uid="uid://miutbdsgccd1" path="res://scenes/dragons/dragon.tscn" id="4_jyhfs"] [ext_resource type="Script" uid="uid://cj4l3a6a8ro0r" path="res://scenes/create_button.gd" id="4_tbgi4"] -[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="5_choun"] +[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="5_muem4"] [ext_resource type="PackedScene" uid="uid://fut42ruut302" path="res://scenes/dragon_editor/dragon_editor.tscn" id="5_tefeu"] -[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="6_ya4ey"] +[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="6_dp3eg"] +[ext_resource type="Texture2D" uid="uid://c7nmelv0lx3i3" path="res://assets/sprites/decor/DP_acc_escut_Anim.png" id="7_muem4"] +[ext_resource type="Texture2D" uid="uid://drnel2cjwf5dr" path="res://assets/sprites/decor/DP_acc_espasa_Anim.png" id="8_dp3eg"] +[ext_resource type="Texture2D" uid="uid://dbbcv076jh4ep" path="res://assets/sprites/decor/DP_acc_rosa_Anim.png" id="9_0ld40"] [ext_resource type="Script" uid="uid://oc6mw86npbii" path="res://scenes/list_button.gd" id="9_choun"] [ext_resource type="PackedScene" uid="uid://tubxrqxjic6r" path="res://scenes/dragon_list/dragon_list.tscn" id="10_ya4ey"] [ext_resource type="Texture2D" uid="uid://bc2lykc3gwykh" path="res://assets/sprites/environment/castle/DP_castle_back.png" id="15_muem4"] @@ -16,15 +18,381 @@ [ext_resource type="Texture2D" uid="uid://b1w6y1qvetsaw" path="res://assets/sprites/environment/castle/DP_castle_front.png" id="17_0ld40"] [ext_resource type="Script" uid="uid://bg58e3dobon4j" path="res://scenes/dragon_sharing.gd" id="17_muem4"] +[sub_resource type="Resource" id="Resource_nlx3a"] +script = ExtResource("6_dp3eg") +allow_null = true +outfits = Array[SpriteFrames]([ExtResource("5_muem4")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + +[sub_resource type="Resource" id="Resource_1dq4x"] +script = ExtResource("6_dp3eg") +allow_null = true +outfits = Array[SpriteFrames]([ExtResource("5_muem4")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + +[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] +atlas = ExtResource("7_muem4") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] +atlas = ExtResource("7_muem4") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] +atlas = ExtResource("7_muem4") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] +atlas = ExtResource("7_muem4") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] +atlas = ExtResource("7_muem4") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] +atlas = ExtResource("7_muem4") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] +atlas = ExtResource("7_muem4") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_26ptf"] +atlas = ExtResource("7_muem4") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_amy8y"] +atlas = ExtResource("7_muem4") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_knwp6"] +atlas = ExtResource("7_muem4") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yfy00"] +atlas = ExtResource("7_muem4") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bnccx"] +atlas = ExtResource("7_muem4") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hc8ch"] +atlas = ExtResource("7_muem4") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0nuxw"] +atlas = ExtResource("7_muem4") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_gqmmt"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_n1vju") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_m1nfd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3fnsk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_njuvk") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_mq26c") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_p6fb4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fwa0p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_26ptf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_amy8y") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_knwp6") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yfy00") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bnccx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hc8ch") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0nuxw") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] +atlas = ExtResource("8_dp3eg") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] +atlas = ExtResource("8_dp3eg") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] +atlas = ExtResource("8_dp3eg") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] +atlas = ExtResource("8_dp3eg") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] +atlas = ExtResource("8_dp3eg") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] +atlas = ExtResource("8_dp3eg") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] +atlas = ExtResource("8_dp3eg") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] +atlas = ExtResource("8_dp3eg") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] +atlas = ExtResource("8_dp3eg") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] +atlas = ExtResource("8_dp3eg") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] +atlas = ExtResource("8_dp3eg") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] +atlas = ExtResource("8_dp3eg") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] +atlas = ExtResource("8_dp3eg") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xsi0i"] +atlas = ExtResource("8_dp3eg") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_yc10j"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_qwppa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1uixo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xccp0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nyede") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_cxse4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_edjcl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jhak8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t2351") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uw07h") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xcrai") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_tywya") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7pu4u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i1w1o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xsi0i") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] +atlas = ExtResource("9_0ld40") +region = Rect2(0, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] +atlas = ExtResource("9_0ld40") +region = Rect2(108, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] +atlas = ExtResource("9_0ld40") +region = Rect2(216, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] +atlas = ExtResource("9_0ld40") +region = Rect2(324, 216, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] +atlas = ExtResource("9_0ld40") +region = Rect2(0, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] +atlas = ExtResource("9_0ld40") +region = Rect2(108, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] +atlas = ExtResource("9_0ld40") +region = Rect2(216, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] +atlas = ExtResource("9_0ld40") +region = Rect2(324, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] +atlas = ExtResource("9_0ld40") +region = Rect2(432, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] +atlas = ExtResource("9_0ld40") +region = Rect2(540, 0, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] +atlas = ExtResource("9_0ld40") +region = Rect2(0, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] +atlas = ExtResource("9_0ld40") +region = Rect2(108, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] +atlas = ExtResource("9_0ld40") +region = Rect2(216, 108, 108, 108) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pral7"] +atlas = ExtResource("9_0ld40") +region = Rect2(324, 108, 108, 108) + +[sub_resource type="SpriteFrames" id="SpriteFrames_rhebu"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_ifv4k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uera2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0q8tn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_f2bes") +}], +"loop": true, +"name": &"fly", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_albls") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mlrdx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dipuj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_d0xss") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mpdbr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dy3ut") +}], +"loop": true, +"name": &"idle", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_gi66g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_am77p") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_asxml") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pral7") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] + +[sub_resource type="Resource" id="Resource_if2jb"] +script = ExtResource("6_dp3eg") +allow_null = true +outfits = Array[SpriteFrames]([SubResource("SpriteFrames_gqmmt"), SubResource("SpriteFrames_yc10j"), SubResource("SpriteFrames_rhebu")]) +metadata/_custom_type_script = "uid://rw26nny160xh" + [node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")] script = ExtResource("1_sugp2") dragon_template = ExtResource("2_jyhfs") dragon_ingame = ExtResource("4_jyhfs") dragon_spots = [NodePath("DragonSpot1"), NodePath("DragonSpot2"), NodePath("DragonSpot3")] clock = ExtResource("4_a8y0u") -hat_outfits = ExtResource("4_85g3d") -shirt_outfits = ExtResource("5_choun") -shoes_outfits = ExtResource("6_ya4ey") +hat_outfits = SubResource("Resource_nlx3a") +shirt_outfits = SubResource("Resource_1dq4x") +shoes_outfits = SubResource("Resource_if2jb") min_dragon_instantiation_time = 2.0 max_dragon_instantiation_time = 10.0 diff --git a/scenes/window/dragon.gd b/scenes/window/dragon.gd index 4199764..50458e0 100644 --- a/scenes/window/dragon.gd +++ b/scenes/window/dragon.gd @@ -35,7 +35,7 @@ var current_state: State = State.WALKING_IDLE func _ready() -> void: draggable.on_drag.connect(_on_drag) draggable.on_drop.connect(_on_drop) - current_state = State.FALLING + _change_state(State.FALLING) func on_place_back() -> void: @@ -50,12 +50,6 @@ func _process(delta: float) -> void: State.DRAGGING: _thinking_path = false _actual_position = position - State.WALKING_IDLE: - if not _thinking_path: - _think_path() - State.FLYING_IDLE: - if not _thinking_path: - _think_path() State.WALKING: _move_to_target(delta) State.FALLING: @@ -66,12 +60,30 @@ func _process(delta: float) -> void: properties.position = position +func _change_state(new_state): + match new_state: + State.DRAGGING: + dragon.play_idle() + State.WALKING_IDLE: + dragon.play_idle() + _think_path() + State.FLYING_IDLE: + _think_path() + State.WALKING: + dragon.play_walk() + State.FALLING: + dragon.play_idle() + State.FLYING: + dragon.play_fly() + + current_state = new_state + + func dress(): dragon.dress(properties) func _think_path(): - _thinking_path = true await get_tree().create_timer(rng.randf_range(2, 7)).timeout dragon_speed = rng.randf_range(dragon_speed_min, dragon_speed_max) @@ -86,7 +98,7 @@ func _think_path(): var decision: int = rng.randi_range(0, 99) if decision < 30: _fall_speed = 0 - current_state = State.FALLING + _change_state(State.FALLING) else: _pick_random_screen_fly_position() @@ -98,7 +110,7 @@ func _fall(delta: float) -> void: var ground_height: int = _ground_height() if position.y >= ground_height: - current_state = State.WALKING_IDLE + _change_state(State.WALKING_IDLE) position.y = ground_height _actual_position.y = ground_height @@ -117,24 +129,24 @@ func _move_to_target(delta: float): match current_state: State.FLYING: - current_state = State.FLYING_IDLE + _change_state(State.FLYING_IDLE) State.WALKING: - current_state = State.WALKING_IDLE + _change_state(State.WALKING_IDLE) func _on_drag(): - current_state = State.DRAGGING + _change_state(State.DRAGGING) func _on_drop(): var ground_height: int = _ground_height() if position.y >= ground_height: - current_state = State.WALKING_IDLE + _change_state(State.WALKING_IDLE) position.y = ground_height _actual_position.y = ground_height else: _fall_speed = 0 - current_state = State.FALLING + _change_state(State.FALLING) func _get_display_limits() -> Rect2i: @@ -151,7 +163,7 @@ func _ground_height() -> int: func _pick_random_screen_fly_position() -> void: - current_state = State.FLYING + _change_state(State.FLYING) _thinking_path = false var limits: Rect2i = _get_display_limits() @@ -165,7 +177,7 @@ func _pick_random_screen_fly_position() -> void: func _pick_random_screen_walk_position() -> void: - current_state = State.WALKING + _change_state(State.WALKING) _thinking_path = false var limits: Rect2i = _get_display_limits() diff --git a/scenes/window/dragon_popup.tscn b/scenes/window/dragon_popup.tscn index 8d4ccde..c0bbd64 100644 --- a/scenes/window/dragon_popup.tscn +++ b/scenes/window/dragon_popup.tscn @@ -7,7 +7,7 @@ [node name="DragonPopup" type="Window" node_paths=PackedStringArray("dragon", "draggable")] disable_3d = true transparent_bg = true -size = Vector2i(76, 88) +size = Vector2i(108, 88) unresizable = true borderless = true always_on_top = true From 44a36a4e673b7f170a2421f8d392346883121bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 17:23:44 +0200 Subject: [PATCH 11/14] fix: corrections in dragon instantiation --- scenes/dragon_editor/dragon_editor.tscn | 17 +- scenes/dragons/dragon_sprite.gd | 2 - scenes/dragons/dragon_sprite.tscn | 13 +- scenes/main.gd | 4 - scenes/main.tscn | 376 +----------------------- 5 files changed, 12 insertions(+), 400 deletions(-) diff --git a/scenes/dragon_editor/dragon_editor.tscn b/scenes/dragon_editor/dragon_editor.tscn index 6394f94..31fa960 100644 --- a/scenes/dragon_editor/dragon_editor.tscn +++ b/scenes/dragon_editor/dragon_editor.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=169 format=3 uid="uid://fut42ruut302"] +[gd_scene load_steps=165 format=3 uid="uid://fut42ruut302"] [ext_resource type="Script" uid="uid://bfuos2kgfgber" path="res://scenes/dragon_editor/dragon_editor.gd" id="1_8vkll"] [ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="2_aystc"] @@ -1088,17 +1088,6 @@ allow_null = false outfits = Array[SpriteFrames]([SubResource("SpriteFrames_0hqgm"), SubResource("SpriteFrames_o77k0"), SubResource("SpriteFrames_7b2ll"), SubResource("SpriteFrames_4orem"), SubResource("SpriteFrames_xqwu6"), SubResource("SpriteFrames_y4fkp")]) metadata/_custom_type_script = "uid://rw26nny160xh" -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f0h1k"] - -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ofxsr"] -load_path = "res://.godot/imported/DragonPet_barret_barretina.png-c34714d149520b48d66d5ee32f5868c1.ctex" - -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mc14k"] -load_path = "res://.godot/imported/DragonPet_roba_armadura.png-3cad0d14b8ca1ac4914a907d8acf7ec5.ctex" - -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_jtpn4"] -load_path = "res://.godot/imported/DragonPet_acc_escut.png-ab5c138b3d2900950a73fcd404b97a42.ctex" - [sub_resource type="AtlasTexture" id="AtlasTexture_ofxsr"] atlas = ExtResource("7_qppok") region = Rect2(0, 40, 38, 40) @@ -1150,7 +1139,6 @@ offset_left = 76.0 offset_top = 120.0 offset_right = 152.0 offset_bottom = 208.0 -texture = SubResource("CompressedTexture2D_f0h1k") [node name="Hat" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 @@ -1165,7 +1153,6 @@ offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 -texture = SubResource("CompressedTexture2D_ofxsr") [node name="Shirt" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 @@ -1180,7 +1167,6 @@ offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 -texture = SubResource("CompressedTexture2D_mc14k") [node name="Shoes" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 @@ -1195,7 +1181,6 @@ offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 -texture = SubResource("CompressedTexture2D_jtpn4") [node name="Dragger" type="Control" parent="CanvasLayer"] layout_mode = 3 diff --git a/scenes/dragons/dragon_sprite.gd b/scenes/dragons/dragon_sprite.gd index da7f82c..2ee84c8 100644 --- a/scenes/dragons/dragon_sprite.gd +++ b/scenes/dragons/dragon_sprite.gd @@ -40,9 +40,7 @@ func walk_right(): func _play_animation(animation_name: String, part: AnimatedSprite2D) -> void: if !part.is_visible(): return - print(part) part.play(animation_name) - print(part.is_playing()) func play_idle() -> void: diff --git a/scenes/dragons/dragon_sprite.tscn b/scenes/dragons/dragon_sprite.tscn index 15fc737..c5718ec 100644 --- a/scenes/dragons/dragon_sprite.tscn +++ b/scenes/dragons/dragon_sprite.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=3 uid="uid://baa8gpicw2yg0"] +[gd_scene load_steps=11 format=3 uid="uid://baa8gpicw2yg0"] [ext_resource type="Script" uid="uid://bjiap06gs02j" path="res://scenes/dragons/dragon_sprite.gd" id="1_oaoux"] [ext_resource type="Resource" uid="uid://x063x858re3f" path="res://assets/outfits/hats.tres" id="2_mxc00"] @@ -6,6 +6,9 @@ [ext_resource type="Resource" uid="uid://dkm7d10c1lp2n" path="res://assets/outfits/decor.tres" id="4_7b2ll"] [ext_resource type="Resource" uid="uid://c03ejnvavmcj5" path="res://assets/outfits/dragons.tres" id="5_x2k4p"] [ext_resource type="SpriteFrames" uid="uid://duxxw4mfxql3c" path="res://assets/animations/dragons/verd.tres" id="6_yf7bj"] +[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="10_7b2ll"] +[ext_resource type="SpriteFrames" uid="uid://dsxhfu2ekw7j" path="res://assets/animations/shirts/traje.tres" id="11_x2k4p"] +[ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="12_rhebu"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"] size = Vector2(108, 88) @@ -33,12 +36,16 @@ sprite_frames = ExtResource("6_yf7bj") animation = &"idle" [node name="Hat" type="AnimatedSprite2D" parent="Dragon"] -animation = &"" +sprite_frames = ExtResource("10_7b2ll") +animation = &"idle" [node name="Shirt" type="AnimatedSprite2D" parent="Dragon"] -animation = &"" +sprite_frames = ExtResource("11_x2k4p") +animation = &"idle" [node name="Decor" type="AnimatedSprite2D" parent="Dragon"] +sprite_frames = ExtResource("12_rhebu") +animation = &"idle" [connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"] [connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"] diff --git a/scenes/main.gd b/scenes/main.gd index 795ac4e..fbef46a 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -10,10 +10,6 @@ class_name GameManager var _filled_spots: Dictionary[Node2D, int] -@export var hat_outfits: DragonOutfit -@export var shirt_outfits: DragonOutfit -@export var shoes_outfits: DragonOutfit - var _instantiator: DragonInstantiator var _save_load: SaveLoad var _library: DragonLibrary diff --git a/scenes/main.tscn b/scenes/main.tscn index 80f3a52..04bd148 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,16 +1,11 @@ -[gd_scene load_steps=66 format=3 uid="uid://ctytpqaed0yqx"] +[gd_scene load_steps=13 format=3 uid="uid://ctytpqaed0yqx"] [ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"] [ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"] [ext_resource type="PackedScene" uid="uid://bj5ptaniasaaj" path="res://scenes/clock/clock.tscn" id="4_a8y0u"] [ext_resource type="PackedScene" uid="uid://miutbdsgccd1" path="res://scenes/dragons/dragon.tscn" id="4_jyhfs"] [ext_resource type="Script" uid="uid://cj4l3a6a8ro0r" path="res://scenes/create_button.gd" id="4_tbgi4"] -[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="5_muem4"] [ext_resource type="PackedScene" uid="uid://fut42ruut302" path="res://scenes/dragon_editor/dragon_editor.tscn" id="5_tefeu"] -[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="6_dp3eg"] -[ext_resource type="Texture2D" uid="uid://c7nmelv0lx3i3" path="res://assets/sprites/decor/DP_acc_escut_Anim.png" id="7_muem4"] -[ext_resource type="Texture2D" uid="uid://drnel2cjwf5dr" path="res://assets/sprites/decor/DP_acc_espasa_Anim.png" id="8_dp3eg"] -[ext_resource type="Texture2D" uid="uid://dbbcv076jh4ep" path="res://assets/sprites/decor/DP_acc_rosa_Anim.png" id="9_0ld40"] [ext_resource type="Script" uid="uid://oc6mw86npbii" path="res://scenes/list_button.gd" id="9_choun"] [ext_resource type="PackedScene" uid="uid://tubxrqxjic6r" path="res://scenes/dragon_list/dragon_list.tscn" id="10_ya4ey"] [ext_resource type="Texture2D" uid="uid://bc2lykc3gwykh" path="res://assets/sprites/environment/castle/DP_castle_back.png" id="15_muem4"] @@ -18,381 +13,12 @@ [ext_resource type="Texture2D" uid="uid://b1w6y1qvetsaw" path="res://assets/sprites/environment/castle/DP_castle_front.png" id="17_0ld40"] [ext_resource type="Script" uid="uid://bg58e3dobon4j" path="res://scenes/dragon_sharing.gd" id="17_muem4"] -[sub_resource type="Resource" id="Resource_nlx3a"] -script = ExtResource("6_dp3eg") -allow_null = true -outfits = Array[SpriteFrames]([ExtResource("5_muem4")]) -metadata/_custom_type_script = "uid://rw26nny160xh" - -[sub_resource type="Resource" id="Resource_1dq4x"] -script = ExtResource("6_dp3eg") -allow_null = true -outfits = Array[SpriteFrames]([ExtResource("5_muem4")]) -metadata/_custom_type_script = "uid://rw26nny160xh" - -[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] -atlas = ExtResource("7_muem4") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] -atlas = ExtResource("7_muem4") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] -atlas = ExtResource("7_muem4") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] -atlas = ExtResource("7_muem4") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] -atlas = ExtResource("7_muem4") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] -atlas = ExtResource("7_muem4") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] -atlas = ExtResource("7_muem4") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_26ptf"] -atlas = ExtResource("7_muem4") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_amy8y"] -atlas = ExtResource("7_muem4") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_knwp6"] -atlas = ExtResource("7_muem4") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_yfy00"] -atlas = ExtResource("7_muem4") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_bnccx"] -atlas = ExtResource("7_muem4") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_hc8ch"] -atlas = ExtResource("7_muem4") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0nuxw"] -atlas = ExtResource("7_muem4") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_gqmmt"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_n1vju") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m1nfd") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3fnsk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_njuvk") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_mq26c") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_p6fb4") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_fwa0p") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_26ptf") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_amy8y") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_knwp6") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_yfy00") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_bnccx") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_hc8ch") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_0nuxw") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] -atlas = ExtResource("8_dp3eg") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] -atlas = ExtResource("8_dp3eg") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] -atlas = ExtResource("8_dp3eg") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] -atlas = ExtResource("8_dp3eg") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] -atlas = ExtResource("8_dp3eg") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] -atlas = ExtResource("8_dp3eg") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] -atlas = ExtResource("8_dp3eg") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] -atlas = ExtResource("8_dp3eg") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] -atlas = ExtResource("8_dp3eg") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] -atlas = ExtResource("8_dp3eg") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] -atlas = ExtResource("8_dp3eg") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] -atlas = ExtResource("8_dp3eg") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] -atlas = ExtResource("8_dp3eg") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_xsi0i"] -atlas = ExtResource("8_dp3eg") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_yc10j"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_qwppa") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_1uixo") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xccp0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_nyede") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_cxse4") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_edjcl") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jhak8") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_t2351") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_uw07h") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xcrai") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_tywya") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_7pu4u") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_i1w1o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xsi0i") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] -atlas = ExtResource("9_0ld40") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] -atlas = ExtResource("9_0ld40") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] -atlas = ExtResource("9_0ld40") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] -atlas = ExtResource("9_0ld40") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] -atlas = ExtResource("9_0ld40") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] -atlas = ExtResource("9_0ld40") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] -atlas = ExtResource("9_0ld40") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] -atlas = ExtResource("9_0ld40") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] -atlas = ExtResource("9_0ld40") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] -atlas = ExtResource("9_0ld40") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] -atlas = ExtResource("9_0ld40") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] -atlas = ExtResource("9_0ld40") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] -atlas = ExtResource("9_0ld40") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_pral7"] -atlas = ExtResource("9_0ld40") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_rhebu"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_ifv4k") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_uera2") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_0q8tn") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_f2bes") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_albls") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_mlrdx") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dipuj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_d0xss") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_mpdbr") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dy3ut") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_gi66g") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_am77p") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_asxml") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_pral7") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="Resource" id="Resource_if2jb"] -script = ExtResource("6_dp3eg") -allow_null = true -outfits = Array[SpriteFrames]([SubResource("SpriteFrames_gqmmt"), SubResource("SpriteFrames_yc10j"), SubResource("SpriteFrames_rhebu")]) -metadata/_custom_type_script = "uid://rw26nny160xh" - [node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")] script = ExtResource("1_sugp2") dragon_template = ExtResource("2_jyhfs") dragon_ingame = ExtResource("4_jyhfs") dragon_spots = [NodePath("DragonSpot1"), NodePath("DragonSpot2"), NodePath("DragonSpot3")] clock = ExtResource("4_a8y0u") -hat_outfits = SubResource("Resource_nlx3a") -shirt_outfits = SubResource("Resource_1dq4x") -shoes_outfits = SubResource("Resource_if2jb") min_dragon_instantiation_time = 2.0 max_dragon_instantiation_time = 10.0 From a8b292aa0342ee737b8780682c336bfe9b76601f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sat, 12 Apr 2025 20:35:40 +0200 Subject: [PATCH 12/14] chore: dragon editor --- scenes/dragon_editor/dragon_editor.gd | 60 +- scenes/dragon_editor/dragon_editor.tscn | 1152 +---------------------- src/dragon_outfit.gd | 12 +- 3 files changed, 70 insertions(+), 1154 deletions(-) diff --git a/scenes/dragon_editor/dragon_editor.gd b/scenes/dragon_editor/dragon_editor.gd index 64d111f..73470ed 100644 --- a/scenes/dragon_editor/dragon_editor.gd +++ b/scenes/dragon_editor/dragon_editor.gd @@ -2,14 +2,14 @@ extends Window class_name DragonEditor -@onready var hat: TextureRect = $CanvasLayer/Dragon/Hat -@onready var shirt: TextureRect = $CanvasLayer/Dragon/Shirt -@onready var shoes: TextureRect = $CanvasLayer/Dragon/Shoes -@onready var dragon: TextureRect = $CanvasLayer/Dragon +@onready var hat: AnimatedSprite2D = $CanvasLayer/Dragon/Hat +@onready var shirt: AnimatedSprite2D = $CanvasLayer/Dragon/Shirt +@onready var decor: AnimatedSprite2D = $CanvasLayer/Dragon/Decor +@onready var dragon: AnimatedSprite2D = $CanvasLayer/Dragon @export var hat_outfits: DragonOutfit @export var shirt_outfits: DragonOutfit -@export var shoes_outfits: DragonOutfit +@export var decor_outfits: DragonOutfit @export var dragon_colors: DragonOutfit @onready var dragon_name: LineEdit = $CanvasLayer/NameLabel/LineEdit @@ -20,9 +20,15 @@ signal on_create_dragon(properties: DragonProperties) func _ready() -> void: - hat.texture = null - shirt.texture = null - shoes.texture = null + hat.visible = false + shirt.visible = false + decor.visible = false + dragon.play('idle') + + hat_outfits.index = 0 + shirt_outfits.index = 0 + decor_outfits.index = 0 + dragon_colors.index = 0 dragger.on_drag.connect(_on_drag) @@ -32,34 +38,50 @@ func _on_drag(offset: Vector2i): func _on_next_color_pressed() -> void: - dragon.texture = dragon_colors.pick_next() + _pick_next_animation(dragon, dragon_colors) func _on_previous_color_pressed() -> void: - dragon.texture = dragon_colors.pick_previous() + _pick_previous_animation(dragon, dragon_colors) func _on_change_hat_pressed() -> void: - hat.texture = hat_outfits.pick_next() + _pick_next_animation(hat, hat_outfits) func _on_change_shirt_pressed() -> void: - shirt.texture = shirt_outfits.pick_next() + _pick_next_animation(shirt, shirt_outfits) func _on_change_shoes_pressed() -> void: - shoes.texture = shoes_outfits.pick_next() + _pick_next_animation(decor, decor_outfits) + + +func _pick_next_animation(sprite: AnimatedSprite2D, outfits: DragonOutfit): + var animation: SpriteFrames = outfits.pick_next() + if animation == null: + sprite.visible = false + return + sprite.visible = true + sprite.set_sprite_frames(animation) + sprite.play('idle') + + +func _pick_previous_animation(sprite: AnimatedSprite2D, outfits: DragonOutfit): + var animation: SpriteFrames = outfits.pick_previous() + if animation == null: + sprite.visible = false + return + sprite.visible = true + sprite.set_sprite_frames(animation) + sprite.play('idle') func _on_create_pressed() -> void: if dragon_name.text.is_empty(): return - - var hat_index: int = hat_outfits.get_index(hat.texture) - var shirt_index: int = shirt_outfits.get_index(shirt.texture) - var decor_index: int = shoes_outfits.get_index(shoes.texture) - var color_index: int = dragon_colors.get_index(dragon.texture) - var properties = DragonProperties.new(dragon_name.text, "tower", color_index, hat_index, shirt_index, decor_index) + + var properties = DragonProperties.new(dragon_name.text, "tower", hat_outfits.index, shirt_outfits.index, decor_outfits.index, dragon_colors.index) on_create_dragon.emit(properties) queue_free() diff --git a/scenes/dragon_editor/dragon_editor.tscn b/scenes/dragon_editor/dragon_editor.tscn index 31fa960..600ae81 100644 --- a/scenes/dragon_editor/dragon_editor.tscn +++ b/scenes/dragon_editor/dragon_editor.tscn @@ -1,1092 +1,21 @@ -[gd_scene load_steps=165 format=3 uid="uid://fut42ruut302"] +[gd_scene load_steps=23 format=3 uid="uid://fut42ruut302"] [ext_resource type="Script" uid="uid://bfuos2kgfgber" path="res://scenes/dragon_editor/dragon_editor.gd" id="1_8vkll"] [ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="2_aystc"] -[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="3_x0448"] -[ext_resource type="Texture2D" uid="uid://c7nmelv0lx3i3" path="res://assets/sprites/decor/DP_acc_escut_Anim.png" id="4_aystc"] -[ext_resource type="Texture2D" uid="uid://drnel2cjwf5dr" path="res://assets/sprites/decor/DP_acc_espasa_Anim.png" id="5_x0448"] -[ext_resource type="Texture2D" uid="uid://dbbcv076jh4ep" path="res://assets/sprites/decor/DP_acc_rosa_Anim.png" id="6_hukd7"] +[ext_resource type="Resource" uid="uid://x063x858re3f" path="res://assets/outfits/hats.tres" id="2_vvtct"] +[ext_resource type="Resource" uid="uid://bsydervvb1jpe" path="res://assets/outfits/shirts.tres" id="3_xhgxf"] +[ext_resource type="Resource" uid="uid://dkm7d10c1lp2n" path="res://assets/outfits/decor.tres" id="4_1ivi1"] +[ext_resource type="Resource" uid="uid://c03ejnvavmcj5" path="res://assets/outfits/dragons.tres" id="5_1ivi1"] +[ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="6_c4sli"] [ext_resource type="Texture2D" uid="uid://dceoy4417v83e" path="res://assets/sprites/ui/DP_UI_CharCreation_BG.png" id="6_udwtk"] [ext_resource type="Script" uid="uid://dxl7onk7x6h8b" path="res://src/draggable.gd" id="7_1vw8k"] -[ext_resource type="Texture2D" uid="uid://clp02nlyac2g8" path="res://assets/sprites/dragons/DP_drac02_Anim.png" id="7_6eo4l"] [ext_resource type="Texture2D" uid="uid://bu5xa7tgfk3h3" path="res://assets/sprites/ui/DP_UI_Buttons01.png" id="7_qppok"] -[ext_resource type="Texture2D" uid="uid://c0ix7r57l1swx" path="res://assets/sprites/dragons/DP_drac06_Anim.png" id="8_c4sli"] [ext_resource type="Texture2D" uid="uid://bgpbbkmwt8ysq" path="res://assets/sprites/ui/DP_UI_Button_Text.png" id="8_ofxsr"] [ext_resource type="Script" uid="uid://mhudiyt5gnt1" path="res://scenes/dragon_editor/line_edit.gd" id="9_xhgxf"] -[ext_resource type="Texture2D" uid="uid://f4c3ib4p7gcy" path="res://assets/sprites/dragons/DP_drac01_Anim.png" id="9_xxrn0"] -[ext_resource type="Texture2D" uid="uid://blej4jyd3oup1" path="res://assets/sprites/dragons/DP_drac04_Anim.png" id="10_q2c4g"] -[ext_resource type="Texture2D" uid="uid://ig3pbqrpnm7u" path="res://assets/sprites/dragons/DP_drac03_Anim.png" id="11_tjfw2"] -[ext_resource type="Texture2D" uid="uid://d21m7gvjn7t2w" path="res://assets/sprites/dragons/DP_drac05_Anim.png" id="12_53w5y"] [ext_resource type="Texture2D" uid="uid://bdrm1nxydvf5t" path="res://assets/sprites/ui/DP_UI_Label_Big.png" id="12_qppok"] +[ext_resource type="SpriteFrames" uid="uid://duxxw4mfxql3c" path="res://assets/animations/dragons/verd.tres" id="14_aystc"] [ext_resource type="StyleBox" uid="uid://bhe580k04w6ve" path="res://assets/styles/style_box_empty.tres" id="14_bh8dj"] - -[sub_resource type="Resource" id="Resource_nlx3a"] -script = ExtResource("3_x0448") -allow_null = true -outfits = Array[SpriteFrames]([ExtResource("2_aystc")]) -metadata/_custom_type_script = "uid://rw26nny160xh" - -[sub_resource type="Resource" id="Resource_1dq4x"] -script = ExtResource("3_x0448") -allow_null = true -outfits = Array[SpriteFrames]([ExtResource("2_aystc")]) -metadata/_custom_type_script = "uid://rw26nny160xh" - -[sub_resource type="AtlasTexture" id="AtlasTexture_n1vju"] -atlas = ExtResource("4_aystc") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m1nfd"] -atlas = ExtResource("4_aystc") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3fnsk"] -atlas = ExtResource("4_aystc") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_njuvk"] -atlas = ExtResource("4_aystc") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_mq26c"] -atlas = ExtResource("4_aystc") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_p6fb4"] -atlas = ExtResource("4_aystc") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_fwa0p"] -atlas = ExtResource("4_aystc") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_26ptf"] -atlas = ExtResource("4_aystc") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_amy8y"] -atlas = ExtResource("4_aystc") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_knwp6"] -atlas = ExtResource("4_aystc") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_yfy00"] -atlas = ExtResource("4_aystc") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_bnccx"] -atlas = ExtResource("4_aystc") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_hc8ch"] -atlas = ExtResource("4_aystc") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0nuxw"] -atlas = ExtResource("4_aystc") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_gqmmt"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_n1vju") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m1nfd") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3fnsk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_njuvk") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_mq26c") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_p6fb4") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_fwa0p") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_26ptf") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_amy8y") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_knwp6") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_yfy00") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_bnccx") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_hc8ch") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_0nuxw") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_qwppa"] -atlas = ExtResource("5_x0448") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_1uixo"] -atlas = ExtResource("5_x0448") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_xccp0"] -atlas = ExtResource("5_x0448") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nyede"] -atlas = ExtResource("5_x0448") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_cxse4"] -atlas = ExtResource("5_x0448") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_edjcl"] -atlas = ExtResource("5_x0448") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jhak8"] -atlas = ExtResource("5_x0448") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_t2351"] -atlas = ExtResource("5_x0448") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_uw07h"] -atlas = ExtResource("5_x0448") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_xcrai"] -atlas = ExtResource("5_x0448") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_tywya"] -atlas = ExtResource("5_x0448") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_7pu4u"] -atlas = ExtResource("5_x0448") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_i1w1o"] -atlas = ExtResource("5_x0448") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_xsi0i"] -atlas = ExtResource("5_x0448") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_yc10j"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_qwppa") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_1uixo") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xccp0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_nyede") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_cxse4") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_edjcl") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jhak8") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_t2351") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_uw07h") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xcrai") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_tywya") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_7pu4u") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_i1w1o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xsi0i") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_ifv4k"] -atlas = ExtResource("6_hukd7") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_uera2"] -atlas = ExtResource("6_hukd7") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0q8tn"] -atlas = ExtResource("6_hukd7") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_f2bes"] -atlas = ExtResource("6_hukd7") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_albls"] -atlas = ExtResource("6_hukd7") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_mlrdx"] -atlas = ExtResource("6_hukd7") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_dipuj"] -atlas = ExtResource("6_hukd7") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_d0xss"] -atlas = ExtResource("6_hukd7") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_mpdbr"] -atlas = ExtResource("6_hukd7") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_dy3ut"] -atlas = ExtResource("6_hukd7") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_gi66g"] -atlas = ExtResource("6_hukd7") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_am77p"] -atlas = ExtResource("6_hukd7") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_asxml"] -atlas = ExtResource("6_hukd7") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_pral7"] -atlas = ExtResource("6_hukd7") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_rhebu"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_ifv4k") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_uera2") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_0q8tn") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_f2bes") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_albls") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_mlrdx") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dipuj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_d0xss") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_mpdbr") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dy3ut") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_gi66g") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_am77p") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_asxml") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_pral7") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="Resource" id="Resource_if2jb"] -script = ExtResource("3_x0448") -allow_null = true -outfits = Array[SpriteFrames]([SubResource("SpriteFrames_gqmmt"), SubResource("SpriteFrames_yc10j"), SubResource("SpriteFrames_rhebu")]) -metadata/_custom_type_script = "uid://rw26nny160xh" - -[sub_resource type="AtlasTexture" id="AtlasTexture_mmj1o"] -atlas = ExtResource("7_6eo4l") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_biwbj"] -atlas = ExtResource("7_6eo4l") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_e86o5"] -atlas = ExtResource("7_6eo4l") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_5exht"] -atlas = ExtResource("7_6eo4l") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_62vta"] -atlas = ExtResource("7_6eo4l") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ijluj"] -atlas = ExtResource("7_6eo4l") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_t186t"] -atlas = ExtResource("7_6eo4l") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_iei0t"] -atlas = ExtResource("7_6eo4l") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_u1l6v"] -atlas = ExtResource("7_6eo4l") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_bk2js"] -atlas = ExtResource("7_6eo4l") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_11k2n"] -atlas = ExtResource("7_6eo4l") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m3pae"] -atlas = ExtResource("7_6eo4l") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_wfq62"] -atlas = ExtResource("7_6eo4l") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0yic0"] -atlas = ExtResource("7_6eo4l") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_0hqgm"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_mmj1o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_biwbj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_e86o5") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_5exht") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_62vta") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ijluj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_t186t") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_iei0t") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_u1l6v") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_bk2js") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_11k2n") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m3pae") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_wfq62") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_0yic0") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_vs0c3"] -atlas = ExtResource("8_c4sli") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_wiled"] -atlas = ExtResource("8_c4sli") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3qimm"] -atlas = ExtResource("8_c4sli") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_pgupe"] -atlas = ExtResource("8_c4sli") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nmisb"] -atlas = ExtResource("8_c4sli") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ply4o"] -atlas = ExtResource("8_c4sli") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_uldnr"] -atlas = ExtResource("8_c4sli") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_cuv31"] -atlas = ExtResource("8_c4sli") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_68pbo"] -atlas = ExtResource("8_c4sli") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_sh07d"] -atlas = ExtResource("8_c4sli") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_qc1gi"] -atlas = ExtResource("8_c4sli") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_58c6e"] -atlas = ExtResource("8_c4sli") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_lvnxr"] -atlas = ExtResource("8_c4sli") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_6ndl6"] -atlas = ExtResource("8_c4sli") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_o77k0"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_vs0c3") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_wiled") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3qimm") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_pgupe") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_nmisb") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ply4o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_uldnr") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_cuv31") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_68pbo") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_sh07d") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_qc1gi") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_58c6e") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_lvnxr") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_6ndl6") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_7wf4o"] -atlas = ExtResource("9_xxrn0") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_06adf"] -atlas = ExtResource("9_xxrn0") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_r1nr2"] -atlas = ExtResource("9_xxrn0") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ob486"] -atlas = ExtResource("9_xxrn0") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_vxc6x"] -atlas = ExtResource("9_xxrn0") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jbw75"] -atlas = ExtResource("9_xxrn0") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ei2lw"] -atlas = ExtResource("9_xxrn0") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_q6cr0"] -atlas = ExtResource("9_xxrn0") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m3lw6"] -atlas = ExtResource("9_xxrn0") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_kdf45"] -atlas = ExtResource("9_xxrn0") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_1w6rw"] -atlas = ExtResource("9_xxrn0") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_80v1m"] -atlas = ExtResource("9_xxrn0") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nv7os"] -atlas = ExtResource("9_xxrn0") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ly6pi"] -atlas = ExtResource("9_xxrn0") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_7b2ll"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_7wf4o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_06adf") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_r1nr2") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ob486") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_vxc6x") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jbw75") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ei2lw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_q6cr0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m3lw6") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kdf45") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_1w6rw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_80v1m") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_nv7os") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ly6pi") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_ub7hq"] -atlas = ExtResource("10_q2c4g") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_frclk"] -atlas = ExtResource("10_q2c4g") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_55hsi"] -atlas = ExtResource("10_q2c4g") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_dhrkn"] -atlas = ExtResource("10_q2c4g") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_7h6a8"] -atlas = ExtResource("10_q2c4g") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_hk7mw"] -atlas = ExtResource("10_q2c4g") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_4rwpa"] -atlas = ExtResource("10_q2c4g") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_p1ygt"] -atlas = ExtResource("10_q2c4g") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3tl36"] -atlas = ExtResource("10_q2c4g") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_oqwn7"] -atlas = ExtResource("10_q2c4g") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_21i6q"] -atlas = ExtResource("10_q2c4g") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_as7nj"] -atlas = ExtResource("10_q2c4g") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m3eui"] -atlas = ExtResource("10_q2c4g") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_i7kqd"] -atlas = ExtResource("10_q2c4g") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_4orem"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_ub7hq") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_frclk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_55hsi") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_dhrkn") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_7h6a8") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_hk7mw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_4rwpa") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_p1ygt") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3tl36") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_oqwn7") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_21i6q") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_as7nj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m3eui") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_i7kqd") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_x6jc7"] -atlas = ExtResource("11_tjfw2") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jouv2"] -atlas = ExtResource("11_tjfw2") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_hyevi"] -atlas = ExtResource("11_tjfw2") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_hym2s"] -atlas = ExtResource("11_tjfw2") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_4jy8g"] -atlas = ExtResource("11_tjfw2") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_kupkf"] -atlas = ExtResource("11_tjfw2") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jtr4g"] -atlas = ExtResource("11_tjfw2") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_m55cp"] -atlas = ExtResource("11_tjfw2") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_r3mni"] -atlas = ExtResource("11_tjfw2") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ncrm1"] -atlas = ExtResource("11_tjfw2") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_r4roq"] -atlas = ExtResource("11_tjfw2") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_bobdh"] -atlas = ExtResource("11_tjfw2") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_wem1g"] -atlas = ExtResource("11_tjfw2") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_tedt2"] -atlas = ExtResource("11_tjfw2") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_xqwu6"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_x6jc7") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jouv2") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_hyevi") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_hym2s") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_4jy8g") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kupkf") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jtr4g") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_m55cp") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_r3mni") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ncrm1") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_r4roq") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_bobdh") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_wem1g") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_tedt2") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="AtlasTexture" id="AtlasTexture_tey01"] -atlas = ExtResource("12_53w5y") -region = Rect2(0, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_e3p4x"] -atlas = ExtResource("12_53w5y") -region = Rect2(108, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_kxp1n"] -atlas = ExtResource("12_53w5y") -region = Rect2(216, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_c6xgx"] -atlas = ExtResource("12_53w5y") -region = Rect2(324, 216, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_anvkt"] -atlas = ExtResource("12_53w5y") -region = Rect2(0, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_r2n4o"] -atlas = ExtResource("12_53w5y") -region = Rect2(108, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_gfwqi"] -atlas = ExtResource("12_53w5y") -region = Rect2(216, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_vglir"] -atlas = ExtResource("12_53w5y") -region = Rect2(324, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_8p844"] -atlas = ExtResource("12_53w5y") -region = Rect2(432, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_6j6s6"] -atlas = ExtResource("12_53w5y") -region = Rect2(540, 0, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_yy5o8"] -atlas = ExtResource("12_53w5y") -region = Rect2(0, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_df7rw"] -atlas = ExtResource("12_53w5y") -region = Rect2(108, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_j0r56"] -atlas = ExtResource("12_53w5y") -region = Rect2(216, 108, 108, 108) - -[sub_resource type="AtlasTexture" id="AtlasTexture_vkmfp"] -atlas = ExtResource("12_53w5y") -region = Rect2(324, 108, 108, 108) - -[sub_resource type="SpriteFrames" id="SpriteFrames_y4fkp"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_tey01") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_e3p4x") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kxp1n") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_c6xgx") -}], -"loop": true, -"name": &"fly", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_anvkt") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_r2n4o") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_gfwqi") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_vglir") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_8p844") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_6j6s6") -}], -"loop": true, -"name": &"idle", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_yy5o8") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_df7rw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_j0r56") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_vkmfp") -}], -"loop": true, -"name": &"walk", -"speed": 5.0 -}] - -[sub_resource type="Resource" id="Resource_ttj25"] -script = ExtResource("3_x0448") -allow_null = false -outfits = Array[SpriteFrames]([SubResource("SpriteFrames_0hqgm"), SubResource("SpriteFrames_o77k0"), SubResource("SpriteFrames_7b2ll"), SubResource("SpriteFrames_4orem"), SubResource("SpriteFrames_xqwu6"), SubResource("SpriteFrames_y4fkp")]) -metadata/_custom_type_script = "uid://rw26nny160xh" +[ext_resource type="SpriteFrames" uid="uid://dsxhfu2ekw7j" path="res://assets/animations/shirts/traje.tres" id="15_x0448"] [sub_resource type="AtlasTexture" id="AtlasTexture_ofxsr"] atlas = ExtResource("7_qppok") @@ -1122,10 +51,10 @@ borderless = true always_on_top = true transparent = true script = ExtResource("1_8vkll") -hat_outfits = SubResource("Resource_nlx3a") -shirt_outfits = SubResource("Resource_1dq4x") -shoes_outfits = SubResource("Resource_if2jb") -dragon_colors = SubResource("Resource_ttj25") +hat_outfits = ExtResource("2_vvtct") +shirt_outfits = ExtResource("3_xhgxf") +decor_outfits = ExtResource("4_1ivi1") +dragon_colors = ExtResource("5_1ivi1") [node name="CanvasLayer" type="CanvasLayer" parent="."] @@ -1134,53 +63,22 @@ offset_right = 40.0 offset_bottom = 40.0 texture = ExtResource("6_udwtk") -[node name="Dragon" type="TextureRect" parent="CanvasLayer"] -offset_left = 76.0 -offset_top = 120.0 -offset_right = 152.0 -offset_bottom = 208.0 +[node name="Dragon" type="AnimatedSprite2D" parent="CanvasLayer"] +position = Vector2(112, 154) +sprite_frames = ExtResource("14_aystc") +animation = &"idle" -[node name="Hat" type="TextureRect" parent="CanvasLayer/Dragon"] -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -38.0 -offset_top = -44.0 -offset_right = 38.0 -offset_bottom = 44.0 -grow_horizontal = 2 -grow_vertical = 2 +[node name="Hat" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] +sprite_frames = ExtResource("2_aystc") +animation = &"idle" -[node name="Shirt" type="TextureRect" parent="CanvasLayer/Dragon"] -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -38.0 -offset_top = -44.0 -offset_right = 38.0 -offset_bottom = 44.0 -grow_horizontal = 2 -grow_vertical = 2 +[node name="Shirt" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] +sprite_frames = ExtResource("15_x0448") +animation = &"idle" -[node name="Shoes" type="TextureRect" parent="CanvasLayer/Dragon"] -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -38.0 -offset_top = -44.0 -offset_right = 38.0 -offset_bottom = 44.0 -grow_horizontal = 2 -grow_vertical = 2 +[node name="Decor" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] +sprite_frames = ExtResource("6_c4sli") +animation = &"idle" [node name="Dragger" type="Control" parent="CanvasLayer"] layout_mode = 3 diff --git a/src/dragon_outfit.gd b/src/dragon_outfit.gd index 092f480..964b716 100644 --- a/src/dragon_outfit.gd +++ b/src/dragon_outfit.gd @@ -11,7 +11,7 @@ func _init(outfits: Array[SpriteFrames] = []): self.outfits = outfits -func pick_next() -> Texture2D: +func pick_next() -> SpriteFrames: index += 1 if allow_null: return _pick_nullable() @@ -19,7 +19,7 @@ func pick_next() -> Texture2D: return _pick_non_nullable() -func pick_previous() -> Texture2D: +func pick_previous() -> SpriteFrames: index -= 1 if allow_null: return _pick_nullable() @@ -27,7 +27,7 @@ func pick_previous() -> Texture2D: return _pick_non_nullable() -func _pick_nullable(): +func _pick_nullable() -> SpriteFrames: index %= (len(outfits) + 1) if index == 0: return null @@ -35,15 +35,11 @@ func _pick_nullable(): return outfits[index - 1] -func _pick_non_nullable(): +func _pick_non_nullable() -> SpriteFrames: index %= len(outfits) return outfits[index] -func get_index(texture: Texture2D) -> int: - return outfits.find(texture) - - func get_texture(index: int) -> SpriteFrames: if index < 0 or index >= len(outfits): return null From fc177656c5403744272377da729c8a231fe406dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Mon, 14 Apr 2025 12:46:25 +0200 Subject: [PATCH 13/14] feat: added town name setting --- scenes/dragon_editor/dragon_editor.gd | 38 ++++++++++++++++++--------- scenes/main.gd | 21 +++++++++++++-- scenes/main.tscn | 4 ++- scenes/name_setter/name_setter.gd | 20 ++++++++++++++ scenes/name_setter/name_setter.gd.uid | 1 + scenes/name_setter/name_setter.tscn | 38 +++++++++++++++++++++++++++ src/dragon_outfit.gd | 27 +++++++++++++------ src/save_load.gd | 9 +++++++ 8 files changed, 134 insertions(+), 24 deletions(-) create mode 100644 scenes/name_setter/name_setter.gd create mode 100644 scenes/name_setter/name_setter.gd.uid create mode 100644 scenes/name_setter/name_setter.tscn diff --git a/scenes/dragon_editor/dragon_editor.gd b/scenes/dragon_editor/dragon_editor.gd index 73470ed..2cb25f8 100644 --- a/scenes/dragon_editor/dragon_editor.gd +++ b/scenes/dragon_editor/dragon_editor.gd @@ -1,7 +1,6 @@ extends Window class_name DragonEditor - @onready var hat: AnimatedSprite2D = $CanvasLayer/Dragon/Hat @onready var shirt: AnimatedSprite2D = $CanvasLayer/Dragon/Shirt @onready var decor: AnimatedSprite2D = $CanvasLayer/Dragon/Decor @@ -12,24 +11,26 @@ class_name DragonEditor @export var decor_outfits: DragonOutfit @export var dragon_colors: DragonOutfit +var _save_load: SaveLoad = SaveLoad.new() + @onready var dragon_name: LineEdit = $CanvasLayer/NameLabel/LineEdit - @onready var dragger: DraggableWindow = $CanvasLayer/Dragger - signal on_create_dragon(properties: DragonProperties) func _ready() -> void: + _save_load.load() + hat.visible = false shirt.visible = false decor.visible = false dragon.play('idle') - - hat_outfits.index = 0 - shirt_outfits.index = 0 - decor_outfits.index = 0 - dragon_colors.index = 0 - + + hat_outfits.reset() + shirt_outfits.reset() + decor_outfits.reset() + dragon_colors.reset() + dragger.on_drag.connect(_on_drag) @@ -64,7 +65,18 @@ func _pick_next_animation(sprite: AnimatedSprite2D, outfits: DragonOutfit): return sprite.visible = true sprite.set_sprite_frames(animation) - sprite.play('idle') + _restart_animations() + + +func _restart_animations(): + hat.set_frame(0) + hat.play('idle') + shirt.set_frame(0) + shirt.play('idle') + decor.set_frame(0) + decor.play('idle') + dragon.set_frame(0) + dragon.play('idle') func _pick_previous_animation(sprite: AnimatedSprite2D, outfits: DragonOutfit): @@ -74,14 +86,14 @@ func _pick_previous_animation(sprite: AnimatedSprite2D, outfits: DragonOutfit): return sprite.visible = true sprite.set_sprite_frames(animation) - sprite.play('idle') + _restart_animations() func _on_create_pressed() -> void: if dragon_name.text.is_empty(): return - - var properties = DragonProperties.new(dragon_name.text, "tower", hat_outfits.index, shirt_outfits.index, decor_outfits.index, dragon_colors.index) + + var properties = DragonProperties.new(dragon_name.text, _save_load.get_tower_name(), dragon_colors.get_current_index(), hat_outfits.get_current_index(), shirt_outfits.get_current_index(), decor_outfits.get_current_index()) on_create_dragon.emit(properties) queue_free() diff --git a/scenes/main.gd b/scenes/main.gd index fbef46a..c2e6201 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -4,6 +4,7 @@ class_name GameManager @export var dragon_template: PackedScene @export var dragon_ingame: PackedScene +@export var name_setter: PackedScene @export var dragon_spots: Array[Node2D] @export var clock: PackedScene @@ -32,15 +33,31 @@ func _ready(): await get_tree().process_frame move_window_to_bottom_right() _load_game() + if _save_load.get_tower_name() == "": + _show_name_setter_screen() _queue_dragon_instantiation() var clock_window: Window = clock.instantiate() add_child(clock_window) +func _show_name_setter_screen(): + var setter: NameSetter = name_setter.instantiate() + setter.set_save_load(_save_load) + add_child(setter) + + var display_index: int = DisplayServer.window_get_current_screen() + var work_area_position: Vector2i = DisplayServer.screen_get_usable_rect(display_index).position + var work_area_size: Vector2i = DisplayServer.screen_get_usable_rect(display_index).size + + var new_position: Vector2i = work_area_position + Vector2i(work_area_size.x / 2.0 - setter.size.x / 2.0, work_area_size.y / 2.0 - setter.size.y / 2.0) + setter.position = new_position + + func _queue_dragon_instantiation(): await get_tree().create_timer(rng.randf_range(min_dragon_instantiation_time, max_dragon_instantiation_time)).timeout - _instantiate_random_dragon() + if _save_load.get_tower_name() != "": + _instantiate_random_dragon() _queue_dragon_instantiation() @@ -50,7 +67,7 @@ func _instantiate_random_dragon(): return for i in range(5): - dragon_sharing.receive("potato") + dragon_sharing.receive(_save_load.get_tower_name()) var dragon: DragonProperties = await dragon_sharing.on_dragon_received if dragon == null: return diff --git a/scenes/main.tscn b/scenes/main.tscn index 04bd148..ad2c8bc 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=13 format=3 uid="uid://ctytpqaed0yqx"] +[gd_scene load_steps=14 format=3 uid="uid://ctytpqaed0yqx"] [ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"] [ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"] [ext_resource type="PackedScene" uid="uid://bj5ptaniasaaj" path="res://scenes/clock/clock.tscn" id="4_a8y0u"] [ext_resource type="PackedScene" uid="uid://miutbdsgccd1" path="res://scenes/dragons/dragon.tscn" id="4_jyhfs"] [ext_resource type="Script" uid="uid://cj4l3a6a8ro0r" path="res://scenes/create_button.gd" id="4_tbgi4"] +[ext_resource type="PackedScene" uid="uid://cdlipr8l1k38a" path="res://scenes/name_setter/name_setter.tscn" id="4_trceg"] [ext_resource type="PackedScene" uid="uid://fut42ruut302" path="res://scenes/dragon_editor/dragon_editor.tscn" id="5_tefeu"] [ext_resource type="Script" uid="uid://oc6mw86npbii" path="res://scenes/list_button.gd" id="9_choun"] [ext_resource type="PackedScene" uid="uid://tubxrqxjic6r" path="res://scenes/dragon_list/dragon_list.tscn" id="10_ya4ey"] @@ -17,6 +18,7 @@ script = ExtResource("1_sugp2") dragon_template = ExtResource("2_jyhfs") dragon_ingame = ExtResource("4_jyhfs") +name_setter = ExtResource("4_trceg") dragon_spots = [NodePath("DragonSpot1"), NodePath("DragonSpot2"), NodePath("DragonSpot3")] clock = ExtResource("4_a8y0u") min_dragon_instantiation_time = 2.0 diff --git a/scenes/name_setter/name_setter.gd b/scenes/name_setter/name_setter.gd new file mode 100644 index 0000000..26a383a --- /dev/null +++ b/scenes/name_setter/name_setter.gd @@ -0,0 +1,20 @@ +extends Window +class_name NameSetter + + +var save_load: SaveLoad +@onready var name_edit: LineEdit = $Name + + +func _ready() -> void: + pass + + +func set_save_load(save_load: SaveLoad) -> void: + self.save_load = save_load + + +func _on_submit_pressed() -> void: + if not name_edit.text.is_empty(): + save_load.set_tower_name(name_edit.text) + queue_free() diff --git a/scenes/name_setter/name_setter.gd.uid b/scenes/name_setter/name_setter.gd.uid new file mode 100644 index 0000000..b0da722 --- /dev/null +++ b/scenes/name_setter/name_setter.gd.uid @@ -0,0 +1 @@ +uid://drulv5ptupx2w diff --git a/scenes/name_setter/name_setter.tscn b/scenes/name_setter/name_setter.tscn new file mode 100644 index 0000000..9b31da8 --- /dev/null +++ b/scenes/name_setter/name_setter.tscn @@ -0,0 +1,38 @@ +[gd_scene load_steps=2 format=3 uid="uid://cdlipr8l1k38a"] + +[ext_resource type="Script" uid="uid://drulv5ptupx2w" path="res://scenes/name_setter/name_setter.gd" id="1_f3gk5"] + +[node name="NameSetter" type="Window"] +position = Vector2i(0, 36) +size = Vector2i(500, 250) +unresizable = true +always_on_top = true +script = ExtResource("1_f3gk5") + +[node name="Instructions" type="Label" parent="."] +offset_right = 500.0 +offset_bottom = 146.0 +text = "En aquesta torreta, present a la cantonada del teu escriptori, hi viuran uns dracs que t’acompanyaran en el teu dia a dia. Fins i tot et vindran a visitar dracs d'altres torretes! + +Per començar, posa un nom a la teva torreta. +És el primer pas per fer-la teva." +horizontal_alignment = 1 +autowrap_mode = 2 + +[node name="Name" type="LineEdit" parent="."] +offset_left = 84.0 +offset_top = 163.0 +offset_right = 423.0 +offset_bottom = 214.0 +placeholder_text = "Nom" +alignment = 1 +max_length = 16 + +[node name="Button" type="Button" parent="."] +offset_left = 220.0 +offset_top = 218.0 +offset_right = 287.0 +offset_bottom = 249.0 +text = "Assigna" + +[connection signal="pressed" from="Button" to="." method="_on_submit_pressed"] diff --git a/src/dragon_outfit.gd b/src/dragon_outfit.gd index 964b716..ca918b5 100644 --- a/src/dragon_outfit.gd +++ b/src/dragon_outfit.gd @@ -4,15 +4,19 @@ class_name DragonOutfit @export var allow_null: bool @export var outfits: Array[SpriteFrames] -var index: int = 0 +var _index: int = 0 func _init(outfits: Array[SpriteFrames] = []): self.outfits = outfits +func reset() -> void: + _index = 0 + + func pick_next() -> SpriteFrames: - index += 1 + _index += 1 if allow_null: return _pick_nullable() else: @@ -20,7 +24,7 @@ func pick_next() -> SpriteFrames: func pick_previous() -> SpriteFrames: - index -= 1 + _index -= 1 if allow_null: return _pick_nullable() else: @@ -28,16 +32,16 @@ func pick_previous() -> SpriteFrames: func _pick_nullable() -> SpriteFrames: - index %= (len(outfits) + 1) - if index == 0: + _index %= (len(outfits) + 1) + if _index == 0: return null - return outfits[index - 1] + return outfits[_index - 1] func _pick_non_nullable() -> SpriteFrames: - index %= len(outfits) - return outfits[index] + _index %= len(outfits) + return outfits[_index] func get_texture(index: int) -> SpriteFrames: @@ -45,3 +49,10 @@ func get_texture(index: int) -> SpriteFrames: return null return outfits[index] + + +func get_current_index() -> int: + if allow_null: + return _index - 1 + else: + return _index diff --git a/src/save_load.gd b/src/save_load.gd index 0fc6ebe..d9d5c5b 100644 --- a/src/save_load.gd +++ b/src/save_load.gd @@ -25,6 +25,7 @@ func load() -> void: contents_to_save.get_or_add('coins', 0) contents_to_save.get_or_add('dragons', []) contents_to_save.get_or_add('items', []) + contents_to_save.get_or_add('tower_name', "") func get_coins() -> int: @@ -35,6 +36,14 @@ func set_coins(coins: int) -> void: contents_to_save['coins'] = coins +func get_tower_name() -> String: + return contents_to_save['tower_name'] + + +func set_tower_name(name: String) -> void: + contents_to_save['tower_name'] = name + + func clear_dragons() -> void: contents_to_save['dragons'] = [] From ee9a569e9c747c50f8c67149b1be2b4a2be94101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Mon, 14 Apr 2025 13:05:36 +0200 Subject: [PATCH 14/14] chore: added todo --- scenes/main.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/scenes/main.gd b/scenes/main.gd index c2e6201..9eba561 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -66,6 +66,7 @@ func _instantiate_random_dragon(): if spot == null: return + #TODO: Add also a way to instantiate dragons in your library with a greater probability for i in range(5): dragon_sharing.receive(_save_load.get_tower_name()) var dragon: DragonProperties = await dragon_sharing.on_dragon_received