Skip to content

Commit

Permalink
Display final end cut-scene (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Feb 13, 2024
1 parent 87cba2e commit acbab6a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- NEXT STEPS:
- also publish a .7z compressed version
- submit on https://www.dungeoncrawlers.org
- make online MP3s to loop forever
- map bug on cedar village : a door appears initially at the portal position, when it's not open
Expand Down
2 changes: 1 addition & 1 deletion gen_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def main():
assert not pdf._drawing_graphics_state_registry, "No /ExtGState are needed in Undying Dusk" # pylint: disable=protected-access
with trace_time() as trace:
pdf.pdf_version = "1.3" # Optimization: avoids 55bytes/page due to the transparency group
pdf.output('undying-dusk.pdf', 'F')
pdf.output('undying-dusk.pdf')
print(f'Output generation took: {trace.time:.2f}s')
print_perf_stats()
pdf.print_perf_stats()
Expand Down
3 changes: 2 additions & 1 deletion pdf_game/mod/campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'Come back to help me\nDominik!',
)

VICTORY_POS = Checkpoint((9, 11, 5), 'ending after beating the Empress', mode=GameMode.DIALOG)
VICTORY_POS = Checkpoint((9, 11, 5), 'Victory screen after beating the Empress & final ending scene')
CHECKPOINTS = ( # intermediate positions that should be reachable through a unique path only
# Checkpoint((1, 6, 6), 'Entering Monastery after Scriptorium'),
Checkpoint((1, 4, 9), 'After beating the imp, still in Monastery'),
Expand Down Expand Up @@ -49,6 +49,7 @@
Checkpoint((9, 9, 3), 'after flying demon fight, about to face Empress'),
Checkpoint((9, 11, 5), 'start of phase 2 of Empress boss fight', mode=GameMode.COMBAT,
condition=lambda gs: gs.message == EMPRESS_INTERPHASE_LINES[-1]),
Checkpoint((9, 11, 5), 'Ending scene after beating the Empress', mode=GameMode.DIALOG),
VICTORY_POS,
)
# VICTORY_POS = Checkpoint((0, 1, 1), ''); CHECKPOINTS = (VICTORY_POS,) # stop after intro
Expand Down
3 changes: 2 additions & 1 deletion pdf_game/mod/scenes.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ def seamus_transformation():
def the_end():
scene_9 = CutScene.new(
background='bloodsplat',
text='At least, one last time,\nyou met your only love.\n\nDominik.',
text='At least, one last time,\nyou met your only love.',
exit_msg='Dominik.',
)
scene_8 = CutScene.new(
background='bloodsplat',
Expand Down

0 comments on commit acbab6a

Please sign in to comment.