Przeglądaj źródła

Jump for the 2D game is much more responsive, and instantaneous.

Samik Bhowal 17 lat temu
rodzic
commit
99bbf03b7d
1 zmienionych plików z 0 dodań i 3 usunięć
  1. 0 3
      direct/src/controls/TwoDWalker.py

+ 0 - 3
direct/src/controls/TwoDWalker.py

@@ -37,9 +37,6 @@ class TwoDWalker(GravityWalker):
                 assert self.debugPrint("isAirborne 0 due to isOnGround() true")
                 assert self.debugPrint("isAirborne 0 due to isOnGround() true")
                 impact = self.lifter.getImpactVelocity()
                 impact = self.lifter.getImpactVelocity()
                 messenger.send("jumpLand")
                 messenger.send("jumpLand")
-                if impact < -5.0:
-                    self.startJumpDelay(0.2)
-                # else, ignore the little potholes.
             assert self.isAirborne == 0
             assert self.isAirborne == 0
             self.priorParent = Vec3.zero()
             self.priorParent = Vec3.zero()
         else:
         else: