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