Zene
This commit is contained in:
BIN
res/mus/credits.wav
Normal file
BIN
res/mus/credits.wav
Normal file
Binary file not shown.
BIN
res/mus/decisive.wav
Normal file
BIN
res/mus/decisive.wav
Normal file
Binary file not shown.
BIN
res/mus/finale.wav
Normal file
BIN
res/mus/finale.wav
Normal file
Binary file not shown.
BIN
res/mus/getrickrolled.wav
Normal file
BIN
res/mus/getrickrolled.wav
Normal file
Binary file not shown.
BIN
res/mus/hatred.wav
Normal file
BIN
res/mus/hatred.wav
Normal file
Binary file not shown.
@@ -24,6 +24,11 @@ sprites = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sounds = {
|
sounds = {
|
||||||
|
"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_fnafsux" : pygame.mixer.Sound("res/mus/fnafsux.wav"),
|
||||||
"sfx_encounter": pygame.mixer.Sound("res/sfx/encounter.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"),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -261,7 +261,7 @@ battles = [
|
|||||||
["cursor", "cursor", "cursor"]
|
["cursor", "cursor", "cursor"]
|
||||||
],
|
],
|
||||||
"enemy_turn_func": hero_turn_rookies,
|
"enemy_turn_func": hero_turn_rookies,
|
||||||
"mus_id": "mus_fnafsux",
|
"mus_id": "mus_getrickrolled",
|
||||||
"init_ai_data": _hero_moves(can_petrify=False),
|
"init_ai_data": _hero_moves(can_petrify=False),
|
||||||
"menus": [
|
"menus": [
|
||||||
[ # Mordrak
|
[ # Mordrak
|
||||||
@@ -319,7 +319,7 @@ battles = [
|
|||||||
["dwagon", "dwagon_low", "dwagon_dead"],
|
["dwagon", "dwagon_low", "dwagon_dead"],
|
||||||
],
|
],
|
||||||
"enemy_turn_func": hero_turn_elemental,
|
"enemy_turn_func": hero_turn_elemental,
|
||||||
"mus_id": "mus_fnafsux",
|
"mus_id": "mus_decisive",
|
||||||
"init_ai_data": _hero_moves(can_petrify=False),
|
"init_ai_data": _hero_moves(can_petrify=False),
|
||||||
"menus": [
|
"menus": [
|
||||||
[ # Ignisza
|
[ # Ignisza
|
||||||
@@ -451,7 +451,7 @@ battles = [
|
|||||||
["cursor", "cursor", "cursor"]
|
["cursor", "cursor", "cursor"]
|
||||||
],
|
],
|
||||||
"enemy_turn_func": hero_turn_final,
|
"enemy_turn_func": hero_turn_final,
|
||||||
"mus_id": "mus_fnafsux",
|
"mus_id": "mus_finale",
|
||||||
"init_ai_data": _hero_moves(can_petrify=True),
|
"init_ai_data": _hero_moves(can_petrify=True),
|
||||||
"menus": [
|
"menus": [
|
||||||
[ # Zagorath
|
[ # Zagorath
|
||||||
|
|||||||
@@ -3,18 +3,18 @@ import text
|
|||||||
import assets
|
import assets
|
||||||
import gamestate
|
import gamestate
|
||||||
|
|
||||||
CREDITS_MUSIC = "mus_fnafsux"
|
CREDITS_MUSIC = "mus_credits"
|
||||||
CREDITS_LENGTH = 10
|
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_text = text.TextRenderer(128, 100, None, True)
|
||||||
end_visible = False
|
end_visible = False
|
||||||
t = 0
|
t = 0
|
||||||
|
|
||||||
def switch(game):
|
def switch(game):
|
||||||
assets.sounds[CREDITS_MUSIC].play()
|
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()
|
cred_text.type_all()
|
||||||
end_text.reset("Vége!")
|
end_text.reset("Vége!")
|
||||||
end_text.type_all()
|
end_text.type_all()
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ from objects import BalthasarRenderer, OverworldMap, BattlePodium, DIR_UP, DIR_L
|
|||||||
|
|
||||||
WALK_SPEED = 48
|
WALK_SPEED = 48
|
||||||
|
|
||||||
OVERWORLD_MUSIC = "mus_fnafsux"
|
OVERWORLD_MUSIC = "mus_hatred"
|
||||||
music_box = None
|
music_box = None
|
||||||
|
|
||||||
balthasar = BalthasarRenderer(96,16)
|
balthasar = BalthasarRenderer(96,16)
|
||||||
|
|||||||
Reference in New Issue
Block a user