In debug mode, the score is always set to startingScore now. Refactored some shop UI constants to config.js. Forced main-state and shop-state to update the score text after creating it, to force resizing if the text is too large for the screen. Made the getScoreText() function more DRY.
Refactored the cupcake score effect to its own function. Made the Cupcakes-per-second calculation run using Phaser time. Made automatic cupcakes spawn cupcake score effects, which currently don't animate properly.
Set a cupcake limit on the player, and made a victory screen appear once they reach that limit. Players can restart from 0 cupcakes (keeping their upgrades) when they hit the cupcake limit.
Turned off debug mode.
fixed score animation issue
Merge pull request #2 from Zolmeister/animation-fix

Animation fix
Made the game continue to update while the browser window is out of focus, to avoid tweens freezing when the user clicks away, and to allow players on computers to do other things while accumulating cupcakes (a key feature of Cookie Clicker, IMO). Refactored ShopState code to allow automatic refreshing of the shop buttons.
Merge branch 'NatmanDev' of github.com:Zolmeister/yummy-cupcake into NatManDev
- IDs/groups for SVGs