Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Garzia, Andre Alves.

Title Roguelike development with JavaScript : build and publish roguelike genre games with JavaScript and Phaser / Andre Alves Garzia. [O'Reilly electronic resource]

Imprint [United States] : Apress, 2020.
QR Code
Description 1 online resource
Note Includes index.
Bibliography Includes bibliographical references and index.
Summary 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.
Contents Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Introduction -- Chapter 1: Before We Begin -- What are roguelikes? -- The Berlin Interpretation -- What are roguelites? -- What are roguelikes for this book? -- Why develop roguelikes? -- Why use web technologies? -- Why Phaser? -- What we're building -- Chapter 2: Introduction to Phaser -- Introducing Nano Dungeon -- Setting up -- Installing a web server -- Choosing a code editor -- Getting the source code -- Running the examples -- How games work -- Introducing Phaser -- Phaser scenes
A simple scene -- The game configuration object -- The scene object -- Exercise -- Summary -- Chapter 3: Dungeoning -- What are tilemaps? -- Drawing a tilemap -- Preloading a spritesheet -- A basic tilemap -- A basic dungeon -- Adding a player character -- It begins with a dungeon manager -- Creating a turn manager -- The player class -- Updating the scene -- Exercise -- Summary -- Chapter 4: Enemies and Permadeath -- Dungeon initialization -- Movement support -- Initializing entities -- Moving entities -- The player becomes a sprite -- Our first monster -- Creating the basic monster class
Adding the monster to the dungeon -- Basic combat mechanics -- From basic monster to dangerous monster -- Refactoring the dungeon manager -- The player class learns how to attack -- Exercises -- Summary -- Chapter 5: Treasures and Equipment -- Creating a user interface for our game -- How it was implemented -- Game.js refactoring -- Implementing world.js -- New dungeon.js feature -- Creating the UI scene -- Implementing the monster UI -- The player user interface -- Creating equipment and treasure -- Adding item support to the player character -- Equipping items -- Removing an item from inventory
Changing how attacks work -- Changing the constructor -- Refreshing the UI -- Patching turn -- Reworking the dungeon module -- Let's create some items -- Implementing the generic item class -- Creating a sword -- Creating a long sword -- Creating a gem -- What about a cursed gem? -- Creating a potion -- Adding items to the dungeon -- Adding monster loot -- Exercises -- Summary -- Chapter 6: Character Classes -- Yet another refactor -- Support for defensive bonuses -- Support for ranged attacks -- Refactoring the dungeon module -- Patching the generic item -- Creating a basic hero class
Creating a warrior class -- Creating a dwarf -- Creating a cleric -- Creating an elf -- Creating a wizard -- Exercises -- Summary -- Chapter 7: Procedurally Generated Monsters and Items -- Introducing tags -- Aren't you describing mixins? -- Tags as pipelines -- Making good tags -- Tags and procedural generation -- Adding support for tags -- Making entities taggable -- Making heroes taggable -- Making items taggable -- Making enemies -- A basic enemy class -- Revisiting the skeleton -- Creating a bat -- Making an orc -- Making a troll -- Implementing the enemies module
Subject Video games -- Programming.
JavaScript (Computer program language)
Jeux vidéo -- Programmation.
JavaScript (Langage de programmation)
Video games -- Programming
JavaScript (Computer program language)
Other Form: Print version: Garzia, Andre Alves. Roguelike development with JavaScript. [United States] : Apress, 2020 1484260589 9781484260586 (OCoLC)1154953539
ISBN 9781484260593 (electronic bk.)
1484260597 (electronic bk.)
Standard No. 10.1007/978-1-4842-6059-3 doi
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information