This commit is contained in:
markojozsef
2026-10-18 18:19:05 +02:00
parent dde9af9222
commit 9c0668d579
9 changed files with 15 additions and 10 deletions

BIN
res/mus/credits.wav Normal file

Binary file not shown.

BIN
res/mus/decisive.wav Normal file

Binary file not shown.

BIN
res/mus/finale.wav Normal file

Binary file not shown.

BIN
res/mus/getrickrolled.wav Normal file

Binary file not shown.

BIN
res/mus/hatred.wav Normal file

Binary file not shown.

View File

@@ -24,6 +24,11 @@ sprites = {
}
sounds = {
"mus_fnafsux": pygame.mixer.Sound("res/mus/fnafsux.wav"),
"sfx_encounter": pygame.mixer.Sound("res/sfx/encounter.wav")
"mus_hatred" : pygame.mixer.Sound("res/mus/hatred.wav"),
"mus_getrickrolled" : pygame.mixer.Sound("res/mus/getrickrolled.wav"),
"mus_decisive" : pygame.mixer.Sound("res/mus/decisive.wav"),
"mus_fnafsux" : pygame.mixer.Sound("res/mus/fnafsux.wav"),
"mus_finale" : pygame.mixer.Sound("res/mus/finale.wav"),
"mus_credits" : pygame.mixer.Sound("res/mus/credits.wav"),
"sfx_encounter" : pygame.mixer.Sound("res/sfx/encounter.wav"),
}

View File

@@ -261,7 +261,7 @@ battles = [
["cursor", "cursor", "cursor"]
],
"enemy_turn_func": hero_turn_rookies,
"mus_id": "mus_fnafsux",
"mus_id": "mus_getrickrolled",
"init_ai_data": _hero_moves(can_petrify=False),
"menus": [
[ # Mordrak
@@ -319,7 +319,7 @@ battles = [
["dwagon", "dwagon_low", "dwagon_dead"],
],
"enemy_turn_func": hero_turn_elemental,
"mus_id": "mus_fnafsux",
"mus_id": "mus_decisive",
"init_ai_data": _hero_moves(can_petrify=False),
"menus": [
[ # Ignisza
@@ -451,7 +451,7 @@ battles = [
["cursor", "cursor", "cursor"]
],
"enemy_turn_func": hero_turn_final,
"mus_id": "mus_fnafsux",
"mus_id": "mus_finale",
"init_ai_data": _hero_moves(can_petrify=True),
"menus": [
[ # Zagorath

View File

@@ -3,18 +3,18 @@ import text
import assets
import gamestate
CREDITS_MUSIC = "mus_fnafsux"
CREDITS_MUSIC = "mus_credits"
CREDITS_LENGTH = 10
SCROLL_SPEED = 10
SCROLL_SPEED = 5
cred_text = text.TextRenderer(90, 180, 210)
cred_text = text.TextRenderer(128, 180, None, True)
end_text = text.TextRenderer(128, 100, None, True)
end_visible = False
t = 0
def switch(game):
assets.sounds[CREDITS_MUSIC].play()
cred_text.reset("Gratulálunk, sikerült kivinni a játékot!")
cred_text.reset("Gratulálunk, sikerült kivinni a játékot!\n\n\n\n\n\n\n==Programozás==\nMarkó József Attila\n\n")
cred_text.type_all()
end_text.reset("Vége!")
end_text.type_all()

View File

@@ -8,7 +8,7 @@ from objects import BalthasarRenderer, OverworldMap, BattlePodium, DIR_UP, DIR_L
WALK_SPEED = 48
OVERWORLD_MUSIC = "mus_fnafsux"
OVERWORLD_MUSIC = "mus_hatred"
music_box = None
balthasar = BalthasarRenderer(96,16)