From 7978318bf7a7daa40a3051a5a4a83b3785882673 Mon Sep 17 00:00:00 2001 From: osquallo Date: Sat, 28 Mar 2020 08:07:33 +0100 Subject: [PATCH] =?UTF-8?q?ADD=20ajout=20du=20sprint=20et=20des=20animatio?= =?UTF-8?q?n=20de=20d=C3=A9placements=20lat=C3=A9raux.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ra/basemesh_humanoid_animated.glb | Bin 1769772 -> 1880448 bytes project.godot | 10 +++++ ressources/scripts/entity.gd | 2 +- scenes/game/game.tscn | 4 +- scenes/player/player.gd | 36 +++++++++++++++--- 5 files changed, 44 insertions(+), 8 deletions(-) diff --git a/assets/creatures/ra/basemesh_humanoid_animated.glb b/assets/creatures/ra/basemesh_humanoid_animated.glb index 302fc1f2e22276548f5e4f6e58ec2be99c8ba893..97eaab6f82a61b131cd68ca340c97b6d0c28a4c0 100644 GIT binary patch delta 38103 zcmeIb33wDmw>LgnNg#x5EHi9LfPly{(>*K6bjJkzN9TPvE_V3n9&JK(I$d5t9bK1o3u1@4hQ2sq+`#dvt)`}qAN5?$bHgSR za`5vxIYS3ecy`Rt@gq`O8Jh(exdX=y&6xmk@P-e~89Hv@grUz496g#cCX9G)@Ti=j z<4JJ~yOI7gnH+-AAvl_)4tp+V_|S3BJ|HAm#Ac}jb8|;ees;|BLsDCrnx(2OJUejQ zn1K^s7&nyi#=kJ=+0jEM4n;GjY15h&jBgy;%_4|K!D6$ROeWFpFj<>57h4$3c9USX zIBX`H$!v5CZEmzRYi?>`x1qpl2gha-ErONuVIfqQtPYdKVYfR3!Q{ObIwhoo(QY@J zEEXH=w^V99J>i#w?!F?xuPzO=88f`XF6wD5*)hxm?V+*Tb7euq!Y=wO`(Fz}oEi87E z5jw1JL4?I-h=~r-EZU7G_+*38g1aCr(Y;q+*L@)@(R(jqTv&TiG}-J{Q8ZgjX4G^L zMOG0CM6+FV2=LxQ+9O`sO|ZjmvRjR!h3dA#T_fCZp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4h zzhDnXl<)fzp^ilbyEdYnJxb^Y#LgWk*xLymk0{^whve&8T&!CcQO-U|zE=tL3>NJA zi1K}(CiD|x`-cklZbHvQlxO}a`39F1>o!G{v!}@S3qnhW3wCov`Mzfe{hHY8mKN-N zgk~bjGhZU#=t!~dfrxVUJo$c4Xw|ZUos1~o_bY_{MC`kkH`%_6FTX$8zAAg|b4h>Z zb|x!No=o~Xag*fPuDg=u8GE+*(`C2alPqtM++`P@NhWHz|7LGw3B!6Rv%b^G1dtNh zZD(_&S+?t36WQ#<-4t$Y_R>-MWmUHFgXK<+XP37S>3O!{v*jp8W>!P^QzZyxzBcH7K4K1PE<5obd)rML`#dB*NkJ?xi7{HxX!n9<1yLNjdw_ES{(Y<9CU|SDhJ(Z zT@j9VSt%ST(ZzDm9mcF2bUgRUnnMQqeKN|x{k|d{4~nXEJZnfgmSV!1->8?ZZ`7lc z&2QAl$;!V`JaAglJ(^ca_n54*<{k~Cnj<&5*pj}elQC|xcb`vIEWlHPv4dL=UO)Da z;bW8M6IchV2J3`f1Dgw*2b&MO7S;vphAn_Cg!RCBVJWN+)(=|*8-Oi_4Z? 0.0: + $model/ra/model/AnimationPlayer.play( "strafe_right" ) + elif input_direction.x < 0.0: + $model/ra/model/AnimationPlayer.play( "strafe_left" ) + else: $model/ra/model/AnimationPlayer.play( "idle" ) @@ -59,7 +76,11 @@ func calculate_velocity( move_direction: Vector3, delta: float ) -> Vector3: - var velocity_new := move_direction * move_speed + var velocity_new := move_direction + if self.is_sprinting(): + velocity_new *= sprint_speed + else: + velocity_new *= move_speed if velocity_new.length() > max_speed: velocity_new = velocity_new.normalized() * max_speed velocity_new.y = velocity_current.y + gravity * delta @@ -89,7 +110,12 @@ func load_creature( filename ): $model/ra/model/metarig/Skeleton/body.set( "blend_shapes/Pregnant", self.creature.female_pregnant ) $model/ra/model/metarig/Skeleton/body.get_surface_material( 0 ).set_shader_param( "albedo", self.creature.color ) - +func is_sprinting(): + if (not self.is_sprinting and Input.is_action_pressed( "sprint" )) \ + or (self.is_sprinting and not Input.is_action_pressed( "sprint" )) \ + : + return true + return false func rotate_camera_arm( p_axis, p_angle_degree ): $model/ra/spring_arm.rotate( p_axis, p_angle_degree )