bugfixek és chatgpt teszt csatamenet

This commit is contained in:
markojozsef
2026-09-16 18:52:00 +02:00
parent 7ea8df8002
commit d97b5b9fb7
2 changed files with 167 additions and 43 deletions

View File

@@ -33,16 +33,13 @@ class MenuItem:
if controls.is_control_pressed(0) and self.up: # Fel
self.selected = False
self.up.select()
if controls.is_control_pressed(1) and self.down: # Le
elif controls.is_control_pressed(1) and self.down: # Le
self.selected = False
self.down.select()
if controls.is_control_pressed(2) and self.left: # Bal
elif controls.is_control_pressed(2) and self.left: # Bal
self.selected = False
self.left.select()
if controls.is_control_pressed(3) and self.right: # Jobb
elif controls.is_control_pressed(3) and self.right: # Jobb
self.selected = False
self.right.select()
@@ -55,4 +52,4 @@ class MenuItem:
assets.sprites["cursor"],
arcade.LBWH(self.x - 16, self.y - 6, 16, 16),
pixelated=True
)
)