shuvit před 6 roky
rodič
revize
3370085606
1 změnil soubory, kde provedl 7 přidání a 7 odebrání
  1. 7
    7
      grindV2.py

+ 7
- 7
grindV2.py Zobrazit soubor

@@ -104,13 +104,13 @@ def main():
104 104
     ogrot = own.orientation
105 105
     ogrot = player_e
106 106
     
107
-    # if (framenum - gsf) > 15:
108
-    #     velx = linVelocity2.x
109
-    #     vely = linVelocity2.y
110
-    #     #print("limit speed")
111
-    # else:    
112
-    #     velx = linVelocity2.x
113
-    #     vely = linVelocity2.y     
107
+    if (framenum - gsf) > 15:
108
+        velx = linVelocity2.x
109
+        vely = linVelocity2.y
110
+        #print("limit speed")
111
+    else:    
112
+         velx = linVelocity2.x
113
+         vely = linVelocity2.y     
114 114
     if abs(own['pregrind_vely']) > abs(vely) and own['LAST_GRIND'] == 0:
115 115
         convely = own['pregrind_vely']
116 116
     else:

Loading…
Zrušit
Uložit