Email or username:

Password:

Forgot your password?
vacuumbeef

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

8 comments
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 #, writes it up from cleared line to make everything above move down (S operands falls down naturally)
4) scanning happens again, loop is repeated on until there are no filled lines. And the game continues.

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

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.

Devine Lu Linvega

@vacuumbeef This is so crazy. I don't think most people can appreciate the genius in this - I've never seen anything like it.

vacuumbeef

@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 - layer8.space/@vacuumbeef/11234

vacuumbeef

@neauoire and I don't know about genius, more like too much free time haha

khm
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
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

Go Up