Skip to content

Instantly share code, notes, and snippets.

@ckknight
Forked from theRemix/maybe_fly.js
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckknight/8930127 to your computer and use it in GitHub Desktop.
Save ckknight/8930127 to your computer and use it in GitHub Desktop.
// such new game in Flappy Doge
// http://www.dogetek.co/game/
// plz developer tools in chrome
// much paste in console
// move mouse expert
(function () {
var pos = null;
$(window).mousemove(function (e) {
e || (e = window.event);
pos = {top: e.clientY, left: e.clientX};
});
setInterval(function () {
if (pos) {
$("#bird").offset(pos);
}
window.fall_bird = 1;
}, 17);
}());
@theRemix
Copy link

nice! thanks for fixing that, much easier to last longer™

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment