Add zooming (took a long time due to screen to world coordinates), multi input gates for DIY mode

This commit is contained in:
csd4ni3l
2025-10-17 18:14:10 +02:00
parent 318d5b2823
commit dca839e966
3 changed files with 58 additions and 40 deletions

View File

@@ -4,6 +4,14 @@ from utils.constants import menu_background_color
import pyglet.display
def multi_gate(values, func):
value = values[0]
for new_value in values[1:]:
value = func(value, new_value)
return value
def generate_task_text(level):
text = "Task: You need to use "