Commit Graph

65 Commits

Author SHA1 Message Date
Rob Pearce 9a86962923 Tap 10 times to the right of 'level selection' to clear game data.
Loader will now wait until font is loaded before going to title screen.
2016-09-08 14:15:46 +10:00
Rob Pearce 5c9cc8d82b test code to check for font load 2016-09-08 13:49:23 +10:00
Rob Pearce 18cf0704f5 Adjusted star point cutoffs now that we have multipliers for long parades. 2016-09-08 10:23:17 +10:00
Rob Pearce 2e83f351aa Randomise brick layout on random levels. 2016-09-07 15:23:36 +10:00
Rob Pearce 3088b74816 *add starpoint cutoffs for bag, curtain, toad and sunlight goals
*save level scores in json format to cope with randomised levels
*lev 6 help references both llamas and alpacas
*make goalbooster effect actualy work
*tweak random goal numbers - too low - add a minimum cutoff
*try to make height correct on android tablets
*add happy birthday message
2016-09-05 14:22:21 +10:00
Rob Pearce 807bd533f1 *random levels.
*bugfix:  cat-in-boat to goat should okay
*when forcing an goal object because we have none, make the chance higher based on how many things we're dropping.
*add more win images
* make win images sequential rather than random.
2016-09-04 11:47:42 +10:00
Rob Pearce 1546c6f4ed New thing: boxes
*change layout of levselect screen
*curtain is now a 'special' object
2016-09-03 10:52:03 +10:00
Rob Pearce d6d517f142 Added help text for curtains. 2016-09-02 16:32:20 +10:00
Rob Pearce 9f2c38f48f Adding feature: curtains. 2016-09-02 13:42:47 +10:00
Rob Pearce e65504184f Start of 'curtain' implementation
*don't draw fireworks on gameover screen.
*randomised goat on title screen.
2016-09-02 11:48:48 +10:00
Rob Pearce 75fd2f6f78 Change update script location 2016-09-02 09:45:31 +10:00
Rob Pearce 2054138bef Tweak stars required to unlock - was too low on higher levels. 2016-09-01 08:20:38 +10:00
Rob Pearce ce58f29754 *lev18: diff colour cats which only match themselves 2016-08-31 17:45:15 +10:00
Rob Pearce facceb304f Reduce number of firework particles on mobile devices. 2016-08-31 15:24:16 +10:00
Rob Pearce 3df326dbbf *add firework effect for attaining goals 2016-08-31 15:19:51 +10:00
Rob Pearce 9176b45a50 *move goal progress increments to thing.kill() function
*Make 'allowedthings' default to previous level's one.
*fix lev6 help
*bugfix: whitecats aren't ever appearing randomly?
*new object: bricks
*Don't allow extending path off the top of the grid.
*fix incorrect pluralisation "foods" in goal text
2016-08-31 13:55:35 +10:00
Rob Pearce b5dedbe0ad *only increase chance of goal items if you haven't already met the goal.
*make increase chance work for "special" things!!! (eg. white cat)
*stop increasing goal progress once we hit the required amount
*seperate goal names and goal associated things
2016-08-30 19:46:40 +10:00
Rob Pearce 62f7b20a88 *special: toad - slap to make it drop down and clear objects below.
*special: white cat : destroys stuff around it
*increase changes of a goal things appearing if none exist.
2016-08-30 17:19:28 +10:00
Rob Pearce 748c619c50 *help text for turn limit
*match 3 llamas to explode them
*adjust stars required to unlock levels
*from lev5 onwards, shopping bags on right.
*powerups
        *sneeze (wake up all)
        *shears - clears all llamas
        *magic carpet - drag to give cats a fez.  Worth heaps of points.
*help for bags/prizes
*tweak required scores
2016-08-30 14:55:26 +10:00
Rob Pearce 1560330799 *multiplier for path length
*turn limit
*help for path length multiplier
2016-08-29 19:24:29 +10:00
Rob Pearce 117a866820 Initial work on turn limit. 2016-08-29 04:21:42 +00:00
Rob Pearce 8ac5bc1e7c Updates to todo 2016-08-28 08:32:13 +10:00
Rob Pearce aa59291af4 Statically define canvas, maybe this will fix ios.
Make loader code actually work again (I think)
2016-08-28 08:27:20 +10:00
Rob Pearce 614c2e3da8 todo updates 2016-08-27 18:14:26 +10:00
Rob Pearce 6ff067a70d Remove code to try to go full screen 2016-08-27 18:05:42 +10:00
Rob Pearce b5d821519b Adding margin/padding=0 2016-08-27 18:00:09 +10:00
Rob Pearce b21e08f5b5 Star threshold points at top of screen now update properly as you earn points. 2016-08-27 17:47:39 +10:00
Rob Pearce a53c12c408 trtinh to fix bbrokenness on android 2016-08-27 06:44:24 +00:00
Rob Pearce c6e85d2d38 clean up 2016-08-27 06:17:52 +00:00
Rob Pearce be8d84b980 Hopefully fixed bug where parade things end up "snapping" to wrong x/y location. 2016-08-27 13:48:41 +10:00
Rob Pearce dad8a6ff23 Added new victory images. 2016-08-27 13:29:24 +10:00
Rob Pearce 478d96acff Use images for star goals at top of game screen, rather than unicode. 2016-08-27 13:18:03 +10:00
Rob Pearce bd6b39a085 Initial loading screen now works. (but is ugly) 2016-08-27 12:35:18 +10:00
Rob Pearce b4e6114875 Loading screen code.
Fix dimensions in desktop browsers.
2016-08-27 12:25:17 +10:00
rob d474fa8687 Made title bg more teal. 2016-08-26 13:38:53 +00:00
rob acb8ce7359 Fixed game width on Android devices. 2016-08-26 09:28:12 +00:00
rob e438dc8477 Fixed chrome webapp home page stuff 2016-08-26 09:07:47 +00:00
Rob Pearce 2c6a818f65 level 5 is too hard - reduce llama % by 10. 2016-08-26 16:33:28 +10:00
Rob Pearce 4db6dd2c5f don't set dirty on mousemove unless button is down. 2016-08-26 16:31:38 +10:00
Rob Pearce 9941dfa1fa *use image instead of unicode for yellow stars. 2016-08-26 16:27:42 +10:00
Rob Pearce 48996e701f Don't snap things to grid when not falling/stopped. This should hopefully fix the problem where things end up off the grid or out of line. 2016-08-26 10:31:09 +10:00
Rob Pearce 19f5ded391 Various cosmetic updates 2016-08-25 20:01:45 +10:00
Rob Pearce cf2aba7226 *fix tap coords to work on an iphone.
*change font
*wipes between game states
*make levels specify gridw instead of gridsize
*make levels default to gridsize of previous one
*bug - things not x snapped to grid sometimes?!
*animated bg on title screen
2016-08-25 16:49:54 +10:00
Rob Pearce 398e539395 meta fix again 2016-08-24 22:54:22 +10:00
Rob Pearce 055c2c8e07 Cleanup meta tags 2016-08-24 22:52:57 +10:00
Rob Pearce 2f5b575424 *bugfix :parade movement bounces up down!
*bugfix: another bug with anyvalidmoves() - offscreen things showing up as having moves
*initial code to make grid size bigger on later levels
2016-08-24 22:47:23 +10:00
Rob Pearce 0d41c312ac *make forcethings actually work
*survive x turns goal
*doors
*sunlight
2016-08-23 01:13:47 +10:00
Rob Pearce 34ee0d34f3 *restrict catparades on level 1
*help text for all existing levels
*Store level progress and hiscores using localstorage
*new thing type:  goats
*goat help text.
*level select screen needs "back to title"
*mechanism to force at least one of a given thing type on a level.
*better level complete animation - zoom in random cat picture.
*only redraw screen if dirty!
*switch to "star" system for unlocking levels
*fix bug when calculating whether there are any valid moves left
*fix bug in random thing selection
2016-08-22 19:52:15 +10:00
Rob Pearce 2e1198c7dc *custom thing chance ratios for each level
*make llamas only start appearing a few levels in
2016-08-21 11:31:19 +10:00
Rob Pearce 19b2533010 Renaming script. 2016-08-21 10:00:13 +10:00