From 6e5122a43b6e65cb5fd3eff15a7e012520f109c6 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Mon, 13 Jun 2016 20:56:55 -0400 Subject: [PATCH 1/2] Adjust gravity and add jump timer --- scenes/player.scn | Bin 3515 -> 3628 bytes scripts/player/character.gd | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scenes/player.scn b/scenes/player.scn index 2fdf9d9848c7d09e806939b5ec6c6d27d48c7712..0f315fd893c7d53afd8167d0f9019fd5db261186 100644 GIT binary patch delta 2660 zcmXX`30M=?7Cw^+Bq2snHrbqk2nbOqf?^HJorJJxQG{B3xMV^yLWBfNg185vP*JPZ z@Jf}c6txOcXjL9=XmDw*p9@bbxSug<2Fk_`UhQbG~!``=4|EIp4kalvka% zIWTO`4j~Gq7wl>13M%U{6Ys zY_x$f=H?sJOsHO^V}M7x+8ISsaWgt0#p1w;#3C#*PN3OEpw7+7(Hgb6`cSnu80j<{=3=K)8MDEKjH1U1 zG>o!9Ysv~Wn#gM$HMrY&?%Zsxp3%{s=&p@Bg*0GVjZF~t2peUy+rnlVGPQbDI?S?u zipz2}t5iqT8u}2(t<6O%s8;%&%4B_l&hV7^c^Z|8Q7CC2JEc~yVOAD>?3;jTjPzQ_ z6L$-A#?TeHIr%z9>9+=*uX4#)fhmpRFksZ0DmOco$;9aM$zIBSrF; zygWm$nlT!c)E0U?r$D6@2a!a^kYx|=oh6pPfq~@9e&{!9gaq+R;YVOk?JPN zi@Rjw2-&eE;VHRBEmewz$JrnW&&kcrrlsOVbSTE?_I8+!?TPqp6q5%fhS6V z6=IEFCYlufU3*?=K%R864f9kWG&PQ~U!gK+ReDq5()d@@QviQY z02>!c;;};JAV;(iIU}LvG}p&G3(p-}JOd?I(`@)Y=5AGW-2Q+Qes0#~)~PHn zn&r>MckZlcK|BE8@qYzLe0763W_ zgX%&@jvp>kEoY@8z#pCMKvpBQ(iRwtOa3zNK5GjM#{sIWHeomn`5s_XIAF7L#Hy?b zKi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jZl0#;C|N8Y`&)%K=DmB4x z>*vIq^VPBY56wwLwKERxI3}*&LGDYNV4d_sa^>Tp{wb}OHa9h0U6tfh(dFTYol5Tw z^j{~btjnnSNMJ(YK)H6#I_Z;_eWUZg=`X6zV(EENF%~=qw^TSS zc0G03BW=NyBT*F@lI|2;&K1)7sO^E@&F7Q0gr2JW@kxvC#PYGb$Bjqo;OiyY1>%Z0 za`5xEd<^J)?`P&QpmoJ(fekgBp%7mz=t>n;^U*q=={Z?IEUAFdu z)UtoK%xT)r9xB5=E9h=&f6v3|PQ zQ~R3yU?3{C(Q@Q;OU&xFr^W7CkE2muE;wzOThFlr-_^d@L%zt0V;a{aycw!!Zrsy2 z`s0En5yH5hh6`uh^MqdQS6`7;hb~4P=WkxWRW|;_uu&kAobgNAc4gm;InNfiw|#LU f^oZY`^XDaS{O+`~rSe11A^DW&xp3P>$ Date: Mon, 13 Jun 2016 21:19:22 -0400 Subject: [PATCH 2/2] Implement variable jump times. Closes #33. --- scenes/levels/test_level0.scn | Bin 11683 -> 11642 bytes scenes/player.scn | Bin 3628 -> 4008 bytes scripts/player/character.gd | 4 +++- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scenes/levels/test_level0.scn b/scenes/levels/test_level0.scn index e99d4adfe2935deeb14806a0b0be61d160764dd9..5c95210b7861cc2f8230080313b9006ff138ebba 100644 GIT binary patch delta 3350 zcmb7GYgALm7TzZ(a3TQ$ih=<-lK=vufTkcwugpn8!ovqXs#U5<2ocgig1oBNdIR{n ztyPqxwqjji(WTZ}A6T`bHE4a+M|*3nwzsV(SXXV;wrZ_btGRQ~Yi-y4bFadkeu-cq9_%vllPBYp7w8OH%$5Dn+8(&Qp>w zY6jm=(jw8xI(ACZD7V(B+94^oSF7_NrCTycpu(Uc_BG2e$&4y{ai#eT6r;JSzR(|? zkyu?$E=E>kDz`grmMW9_w$x>{*UYx61&E?7&bUB<9-y1cOte+k=xU2?=0%cHn=2-S zu9}@vhnA?@D2PNa2oQEu=5K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2&6P#>G(W^PjS zZrk0~8S3Vk{%o4$h->DkWBVON>a=kQQ7s?Z!2b+{By#LLjC|IL+K{-UE6wAB@ntOb zf9SV~RF7*PA#qzyF05xaMl><>yZhDWKBfEamv@(fe$6ALnkxu8AClKWQov0mO2wJ^=f~KYaS_6ucGR;ekq75&U7CGsaW0yqKfC~w8U-xmGCh;s(-S)wKIFY^mh<# z6tgiO7Ysm1W)Ii2sL7l8o%vNgWvYBX|NDins-3DCoNHY#9|t|xsm;C+X9pL**8P#J z&M~(FiiC|UxDglt2@Sp-L?4dTq)JcqT)(}ixGHn9#D(Xin}Gi|{rxqD&F{?LB5et#H1->`tK8M3 tdfVTp&2VGqvkQ8ee*;cgAFYa0TOR-*01HV)PDHLkV1iOpQbSTxLqpU?GM)ec diff --git a/scripts/player/character.gd b/scripts/player/character.gd index 4697602..6f606fb 100644 --- a/scripts/player/character.gd +++ b/scripts/player/character.gd @@ -61,11 +61,13 @@ func _fixed_process(delta): # If we're on the ground and want to jump, set the velocity accordingly if jump: if on_ground and !jump_held: - velocity.y = JUMP_SPEED jump_held = true on_ground = false air_timeout = true get_node("sounds").play("jump") + jump_timer.start() + if jump_held and jump_timer.get_time_left() > 0: + velocity.y = JUMP_SPEED else: jump_held = false