Commit Graph

31 Commits

Author SHA1 Message Date
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
Rob Pearce c61ca68d02 Upload script now jsut pulls from local git repo 2016-08-21 09:59:42 +10:00
Rob Pearce 1ff28b5ef0 Frogot to add title image.
added support for variable help on levels
2016-08-21 09:57:40 +10:00
Rob Pearce b0f3ec030c *create different levels with goals
*display goals at bottom of screen
*implement progress() to earn progress towards goals
*go to next level after meeting all goals
2016-08-21 09:32:57 +10:00
Rob Pearce 5cc296e61f Added commas to score 2016-08-21 07:56:41 +10:00
Rob Pearce 657ca89d4e Centred image on title screen. 2016-08-20 15:38:10 +10:00
Rob Pearce 2aad5e2a93 *title screen
*show final score on game over
*help text
2016-08-20 15:12:32 +10:00
Rob Pearce 85b1b0ca0d Make screen scale properly for phones
Make touch work properly for phones
Added icons for phones
2016-08-20 12:59:29 +10:00
Rob Pearce ac036cd2e6 *Try to scale with window size
*end if no valid moves
*ensure that start of game has at least one valid move.
2016-08-20 12:27:15 +10:00
Rob Pearce 563790902d Text showing current animation 2016-08-20 11:34:25 +10:00
Rob Pearce 225e527dd6 *animate parades
*animate chomps
*offset entire grid downwards to allow space for a header
*add images
*award points for stuff
*show score up the top
*animated points gaining (text fading out)
*touch events:
*       touchstart: a finger is placed on a DOM element.
*       touchmove: a finger is dragged along a DOM element.
*       touchend: a finger is removed from a DOM element.
2016-08-20 11:17:22 +10:00
Rob Pearce 12f79e8b45 *cat eating food should take its place
*parade must be at least 4
*cat can only eat food once, but can eat multiple foods in one go
*dont let chomp lines change dir (but parades can)
*allow reversing a line
*draw arrow for lines
*llama
        *cats next to it can't move
        *cat parades can include one (but only one).
*draw cats in centre of grid squares, not top left
2016-08-19 17:46:39 +10:00
Rob Pearce a73ff6ce6d Added initial kinds of valid path 2016-08-18 16:18:35 +10:00
Rob Pearce 08b65688ca Can now select paths to remove blocks. 2016-08-18 14:54:54 +10:00
Rob Pearce 5e7be4ffcf Test change. 2016-08-18 14:18:17 +10:00
Rob Pearce edef051213 initial checkin 2016-08-18 14:14:48 +10:00