Log In  


Cart #tetromix-3 | 2021-09-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

Inspired by the PicoMino game, I decided to create my own attempt at replicating the famous Russian puzzle game.

Pretty much all the expected functionality is available, such as 1- and 2-player gameplay, preliminary sound and graphical effects, level (garbage height) and speed selection, etc.

MODES:

The game provides two modes: A (endless) and B (25 lines).

In the A mode, the game continues until any of the players top out (until the game can't put a new piece on top of the playfield).
In a 2-player game, the surviving player is declared the winner.

In the B mode, the game also ends if the player eliminates 25 lines of blocks.
In a 2-player game, the player who manages to do so first is declared the winner.

When playing a 2-player game in any of the modes, elimination of more than one line will also send one fewer line of "garbage" to the other player, which will rise from the bottom of their playfield as soon as they put down a block. However, the players can defend against oncoming garbage if their current piece eliminates some lines, too. Each line removed prevents a garbage line from appearing. The amount of garbage lines the player is about to receive is shown as a blinking line saying "+1L" (or more) on top of their playfield.

CONTROLS:

left/right/down - move piece
up - drop piece immediately
O (Z or C) - rotate counterclockwise
X (X) - rotate clockwise

(You can swap the rotation directions in the options menu if you prefer.)

SECRET CODES:

On the "copyleft" screen, press the following buttons in order. If you pressed them correctly, you should hear a short sound. If you made a mistake, press the ✕ button and try again. The screen stays on for 5 seconds.

LEFT, RIGHT, O, O - Use a modern style randomizer.
O, DOWN, DOWN, DOWN - Draw a "shadow" at the spot where the piece will fall.

To play at speeds 10~19, hold LEFT while selecting between 1 and 2 player modes.

TODO:

  • Add any missing sound effects and two more music tracks

CHANGELOG:

CURRENT VERSION

  • Got rid of another embarrassing bug that prevented 2-player games from starting.

PREVIOUS VERSIONS

TETROMIX 0.82

Cart #tetromix-2 | 2021-09-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Got rid of a rather embarrassing bug that crashed the game whenever lines were being cleared.

TETROMIX 0.81

Cart #tetromix-1 | 2021-09-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Switched from storing the current game board in the map to using tables. Fixed the bug where, after a finished game, the options menu is corrupted.

TETROMIX 0.8

Cart #tetromix-0 | 2021-09-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Used PICO-8 0.2.3's new TOSTR flags to simplify handling scores. This will break high score tables, however.
  • Added an options menu, with the option to swap the rotation so that O rotates clockwise and X rotates counterclockwise instead.
  • Removed some unused code, cleaned up indentation.

TETROMIX 0.75

Cart #22679 | 2016-06-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Divided score variables in two to avoid overflow
  • Set a hard cap on all scores (999999)
  • Tweaked the interface to allow for scores higher than 99999.

TETROMIX 0.7

Cart #22388 | 2016-06-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Introduced a high score list (work in progress, may have some bugs)
  • Changed the menus to accomodate for high score lists

TETROMIX 0.62

  • Fixed shadow display
  • Fixed the ability to play on speeds 10+ (the key combination was changed)

TETROMIX 0.61

Cart #22086 | 2016-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Fixed garbage prevention mechanics

TETROMIX 0.6

Cart #22084 | 2016-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Added a functioning two-player mode
  • Switched from 8x8 tile blocks to 6x6 sprites
  • Increased repeat speed for horizontal movement

TETROMIX 0.56p

Cart #21347 | 2016-05-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

This is an experimental "pirated" cartridge with a custom label. Its actual contents are exactly the same compared to the previous version, only the label (the PNG itself) is different.

TETROMIX 0.56

Cart #20922 | 2016-05-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Some slight bug fixes
  • Added a way to unlock higher speeds

TETROMIX 0.55

Cart #20789 | 2016-05-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Added a "show shadow" secret code

TETROMIX 0.5

Cart #20764 | 2016-05-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Added a speed display
  • Added speed increases every 10 lines
  • Readjusted delays

TETROMIX 0.411

Cart #20705 | 2016-05-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Fixed a missing tile in the title screen.

TETROMIX 0.41

Cart #20704 | 2016-05-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Tried to fix the second part of the first music track.

TETROMIX 0.4

Cart #20579 | 2016-05-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Fixed some small bugs
  • Added a better victory screen

TETROMIX 0.31

Cart #20564 | 2016-05-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Fixed the bug that made it impossible to use the â—¯ button to re-enter secret codes

TETROMIX 0.3

Cart #20562 | 2016-05-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Added an alternative piece randomizer
  • Added a secret code system

VERSION 0.2

Cart #20561 | 2016-05-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

  • Fixed the square piece's "NEXT" sprites
  • Added a hard drop feature

VERSION 0.1

Cart #20543 | 2016-05-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18


18


Aaack, you don't have hard drop when you press up.

After that it starts to get a lot pickier... notably that most modern implementations usually use a 'shuffled list' randomizer, so you always get all 7 pieces in a random order before you have a chance of seeing a piece again.


There. The current version should have both the randomizer and the hard drop. I haven't tested both extensively, but they should work.

The hard drop is available automatically. To enable the modern randomizer, see the "SECRET CODES" section.


It's probably one of the best I saw on pico-8, but please FIX the music, it's just sound horrible on the second part..

Anyway, good job even if it's not a finished version!

You should also add the shadow that we have on the modern rules, also on level 1, the drop speed is too quick, but that's not a big issue :)


Sorry for the music. I am terrible at using the tracker (and at music in general). I'll try to fix it in the next version, though.


No worries :) your game is good anyway and that the important part :)


One missing thing is the sound a piece makes when it locks, it's an important feedback that allow better control, especially at high speed., the key repeat is also maybe a bit too slow


This is very nice. I love that music! You did a great job.

Now, if you want to get really serious and awesome with this, I present to you a document that has fueled many nights of late obsessive programming: http://tetris.wikia.com/wiki/Tetris_Guideline.


@Godzil: Added a sound for that, should work. I was a bit lazy with the key repeat, using the keyp() function for it, but, having checked it with the Game Boy original, it seems to fit.

@e3th: Well, I was going more for a replication of the Game Boy games, but some features from newer titles are already included (hard drop, shadow pieces, the "Random Generator").

I will keep that list in mind, but I can certainly say I won't be able to introduce every single feature in there (the screen size of the PICO-8 only allows for a 10x16 playfield, for example, and I'm not planning on switching to smaller blocks any time soon).


Wow huge improvements!
That's definitely the best tetris on Pico-8!

Two things to report:

  • a bug as we can't move and rotate a block at the same time, at high speed it's start to be really important
  • hard drop should give you some points, I can't remember exactly how much, but as hard dropping is risky it reward you. (so the end score is higher if you hard drop a block instead of just waiting for it to fall, there is no hard drop on the gameboy version, but I'm pretty sure that a soft drop was rewarded too)

One other thing is that my hands don't like pico's key for that game, they had the habit of the GB/DS (& WonderSwan) key layout, and I tend to harddrop instead of rotate, and the reverse, weird :D But you can't do anything for that, it's pico's fault ;)


The Guideline is totally a thing to keep in mind, but for an implementation on limited hardware it's not like you'll get dragged off in the night by Tetris Ninjas or anything for ignoring it. I'm pretty sure the official post-guideline J2ME phone implementations often bent it a bit for platform reasons too.


That custom cartridge though :P Sadly the label isn't placed in the same area as the official carts though, so it looks a little odd on the bbs.


This was just an experiment in trying to guess how the PICO-8 encodes cartridge data into PNGs. Looks like the experiment succeeded. The newer versions of Tetromix will use the standard cartridge picture.

I also made a simple command-line program that allows one to replace their PICO-8 cartridge images with custom PNGs of the same size: https://github.com/usrshare/pico8-customcart


Nice - I simply added a small load routine, which copied the sprite section of another cartridge on the screen and adds a line of text. Did the job as well.


ooh, that looks much better than my python solution that explodes on various PNG formats.


Excellent work. Love it!


Bug with shadow code: When shadow and blocks intersect, shadow is drawn on top.


Fixed.


I find the controls to be a bit confusing, I'm used to down being drop and up being rotate clockwise.


I recommend "Chill" from Dr. Mario as one of the alternate tracks. :D

Ivoah: That's because you're used to the old Win9x versions... this is clearly a little inspired by T3: The Grand Master (the latest notable arcade version).


Love the game!! You should add putting names in for high scores.


Pretty sure the latest version actually does.



[Please log in to post a comment]