C64 3D first person game written in assembly by an LLM

github.com
cyril-crutches
6 hours ago
105points
34 comments

Comments

LogicFailsMe•3 hours ago
Probably in the training set...

https://en.wikipedia.org/wiki/Wayout

Lerc•3 hours ago
Possibly but I doubt there are any implementation details shared between them.

I found a clip of it online. https://www.youtube.com/watch?v=8tc0OOkQ_Rk&t=318

It's a much more expected c64 performance level.

qingcharles•3 hours ago
My first thought was Wayout as there were a number of pioneering 3D games on the 8-bit Atari computers back then.

It is heavily windowed, though:

https://www.youtube.com/watch?v=wWvF0_6DZiI

e1ghtSpace•4 hours ago
I got a few levels in, and had a fun time. Quite a good game if I do say so myself.
vunderba•5 hours ago
See also SquareDoom - an AI assisted port of Doom for the C64.

https://github.com/Kweepa/SquareDoom

JonathanFly•3 hours ago
There's also Quake for C64, including all shareware levels https://www.youtube.com/watch?v=1Qyk-lacG8E

https://kweepa.itch.io/quake64

qingcharles•3 hours ago
mysterydip•6 hours ago
I had wondered for a while if it would be possible to do this with a carefully crafted character map and a text mode, but I never found time to check. Thanks for sharing!
Lerc•5 hours ago
I have a huge list of things in the back of my brain like that. Possibilities where the time investment to explore them vastly exceeds my lifetime budget.

Passing the ideas to a coding agent to do a lot of the grunt work has let me pull a few of those ideas off the stack for implementation.

There were a few sprite multiplexing ideas that I would have loved to have tried but they would have required keeping half a brain dedicated to managing the restrictions at all times. That has always been the big difference between demoscene works and games. A demo effect only needs to manage the conditions required for a set piece. A game has to either stick to one set of abilitiesband restrictions or dynamically adjust based upon the circumstances.

This is doable, but arduous. Mayhem in Monsterland was one of the best for putting in the effort required and the result showed the rewards.

I have been a little tempted to try an idea via coding agent on the c64 where even numbered scanlines had a scrollx of 0 and odd numbered scanlines had a scrollx of 7. So you have multicolour but alternating lines are half a multicolour pixel offset to break up the steps. Alternating scanlines get the colour attribute from the cell next door.

This gives you a bunch of restrictions on where pixel edges can be and what their colour options are. Utilised well,working within the restrictions, you can display more colourful images with less blockiness. You'd lose horizontal scrolling of course but vertical scrolling and paged games would be fine.

neko_ranger•5 hours ago
esdf? what is this
afn•5 hours ago
I never understood wasd —- your fingers naturally rest on esdf!
zamadatix•5 hours ago
WASD rotates your hand so the thumb naturally rests over the spacebard and your pinky naturally rests near the shift/control/caps key and your ring finger is still given the leftmost column of letter keys to navigate.

On a C64 the spacebar is an extra row below, so WASD doesn't have as many advantages.

timbit42•4 hours ago
> On a C64 the spacebar is an extra row below

Wut?

zamadatix•1 minute ago
Oops - I meant to say "[...row below] the bottomleftmost keys,"
tom_•1 hour ago
I was wondering about this too.

Obviously the row thing is just nonsense, but: the C64 space bar looks like it might be mechanically mildly questionable. The rests are quite far in, so for best results you do possibly do need to be tapping it closer to the centre than you'd think. WASD might put your thumb in the right place to hit the key, but perhaps ESDF is better for getting actual good response.

mjuarez•5 hours ago
I was laughing out loud, because I had the same reaction, even though like a sibling comment says, esdf is naturally easier.
radarsat1•4 hours ago
love the music in the demo video, was it also generated? sounds like not but I'm curious
pjmlp•5 hours ago
Yep, the fifth generation of programming languages is taking place, regardless of how we feel about it in general.
lichenwarp•4 hours ago
Like when people say the language or framework doesn't matter as much anymore what do you mean by this?
emkoemko•4 hours ago
no we are not going back to assembly, compilers solve a problem
elbistec24•1 hour ago
What madness lead you to use ESDF instead of WASD for movement controls
studioashbell•2 hours ago
[dead]
squidmaster•6 hours ago
[dead]