Live data from Hacker News

Flappy Dird: Flappy Bird Implemented in MacOS Finder

eieio.games

51–60 of 63 posts

Re: Flappy Dird: Flappy Bird Implemented in MacOS Finder

#51
This is a cool hack, but it uses the Finder/file system as a graphics system, but isn’t really implemented in it.

When I read the title, I expected it to use folder actions (https://developer.apple.com/library/archive/documentation/La...) to obtain user input.

That, IMHO, would be slightly more “implemented in MacOS Finder”

It might be too slow but you could, for example, have the user drag a window around as the game controller, and have the main game loop create a file in a directory to trigger a folder action that runs the main game loop again.

Also, can’t you avoid the AppleScript startup problem with a stay-open AppleScript that you send events?

Re: Flappy Dird: Flappy Bird Implemented in MacOS Finder

#52
In a rush to catch up with his team heading out for friday afternoon beers, Bob grabs his jacket and backpack and fails to notice he left Flappy Bird Implemented in MacOS running. It's a bank weekend. Bob doesn't know it, but his laptop SSD write cycles are being eaten up at a rate of 4 frames per second. Bob returns on Tuesday to find his SSD drive no longer works.

Re: Flappy Dird: Flappy Bird Implemented in MacOS Finder

#54

In a rush to catch up with his team heading out for friday afternoon beers, Bob grabs his jacket and backpack and fails to notice he left Flappy Bird Implemented in MacOS running. It's a bank weekend. Bob doesn't know it, but his laptop SSD write cycles are being eaten up at a rate of 4 frames per second. Bob returns on Tuesday to find his SSD drive no longer works.

I wonder if anyone who gets Flappy Dird running at work is ever really likely to be 'in a rush'?

Re: Flappy Dird: Flappy Bird Implemented in MacOS Finder

#56

In a rush to catch up with his team heading out for friday afternoon beers, Bob grabs his jacket and backpack and fails to notice he left Flappy Bird Implemented in MacOS running. It's a bank weekend. Bob doesn't know it, but his laptop SSD write cycles are being eaten up at a rate of 4 frames per second. Bob returns on Tuesday to find his SSD drive no longer works.

[dead]

Re: Flappy Dird: Flappy Bird Implemented in MacOS Finder

#58

In a rush to catch up with his team heading out for friday afternoon beers, Bob grabs his jacket and backpack and fails to notice he left Flappy Bird Implemented in MacOS running. It's a bank weekend. Bob doesn't know it, but his laptop SSD write cycles are being eaten up at a rate of 4 frames per second. Bob returns on Tuesday to find his SSD drive no longer works.

I would certainly hope that you can do this for years without the drive dying.

Re: Flappy Dird: Flappy Bird Implemented in MacOS Finder

#59
post #44

Earlier quoted context omitted.

With 4 FPS, it would definitely look great

fwiw without any interaction I think I could push this to something like 10 FPS! Just can’t do that here since you can’t accept input during the AppleScript Finder calls. (no idea if that’s enough to look ok)

10 fps is definitely good enough

Re: Flappy Dird: Flappy Bird Implemented in MacOS Finder

#60
post #55

“this is an image; i have no idea how to embed a tweet anymore” I actually much prefer this.

Also, this will make the post persistent. With an embed, a post can disappear/break any time.

i really like the fact it is one less 3rd party JS library that grants the 3rd party who knows what access to what data of the user
Post reply on HN