diff --git a/cat.html b/cat.html index 9c9dd53..5ee0282 100644 --- a/cat.html +++ b/cat.html @@ -1217,6 +1217,10 @@ var game = { this.android = this.ua.indexOf('android') > -1 ? true : false; this.ios = ( this.ua.indexOf('iphone') > -1 || this.ua.indexOf('ipad') > -1 ) ? true : false; + if (this.ios || this.android) { + FIREWORKSHARDS /= 2; + } + // don't need this now that we statically define the canvas. //document.body.insertBefore(this.canvas, document.body.childNodes[0]); diff --git a/todo b/todo index 1319fef..4681c68 100644 --- a/todo +++ b/todo @@ -11,8 +11,6 @@ https://www.smashingmagazine.com/2012/10/design-your-own-mobile-game/ ------------------- -*add firework effect for attaining goals - new door fell down on top of new goat!! (or the other way around ??) check code for doors falling when off the top of the screen.