31 points · by TonyAlicea10 · 4mo ago · 30 comments
I spent many hours playing (and studying and editing) QBasic Gorillas, and this is a vanilla JS implementation using Fable and Opus.
Play 1-on-1 hotseat or against the computer. A bit of extra camera snazz as well.
I guess people don't like to admit that AI is doing 95% of their job so they pretend they are "practicing techniques" or "experimenting with new models", or "heavily planning the spec"
Writing what you want in English and having the AI spit it out does not take any skill anymore, it's not 2022.
I’m not saying I’m hand coding, but saying getting good outputs doesn’t take any technique means your definition of good outputs probably isn’t very refined. And saying it hasn’t taken technique for 4 years is just flat wrong.
https://news.ycombinator.com/item?id=48856350
Can also play the original as well online
https://classicreload.com/play/qbasic-gorillas.html
Feedback
- the wind/round text should NOT be placed over buildings because.... one of the buildings is gray thus making it almost impossible to read.
- I'd honestly get rid of the pseudo-CRT scanline filter - it looks grainy more than anything. For a better reference see https://github.com/gingerbeardman/webgl-crt-shader
- When implementing camera follow one thing you need is a sort of "grace window". Right now it's so tightly coupled to the movement of the banana it practically gives you whiplash.
I grew up in the era, and a couple of my buddies still keep a few CRTs for playing NES games so its immediately apparent to me. Similar to when laymen use AI to generate "pixel art" without doing any grid alignment or palette reduction.
Retroarch also has some decent approximations of CRT scanline using shaders as well (see crt-geom crt-lottes)
I like the camera grace window idea. I’ve been pondering how to handle the post-hit zoom in.
Good call on the wind text. I like the filter (?). I’ll look at your link.
Thanks for the feedback!
The arrow for wind strength also seems to be a different scale, making it hard to judge how much to compensate.
That is, if you can calculate it too easily then the first player always has a huge advantage.
I feel like the old Choose Your Own Adventure books were a sort of precursor to programming for a lot of us. Basic if/then/goto.
Things where you know how they’re supposed to make you feel (like games from childhood), and getting that experience match is an exercise.
Opening up the QBasic source code was eye opening for me: that computers weren't the realm of hackers typing incomprehensible text on TV and swapping floppy disks, but something that could start to make sense. My TRS-80 came next, and, for me, the rest was history.
Good memories. I wonder what the memories will be for kids right now in the age of LLMs.
This experiment was a guidance experiment for me with Fable. Heavy spec and planning architecturally and UX, and strictly no JS frameworks or dependencies.
I do these kind of experiments with new models, and Fable has been the most successful so far for capturing the intended UX and feel per spec.
I think it needs tweaking to let you hone in a value better. What are you thinking?