Skip to main content
  • Book
  • © 2020

Roguelike Development with JavaScript

Build and Publish Roguelike Genre Games with JavaScript and Phaser

Apress
  • The first book on roguelike development
  • Deals with roguelikes from a developer’s perspective
  • Engages with procedural generation within game development
  • 5978 Accesses

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.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

Other ways to access

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

Table of contents (9 chapters)

  1. Front Matter

    Pages i-xx
  2. Before We Begin

    • Andre Garzia
    Pages 1-12
  3. Introduction to Phaser

    • Andre Garzia
    Pages 13-31
  4. Dungeoning

    • Andre Garzia
    Pages 33-57
  5. Enemies and Permadeath

    • Andre Garzia
    Pages 59-90
  6. Treasures and Equipment

    • Andre Garzia
    Pages 91-133
  7. Character Classes

    • Andre Garzia
    Pages 135-171
  8. Procedurally Generated Monsters and Items

    • Andre Garzia
    Pages 173-235
  9. Procedurally Generated Dungeons

    • Andre Garzia
    Pages 237-269
  10. Finished Game

    • Andre Garzia
    Pages 271-315
  11. Back Matter

    Pages 317-322

About this book

Go on an adventure and build a roguelike from scratch using JavaScript. With the help of the battle-tested Phaser library, you’ll go through all the steps to build a small, fun, playable web roguelite game. The author will guide you on how to add further features to the game such as populating the game with enemies, adding treasures, and so on. You will acquire technical knowledge about procedural generation and tile-based mapping as well as learn game design skills such as what makes dungeons fun and how to evoke an emotion in your game.

Roguelikes are very popular with indie developers because of their focus on gameplay over graphics. You’ll see why they appeal to game designers on a budget and discover that they serve as a good platform to experiment with novel ideas and designs. Along the way, you’ll cover the increasingly popular roguelite genre that provides a hyper casual form of the genre that is approachable and often mobile. 

After reading this book, you’ll be ready to create your own roguelikes, to dive deep into procedural generation, and also to bring some of the techniques shown here into other genres and game projects.

What You Will Learn

  • Make use of procedural generation for dungeons, mazes, monsters, and treasure
  • Pick up skills to use Phaser to build games
  • Implement turn-based mechanics
  • Use tile-based graphics

Who This Book Is For  

Game developers who want to build something fun and who have at least some prior JavaScript programming experience.

Authors and Affiliations

  • London, UK

    Andre Alves Garzia

About the author

Andre Alves Garzia is a developer who loves web and game development. In recent years, he has published books about building games for Firefox OS and managed a web literacy program in vulnerable neighborhoods of Rio de Janeiro. He is a firm believer in empowerment through technological experimentation and thinks game development should be on everyone’s bucket list. He lives in London and wonders if the UK procedural generator is biased toward raining.

Bibliographic Information

  • Book Title: Roguelike Development with JavaScript

  • Book Subtitle: Build and Publish Roguelike Genre Games with JavaScript and Phaser

  • Authors: Andre Alves Garzia

  • DOI: https://doi.org/10.1007/978-1-4842-6059-3

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Andre Alves Garzia 2020

  • Softcover ISBN: 978-1-4842-6058-6Published: 26 September 2020

  • eBook ISBN: 978-1-4842-6059-3Published: 25 September 2020

  • Edition Number: 1

  • Number of Pages: XX, 322

  • Number of Illustrations: 23 b/w illustrations, 1 illustrations in colour

  • Topics: Game Development, Web Development, Java

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.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

Other ways to access