utz wrote: ↑Thu Nov 16, 2017 11:05 pmYeah, that's actually one of the things that I really like about the beeper. You can just throw almost random code at it and it will often do something interesting.
Anyway, here's a simple laser effect in 13 bytes. By initializing D with different values, you can control the length. 0x28 is approximately one full zap.Code: Select all
di ld d,#28 ;length/iterations loop add hl,de dec de ld a,h out (#fe),a ld a,e or d jr nz,loop ei ret
Hello,
I have used the "simple laser effect in 13 bytes" in a project related to a Jet Set Willy remake (to be released in early March if all goes well).
I want to give due credit in the Readme.
At the moment I can credit it as created by "utz". Utz, would you like to be credited in any other way? (like by your real name, for example). Please let me know .