shuvit vor 6 Jahren
Ursprung
Commit
3370085606
1 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
  1. 7
    7
      grindV2.py

+ 7
- 7
grindV2.py Datei anzeigen

@@ -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:

Laden…
Abbrechen
Speichern