Swatch by madlee 2013-05-01T07:42:00
I *really* liked this. I wish there was more too it. Bad guys, or moving parts or things. Maybe a goal. Love the idea anyway, could make for some really awesome puzzles.
Anyway, I wanted to explore more than what was possible (for me, at least) so I wrote this little hack of a javascript (I only tested it in chrome), it lets you click on the level to re-position your dude (for example, so you could make it past really hard / frustrating jumps, or untrap yourself or even to teleport to impossible locations): it's all one line, so just copy & paste it into your F12 debug console. :D
var __mouse = { x: 0, y: 0 }; window.onmousemove = function (e) { __mouse.x = e.clientX; __mouse.y = e.clientY; }; window.onmousedown = function() { player.pos.x = __mouse.x; player.pos.y = __mouse.y + 5; player.ctx.clearRect(0, 0, player.ctx.canvas.width, player.ctx.canvas.height);};