Add tutorial, back buttons, different placement for inputs, outputs and others, level evaluations(no gui yet), small fixes

This commit is contained in:
csd4ni3l
2025-10-14 13:30:40 +02:00
parent 2915d36763
commit 9064278ab8
5 changed files with 104 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ class LevelSelector(arcade.gui.UIView):
row, col = (n + 1) // 5, (n + 1) % 5
diy_button = self.grid.add(arcade.gui.UITextureButton(width=self.window.width / 8, height=self.window.height / 8, text=f"DIY", texture=button_texture, texture_hovered=button_hovered_texture, style=button_style), row=row, column=col)
diy_button = self.anchor.add(arcade.gui.UITextureButton(width=self.window.width / 2, height=self.window.height / 8, text=f"DIY", texture=button_texture, texture_hovered=button_hovered_texture, style=button_style), anchor_x="center", anchor_y="bottom", align_y=20)
diy_button.on_click = lambda event: self.play(-1)
self.grid._trigger_size_hint_update()