From 263d6219cc0ecd783d9fce6170e1ceaef11ee9a4 Mon Sep 17 00:00:00 2001 From: Haze Weathers Date: Mon, 25 Dec 2023 01:01:59 -0500 Subject: [PATCH] Marisa Rigate's Big Commit: Disaster Averted! --- autoloads/debug.gd | 4 + graphics/npc/msx_blink.png | Bin 0 -> 2122 bytes graphics/npc/msx_blink.png.import | 35 +++++++ graphics/npc/msx_respawn.png | Bin 0 -> 2324 bytes graphics/npc/msx_respawn.png.import | 35 +++++++ graphics/player/costume_wriggle.png | Bin 0 -> 4159 bytes graphics/player/costume_wriggle.png.import | 35 +++++++ graphics/player/palettes/costume_wriggle.png | Bin 0 -> 170 bytes .../palettes/costume_wriggle.png.import | 35 +++++++ maps/rust.tscn | 7 +- maps/station.tscn | 22 ++-- menus/credits.tscn | 14 +-- menus/level_select_scholar.gd | 22 +--- menus/level_select_scholar.tscn | 55 ++-------- objects/environment/switches/button.gd | 1 + objects/environment/switches/button.tscn | 1 - objects/lore/station/msx.tscn | 2 +- objects/npc/msx.gd | 42 +++++++- objects/npc/msx.tscn | 99 +++++++++++++++++- 19 files changed, 314 insertions(+), 95 deletions(-) create mode 100644 graphics/npc/msx_blink.png create mode 100644 graphics/npc/msx_blink.png.import create mode 100644 graphics/npc/msx_respawn.png create mode 100644 graphics/npc/msx_respawn.png.import create mode 100644 graphics/player/costume_wriggle.png create mode 100644 graphics/player/costume_wriggle.png.import create mode 100644 graphics/player/palettes/costume_wriggle.png create mode 100644 graphics/player/palettes/costume_wriggle.png.import diff --git a/autoloads/debug.gd b/autoloads/debug.gd index 1769365..a45b6de 100644 --- a/autoloads/debug.gd +++ b/autoloads/debug.gd @@ -223,3 +223,7 @@ func _enter_code(): fast_punishment = 1 "FASTERPUNISHMENT": fast_punishment = 2 + "WIGGLE": + var player = get_tree().get_nodes_in_group("player").pop_back() + player.sprite.material.set_shader_param("palette", load("res://graphics/player/palettes/costume_wriggle.png")) + player.sprite.set_texture(load("res://graphics/player/costume_wriggle.png")) diff --git a/graphics/npc/msx_blink.png b/graphics/npc/msx_blink.png new file mode 100644 index 0000000000000000000000000000000000000000..54236d0854ffed947b06a92cb2f7d48a7cd41a32 GIT binary patch literal 2122 zcmah}32@Y86i!94wB0ftsUjYPv|^!Vlig&uNoE&lyDhsNwq4tuiU?>n`Lo15vQ5(N zQb$4L5ExVt934@L7YJBEM4_N^Nl`4KpyN5VBBSC_FAhtk{@J6J8D`8(lK=SL_rLeO z_rImS+Nq|TF*yi=m^^M*J^cINJ1Tn^{NlrFP9aFvLbJCXP>bi|D~O2yWx>FHSWOp-4k2h z!4_t18s{pMp4MJl>*_qy{3!BGZ@`f|aM%4aj!ILe6hA^8S065WIB37=@joXuEi5ct zaei%L|8v8aj@{MX*MDeN_qM%MQ6p!oyK&sLxsfezSW0Jbztc_rx?=hC1$hM%HM19kNv&hy34Pw*?V}~ z{2aaH*|Gg2ANcUoqjlas4?iONt)0Jijz0EQE`4wNh5LW*SaA({K5ypr_`DbMKX_o( z?2!CXQQN#5cJ7SIr*Dq!8kRTtsbw!F>L05){QZOHsJ@qOBNMrQwg0V!o;~?jmizdY zRb_kkjU#8b{d^|B_g8t{m+Rtt{x0v!YWhQcDYRnW2S!?a)BIJ{?x}Ft{rcMTU0q$} z<(l4dWW#Dvls;SBa_r!SW=A1YoKsp_T2N2`VM5PQ<2O>TuWcB(GSz#2^|$9Fr3bYgedyref)3FgS|Ruwd~*7}9kkid%AM$IWrd ztf)c4!m=zuS_!KahX`Do8`b#)9@UCcBxxEK&;(VE>9P_<4O%{+H0w?b`jK)l67zZo z*`r!o2dD^<;A4cvOcIfZ;dK(N=~XSzIPJ@2(VBm53=s7|Q<_x)RJDMpUX(GP>hbyp zt&K>6awL|F1*$f9h$swVV$Etexi1O?2!jYD)1Xh5L98xI|7mlHKgLed{mkL;h(X>< zkeN6QAQXdhDMGVxlE>x53Z&ICw_k^nE!q!mLAy}5Fq$B9|ZWP0ig^SY#{ z5hpfHjy5OKtA05G8g$-}$YN(`ill5TP1z{Mma%IDss?Mwpt6u=ipEe;;Hn`J4+}z$ z@IgStqCpHbbmyS!P(a=&I!Krdh^tfquPdrwQNm8l@C-GWQhQ!_HAG(LUAzw938aG<^OIJNv~v`VlQc(Wz=|kKbN>&Tyhtc~9I33jWeuJ_cW^mkh=J3%VfUN*lVG1T+Cethn6G|CHVgoErOJzJB2-x8$U=wT>SUn;I zGo7;66iJWsDku*^)u1@A=#t`~CCMC3$l&60fRO+w4^GR3SrS^ldUo%@-91f>PktQahR zr&@a)_~h~>p?U8+h}>6Ak6yUDr=$JLLlFMTZ#SzKulT38{OfrG8`@z^h^MO7)n0MW Gf`0*HS@CQD literal 0 HcmV?d00001 diff --git a/graphics/npc/msx_blink.png.import b/graphics/npc/msx_blink.png.import new file mode 100644 index 0000000..a71262c --- /dev/null +++ b/graphics/npc/msx_blink.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/msx_blink.png-3e81cac31b42c7066c74bede693edca4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/npc/msx_blink.png" +dest_files=[ "res://.import/msx_blink.png-3e81cac31b42c7066c74bede693edca4.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/graphics/npc/msx_respawn.png b/graphics/npc/msx_respawn.png new file mode 100644 index 0000000000000000000000000000000000000000..07478025b7201c7f4da8956058e7dc2767bbaec6 GIT binary patch literal 2324 zcmah~4Nw&489uS7P}JHQiHr%`Q$~KWcYAyP>s=J?4mj};;Us4wmA&1)W99zX-8+sy z(^!LCsx(HVX|xcdB55L82Bm_3RAM5OF$RKwIyR$*OjNK~f~lRP-yR3S8E3jPyZe3b zKJW9r@AJLiyMe6CwE2-Skph8WzA;^&4c;ffy?EYi@Qk^WRwEG1+D_|qSw@`>%3|C$ z+Cd2f@mKck$%xl)Sa#`kTh;R$8Z_A>VM&Vg+9-L#)|f+QmW-SwD&H$JO;kHx+IOt^ z;ea1@d_4H-K;jY2+Ea?$&eXOahO6H*?qY_)s^ia=@ z&fD2z&?b~8-njc&_?x5qTz9@V6b%jkwkv8?;PDBM#gY;I*A1Ote?UY`M6|AiUmKg9 zQ<9nZn;Zv~`;YpvzeHCqxqmt0NVg-dEB@W|0RdKCI~ z-tN4Pkr%m!xU#0s_K)5wd-7=4t=K*8!&yw*lAH1}uqklXId1`#zXvA@DGstycG{&C zj<%l{LNuurz9KgvCXbFPpwmkkDyKBlOq3Q9YEroR<@u2sKL!|_6o*58r^Cf!eyuP_ zjDaz477L*uge%kvEv76;=VmBKCX$H|*x;vqs1T4qkcJ^`ShhYjL;_}7VFAZ^FtNC} zxL8yy6}cI^SfW;|#Rw`!Q5Ya#w#3EZe%Qq>pCk#<=qZ+9Xb(rbT@X);TisqxD+F;& z2I%ydOw;TxHlzbkMC`{sVu=V5JDq&gK{U%5e84#r%QMlexx_<>vnkf?WeCdPqg>qb zDR+{X_VsufM=%SL5K|7y31BQ(O)|Yyn$eUsjpnnq(@sy&11LO=;%M7X+B_8x|0Njy z)Z)Nxn(ry(RGvH#h=J+dgqM%UsMiYlMKRJ%&?FWdN)@OSAt(fvAxiKdaU8Z1N*tC_ zq)IMBRH)R7Pw^OCEQh-Yisu2$A{vk=BnXPi2?;Dklqy&zK@_l6rodqpsU#IvwNkD? zY*YU085)!x?wA=5&qD$pxkM!+thfqRQfd^Isg)=U3^*(YK}fACt6Xg(gb+z!scy!J zgDs<-xSbMvTy`PED~ly(8MQ)GgoLJ94xFyWI}0kdFc4eI~z| zz|kOa4%g!x1-KAYib*6GDmP11m{g9TG8mC#$Q0O3(zcTS2Mr!12wa-UT}`K1uzJa~ zIdnX7sG=FBkkLUy!Ai$)Vlo95_fe!UWF!i3mz@Hw094^5jDE&W6E;*OlOiZ=RZ7)h zhg32!l1pJ+hEq7H!cnOb2s7!=x@}xB&QQsApc)Vd6kSjpC_cCw2~)V@0*aR!$OB6x z@H6BQ&&Wk1=8yZ#{50ZcNim6=(I$c%lUC4!zzq0JwKaY=-5Mzu5P<=WFTB2FBlwNh z81>2K^o%cSe($;nMH$}Mv1@$%$NE*e5p36SV|)5u-{I8919N_Uu=3N@gu>I9?<{Km z^GIz}UDKt3%%KIQ>t3H@=axcgzd2=mO!v1#ao2yyyWjDCb>EsODDRl|z=@p?R?Ys> z7H>%_&dB*<&DuD;a*oQR zO}CqcO?{_p<(Jn_RM*w5OgFt6{WIyd%6XS*^uxp$9em#tF;qI6t#d{uc1$=fM)mby zwf1%u-itL1u7B%xM*dKOx8iprhZf%p8@u(#R@1qvgcXDTX^XqL-Ins%1EKfysXG^< zFEjau)ci&b~2hrx{V&p+AKkT{(QEyYXb%qsqIvYm03A?{Z&!wAg*= zg$JYc`nV(Wk8f=3sQrcJtJ)Gt^wH)=!*iP2PyS)^Qg!6JEw9vPpWeLt+IOD(5=VG< zbct_S%R5}cwWQh?y3UnfY}V!;801zA*YpN%z4+MIesk0ko4oa`?`!(lJN8=-V;}j; YXR)Opgtc@RkMn;uqajn@l#;*wfAdacu>b%7 literal 0 HcmV?d00001 diff --git a/graphics/npc/msx_respawn.png.import b/graphics/npc/msx_respawn.png.import new file mode 100644 index 0000000..37f3179 --- /dev/null +++ b/graphics/npc/msx_respawn.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/msx_respawn.png-079d35100957fd3b65980cf58702fa84.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/npc/msx_respawn.png" +dest_files=[ "res://.import/msx_respawn.png-079d35100957fd3b65980cf58702fa84.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/graphics/player/costume_wriggle.png b/graphics/player/costume_wriggle.png new file mode 100644 index 0000000000000000000000000000000000000000..f570542112be5dc6ce36b0bfb19ae377e2271e0c GIT binary patch literal 4159 zcmaJ^4LnnOA3w)oi#8J#L$(`r>q@ys$lDYlq!*PMHZ?`^k|fD&O6f(6l5~p+w-O^a zL~QGo=thL{w&f)+OG*}I+j&mzeV*rYpXa&HKA)Z6?|07soc;Ize}CWa_nh0Z*#)bn zs|El7*3H#v8vuYvsszk~kg&&T{R#(7np?QMtQ@L!Uw>aCpv#~hV|8P*42>jMtDHU3Q=vEvmQy9nhVPFN zN>D~M_9E zR|(R4j<_^IG?tDUmV*`Qr8o91;j2`E2bls)k6CH8;#4j;`TC9=yb`u7$bhdhbBxtV zpbe8Sg(WaC2i(JC6*T>PyIKKRL&*wYLnXGb6ejD?rqILHH)sqwx&^pv8#Z!>#}iFs zHBeD@9d(Uu0hA7{`zb=DVDdqYEt>bE8j1bWCiR#H{%bZJecSx-GN*+~yTP2l5fwCe z*l)bLE92 z%plnUWILB($WiV(tl=yFUcINn4Q zFP>aP&=8{|jz8q~{a!dg5^e2`J}CIDrstu&L{RHBI95H{VQh$To!PaMPyHnq3~ijD zmJTWhlZU!k-iqSlc>Y>L=)P330I$m)h08NaIySxp?kbp0`Jnngq4r;Mdye{S;8Kyi z?M55%%MtygGLH`uwEmq_PW#RB98XFN+nSuqNV-O@9{bdfXwy-^q0}G7E^pNTu(}>o zs_klZ<6Xijy4L_|7^~S$78t5eE;BV}O_;^Q%y73*TnIUmXyHn;$rDQzZz>M(JWE61 z0TM?x3#UwkcQu|{UY~aD_II2zW~Sht49xJ0g8n#JqA80BZ?;~nOAqTXZURFYiAyF@ zz{)5sePg&AkkqwS8t(Kw4f+~E2kN`Kb~NBIsrWH96sKYMI8~U1MHm!Za2q)(b z4}C4*!=&Q$SI_FQn;bj~Uww0iIGL$1D-D!;^$B0-`-D@RnP*ijMy``7KRMVJwweQ7 z*0|a@8G0TRlcw>C-Ah}?PvNF$>#P_JbtiE`-DhqM&Niyr8VIRtiJq*ZSW)GzR_$MX zHi-_;_gKHKN68tF>b|gjdTS0}J3PV2xQ@AgKRK4iicBC)mN^`0D#3FMU{ynCT`Xh* zQr0w3*D-g)iMe3Zr%BYZgB=d*Ujm;r9w1~dvt}L;Jw#nrW z3vP8TKoxCemMjSts0|JwMZU~VkKHg%KjETF4nxbGJgSf~i=JfI`n`6(ey5 z0I+nuUtCr#%S-6n^6cwMr~w(E{sQBQ)jSW@tW)wQC%AZy@>lt)iQPBeVi3OvBM>R&a(X5wz~(`xcn9vD$m6Go!u5k!$*7`t9BG11W_6Fj?G z7Ge2wvGMxG^9wuTmeL$7M9B4fjhHhKTium>7F1@QY!4 zdnJ)1+G|wG<$aeJxv=?RzVTf?Wk`7PCBT@8^<&!e_;E^N83my)u4gTo7k~6PXvT8M zKsDb9|C8&v!tkOspEWKnPH$KoRFC=W@>h!gm!wnwAk^YwgyeVsD%la9y7GfM6j`j@1binj80#@jQ=`QUZ< zOFWUg6rueSYk?;12!a^*0GKmtw8(cN_Jj1}`vHIZd8NR_{nMVWiS4 z1@CwAUsR9fpH_1T;)fA9J z@?70{PfeP>o_%G>Az)4&D+Uorv)V_9-1&oY*)zlspl0ny>IbZ%TXLG<3{uKdYBO z8#zIzv)T>5#~?wT1Lt~f!MNtkvU)irXODin>$tDhCZCB^XCcNwe3 za6W~w{lwnkzBluIDMH}z&+fC(x3^Rx*5~ba%$$753Y3HH5|jF{gg+7;-R6p@g!xkF zgLu)Rj(o7ThtRB7eKfAc*n;CG_7^wyw`%ODOkoZ$l9T=75v}(1Gsr>dR3Eh+VYmsE z0tEe2{hf7B*7jed)0-w zR9a-c1y>2Rozr=A3q@w z{I^m!eR3+O!bkc_r(kc}xCtYip5-$rmNs;`r@iozoS5SeyY{KfbUaXc1CrFEbg=4P zr3~drC|Md`IA+ieG|qiCC(MW0Pnn zCV3LApYm@@_pg5cZsF$)ak)6$Y+c3pWMSB{kj4U z)ct~V1*=%X?N1`yKk!A>p=ucvo9z&FsfM?75aaV89#|Q5T5rUhUsb`lX%jK(E{%R4 z*fb)f3&fQ5I>O#=xx{mjW>oo!zMi`v}>*if&f=&+hn zmmyJGG6Wm~KYFV_SqQwfP(IHHd;;>#p^fIh(=UOUVP44FoYD>t9m8J-EHIo(k*-CB z+6uzak(iJ014clkz!$n-4V!OQ9hR%82C|RW{7l=XXu*im4gELot!I_6S6(cS3K3kE z6;niqKShr9>d*}A_a$1>w=tivKJ@yQbVN%0Cv+{gHgGOs3|dpc;2~!R{<<^K;#7yL zx}V3^IBq)a{<7@kY$UB{S#>(m?bhp!*AC!uS3>~Cx0r(Mw|&3p8E3Awy=`^bt2ig= z1pUoa7MpJYy*Z{}#y^+Xt;CR0*XA%ybD6V?f$kty=F3*rHu%wz-eI|_?Iyj~S#qqF zbQ3CKb<7t|=)vZCAe(+8UuqLN&K4T>j~5XlN@ub-C@j*vDhnUsnQU89ZJ6 KT-G@yGywqSnlu^! literal 0 HcmV?d00001 diff --git a/graphics/player/palettes/costume_wriggle.png.import b/graphics/player/palettes/costume_wriggle.png.import new file mode 100644 index 0000000..b0e9ca0 --- /dev/null +++ b/graphics/player/palettes/costume_wriggle.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/costume_wriggle.png-fad3e57a7421b503255cab9833e11de8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/player/palettes/costume_wriggle.png" +dest_files=[ "res://.import/costume_wriggle.png-fad3e57a7421b503255cab9833e11de8.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/maps/rust.tscn b/maps/rust.tscn index be2c36b..d73cc71 100644 --- a/maps/rust.tscn +++ b/maps/rust.tscn @@ -59,7 +59,7 @@ material = ExtResource( 26 ) tile_set = ExtResource( 4 ) cell_size = Vector2( 8, 8 ) format = 1 -tile_data = PoolIntArray( 48, 0, 0, 65584, 0, 0, 131120, 0, 0, 196614, 0, 0, 196656, 0, 0, 196671, 0, 0, 196672, 0, 0, 196673, 0, 0, 196674, 0, 0, 262173, 0, 131072, 262174, 0, 65537, 262175, 0, 65537, 262176, 0, 65537, 262177, 0, 65537, 262178, 0, 65537, 262179, 0, 65537, 262180, 0, 65537, 262181, -1610612736, 131072, 262192, 0, 0, 327691, 0, 131072, 327692, 0, 65537, 327693, 0, 65537, 327694, 0, 65537, 327695, 0, 65537, 327696, 0, 65537, 327697, 0, 65537, 327698, 0, 65537, 327699, 0, 65537, 327700, 0, 65537, 327701, 0, 65537, 327702, 0, 65537, 327703, 0, 65537, 327704, 0, 65537, 327705, 0, 65537, 327706, 0, 65537, 327707, 0, 65537, 327708, 0, 65537, 327709, 1610612736, 131072, 327717, -1073741824, 65537, 327733, 0, 0, 327734, 0, 196609, 327735, 0, 196609, 327736, 0, 65536, 327737, 0, 65538, 327738, 0, 65537, 327739, 0, 65538, 327740, 536870912, 65536, 327760, 0, 131072, 327761, 0, 65537, 327762, 1610612736, 65538, 327763, 0, 65537, 327764, 0, 131073, 327765, 0, 65537, 327766, 0, 65537, 327767, 0, 65537, 327768, 0, 65537, 327769, 0, 65537, 327770, 0, 65537, 327771, 0, 65538, 327772, 0, 65537, 327773, 0, 65537, 327774, 0, 65537, 327775, 0, 65537, 393227, -2147483648, 65537, 393253, -1073741824, 65537, 393268, 0, 0, 393269, 0, 0, 393288, 0, 65536, 393289, 0, 65537, 393290, 0, 131075, 393296, -1073741824, 65537, 458763, -2147483648, 65537, 458789, -1073741824, 131072, 458790, 0, 65537, 458791, 0, 65537, 458792, 0, 65537, 458793, 0, 65537, 458794, 0, 65537, 458795, 0, 65537, 458796, 0, 65537, 458797, 0, 65537, 458798, 0, 65537, 458799, 536870912, 65536, 458805, 0, 0, 458832, -1073741824, 65538, 524299, -2147483648, 65537, 524315, 0, 131072, 524316, 0, 65537, 524317, 0, 65537, 524318, 0, 65537, 524319, 0, 65537, 524320, 0, 65537, 524321, 0, 65537, 524322, 536870912, 131072, 524338, 0, 0, 524341, 0, 0, 524342, 0, 0, 524343, 0, 0, 524344, 0, 0, 524368, -1073741824, 65537, 589830, -2147483648, 65536, 589831, 0, 196609, 589832, 0, 196609, 589833, 0, 65536, 589834, 0, 65537, 589835, -536870912, 131072, 589851, -1073741824, 65537, 589858, -1073741824, 65537, 589898, 0, 65536, 589899, 0, 65537, 589900, 536870912, 65536, 589904, -1073741824, 65536, 589906, 0, 0, 589907, 0, 0, 589908, 0, 0, 589910, 0, 0, 589911, 0, 0, 589913, 0, 0, 589914, 0, 0, 655366, -1073741824, 65537, 655376, 0, 65536, 655377, 0, 65537, 655378, 0, 65537, 655379, 0, 65537, 655380, 0, 65537, 655381, 0, 65537, 655382, 0, 65537, 655383, 0, 65537, 655384, 0, 65537, 655385, 0, 65537, 655386, 0, 65537, 655387, 1610612736, 131072, 655394, -1073741824, 131072, 655395, 0, 65537, 655396, 0, 65537, 655397, 0, 65538, 655398, 0, 65537, 655399, 0, 65537, 655400, 0, 65537, 655401, 536870912, 65536, 655418, 0, 0, 655419, 0, 0, 655420, 0, 0, 720902, -1073741824, 65537, 720903, 0, 196609, 720904, 0, 196609, 720962, 0, 0, 720963, 0, 0, 720964, 0, 0, 720966, 0, 0, 720967, 0, 0, 720968, 0, 0, 786438, -1073741824, 65538, 851974, -1073741824, 65537, 851975, 0, 196609, 851976, 0, 196609, 851989, 0, 0, 852021, 0, 0, 852042, 0, 0, 917510, -1073741824, 65537, 917550, 0, 65536, 917551, 0, 65537, 917552, 0, 65537, 917553, 0, 65537, 917554, 0, 65537, 917555, 0, 65537, 917556, 0, 65537, 917557, 0, 65537, 917558, 0, 65537, 917559, 0, 65537, 917560, 0, 65537, 917561, -1610612736, 131072, 917565, 0, 65536, 917566, 0, 65537, 917567, 0, 65537, 917568, 0, 65537, 917569, 0, 65537, 917570, 0, 65537, 917571, 0, 65537, 917572, 536870912, 65536, 917590, 0, 0, 917591, 0, 0, 917592, 0, 0, 917593, 0, 0, 917594, 0, 0, 917595, 0, 0, 917596, 0, 0, 917597, 0, 0, 917599, 0, 0, 983046, -1073741824, 131072, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983052, 0, 65537, 983053, 0, 65537, 983054, 0, 65538, 983055, 0, 262144, 983057, 0, 262145, 983058, 0, 131075, 983078, 0, 0, 983079, 0, 0, 983080, 0, 0, 983081, 0, 0, 983097, -1073741824, 131072, 983098, -1610612736, 131072, 983113, 0, 0, 983121, 0, 0, 983122, 0, 0, 983123, 0, 0, 1048634, -1073741824, 65537, 1048647, 0, 0, 1114135, 0, 131072, 1114136, 0, 65537, 1114137, 0, 65537, 1114138, 0, 65537, 1114139, 0, 65537, 1114140, 0, 65537, 1114141, 0, 65538, 1114142, 0, 65537, 1114143, 0, 65537, 1114144, 0, 65537, 1114145, 0, 65537, 1114146, 0, 262144, 1114147, 0, 262145, 1114148, -1610612736, 131072, 1114170, -1073741824, 131072, 1114171, 0, 65537, 1114172, 0, 65537, 1114173, 0, 65537, 1114174, 536870912, 65537, 1114175, 0, 65537, 1114176, 0, 65537, 1114177, 0, 65537, 1114178, 0, 131075, 1114191, 0, 0, 1114205, 0, 0, 1114206, 0, 0, 1179661, 0, 65536, 1179662, 0, 65537, 1179663, 0, 131074, 1179664, 0, 131074, 1179665, 0, 65537, 1179666, 0, 65537, 1179667, 0, 65537, 1179668, 0, 131074, 1179669, 0, 131074, 1179670, 0, 65537, 1179671, 1610612736, 131072, 1179684, -1073741824, 65537, 1179723, 0, 0, 1179724, 0, 0, 1179725, 0, 0, 1245220, -1073741824, 131072, 1245221, 0, 65537, 1245222, 0, 65537, 1245223, 0, 131075, 1245254, 0, 65536, 1245255, 0, 65537, 1245256, 536870912, 65536, 1310720, 0, 0, 1310721, 0, 0, 1310731, 0, 0, 1376256, 0, 0, 1376257, 0, 0, 1376261, 0, 0, 1376286, 0, 0, 1376304, 0, 0, 1376312, 0, 65536, 1376313, 536870912, 65538, 1376314, 536870912, 65537, 1376315, 536870912, 65536, 1376333, 0, 0, 1376334, 0, 0, 1376335, 0, 0, 1376341, 0, 0, 1376342, 0, 0, 1376343, 0, 0, 1441792, 0, 1, 1441793, 0, 2, 1441794, 0, 2, 1441795, 0, 2, 1441796, 0, 2, 1441797, 0, 2, 1441798, 0, 2, 1441799, 0, 2, 1441800, 0, 2, 1441801, 0, 2, 1441802, 0, 2, 1441803, 0, 2, 1441804, 0, 2, 1441805, 0, 2, 1441806, 0, 2, 1441807, 0, 2, 1441808, 0, 2, 1441809, 0, 2, 1441810, 0, 2, 1441811, 0, 2, 1441812, 0, 2, 1441813, 0, 2, 1441814, 0, 2, 1441815, 0, 2, 1441816, 0, 2, 1441817, 0, 2, 1441818, 0, 2, 1441819, 0, 2, 1441820, 0, 2, 1441821, 0, 2, 1441822, 0, 2, 1441823, 0, 2, 1441824, 0, 2, 1441825, 0, 2, 1441826, 0, 2, 1441827, 0, 2, 1441828, 0, 2, 1441829, 0, 2, 1441830, 0, 2, 1441831, 0, 2, 1441832, 0, 2, 1441833, 0, 2, 1441834, 0, 2, 1441835, 0, 2, 1441836, 0, 2, 1441837, 0, 3, 1441843, 0, 1, 1441844, 0, 2, 1441845, 0, 2, 1441846, 0, 3, 1441853, 0, 1, 1441854, 0, 2, 1441855, 0, 2, 1441856, 0, 2, 1441857, 0, 2, 1441858, 0, 2, 1441859, 0, 2, 1441860, 0, 2, 1441861, 0, 2, 1441862, 0, 2, 1441863, 0, 2, 1441864, 0, 2, 1441865, 0, 2, 1441866, 0, 2, 1441867, 0, 3, 1441882, 0, 1, 1441883, 0, 2, 1441884, 0, 2, 1441885, 0, 2, 1441886, 0, 2, 1441887, 0, 3, 1507328, 0, 0, 1507329, 0, 0, 1507330, 0, 0, 1507331, 0, 0, 1507332, 0, 0, 1507333, 0, 0, 1507334, 0, 0, 1507335, 0, 0, 1507336, 0, 0, 1507337, 0, 0, 1507338, 0, 0, 1507339, 0, 0, 1507340, 0, 0, 1507341, 0, 0, 1507342, 0, 0, 1507343, 0, 0, 1507344, 0, 0, 1507345, 0, 0, 1507346, 0, 0, 1507347, 0, 0, 1507348, 0, 0, 1507349, 0, 0, 1507350, 0, 0, 1507351, 0, 0, 1507352, 0, 0, 1507353, 0, 0, 1507354, 0, 0, 1507355, 0, 0, 1507356, 0, 0, 1507357, 0, 0, 1507358, 0, 0, 1507359, 0, 0, 1507360, 0, 0, 1507361, 0, 0, 1507362, 0, 0, 1507363, 0, 0, 1507364, 0, 0, 1507365, 0, 0, 1507366, 0, 0, 1507367, 0, 0, 1507368, 0, 0, 1507369, 0, 0, 1507370, 0, 0, 1507371, 0, 0, 1507372, 0, 0, 1507373, 0, 0, 1507379, 0, 0, 1507380, 0, 0, 1507381, 0, 0, 1507382, 0, 0, 1507389, 0, 0, 1507390, 0, 0, 1507391, 0, 0, 1507392, 0, 0, 1507393, 0, 0, 1507394, 0, 0, 1507395, 0, 0, 1507396, 0, 0, 1507397, 0, 0, 1507398, 0, 0, 1507399, 0, 0, 1507400, 0, 0, 1507401, 0, 0, 1507402, 0, 0, 1507403, 0, 0, 1507418, 0, 0, 1507419, 0, 0, 1507420, 0, 0, 1507421, 0, 0, 1507422, 0, 0, 1507423, 0, 0 ) +tile_data = PoolIntArray( 48, 0, 0, 65584, 0, 0, 131120, 0, 0, 196614, 0, 0, 196656, 0, 0, 196671, 0, 0, 196672, 0, 0, 196673, 0, 0, 196674, 0, 0, 262173, 0, 131072, 262174, 0, 65537, 262175, 0, 65537, 262176, 0, 65537, 262177, 0, 65537, 262178, 0, 65537, 262179, 0, 65537, 262180, 0, 65537, 262181, -1610612736, 131072, 262192, 0, 0, 327691, 0, 131072, 327692, 0, 65537, 327693, 0, 65537, 327694, 0, 65537, 327695, 0, 65537, 327696, 0, 65537, 327697, 0, 65537, 327698, 0, 65537, 327699, 0, 65537, 327700, 0, 65537, 327701, 0, 65537, 327702, 0, 65537, 327703, 0, 65537, 327704, 0, 65537, 327705, 0, 65537, 327706, 0, 65537, 327707, 0, 65537, 327708, 0, 65537, 327709, 1610612736, 131072, 327717, -1073741824, 65537, 327733, 0, 0, 327734, 0, 196609, 327735, 0, 196609, 327736, 0, 65536, 327737, 0, 65538, 327738, 0, 65537, 327739, 0, 65538, 327740, 536870912, 65536, 327760, 0, 131072, 327761, 0, 65537, 327762, 1610612736, 65538, 327763, 0, 65537, 327764, 0, 131073, 327765, 0, 65537, 327766, 0, 65537, 327767, 0, 65537, 327768, 0, 65537, 327769, 0, 65537, 327770, 0, 65537, 327771, 0, 65538, 327772, 0, 65537, 327773, 0, 65537, 327774, 0, 65537, 327775, 0, 65537, 393227, -2147483648, 65537, 393253, -1073741824, 65537, 393268, 0, 0, 393269, 0, 0, 393288, 0, 65536, 393289, 0, 65537, 393290, 0, 131075, 393296, -1073741824, 65537, 458763, -2147483648, 65537, 458789, -1073741824, 131072, 458790, 0, 65537, 458791, 0, 65537, 458792, 0, 65537, 458793, 0, 65537, 458794, 0, 65537, 458795, 0, 65537, 458796, 0, 65537, 458797, 0, 65537, 458798, 0, 65537, 458799, 536870912, 65536, 458805, 0, 0, 458832, -1073741824, 65538, 524299, -2147483648, 65537, 524315, 0, 131072, 524316, 0, 65537, 524317, 0, 65537, 524318, 0, 65537, 524319, 0, 65537, 524320, 0, 65537, 524321, 0, 65537, 524322, 536870912, 131072, 524338, 0, 0, 524341, 0, 0, 524342, 0, 0, 524343, 0, 0, 524344, 0, 0, 524368, -1073741824, 65537, 589830, -2147483648, 65536, 589831, 0, 196609, 589832, 0, 196609, 589833, 0, 65536, 589834, 0, 65537, 589835, -536870912, 131072, 589851, -1073741824, 65537, 589858, -1073741824, 65537, 589898, 0, 65536, 589899, 0, 65537, 589900, 536870912, 65536, 589904, -1073741824, 65536, 589906, 0, 0, 589907, 0, 0, 589908, 0, 0, 589910, 0, 0, 589911, 0, 0, 589913, 0, 0, 589914, 0, 0, 655366, -1073741824, 65537, 655376, 0, 65536, 655377, 0, 65537, 655378, 0, 65537, 655379, 0, 65537, 655380, 0, 65537, 655381, 0, 65537, 655382, 0, 65537, 655383, 0, 65537, 655384, 0, 65537, 655385, 0, 65537, 655386, 0, 65537, 655387, 1610612736, 131072, 655394, -1073741824, 131072, 655395, 0, 65537, 655396, 0, 65537, 655397, 0, 65538, 655398, 0, 65537, 655399, 0, 65537, 655400, 0, 65537, 655401, 536870912, 65536, 655418, 0, 0, 655419, 0, 0, 655420, 0, 0, 720902, -1073741824, 65537, 720903, 0, 196609, 720904, 0, 196609, 720962, 0, 0, 720963, 0, 0, 720964, 0, 0, 720966, 0, 0, 720967, 0, 0, 720968, 0, 0, 786438, -1073741824, 65538, 851974, -1073741824, 65537, 851975, 0, 196609, 851976, 0, 196609, 851989, 0, 0, 852021, 0, 0, 852042, 0, 0, 917510, -1073741824, 65537, 917550, 0, 65536, 917551, 0, 65537, 917552, 0, 65537, 917553, 0, 65537, 917554, 0, 65537, 917555, 0, 65537, 917556, 0, 65537, 917557, 0, 65537, 917558, 0, 65537, 917559, 0, 65537, 917560, 0, 65537, 917561, -1610612736, 131072, 917565, 0, 65536, 917566, 0, 65537, 917567, 0, 65537, 917568, 0, 65537, 917569, 0, 65537, 917570, 0, 65537, 917571, 0, 65537, 917572, 536870912, 65536, 917590, 0, 0, 917591, 0, 0, 917592, 0, 0, 917593, 0, 0, 917594, 0, 0, 917595, 0, 0, 917596, 0, 0, 917597, 0, 0, 917599, 0, 0, 983046, -1073741824, 131072, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983052, 0, 65537, 983053, 0, 65537, 983054, 0, 65538, 983055, 0, 262144, 983057, 0, 262145, 983058, 0, 131075, 983078, 0, 0, 983079, 0, 0, 983080, 0, 0, 983081, 0, 0, 983097, -1073741824, 131072, 983098, -1610612736, 131072, 983113, 0, 0, 983121, 0, 0, 983122, 0, 0, 983123, 0, 0, 1048634, -1073741824, 65537, 1048647, 0, 0, 1114135, 0, 131072, 1114136, 0, 65537, 1114137, 0, 65537, 1114138, 0, 65537, 1114139, 0, 65537, 1114140, 0, 65537, 1114141, 0, 65538, 1114142, 0, 65537, 1114143, 0, 65537, 1114144, 0, 65537, 1114145, 0, 65537, 1114146, 0, 65537, 1114147, 0, 65537, 1114148, -1610612736, 131072, 1114170, -1073741824, 131072, 1114171, 0, 65537, 1114172, 0, 65537, 1114173, 0, 65537, 1114174, 536870912, 65537, 1114175, 0, 65537, 1114176, 0, 65537, 1114177, 0, 65537, 1114178, 0, 131075, 1114191, 0, 0, 1114205, 0, 0, 1114206, 0, 0, 1179661, 0, 65536, 1179662, 0, 65537, 1179663, 0, 131074, 1179664, 0, 131074, 1179665, 0, 65537, 1179666, 0, 65537, 1179667, 0, 65537, 1179668, 0, 131074, 1179669, 0, 131074, 1179670, 0, 65537, 1179671, 1610612736, 131072, 1179684, -1073741824, 65537, 1179723, 0, 0, 1179724, 0, 0, 1179725, 0, 0, 1245220, -1073741824, 131072, 1245221, 0, 65537, 1245222, 0, 65537, 1245223, 0, 131075, 1245254, 0, 65536, 1245255, 0, 65537, 1245256, 536870912, 65536, 1310720, 0, 0, 1310721, 0, 0, 1310731, 0, 0, 1376256, 0, 0, 1376257, 0, 0, 1376261, 0, 0, 1376286, 0, 0, 1376297, 0, 0, 1376304, 0, 0, 1376312, 0, 65536, 1376313, 536870912, 65538, 1376314, 536870912, 65537, 1376315, 536870912, 65536, 1376333, 0, 0, 1376334, 0, 0, 1376335, 0, 0, 1376341, 0, 0, 1376342, 0, 0, 1376343, 0, 0, 1441792, 0, 1, 1441793, 0, 2, 1441794, 0, 2, 1441795, 0, 2, 1441796, 0, 2, 1441797, 0, 2, 1441798, 0, 2, 1441799, 0, 2, 1441800, 0, 2, 1441801, 0, 2, 1441802, 0, 2, 1441803, 0, 2, 1441804, 0, 2, 1441805, 0, 2, 1441806, 0, 2, 1441807, 0, 2, 1441808, 0, 2, 1441809, 0, 2, 1441810, 0, 2, 1441811, 0, 2, 1441812, 0, 2, 1441813, 0, 2, 1441814, 0, 2, 1441815, 0, 2, 1441816, 0, 2, 1441817, 0, 2, 1441818, 0, 2, 1441819, 0, 2, 1441820, 0, 2, 1441821, 0, 2, 1441822, 0, 2, 1441823, 0, 2, 1441824, 0, 2, 1441825, 0, 2, 1441826, 0, 2, 1441827, 0, 2, 1441828, 0, 2, 1441829, 0, 2, 1441830, 0, 2, 1441831, 0, 2, 1441832, 0, 2, 1441833, 0, 2, 1441834, 0, 2, 1441835, 0, 2, 1441836, 0, 2, 1441837, 0, 3, 1441843, 0, 1, 1441844, 0, 2, 1441845, 0, 2, 1441846, 0, 3, 1441853, 0, 1, 1441854, 0, 2, 1441855, 0, 2, 1441856, 0, 2, 1441857, 0, 2, 1441858, 0, 2, 1441859, 0, 2, 1441860, 0, 2, 1441861, 0, 2, 1441862, 0, 2, 1441863, 0, 2, 1441864, 0, 2, 1441865, 0, 2, 1441866, 0, 2, 1441867, 0, 3, 1441882, 0, 1, 1441883, 0, 2, 1441884, 0, 2, 1441885, 0, 2, 1441886, 0, 2, 1441887, 0, 3, 1507328, 0, 0, 1507329, 0, 0, 1507330, 0, 0, 1507331, 0, 0, 1507332, 0, 0, 1507333, 0, 0, 1507334, 0, 0, 1507335, 0, 0, 1507336, 0, 0, 1507337, 0, 0, 1507338, 0, 0, 1507339, 0, 0, 1507340, 0, 0, 1507341, 0, 0, 1507342, 0, 0, 1507343, 0, 0, 1507344, 0, 0, 1507345, 0, 0, 1507346, 0, 0, 1507347, 0, 0, 1507348, 0, 0, 1507349, 0, 0, 1507350, 0, 0, 1507351, 0, 0, 1507352, 0, 0, 1507353, 0, 0, 1507354, 0, 0, 1507355, 0, 0, 1507356, 0, 0, 1507357, 0, 0, 1507358, 0, 0, 1507359, 0, 0, 1507360, 0, 0, 1507361, 0, 0, 1507362, 0, 0, 1507363, 0, 0, 1507364, 0, 0, 1507365, 0, 0, 1507366, 0, 0, 1507367, 0, 0, 1507368, 0, 0, 1507369, 0, 0, 1507370, 0, 0, 1507371, 0, 0, 1507372, 0, 0, 1507373, 0, 0, 1507379, 0, 0, 1507380, 0, 0, 1507381, 0, 0, 1507382, 0, 0, 1507389, 0, 0, 1507390, 0, 0, 1507391, 0, 0, 1507392, 0, 0, 1507393, 0, 0, 1507394, 0, 0, 1507395, 0, 0, 1507396, 0, 0, 1507397, 0, 0, 1507398, 0, 0, 1507399, 0, 0, 1507400, 0, 0, 1507401, 0, 0, 1507402, 0, 0, 1507403, 0, 0, 1507418, 0, 0, 1507419, 0, 0, 1507420, 0, 0, 1507421, 0, 0, 1507422, 0, 0, 1507423, 0, 0 ) [node name="Player" parent="." instance=ExtResource( 5 )] position = Vector2( 24, 176 ) @@ -171,9 +171,6 @@ cost = 15 [node name="Rock3" parent="Environment" instance=ExtResource( 8 )] position = Vector2( 146, 113 ) -[node name="Rock5" parent="Environment" instance=ExtResource( 8 )] -position = Vector2( 314, 145 ) - [node name="Rock6" parent="Environment" instance=ExtResource( 8 )] position = Vector2( 536, 80 ) @@ -377,7 +374,7 @@ position = Vector2( 160, 136 ) position = Vector2( 192, 128 ) [node name="Gold16" parent="Collectibles" instance=ExtResource( 21 )] -position = Vector2( 264, 128 ) +position = Vector2( 272, 128 ) [node name="Gold17" parent="Collectibles" instance=ExtResource( 21 )] position = Vector2( 296, 144 ) diff --git a/maps/station.tscn b/maps/station.tscn index 711f4af..6d09876 100644 --- a/maps/station.tscn +++ b/maps/station.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=32 format=2] +[gd_scene load_steps=34 format=2] [ext_resource path="res://maps/station.gd" type="Script" id=1] [ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=2] @@ -30,6 +30,8 @@ [ext_resource path="res://graphics/graffiti/msx_was_here.png" type="Texture" id=28] [ext_resource path="res://objects/lore/station/famicop.tscn" type="PackedScene" id=29] [ext_resource path="res://objects/lore/station/dread_pd.tscn" type="PackedScene" id=30] +[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=31] +[ext_resource path="res://ui/theme.tres" type="Theme" id=32] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 4, 120 ) @@ -84,7 +86,7 @@ tile_set = ExtResource( 3 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( -65485, 1, 196609, -65484, 1, 196610, -65483, 1, 196610, -65482, 1, 196611, -65480, 1, 196609, -65479, 1, 196611, -65476, 1, 196608, 63, 1, 1, 64, 1, 3, 65599, 1, 65537, 65600, 1, 65539, 131135, 1, 65537, 131136, 1, 65539, 131168, 1, 196608, 196625, 0, 131072, 196626, 0, 131073, 196627, 0, 131073, 196628, 0, 131073, 196629, 0, 131073, 196630, 0, 131073, 196631, 0, 131073, 196642, 0, 131073, 196643, 0, 131073, 196644, 0, 131073, 196645, 0, 131073, 196646, 0, 131073, 196647, 0, 131073, 196648, 0, 131073, 196649, 0, 131073, 196650, 0, 131073, 196651, 0, 131073, 196652, 0, 131073, 196653, 0, 131073, 196654, 0, 131073, 196655, 0, 131073, 196656, 0, 131073, 196657, 0, 131073, 196658, 0, 131073, 196659, 0, 131073, 196662, 0, 131073, 196663, 0, 131073, 196666, 0, 131073, 196667, 0, 131073, 196671, 1, 65537, 196672, 1, 65539, 196673, 0, 131073, 196676, 0, 131073, 196677, 0, 131073, 196678, 0, 131073, 196679, 0, 131073, 196680, 0, 131073, 196681, 0, 131073, 196682, 0, 131073, 196683, 0, 131073, 196684, 0, 131073, 196685, 0, 131073, 196686, 0, 131073, 196687, 0, 131073, 196688, 0, 131073, 196689, 0, 131073, 196690, 0, 131073, 196691, 0, 131073, 196692, 0, 131073, 196698, 0, 131073, 196699, 0, 131073, 196700, 0, 131073, 196701, 0, 131073, 196702, 0, 131073, 196703, 0, 131073, 262162, 1, 1, 262163, 1, 196610, 262164, 1, 196610, 262165, 1, 196610, 262166, 1, 196610, 262167, 1, 196611, 262178, 1, 196609, 262179, 1, 196610, 262180, 1, 196610, 262181, 1, 196610, 262182, 1, 196610, 262183, 1, 196610, 262184, 1, 196610, 262185, 1, 196610, 262186, 1, 196610, 262187, 1, 196610, 262188, 1, 196610, 262189, 1, 196610, 262190, 1, 196610, 262191, 1, 196610, 262192, 1, 196610, 262193, 1, 196610, 262194, 1, 196610, 262195, 1, 196611, 262198, 1, 196609, 262199, 1, 196611, 262202, 1, 196609, 262203, 1, 196611, 262207, 1, 131073, 262208, 1, 131074, 262209, 1, 196611, 262212, 1, 196609, 262213, 1, 196610, 262214, 1, 196610, 262215, 1, 196610, 262216, 1, 196610, 262217, 1, 196610, 262218, 1, 196610, 262219, 1, 196610, 262220, 1, 196610, 262221, 1, 196610, 262222, 1, 196610, 262223, 1, 196610, 262224, 1, 196610, 262225, 1, 196610, 262226, 1, 196610, 262227, 1, 196610, 262228, 1, 196611, 262234, 1, 196609, 262235, 1, 196610, 262236, 1, 196610, 262237, 1, 196610, 262238, 1, 196610, 262239, 1, 3, 327693, 1, 196609, 327694, 1, 196610, 327695, 1, 196611, 327698, 1, 65536, 327767, 1, 0, 327775, 1, 65536, 393234, 1, 65536, 393302, 1, 1, 393303, 1, 131075, 393311, 1, 65536, 458770, 1, 65536, 458813, 1, 196609, 458814, 1, 196610, 458815, 1, 2, 458816, 1, 196610, 458817, 1, 196610, 458818, 1, 196610, 458819, 1, 196610, 458820, 1, 3, 458830, 1, 196609, 458831, 1, 196610, 458832, 1, 196610, 458833, 1, 196610, 458834, 1, 196610, 458835, 1, 196610, 458836, 1, 2, 458837, 1, 196610, 458838, 1, 131075, 458847, 1, 65536, 524306, 1, 65537, 524307, 536870913, 196610, 524308, 536870913, 196610, 524309, 536870913, 196610, 524310, 536870913, 196610, 524311, 536870913, 196610, 524312, 536870913, 196610, 524313, 536870913, 196610, 524314, 536870913, 196610, 524315, 1, 196611, 524324, 1, 196609, 524325, 1, 196610, 524326, 1, 196610, 524327, 1, 196610, 524328, 1, 196610, 524329, 1, 196610, 524330, 1, 196610, 524331, 1, 196610, 524332, 1, 196610, 524333, 1, 196610, 524334, 1, 196610, 524335, 1, 2, 524336, 1, 196610, 524337, 1, 196610, 524338, 1, 196611, 524351, 1, 65536, 524356, 1, 65537, 524357, 1, 3, 524365, 1, 196608, 524372, 1, 131072, 524383, 1, 65536, 589842, 1, 65536, 589871, 1, 65536, 589878, 1, 196609, 589879, 1, 196611, 589881, 1, 196609, 589882, 1, 196611, 589887, 1, 65536, 589892, 1, 65537, 589893, 1, 65538, 589894, 1, 3, 589919, 1, 65536, 655368, 1, 196609, 655369, 1, 196610, 655370, 1, 196610, 655371, 1, 196610, 655372, 1, 196610, 655373, 1, 196611, 655378, 1, 65536, 655391, 1, 196609, 655392, 1, 196610, 655393, 1, 196611, 655407, 1, 65536, 655423, 1, 65536, 655428, 1, 131073, 655429, 1, 131074, 655430, 1, 65538, 655431, 1, 196610, 655432, 1, 196610, 655433, 1, 196610, 655434, 1, 196610, 655435, 1, 196610, 655436, 1, 196611, 655444, 1, 0, 655455, 1, 65536, 720914, 1, 65536, 720943, 1, 65536, 720949, 1, 1, 720950, 1, 196610, 720951, 1, 196610, 720952, 1, 196610, 720953, 1, 196610, 720954, 1, 196610, 720955, 1, 3, 720959, 1, 65536, 720966, 1, 65536, 720978, 1, 196609, 720979, 1, 196610, 720980, 1, 65539, 720991, 1, 65536, 786450, 1, 65536, 786468, 1, 196609, 786469, 1, 196611, 786475, 1, 196609, 786476, 1, 196610, 786477, 1, 196611, 786479, 1, 131072, 786485, 1, 65536, 786491, 1, 65536, 786495, 1, 65536, 786499, 1, 196608, 786502, 1, 65536, 786511, 1, 196608, 786516, 1, 65537, 786517, 1, 196611, 786520, 1, 196609, 786521, 1, 196611, 786527, 1, 65536, 851986, 1, 65537, 851987, 1, 196610, 851988, 1, 196610, 851989, 1, 196611, 852008, 1, 196608, 852017, 1, 196609, 852018, 1, 196611, 852021, 1, 131072, 852027, 1, 65536, 852030, 1, 196609, 852031, 1, 65539, 852038, 1, 131072, 852052, 1, 65536, 852063, 1, 65536, 917522, 1, 65536, 917563, 1, 65536, 917567, 1, 131072, 917580, 1, 0, 917583, 1, 0, 917588, 1, 65536, 917596, 1, 196609, 917597, 1, 196610, 917598, 1, 196610, 917599, 1, 65539, 983047, 1, 196609, 983048, 1, 196610, 983049, 536870913, 196610, 983050, 536870913, 196610, 983051, 536870913, 196610, 983052, 536870913, 196610, 983053, 536870913, 196610, 983054, 536870913, 196610, 983055, 536870913, 196610, 983056, 536870913, 196610, 983057, 1, 196610, 983058, 1, 65539, 983063, 1, 196609, 983064, 1, 196610, 983065, 1, 196611, 983099, 1, 65537, 983100, 1, 196611, 983114, 1, 0, 983116, 1, 65536, 983119, 1, 65536, 983124, 1, 65536, 983135, 1, 65536, 1048594, 1, 65536, 1048635, 1, 65536, 1048650, 1, 131073, 1048651, 1, 196610, 1048652, 1, 131074, 1048653, 1, 196610, 1048654, 1, 196610, 1048655, 1, 131075, 1048660, 1, 131072, 1048671, 1, 65536, 1114117, 1, 196609, 1114118, 1, 196611, 1114130, 1, 131072, 1114142, 1, 1, 1114143, 1, 196610, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 196610, 1114147, 1, 196610, 1114148, 1, 196610, 1114149, 1, 196610, 1114150, 1, 196610, 1114151, 1, 196610, 1114152, 1, 196610, 1114153, 1, 196611, 1114157, 1, 196609, 1114158, 1, 196610, 1114159, 1, 196610, 1114160, 1, 196610, 1114161, 1, 196610, 1114162, 1, 196611, 1114164, 1, 196609, 1114165, 1, 196610, 1114166, 1, 196610, 1114167, 1, 196610, 1114168, 1, 196610, 1114169, 1, 196610, 1114170, 1, 196610, 1114171, 1, 131074, 1114172, 1, 196610, 1114173, 1, 196610, 1114174, 1, 196610, 1114175, 1, 196610, 1114176, 1, 196610, 1114177, 1, 196610, 1114178, 1, 196610, 1114179, 1, 196610, 1114180, 1, 196610, 1114181, 1, 196610, 1114182, 1, 196611, 1114201, 1, 1, 1114202, 1, 196610, 1114203, 1, 196610, 1114204, 1, 196610, 1114205, 1, 196610, 1114206, 1, 196610, 1114207, 1, 65539, 1179676, 1, 196609, 1179677, 1, 196610, 1179678, 1, 131075, 1179737, 1, 131072, 1179743, 1, 65536, 1245184, 1, 196609, 1245185, 1, 196611, 1245279, 1, 65536, 1310815, 1, 65536, 1376269, 0, 65538, 1376270, 0, 65539, 1376271, 1, 1, 1376272, 1, 2, 1376273, 1, 2, 1376274, 1, 2, 1376275, 1, 2, 1376276, 536870913, 2, 1376277, 536870913, 2, 1376278, 536870913, 2, 1376279, 536870913, 2, 1376280, 1, 2, 1376281, 1, 2, 1376282, 536870913, 2, 1376283, 1, 2, 1376284, 1, 2, 1376285, 1, 2, 1376286, 1, 2, 1376287, 1, 2, 1376288, 1, 2, 1376289, 1, 2, 1376290, 1, 2, 1376291, 1, 2, 1376292, 1, 2, 1376293, 1, 2, 1376294, 1, 2, 1376295, 1, 2, 1376296, 1, 2, 1376297, 1, 2, 1376298, 1, 2, 1376299, 1, 2, 1376300, 1, 2, 1376301, 1, 2, 1376302, 1, 2, 1376303, 1, 2, 1376304, 1, 2, 1376305, 1, 2, 1376306, 1, 2, 1376307, 1, 2, 1376308, 1, 2, 1376309, 1, 2, 1376310, 1, 2, 1376311, 1, 2, 1376312, 1, 2, 1376313, 1, 2, 1376314, 1, 2, 1376315, 1, 2, 1376316, 1, 2, 1376317, 1, 2, 1376318, 1, 2, 1376319, 1, 2, 1376320, 1, 2, 1376321, 1, 2, 1376322, 1, 2, 1376323, 1, 2, 1376324, 1, 2, 1376325, 1, 2, 1376326, 1, 2, 1376327, 1, 2, 1376328, 1, 2, 1376329, 1, 2, 1376330, 1, 2, 1376331, 1, 2, 1376332, 1, 2, 1376333, 1, 2, 1376334, 1, 2, 1376335, 1, 2, 1376336, 1, 2, 1376337, 1, 2, 1376338, 1, 2, 1376339, 1, 2, 1376340, 1, 2, 1376341, 1, 2, 1376342, 1, 2, 1376343, 1, 2, 1376344, 1, 2, 1376345, 1, 2, 1376346, 1, 2, 1376347, 1, 2, 1376348, 1, 2, 1376349, 1, 2, 1376350, 1, 2, 1376351, 1, 65539, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 1, 1, 1441806, 1, 2, 1441807, 1, 65538, 1441808, 1, 65538, 1441809, 1, 65538, 1441810, 1, 65538, 1441811, 1, 65538, 1441812, 536870913, 65538, 1441813, 536870913, 65538, 1441814, 536870913, 65538, 1441815, 536870913, 65538, 1441816, 1, 65538, 1441817, 1, 65538, 1441818, 536870913, 65538, 1441819, 1, 65538, 1441820, 1, 65538, 1441821, 1, 65538, 1441822, 1, 65538, 1441823, 1, 65538, 1441824, 1, 65538, 1441825, 1, 65538, 1441826, 1, 65538, 1441827, 1, 65538, 1441828, 1, 65538, 1441829, 1, 65538, 1441830, 1, 65538, 1441831, 1, 65538, 1441832, 1, 65538, 1441833, 1, 65538, 1441834, 1, 65538, 1441835, 1, 65538, 1441836, 1, 65538, 1441837, 1, 65538, 1441838, 1, 65538, 1441839, 1, 65538, 1441840, 1, 65538, 1441841, 1, 65538, 1441842, 1, 65538, 1441843, 1, 65538, 1441844, 1, 65538, 1441845, 1, 65538, 1441846, 1, 65538, 1441847, 1, 65538, 1441848, 1, 65538, 1441849, 1, 65538, 1441850, 1, 65538, 1441851, 1, 65538, 1441852, 1, 65538, 1441853, 1, 65538, 1441854, 1, 65538, 1441855, 1, 65538, 1441856, 1, 65538, 1441857, 1, 65538, 1441858, 1, 65538, 1441859, 1, 65538, 1441860, 1, 65538, 1441861, 1, 65538, 1441862, 1, 65538, 1441863, 1, 65538, 1441864, 1, 65538, 1441865, 1, 65538, 1441866, 1, 65538, 1441867, 1, 65538, 1441868, 1, 65538, 1441869, 1, 65538, 1441870, 1, 65538, 1441871, 1, 65538, 1441872, 1, 65538, 1441873, 1, 65538, 1441874, 1, 65538, 1441875, 1, 65538, 1441876, 1, 65538, 1441877, 1, 65538, 1441878, 1, 65538, 1441879, 1, 65538, 1441880, 1, 65538, 1441881, 1, 65538, 1441882, 1, 65538, 1441883, 1, 65538, 1441884, 1, 65538, 1441885, 1, 65538, 1441886, 1, 65538, 1441887, 1, 65539, 1507328, 536870913, 196609, 1507329, 536870913, 196610, 1507330, 536870913, 196610, 1507331, 536870913, 196610, 1507332, 536870913, 196610, 1507333, 536870913, 196610, 1507334, 536870913, 196610, 1507335, 536870913, 196610, 1507336, 536870913, 196610, 1507337, 536870913, 196610, 1507338, 536870913, 196610, 1507339, 536870913, 196610, 1507340, 536870913, 196610, 1507341, 536870913, 131074, 1507342, 536870913, 131074, 1507343, 1, 131074, 1507344, 1, 131074, 1507345, 1, 131074, 1507346, 1, 131074, 1507347, 536870913, 131074, 1507348, 536870913, 131074, 1507349, 536870913, 131074, 1507350, 536870913, 131074, 1507351, 536870913, 131074, 1507352, 536870913, 131074, 1507353, 536870913, 131074, 1507354, 536870913, 131074, 1507355, 536870913, 131074, 1507356, 1, 131074, 1507357, 1, 131074, 1507358, 1, 131074, 1507359, 1, 131074, 1507360, 1, 131074, 1507361, 1, 131074, 1507362, 1, 131074, 1507363, 1, 131074, 1507364, 1, 131074, 1507365, 1, 131074, 1507366, 1, 131074, 1507367, 1, 131074, 1507368, 1, 131074, 1507369, 1, 131074, 1507370, 1, 131074, 1507371, 1, 131074, 1507372, 1, 131074, 1507373, 1, 131074, 1507374, 1, 131074, 1507375, 1, 131074, 1507376, 1, 131074, 1507377, 1, 131074, 1507378, 1, 131074, 1507379, 1, 131074, 1507380, 1, 131074, 1507381, 1, 131074, 1507382, 1, 131074, 1507383, 1, 131074, 1507384, 1, 131074, 1507385, 1, 131074, 1507386, 1, 131074, 1507387, 1, 131074, 1507388, 1, 131074, 1507389, 1, 131074, 1507390, 1, 131074, 1507391, 1, 131074, 1507392, 1, 131074, 1507393, 1, 131074, 1507394, 1, 131074, 1507395, 1, 131074, 1507396, 1, 131074, 1507397, 1, 131074, 1507398, 1, 131074, 1507399, 1, 131074, 1507400, 1, 131074, 1507401, 1, 131074, 1507402, 1, 131074, 1507403, 1, 131074, 1507404, 1, 131074, 1507405, 1, 131074, 1507406, 1, 131074, 1507407, 1, 131074, 1507408, 1, 131074, 1507409, 1, 131074, 1507410, 1, 131074, 1507411, 1, 131074, 1507412, 1, 131074, 1507413, 1, 131074, 1507414, 1, 131074, 1507415, 1, 131074, 1507416, 1, 131074, 1507417, 1, 131074, 1507418, 1, 131074, 1507419, 1, 131074, 1507420, 1, 131074, 1507421, 1, 131074, 1507422, 1, 131074, 1507423, 1, 131075 ) +tile_data = PoolIntArray( -65485, 1, 196609, -65484, 1, 196610, -65483, 1, 196610, -65482, 1, 196611, -65480, 1, 196609, -65479, 1, 196611, -65476, 1, 196608, 63, 1, 1, 64, 1, 3, 65599, 1, 65537, 65600, 1, 65539, 131135, 1, 65537, 131136, 1, 65539, 131168, 1, 196608, 196625, 0, 131072, 196626, 0, 131073, 196627, 0, 131073, 196628, 0, 131073, 196629, 0, 131073, 196630, 0, 131073, 196631, 0, 131073, 196642, 0, 131073, 196643, 0, 131073, 196644, 0, 131073, 196645, 0, 131073, 196646, 0, 131073, 196647, 0, 131073, 196648, 0, 131073, 196649, 0, 131073, 196650, 0, 131073, 196651, 0, 131073, 196652, 0, 131073, 196653, 0, 131073, 196654, 0, 131073, 196655, 0, 131073, 196656, 0, 131073, 196657, 0, 131073, 196658, 0, 131073, 196659, 0, 131073, 196662, 0, 131073, 196663, 0, 131073, 196666, 0, 131073, 196667, 0, 131073, 196671, 1, 65537, 196672, 1, 65539, 196673, 0, 131073, 196676, 0, 131073, 196677, 0, 131073, 196678, 0, 131073, 196679, 0, 131073, 196680, 0, 131073, 196681, 0, 131073, 196682, 0, 131073, 196683, 0, 131073, 196684, 0, 131073, 196685, 0, 131073, 196686, 0, 131073, 196687, 0, 131073, 196688, 0, 131073, 196689, 0, 131073, 196690, 0, 131073, 196691, 0, 131073, 196692, 0, 131073, 196698, 0, 131073, 196699, 0, 131073, 196700, 0, 131073, 196701, 0, 131073, 196702, 0, 131073, 196703, 0, 131073, 262162, 1, 1, 262163, 1, 196610, 262164, 1, 196610, 262165, 1, 196610, 262166, 1, 196610, 262167, 1, 196611, 262178, 1, 196609, 262179, 1, 196610, 262180, 1, 196610, 262181, 1, 196610, 262182, 1, 196610, 262183, 1, 196610, 262184, 1, 196610, 262185, 1, 196610, 262186, 1, 196610, 262187, 1, 196610, 262188, 1, 196610, 262189, 1, 196610, 262190, 1, 196610, 262191, 1, 196610, 262192, 1, 196610, 262193, 1, 196610, 262194, 1, 196610, 262195, 1, 196611, 262198, 1, 196609, 262199, 1, 196611, 262202, 1, 196609, 262203, 1, 196611, 262207, 1, 131073, 262208, 1, 131074, 262209, 1, 196611, 262212, 1, 196609, 262213, 1, 196610, 262214, 1, 196610, 262215, 1, 196610, 262216, 1, 196610, 262217, 1, 196610, 262218, 1, 196610, 262219, 1, 196610, 262220, 1, 196610, 262221, 1, 196610, 262222, 1, 196610, 262223, 1, 196610, 262224, 1, 196610, 262225, 1, 196610, 262226, 1, 196610, 262227, 1, 196610, 262228, 1, 196611, 262234, 1, 196609, 262235, 1, 196610, 262236, 1, 196610, 262237, 1, 196610, 262238, 1, 196610, 262239, 1, 3, 327693, 1, 196609, 327694, 1, 196610, 327695, 1, 196611, 327698, 1, 65536, 327767, 1, 0, 327775, 1, 65536, 393234, 1, 65536, 393302, 1, 1, 393303, 1, 131075, 393311, 1, 65536, 458770, 1, 65536, 458813, 1, 196609, 458814, 1, 196610, 458815, 1, 2, 458816, 1, 196610, 458817, 1, 196610, 458818, 1, 196610, 458819, 1, 196610, 458820, 1, 3, 458830, 1, 196609, 458831, 1, 196610, 458832, 1, 196610, 458833, 1, 196610, 458834, 1, 196610, 458835, 1, 196610, 458836, 1, 2, 458837, 1, 196610, 458838, 1, 131075, 458847, 1, 65536, 524306, 1, 65537, 524307, 536870913, 196610, 524308, 536870913, 196610, 524309, 536870913, 196610, 524310, 536870913, 196610, 524311, 536870913, 196610, 524312, 536870913, 196610, 524313, 536870913, 196610, 524314, 536870913, 196610, 524315, 1, 196611, 524324, 1, 196609, 524325, 1, 196610, 524326, 1, 196610, 524327, 1, 196610, 524328, 1, 196610, 524329, 1, 196610, 524330, 1, 196610, 524331, 1, 196610, 524332, 1, 196610, 524333, 1, 196610, 524334, 1, 196610, 524335, 1, 2, 524336, 1, 196610, 524337, 1, 196610, 524338, 1, 196611, 524351, 1, 65536, 524356, 1, 65537, 524357, 1, 3, 524365, 1, 196608, 524372, 1, 131072, 524383, 1, 65536, 589842, 1, 65536, 589871, 1, 65536, 589878, 1, 196609, 589879, 1, 196611, 589881, 1, 196609, 589882, 1, 196611, 589887, 1, 65536, 589892, 1, 65537, 589893, 1, 65538, 589894, 1, 3, 589919, 1, 65536, 655368, 1, 196609, 655369, 1, 196610, 655370, 1, 196610, 655371, 1, 196610, 655372, 1, 196610, 655373, 1, 196611, 655378, 1, 65536, 655391, 1, 196609, 655392, 1, 196610, 655393, 1, 196611, 655407, 1, 65536, 655423, 1, 65536, 655428, 1, 131073, 655429, 1, 131074, 655430, 1, 65538, 655431, 1, 196610, 655432, 1, 196610, 655433, 1, 196610, 655434, 1, 196610, 655435, 1, 196610, 655436, 1, 196611, 655444, 1, 0, 655455, 1, 65536, 720914, 1, 65536, 720943, 1, 65536, 720949, 1, 1, 720950, 1, 196610, 720951, 1, 196610, 720952, 1, 196610, 720953, 1, 196610, 720954, 1, 196610, 720955, 1, 3, 720959, 1, 65536, 720966, 1, 65536, 720978, 1, 196609, 720979, 1, 196610, 720980, 1, 65539, 720991, 1, 65536, 786450, 1, 65536, 786468, 1, 196609, 786469, 1, 196611, 786475, 1, 196609, 786476, 1, 196610, 786477, 1, 196611, 786479, 1, 131072, 786485, 1, 65536, 786491, 1, 65536, 786495, 1, 65536, 786499, 1, 196608, 786502, 1, 65536, 786511, 1, 196608, 786516, 1, 65537, 786517, 1, 196611, 786520, 1, 196609, 786521, 1, 196611, 786527, 1, 65536, 851986, 1, 65537, 851987, 1, 196610, 851988, 1, 196610, 851989, 1, 196611, 852008, 1, 196608, 852017, 1, 196609, 852018, 1, 196611, 852021, 1, 131072, 852027, 1, 65536, 852030, 1, 196609, 852031, 1, 65539, 852038, 1, 131072, 852052, 1, 65536, 852059, 1, 196609, 852060, 1, 196611, 852063, 1, 65536, 917522, 1, 65536, 917563, 1, 65536, 917567, 1, 131072, 917580, 1, 0, 917583, 1, 0, 917588, 1, 65536, 917598, 1, 1, 917599, 1, 65539, 983047, 1, 196609, 983048, 1, 196610, 983049, 536870913, 196610, 983050, 536870913, 196610, 983051, 536870913, 196610, 983052, 536870913, 196610, 983053, 536870913, 196610, 983054, 536870913, 196610, 983055, 536870913, 196610, 983056, 536870913, 196610, 983057, 1, 196610, 983058, 1, 65539, 983063, 1, 196609, 983064, 1, 196610, 983065, 1, 196611, 983099, 1, 65537, 983100, 1, 196611, 983114, 1, 0, 983116, 1, 65536, 983119, 1, 65536, 983124, 1, 65536, 983134, 1, 65537, 983135, 1, 65539, 1048594, 1, 65536, 1048635, 1, 65536, 1048650, 1, 131073, 1048651, 1, 196610, 1048652, 1, 131074, 1048653, 1, 196610, 1048654, 1, 196610, 1048655, 1, 131075, 1048660, 1, 131072, 1048669, 1, 1, 1048670, 1, 65538, 1048671, 1, 65539, 1114117, 1, 196609, 1114118, 1, 196611, 1114130, 1, 131072, 1114142, 1, 1, 1114143, 1, 196610, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 196610, 1114147, 1, 196610, 1114148, 1, 196610, 1114149, 1, 196610, 1114150, 1, 196610, 1114151, 1, 196610, 1114152, 1, 196610, 1114153, 1, 196611, 1114157, 1, 196609, 1114158, 1, 196610, 1114159, 1, 196610, 1114160, 1, 196610, 1114161, 1, 196610, 1114162, 1, 196611, 1114164, 1, 196609, 1114165, 1, 196610, 1114166, 1, 196610, 1114167, 1, 196610, 1114168, 1, 196610, 1114169, 1, 196610, 1114170, 1, 196610, 1114171, 1, 131074, 1114172, 1, 196610, 1114173, 1, 196610, 1114174, 1, 196610, 1114175, 1, 196610, 1114176, 1, 196610, 1114177, 1, 196610, 1114178, 1, 196610, 1114179, 1, 196610, 1114180, 1, 196610, 1114181, 1, 196610, 1114182, 1, 196611, 1114201, 1, 1, 1114202, 1, 196610, 1114203, 1, 196610, 1114204, 1, 196610, 1114205, 1, 131074, 1114206, 1, 131074, 1114207, 1, 65539, 1179676, 1, 196609, 1179677, 1, 196610, 1179678, 1, 131075, 1179737, 1, 131072, 1179743, 1, 65536, 1245184, 1, 196609, 1245185, 1, 196611, 1245279, 1, 65536, 1310815, 1, 65536, 1376269, 0, 65538, 1376270, 0, 65539, 1376271, 1, 1, 1376272, 1, 2, 1376273, 1, 2, 1376274, 1, 2, 1376275, 1, 2, 1376276, 536870913, 2, 1376277, 536870913, 2, 1376278, 536870913, 2, 1376279, 536870913, 2, 1376280, 1, 2, 1376281, 1, 2, 1376282, 536870913, 2, 1376283, 1, 2, 1376284, 1, 2, 1376285, 1, 2, 1376286, 1, 2, 1376287, 1, 2, 1376288, 1, 2, 1376289, 1, 2, 1376290, 1, 2, 1376291, 1, 2, 1376292, 1, 2, 1376293, 1, 2, 1376294, 1, 2, 1376295, 1, 2, 1376296, 1, 2, 1376297, 1, 2, 1376298, 1, 2, 1376299, 1, 2, 1376300, 1, 2, 1376301, 1, 2, 1376302, 1, 2, 1376303, 1, 2, 1376304, 1, 2, 1376305, 1, 2, 1376306, 1, 2, 1376307, 1, 2, 1376308, 1, 2, 1376309, 1, 2, 1376310, 1, 2, 1376311, 1, 2, 1376312, 1, 2, 1376313, 1, 2, 1376314, 1, 2, 1376315, 1, 2, 1376316, 1, 2, 1376317, 1, 2, 1376318, 1, 2, 1376319, 1, 2, 1376320, 1, 2, 1376321, 1, 2, 1376322, 1, 2, 1376323, 1, 2, 1376324, 1, 2, 1376325, 1, 2, 1376326, 1, 2, 1376327, 1, 2, 1376328, 1, 2, 1376329, 1, 2, 1376330, 1, 2, 1376331, 1, 2, 1376332, 1, 2, 1376333, 1, 2, 1376334, 1, 2, 1376335, 1, 2, 1376336, 1, 2, 1376337, 1, 2, 1376338, 1, 2, 1376339, 1, 2, 1376340, 1, 2, 1376341, 1, 2, 1376342, 1, 2, 1376343, 1, 2, 1376344, 1, 2, 1376345, 1, 2, 1376346, 1, 2, 1376347, 1, 2, 1376348, 1, 2, 1376349, 1, 2, 1376350, 1, 2, 1376351, 1, 65539, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 1, 1, 1441806, 1, 2, 1441807, 1, 65538, 1441808, 1, 65538, 1441809, 1, 65538, 1441810, 1, 65538, 1441811, 1, 65538, 1441812, 536870913, 65538, 1441813, 536870913, 65538, 1441814, 536870913, 65538, 1441815, 536870913, 65538, 1441816, 1, 65538, 1441817, 1, 65538, 1441818, 536870913, 65538, 1441819, 1, 65538, 1441820, 1, 65538, 1441821, 1, 65538, 1441822, 1, 65538, 1441823, 1, 65538, 1441824, 1, 65538, 1441825, 1, 65538, 1441826, 1, 65538, 1441827, 1, 65538, 1441828, 1, 65538, 1441829, 1, 65538, 1441830, 1, 65538, 1441831, 1, 65538, 1441832, 1, 65538, 1441833, 1, 65538, 1441834, 1, 65538, 1441835, 1, 65538, 1441836, 1, 65538, 1441837, 1, 65538, 1441838, 1, 65538, 1441839, 1, 65538, 1441840, 1, 65538, 1441841, 1, 65538, 1441842, 1, 65538, 1441843, 1, 65538, 1441844, 1, 65538, 1441845, 1, 65538, 1441846, 1, 65538, 1441847, 1, 65538, 1441848, 1, 65538, 1441849, 1, 65538, 1441850, 1, 65538, 1441851, 1, 65538, 1441852, 1, 65538, 1441853, 1, 65538, 1441854, 1, 65538, 1441855, 1, 65538, 1441856, 1, 65538, 1441857, 1, 65538, 1441858, 1, 65538, 1441859, 1, 65538, 1441860, 1, 65538, 1441861, 1, 65538, 1441862, 1, 65538, 1441863, 1, 65538, 1441864, 1, 65538, 1441865, 1, 65538, 1441866, 1, 65538, 1441867, 1, 65538, 1441868, 1, 65538, 1441869, 1, 65538, 1441870, 1, 65538, 1441871, 1, 65538, 1441872, 1, 65538, 1441873, 1, 65538, 1441874, 1, 65538, 1441875, 1, 65538, 1441876, 1, 65538, 1441877, 1, 65538, 1441878, 1, 65538, 1441879, 1, 65538, 1441880, 1, 65538, 1441881, 1, 65538, 1441882, 1, 65538, 1441883, 1, 65538, 1441884, 1, 65538, 1441885, 1, 65538, 1441886, 1, 65538, 1441887, 1, 65539, 1507328, 536870913, 196609, 1507329, 536870913, 196610, 1507330, 536870913, 196610, 1507331, 536870913, 196610, 1507332, 536870913, 196610, 1507333, 536870913, 196610, 1507334, 536870913, 196610, 1507335, 536870913, 196610, 1507336, 536870913, 196610, 1507337, 536870913, 196610, 1507338, 536870913, 196610, 1507339, 536870913, 196610, 1507340, 536870913, 196610, 1507341, 536870913, 131074, 1507342, 536870913, 131074, 1507343, 1, 131074, 1507344, 1, 131074, 1507345, 1, 131074, 1507346, 1, 131074, 1507347, 536870913, 131074, 1507348, 536870913, 131074, 1507349, 536870913, 131074, 1507350, 536870913, 131074, 1507351, 536870913, 131074, 1507352, 536870913, 131074, 1507353, 536870913, 131074, 1507354, 536870913, 131074, 1507355, 536870913, 131074, 1507356, 1, 131074, 1507357, 1, 131074, 1507358, 1, 131074, 1507359, 1, 131074, 1507360, 1, 131074, 1507361, 1, 131074, 1507362, 1, 131074, 1507363, 1, 131074, 1507364, 1, 131074, 1507365, 1, 131074, 1507366, 1, 131074, 1507367, 1, 131074, 1507368, 1, 131074, 1507369, 1, 131074, 1507370, 1, 131074, 1507371, 1, 131074, 1507372, 1, 131074, 1507373, 1, 131074, 1507374, 1, 131074, 1507375, 1, 131074, 1507376, 1, 131074, 1507377, 1, 131074, 1507378, 1, 131074, 1507379, 1, 131074, 1507380, 1, 131074, 1507381, 1, 131074, 1507382, 1, 131074, 1507383, 1, 131074, 1507384, 1, 131074, 1507385, 1, 131074, 1507386, 1, 131074, 1507387, 1, 131074, 1507388, 1, 131074, 1507389, 1, 131074, 1507390, 1, 131074, 1507391, 1, 131074, 1507392, 1, 131074, 1507393, 1, 131074, 1507394, 1, 131074, 1507395, 1, 131074, 1507396, 1, 131074, 1507397, 1, 131074, 1507398, 1, 131074, 1507399, 1, 131074, 1507400, 1, 131074, 1507401, 1, 131074, 1507402, 1, 131074, 1507403, 1, 131074, 1507404, 1, 131074, 1507405, 1, 131074, 1507406, 1, 131074, 1507407, 1, 131074, 1507408, 1, 131074, 1507409, 1, 131074, 1507410, 1, 131074, 1507411, 1, 131074, 1507412, 1, 131074, 1507413, 1, 131074, 1507414, 1, 131074, 1507415, 1, 131074, 1507416, 1, 131074, 1507417, 1, 131074, 1507418, 1, 131074, 1507419, 1, 131074, 1507420, 1, 131074, 1507421, 1, 131074, 1507422, 1, 131074, 1507423, 1, 131075 ) [node name="Player" parent="." instance=ExtResource( 2 )] position = Vector2( 40, 176 ) @@ -243,10 +245,6 @@ scale = Vector2( 1, 4 ) position = Vector2( 696, 144 ) time = 20.0 -[node name="TurningPlatform2" parent="Environment" instance=ExtResource( 17 )] -position = Vector2( 720, 120 ) -time = 20.0 - [node name="TurningPlatform3" parent="Environment" instance=ExtResource( 17 )] position = Vector2( 40, 72 ) time = 20.0 @@ -269,7 +267,7 @@ position = Vector2( 712, 152 ) scale = Vector2( 1, 2 ) [node name="Button" parent="Environment" instance=ExtResource( 18 )] -position = Vector2( 688, 160 ) +position = Vector2( 728, 128 ) target_group = "cell" [node name="Button2" parent="Environment" instance=ExtResource( 18 )] @@ -517,3 +515,13 @@ __meta__ = { [node name="HUD" parent="." instance=ExtResource( 12 )] song_name = "♫Spine_V2" + +[node name="Label" type="Label" parent="."] +material = ExtResource( 31 ) +margin_left = 688.0 +margin_top = 120.0 +margin_right = 849.0 +margin_bottom = 143.0 +theme = ExtResource( 32 ) +text = "Help me get +outta here!" diff --git a/menus/credits.tscn b/menus/credits.tscn index bd90f9f..d84fd37 100644 --- a/menus/credits.tscn +++ b/menus/credits.tscn @@ -743,7 +743,7 @@ Wolfboy Rhidianruckus Wily Beast Maddy -" +Sylvan" align = 1 valign = 1 @@ -832,7 +832,7 @@ align = 1 material = SubResource( 8 ) position = Vector2( 106, 69 ) frames = SubResource( 18 ) -frame = 1 +frame = 2 playing = true [node name="Label" type="Label" parent="Control/RollCall1/MsX"] @@ -918,7 +918,6 @@ align = 1 material = SubResource( 13 ) position = Vector2( 2952, 24 ) frames = SubResource( 24 ) -frame = 1 playing = true [node name="Label" type="Label" parent="Control/RollCall2/Catbat"] @@ -934,7 +933,6 @@ align = 1 [node name="TheScrump" type="AnimatedSprite" parent="Control/RollCall2"] position = Vector2( 2992, 128 ) frames = SubResource( 27 ) -frame = 1 playing = true [node name="Label" type="Label" parent="Control/RollCall2/TheScrump"] @@ -982,7 +980,7 @@ align = 1 material = SubResource( 34 ) position = Vector2( 3024, 62 ) frames = SubResource( 43 ) -frame = 1 +frame = 6 playing = true [node name="Label" type="Label" parent="Control/RollCall2/Skelarcher"] @@ -1107,7 +1105,7 @@ align = 1 material = SubResource( 71 ) position = Vector2( 72, 152 ) frames = SubResource( 80 ) -frame = 2 +frame = 7 playing = true [node name="Label" type="Label" parent="Control/RollCall3/Hellarcher"] @@ -1124,6 +1122,7 @@ align = 1 material = SubResource( 66 ) position = Vector2( 68, 104 ) frames = SubResource( 70 ) +frame = 1 playing = true [node name="Label" type="Label" parent="Control/RollCall3/Turchin"] @@ -1153,6 +1152,7 @@ position = Vector2( 4, 0 ) z_index = 1 frames = SubResource( 61 ) animation = "chomp" +frame = 1 playing = true [node name="Border" type="AnimatedSprite" parent="Control/RollCall3/Beel/Head/Sprite"] @@ -1160,6 +1160,7 @@ material = SubResource( 62 ) z_index = -1 frames = SubResource( 61 ) animation = "chomp" +frame = 1 playing = true [node name="ShapeTransform" type="RemoteTransform2D" parent="Control/RollCall3/Beel/Head"] @@ -1310,6 +1311,7 @@ align = 1 material = SubResource( 82 ) position = Vector2( 3362, 122.5 ) frames = SubResource( 87 ) +frame = 2 playing = true [node name="Label" type="Label" parent="Control/RollCall4/Famicop"] diff --git a/menus/level_select_scholar.gd b/menus/level_select_scholar.gd index 05e8b87..399f8cb 100644 --- a/menus/level_select_scholar.gd +++ b/menus/level_select_scholar.gd @@ -24,8 +24,6 @@ onready var filled_shards: Node2D = $"%FilledShards" onready var shard_title: Label = $"%ShardTitle" onready var shard_arrow: Sprite = $"%ShardArrow" onready var animation_player: AnimationPlayer = $AnimationPlayer -onready var forward_status: TabContainer = $"%ForwardStatus" -onready var shards_required: Label = $"%ShardsRequired" func _ready() -> void: Fade.fade_in(0.4) @@ -91,15 +89,7 @@ func _input(event: InputEvent) -> void: shard_arrow.position.x = filled_shards.get_child(selected_shard).position.x func _select_level(level_id: int) -> void: - var level: LevelEntry = LevelData.levels[level_id] - # fail if required boss is not beaten - if not level.boss_required.empty(): - var boss_save = Save.current_file.levels[level.boss_required] - if not boss_save.completed: - return - # fail if not enough shards - if Save.current_file.get_total_shards() < level.shards_required: - return + var level = LevelData.levels[level_id] selected_level = level_id # hide arrows at edges of leve set if level_id == 0: @@ -107,19 +97,9 @@ func _select_level(level_id: int) -> void: else: back_arrow.modulate.a = 1.0 if level_id == LevelData.levels.size() - 1: - forward_status.current_tab = 0 forward_arrow.modulate.a = 0.0 else: - forward_status.current_tab = 0 forward_arrow.modulate.a = 1.0 - var next_level = LevelData.levels[level_id + 1] - if Save.current_file.get_total_shards() < next_level.shards_required: - forward_status.current_tab = 1 - shards_required.text = str(next_level.shards_required) - if not next_level.boss_required.empty(): - var boss_save = Save.current_file.levels[next_level.boss_required] - if not boss_save.completed: - forward_status.current_tab = 2 # set text level_title.text = level.title # initiate animation diff --git a/menus/level_select_scholar.tscn b/menus/level_select_scholar.tscn index d616c5f..221ba0a 100644 --- a/menus/level_select_scholar.tscn +++ b/menus/level_select_scholar.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=22 format=2] +[gd_scene load_steps=19 format=2] [ext_resource path="res://menus/level_select_scholar.gd" type="Script" id=1] [ext_resource path="res://graphics/level_select/world_map.png" type="Texture" id=2] @@ -7,11 +7,9 @@ [ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=5] [ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=6] [ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=7] -[ext_resource path="res://ui/2ndpuberty_scholar_outline.fnt" type="BitmapFont" id=8] [ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=9] [ext_resource path="res://graphics/collectibles/shard.png" type="Texture" id=10] [ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=11] -[ext_resource path="res://graphics/falling_block/woeful_soul.png" type="Texture" id=12] [ext_resource path="res://graphics/hud/levelselect_arrow.png" type="Texture" id=14] [sub_resource type="Curve2D" id=1] @@ -33,10 +31,6 @@ shader_param/ammount = Vector2( 2, 0 ) shader_param/offset = Vector2( 0, 0 ) shader_param/delay = Vector2( 4, 0 ) -[sub_resource type="AtlasTexture" id=9] -atlas = ExtResource( 12 ) -region = Rect2( 8, 0, 8, 8 ) - [sub_resource type="ShaderMaterial" id=5] shader = ExtResource( 9 ) shader_param/border_color = Color( 0, 0, 0, 1 ) @@ -209,7 +203,6 @@ offset = 300.0 [node name="CurrentLevel" type="HBoxContainer" parent="."] anchor_right = 1.0 margin_bottom = 16.0 -theme = ExtResource( 4 ) alignment = 1 [node name="BackArrow" type="TextureRect" parent="CurrentLevel"] @@ -235,51 +228,15 @@ text = "Verdant Hills" align = 1 valign = 1 -[node name="ForwardStatus" type="TabContainer" parent="CurrentLevel"] -unique_name_in_owner = true -margin_left = 177.0 -margin_right = 183.0 -margin_bottom = 16.0 -tabs_visible = false - -[node name="ForwardArrow" type="TextureRect" parent="CurrentLevel/ForwardStatus"] +[node name="ForwardArrow" type="TextureRect" parent="CurrentLevel"] unique_name_in_owner = true material = SubResource( 3 ) -anchor_right = 1.0 -anchor_bottom = 1.0 +margin_left = 177.0 +margin_top = 4.0 +margin_right = 183.0 +margin_bottom = 12.0 size_flags_vertical = 4 texture = ExtResource( 5 ) -stretch_mode = 4 - -[node name="NotEnoughShards" type="HBoxContainer" parent="CurrentLevel/ForwardStatus"] -visible = false -anchor_right = 1.0 -anchor_bottom = 1.0 - -[node name="Shard" type="TextureRect" parent="CurrentLevel/ForwardStatus/NotEnoughShards"] -material = ExtResource( 6 ) -margin_top = 2.0 -margin_right = 11.0 -margin_bottom = 13.0 -size_flags_vertical = 4 -texture = ExtResource( 10 ) - -[node name="ShardsRequired" type="Label" parent="CurrentLevel/ForwardStatus/NotEnoughShards"] -unique_name_in_owner = true -margin_left = 15.0 -margin_top = 3.0 -margin_right = 29.0 -margin_bottom = 13.0 -custom_colors/font_color = Color( 0.960784, 0.2, 0.258824, 1 ) -custom_fonts/font = ExtResource( 8 ) -text = "20" - -[node name="BossNotBeaten" type="TextureRect" parent="CurrentLevel/ForwardStatus"] -visible = false -anchor_right = 1.0 -anchor_bottom = 1.0 -texture = SubResource( 9 ) -stretch_mode = 4 [node name="LevelStats" type="Panel" parent="."] visible = false diff --git a/objects/environment/switches/button.gd b/objects/environment/switches/button.gd index 87d0c8b..836b530 100644 --- a/objects/environment/switches/button.gd +++ b/objects/environment/switches/button.gd @@ -9,5 +9,6 @@ func _on_ActivationArea_area_entered(area): if area.is_in_group("player_hitbox"): activate() $Sprite.frame = 1 + $StaticBody2D/CollisionPolygon2D.disabled = true pressed = true Audio.play_sound(sound,$AudioStreamPlayer) diff --git a/objects/environment/switches/button.tscn b/objects/environment/switches/button.tscn index 54f7a02..f49b15d 100644 --- a/objects/environment/switches/button.tscn +++ b/objects/environment/switches/button.tscn @@ -8,7 +8,6 @@ extents = Vector2( 2, 0.5 ) [node name="Button" type="Node2D"] script = ExtResource( 2 ) -type = "button" [node name="Sprite" type="Sprite" parent="."] position = Vector2( 4, 4 ) diff --git a/objects/lore/station/msx.tscn b/objects/lore/station/msx.tscn index c85b689..2624a1c 100644 --- a/objects/lore/station/msx.tscn +++ b/objects/lore/station/msx.tscn @@ -23,4 +23,4 @@ margin_bottom = 143.0 margin_top = 3.0 margin_bottom = 91.0 text = "Ms. X (Marisa Xevious): -born 10/21/2062, she was locked up for such trivial crimes as shoplifting and marijuana possession. her reliance on weed causes many issues in her life." +born 10/21/2062, she was locked up for such trivial crimes as shoplifting and marijuana possession. her reliance on drugs causes many issues in her life." diff --git a/objects/npc/msx.gd b/objects/npc/msx.gd index a9feb35..4ad52dc 100644 --- a/objects/npc/msx.gd +++ b/objects/npc/msx.gd @@ -3,25 +3,38 @@ extends KinematicBody2D var velocity = Vector2.ZERO var is_moving = false var is_holding_shard = true +var has_respawned = false onready var death_particles = $DeathSplatter onready var sprite = $Sprite onready var anims = $AnimationPlayer onready var raycast = $RayCast2D +onready var respawn_raycast = $RespawnRaycast onready var shard_position = $Position2D +onready var start_position = position +onready var blink_timer = $BlinkTimer const shard = preload("res://objects/collectibles/shard.tscn") +const BloodSpray := preload("res://objects/environment/blood/blood_spray.tscn") func _ready(): raycast.add_exception($Hitbox) + blink_timer.start(rand_range(5.0,7.0)) func _physics_process(delta): + print(respawn_raycast.get_collider()) if is_moving: velocity.x = -50 #Stop when see something - if raycast.is_colliding(): velocity.x = 0 + if raycast.is_colliding(): + #stop behind sg + velocity.x = 0 + if respawn_raycast.is_colliding(): + #start moving again after respawning when seeing sg + if raycast.get_collider() != null: + if raycast.get_collider().is_in_group("player_hitbox"): is_moving = true velocity.y += 128 * delta velocity = move_and_slide_with_snap(velocity, Vector2.DOWN, Vector2.UP, true) #Anims if velocity.x == 0: - if !anims.get_current_animation() == "give": anims.play("idle") + if !anims.get_current_animation() == "give" && !anims.get_current_animation() == "respawn" && !anims.get_current_animation() == "blink": anims.play("idle") else: anims.play("walk") #Stop at the end of path and give shard @@ -39,7 +52,18 @@ func spawn_shard(): is_holding_shard = false func switch_action(): - is_moving = true + #is_moving = true + pass + +func spray_blood(): + for i in 16: + var spray = BloodSpray.instance() + spray.pause_mode = PAUSE_MODE_PROCESS + Physics2DServer.set_active(true) + spray.global_position = global_position + spray.velocity = Vector2(randf() * 80.0, 0.0).rotated(randf() * TAU) + spray.stains_player = false + get_parent().add_child(spray) func die(): #Create particles @@ -47,5 +71,15 @@ func die(): get_parent().add_child(death_particles) death_particles.global_position = global_position death_particles.emitting = true + spray_blood() Audio.play_sound(Audio.a_msx_die,Audio.ac_die) - queue_free() + is_moving = false + velocity.x = 0 + position = start_position + anims.play("respawn") + has_respawned = true + + +func _on_BlinkTimer_timeout(): + anims.play("blink") + blink_timer.start(rand_range(5.0,7.0)) diff --git a/objects/npc/msx.tscn b/objects/npc/msx.tscn index 25e06db..3be88dc 100644 --- a/objects/npc/msx.tscn +++ b/objects/npc/msx.tscn @@ -1,7 +1,9 @@ -[gd_scene load_steps=16 format=2] +[gd_scene load_steps=20 format=2] [ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1] +[ext_resource path="res://graphics/npc/msx_respawn.png" type="Texture" id=2] [ext_resource path="res://graphics/npc/msx_walk.png" type="Texture" id=3] +[ext_resource path="res://graphics/npc/msx_blink.png" type="Texture" id=4] [ext_resource path="res://graphics/npc/msx_idle.png" type="Texture" id=11] [ext_resource path="res://scripts/snap_sprite.gd" type="Script" id=12] [ext_resource path="res://objects/npc/msx.gd" type="Script" id=13] @@ -47,6 +49,47 @@ tracks/2/keys = { "values": [ 0 ] } +[sub_resource type="Animation" id=18] +resource_name = "blink" +length = 0.7 +step = 0.06 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ ExtResource( 4 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 4 ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Sprite:frame") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.12, 0.24, 0.54, 0.66 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 0, 1, 2, 3, 0 ] +} + [sub_resource type="Animation" id=15] resource_name = "give" length = 0.5 @@ -143,6 +186,47 @@ tracks/2/keys = { "values": [ 0 ] } +[sub_resource type="Animation" id=17] +resource_name = "respawn" +length = 0.4 +step = 0.05 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 0, 1, 2, 3, 4, 5, 6, 7 ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:texture") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ ExtResource( 2 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Sprite:hframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 8 ] +} + [sub_resource type="Animation" id=9] resource_name = "walk" length = 0.4 @@ -206,8 +290,10 @@ script = ExtResource( 13 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "idle" anims/RESET = SubResource( 16 ) +anims/blink = SubResource( 18 ) anims/give = SubResource( 15 ) anims/idle = SubResource( 4 ) +anims/respawn = SubResource( 17 ) anims/walk = SubResource( 9 ) [node name="Sprite" type="Sprite" parent="."] @@ -260,8 +346,19 @@ cast_to = Vector2( 32, 0 ) collision_mask = 3 collide_with_areas = true +[node name="RespawnRaycast" type="RayCast2D" parent="."] +position = Vector2( 16, 0 ) +enabled = true +cast_to = Vector2( 56, 0 ) +collision_mask = 8 +collide_with_areas = true + [node name="Position2D" type="Position2D" parent="."] position = Vector2( 17, 2 ) __meta__ = { "_gizmo_extents_": 0.0 } + +[node name="BlinkTimer" type="Timer" parent="."] + +[connection signal="timeout" from="BlinkTimer" to="." method="_on_BlinkTimer_timeout"]