Skip to main content

Finished Game

  • Chapter
  • First Online:
Roguelike Development with JavaScript
  • 654 Accesses

Abstract

Any self-respecting dungeon has more than one level in it. There is no point in digging an underground lair and reusing some eldritch cave structure if you’re not going to make it deep. Up to this point in our game, we treated dungeons as a single-level structure because it was easier to code and reason about it. In this chapter, we’re going to add multiple levels to the dungeon and create the other scenes necessary for the game introduction, game over, and winning the game. The most complex part is the multiple-level support because it requires refactoring some of our game files.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Camera fadeOut documentation: https://photonstorm.github.io/phaser3-docs/Phaser.Cameras.Scene2D.Camera.html#fadeOut__anchor

  2. 2.

    Doomed font by Jack Oatley: www.dafont.com/doomed.font?l[]=10&l[]=1

  3. 3.

    Scene Manager documentation: https://photonstorm.github.io/phaser3-docs/Phaser.Scenes.SceneManager.html

  4. 4.

    My favorite game design book is The Art of Game Design by Jesse Schell: www.schellgames.com/art-of-game-design/

  5. 5.

    Itch.io site: https://itch.io

  6. 6.

    Publishing HTML5 games to itch.io: https://itch.io/docs/creators/html5

  7. 7.

    Vercel site: https://vercel.com/home

  8. 8.

    Surge site: https://surge.sh/

  9. 9.

    RogueBasin site: www.roguebasin.com/index.php?title=Main_Page

  10. 10.

    Roguelike Celebration: https://roguelike.club/

  11. 11.

    Roguelike development subreddit: www.reddit.com/r/roguelikedev/

  12. 12.

    Procedural Generation in Game Design book: www.routledge.com/Procedural-Generation-in-Game-Design/Short-Adams/p/book/9781498799195

  13. 13.

    7DRL challenge site: https://7drl.com/

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Andre Alves Garzia

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Garzia, A. (2020). Finished Game. In: Roguelike Development with JavaScript. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6059-3_9

Download citation

Publish with us

Policies and ethics