nolag update
parent
d4e4b839cc
commit
5eeabda3af
|
@ -709,23 +709,29 @@ def run():
|
|||
obj.code = i
|
||||
scripts.append(obj)
|
||||
log("objects transferred!")
|
||||
gamescript = """
|
||||
global HASHGAME
|
||||
import time
|
||||
while True:
|
||||
for i in HASHGAME._objects:
|
||||
i = HASHGAME._objects[i]
|
||||
HASHGAME.calcphysobj(i)
|
||||
HASHGAME.render()
|
||||
"""
|
||||
gameloopsc = script()
|
||||
gameloopsc.code = gamescript
|
||||
maingame.startscript(lambda: gameloopsc.execute(APIGEN(), log))
|
||||
#gamescript = """
|
||||
#global HASHGAME
|
||||
#import time
|
||||
#while True:
|
||||
# for i in HASHGAME._objects:
|
||||
# i = HASHGAME._objects[i]
|
||||
# HASHGAME.calcphysobj(i)
|
||||
# HASHGAME.render()
|
||||
#"""
|
||||
#gameloopsc = script()
|
||||
#gameloopsc.code = gamescript
|
||||
#maingame.startscript(lambda: gameloopsc.execute(APIGEN(), log))
|
||||
log("game test started!!!")
|
||||
log("---------------------")
|
||||
for i in scripts:
|
||||
maingame.startscript(lambda: i.execute(APIGEN(), log))
|
||||
window.mainloop()
|
||||
#window.mainloop()
|
||||
while True:
|
||||
for i in maingame._objects:
|
||||
i = maingame._objects[i]
|
||||
maingame.calcphysobj(i)
|
||||
maingame.render()
|
||||
window.update()
|
||||
|
||||
def muladd(target):
|
||||
for i in range(10):
|
||||
|
|
32
main.py
32
main.py
|
@ -709,23 +709,29 @@ def run():
|
|||
obj.code = i
|
||||
scripts.append(obj)
|
||||
log("objects transferred!")
|
||||
gamescript = """
|
||||
global HASHGAME
|
||||
import time
|
||||
while True:
|
||||
for i in HASHGAME._objects:
|
||||
i = HASHGAME._objects[i]
|
||||
HASHGAME.calcphysobj(i)
|
||||
HASHGAME.render()
|
||||
"""
|
||||
gameloopsc = script()
|
||||
gameloopsc.code = gamescript
|
||||
maingame.startscript(lambda: gameloopsc.execute(APIGEN(), log))
|
||||
#gamescript = """
|
||||
#global HASHGAME
|
||||
#import time
|
||||
#while True:
|
||||
# for i in HASHGAME._objects:
|
||||
# i = HASHGAME._objects[i]
|
||||
# HASHGAME.calcphysobj(i)
|
||||
# HASHGAME.render()
|
||||
#"""
|
||||
#gameloopsc = script()
|
||||
#gameloopsc.code = gamescript
|
||||
#maingame.startscript(lambda: gameloopsc.execute(APIGEN(), log))
|
||||
log("game test started!!!")
|
||||
log("---------------------")
|
||||
for i in scripts:
|
||||
maingame.startscript(lambda: i.execute(APIGEN(), log))
|
||||
window.mainloop()
|
||||
#window.mainloop()
|
||||
while True:
|
||||
for i in maingame._objects:
|
||||
i = maingame._objects[i]
|
||||
maingame.calcphysobj(i)
|
||||
maingame.render()
|
||||
window.update()
|
||||
|
||||
def muladd(target):
|
||||
for i in range(10):
|
||||
|
|
Loading…
Reference in New Issue