filmov
tv
JavaScript Pathfinder Part 5 Class Preparation (Character Generation Step 3)

Показать описание
In this tutorial, we continue creating our Character Generator for Pathfinder RPG and implement the first part of Step 3 - Pick Your Class.
The player is able to choose from one of the eleven core classes: Barbarian, Bard, Cleric, Druid, Fighter, Monk, Paladin, Ranger, Rogue, Sorcerer, or Wizard.
We also do a bit of refactoring and tidy up some of our past code. We create two new objects, Bonus and Title, and refactor our ClickBonusLanguage function to be more generic. Our new function, ClickCheckbox, can now be used to limit selection on any set of checkboxes.
All coding is done from within a HTML file, so it should be able to run in any modern browser!
CODE
TOOLS
USEFUL LINKS
FIND US ON FACEBOOK
The player is able to choose from one of the eleven core classes: Barbarian, Bard, Cleric, Druid, Fighter, Monk, Paladin, Ranger, Rogue, Sorcerer, or Wizard.
We also do a bit of refactoring and tidy up some of our past code. We create two new objects, Bonus and Title, and refactor our ClickBonusLanguage function to be more generic. Our new function, ClickCheckbox, can now be used to limit selection on any set of checkboxes.
All coding is done from within a HTML file, so it should be able to run in any modern browser!
CODE
TOOLS
USEFUL LINKS
FIND US ON FACEBOOK