Who needs Unity? I present: Flappy Bird in MacOS Finder.
Complete with tap to flap gameplay, high score tracking, and marqueed banner ads.
Blog w/ details: https://eieio.games/nonsense/game-11-flappy-bird-finder/
Who needs Unity? I present: Flappy Bird in MacOS Finder. Complete with tap to flap gameplay, high score tracking, and marqueed banner ads. Blog w/ details: https://eieio.games/nonsense/game-11-flappy-bird-finder/ 18 comments
@eieio the blog post is amazing. i particularly liked this: "...was also pretty excited to get to say āI rewrote it in AppleScript for speed.ā" @dragestil lol! But really: does emacs have good ways to animate stuff within the editor? I guess it must because it's gotta have some way to have a background thread running and updating what's displayed in the editor. I was thinking last week about how I'd do this in vim and realized that I almost certainly couldn't do it just with macros, which briefly surprised me. @eieio all it needs is a timer which is available in elisp (I'd write a flappy-dired this weekend if someone promises me a spot on HN front-page ;). Also there are already games with animations like Tetris and even slimevolleyball in the official emacs package repository, GNU ELPA. Give it a try :) @dragestil Ah! Yes, a timer and yielding to the editor would do it. I will say that with these projects I've been trying to avoid things that are *too* straightforward / too much like typical programming, so we might need to find another constraint :D @eieio It didn't run on my ancient Macbook, but I got it working: https://github.com/nolenroyalty/flappy-dird/pull/6 |
@eieio woooow now that's cool lol