Live demo - http://brimstonestudios.github.io/monster-world/
Choose a starting character and a starting monster. Roam around the world defeating and catching other monsters in random monster encounter fights.
Use the Monster net to catch a wild monsters. Damaging monsters increases the chance of a successful catch.
- Movement = arrow keys
- Select/Action = space key
- Open/Close Main Menu or Back = shift key
Javascript style guide used: http://javascript.crockford.com/code.html
npm installnmp start- Navigate to
localhost:8080
- To lint your javascript:
npm run lint - Running webpack
npm build - Running specs
npm test
All abilities are built using the following scheme.
mockAbility: {
name: 'mockAbility',
type: 'mockType',
category: 'mockCategory',
power: 40,
accuracy: 1,
effect: '',
func: function () {
abilityUsed.call( this, battle.playerBattleMonster );
}
}