Email or username:

Password:

Forgot your password?
Devine Lu Linvega

So, @d6 and @kelp made some improvements to the amiga demo and it now runs silky smooth at 60 fps and even includes the ball direction reversal on collision that I had forgotten to implement.
git.sr.ht/~rabbits/uxn/tree/ma

10 comments
R. L. Dane :debian: :openbsd:

@neauoire @d6 @kelp

No palette rotation/manipulation?

313 lines?!? DANG! :o

Devine Lu Linvega

@RL_Dane @d6 @kelp did it really have palette animation? I didn't think it did.

R. L. Dane :debian: :openbsd:

@neauoire @d6 @kelp

YEP! The original demo id NOT REDRAW the screen at all.
It was all palette rotation and x/y registers for motion.

It was bloody brilliant. Lemme see if I can find the write-up someone did on it...

Devine Lu Linvega

@RL_Dane @d6 @kelp OOh you mean the ball data had the rotation baked in the colors! Yes you're right, I remember that. I didn't have it in me to go that far. Also, the uxn screen is super primitive, it doesn't have anything fancy like the amiga ppu.

git.sr.ht/~rabbits/uxn11/tree/

R. L. Dane :debian: :openbsd:

@neauoire @d6 @kelp

This was the thread which included a mention of the Amiga boing ball demo and a link to an article on how it worked. It was mind-bending XD

merveilles.town/@rezmason/1102

I don't think you could do convincing rotation with only four colors, though?

Devine Lu Linvega

@RL_Dane it'd be super janky, but we could process a new ball asset from the ball data with a gradient. It'd be a bit slower.

Elias MÃ¥rtenson

@neauoire @d6 @kelp the ball should only change direction when it hits the sides, not the floor though. If you want to be nit picky.

Devine Lu Linvega

@loke @d6 @kelp you're absolutely right, thank you for pointing it out :)

Simon Bates

@neauoire @d6 @kelp

This is great! And it definitely brings back memories! The Amiga was a pretty amazing computer at the time. I had a friend who had an Amiga and had it hooked up to an amplifier and speakers. I have fond memories of being a teenager and hanging out, spending hours watching demos and listening to the music and wondering how they coders were able to do such amazing things!

[DATA EXPUNGED]
Go Up