Skip to main content


I'm finally ready to present you the second version of my #Orca #Tetris patch.

- Controls are much more responsive now, no delay felt at all
- Type and orientation of the piece is always monitored to prevent it from going out of the field
- Line deletion is bug free now. It scans every line after every placed piece and clears the filled ones one by one
- Overall while being much more complex, the code takes up much less space

This is definitely the most complex thing I made in Orca.

#SunVox

in reply to vacuumbeef

This is so crazy. I don't think most people can appreciate the genius in this - I've never seen anything like it.
in reply to Devine Lu Linvega

@neauoire Thanks! Yeah I guess it's hard to get into what's actually going on here. I also guess after a week I will not be able to tell how it works at all haha.

The line deletion part was just insane to figure out, and it's even harder to explain properly. Here I posted at least some details on how its done - https://layer8.space/@vacuumbeef/112344648511402372


Here are some details on how lines are cleared.

After the piece is placed, the game stops, then:

1) every line gets scanned and numbers of filled lines are going to that upside down pyramid
2) The pyramid outputs the least line number and line is being cleared
3) X operands that hold #, decreases it's offset to gradually uncomment every line above so S operands falls down naturally.
4) scanning happens again, loop is repeated on until there are no filled lines. And the game continues.

#Orca


in reply to vacuumbeef

Here are some details on how lines are cleared.

After the piece is placed, the game stops, then:

1) every line gets scanned and numbers of filled lines are going to that upside down pyramid
2) The pyramid outputs the least line number and line is being cleared
3) X operands that hold #, decreases it's offset to gradually uncomment every line above so S operands falls down naturally.
4) scanning happens again, loop is repeated on until there are no filled lines. And the game continues.

#Orca

#orca
This entry was edited (7 months ago)
in reply to vacuumbeef

And well I think controls is very cool part of the patch. It's very simple. Just a chain of I(F)'s looped by (O)ffset.
So you place a character in the output of bottom F, it gets read by offset and (V)ariable operands and instantly erased.
Then assign different actions based on the character coming from the variable.

I'm not very good at explaining things (also the character limit), but #Orca -people should understand

#orca
This entry was edited (7 months ago)
in reply to vacuumbeef

You know in science fiction shows and movies when they start up the alien ship it's all covered in super-intricate text and some of it is static and some of it moves in non-obvious patterns and it's clearly intended to be an alien langauge

in my head, from now on, it's all just orca patches, the source code for that particular part of the ship, for ease of maintenance and updating by the crew

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.