This commit is contained in:
markojozsef
2026-09-27 12:30:59 +02:00
parent 372c55caac
commit 57cd65b6c5
7 changed files with 32 additions and 4 deletions

19
src/gamestates/battle.py Normal file
View File

@@ -0,0 +1,19 @@
import arcade
import assets
import controls
import text
text = text.TextRenderer(100, 186, 210)
battle_music = None
def switch(game):
global battle_music
battle_music = assets.sounds["mus_fnafsux"].play(loops=True)
text.reset("ASDF")
text.type_all()
def update(game, dt):
pass
def draw(game):
text.render()

View File

@@ -2,4 +2,4 @@ import gamestate
# Azért létezik ez a "none" gamestate hogy meghívja az elsö gamestate init() funkcióját
def update(game, dt):
gamestate.switch_gamestate(game, "overworld")
gamestate.switch_gamestate(game, "battle")