XTRIS is an arcade-style dexterity game all about catching that elusive green X as many times as you can within 60 seconds. Try the level editor!

Goal

Use the arrow keys to move the white tile toward the green tile! When you collect the green tile, it will move again, so you have to keep chasing it! You have 60 seconds to accumulate as many points as you can! The browser (or downloaded file) will keep track of your highest scores on each level.

Controls

Menus:

  • left / right arrow keys - navigate menu
  • Z - enter level
  • X (on title screen) - mute SFX

Within a level:

  • all arrow keys - move white square
  • Z (once level has ended) - exit level, return to menu

CTRL + R will reset the cartridge back to the title screen at any time.

Holiday Update

If you're playing one of the XMAS versions of XTRIS, or playing in your browser during the 2023 holiday season, the game is different in the following ways:

  • collect stars instead of x's
  • high scores reset
  • light snowfall in the background
  • christmas colors

Credits

  • programming - fletch
  • background music - leaf let

About

The original concept for XTRIS was created in 1 week for the TweetTweetJam 8! If you'd like to play the original game jam version, click here.

TweetTweetJam is a game jam focused on making a small game with a big constraint: its code must be 500 characters or less! This makes the developer get very creative with how they interact with the PICO-8 engine to try to squeeze as much game as possible into such a small limitation. My code for the jam used 479 characters:

poke(0x5f2c,3)a={18,28,38,28}b={22,22,22,32}p=0g=4i=1l=0c=color q=btnp
::_::c(0)for j=0,4096do
if(rnd()>.7)pset(j\64,j%64)end
c(7)l=t()?p,0,0
line(0,63,l,63)for j=1,4do c(5)
if(j==g)c(3)?"x",a[j]+3,b[j]+2
if(j==i)c(7)
if(l>63)c(8)
rect(a[j],b[j],a[j]+8,b[j]+8)end if(l<63)then
if(q(0) and i%4>1)i-=1
if(q(1) and i<3)i+=1
if(q(2) and i>3)i=2
if(q(3) and i==2)i=4
if(g==i)p+=1 g=rnd(4)\1+1 rectfill(a[i],b[i],a[i]+8,b[i]+8,3)
if(g==i)g+=1 g%=4 g+=1
end flip()goto _

I have since overhauled the game into a more complete version with levels, sound effects, high scores, and even a level editor!

Links

Download

Download
tweettweetjam8.zip 500 kB
Download
xtris.p8.png 11 kB
Download
xtris_windows.zip 977 kB
Download
xtris_osx.zip 3.2 MB
Download
xtris_linux.zip 737 kB
Download
xtris_raspi.zip 2.1 MB
Download
xtris-xmas_osx.zip 3.2 MB
Download
xtris-xmas_windows.zip 978 kB
Download
xtris-xmas_linux.zip 737 kB
Download
xtris-xmas.zip 488 kB
Download
xtris-xmas.p8.png 11 kB

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

cool game

Thank you so much for playing!!

(+1)

Fletch is a code wizard but also a real wizard because this game makes people's hands move on their own

😂 Thanks for playing Leaf!! So glad you’re enjoying it!

(+1)

This is a lovely little game, I especially adore the graphics despite their simplicity, got 138 on my first try.  By the way, why specifically 63 seconds?

(+1)

This is such a programmer reason: the x axis is 64 pixels wide (indices 0-63), so the timer you see at the bottom of the screen is moving 1 pixel per second! I could have:

  1. kept the timer 60 seconds long, but then the bar wouldn’t fill up all the way, or
  2. multiply the timer value by a constant to get the correct length for a 60 second, but that used more characters than I wanted

t()*1.066

63 seconds felt like a good enough compromise to me! If I develop this game further without the character restriction I’ll likely make it 60 second games.

(+1)

Well done, Fletch!

Thank you so much vieko!

(+1)

It's a solid idea, good work

Thank you so much for playing!

(4 edits) (+1)

I have a tip on making it better-ish but try using a for loop for the particles like this 
`for i=0, 999 do
pset(r(q),r(q),1)end`
this way is fast because your only looping 999 times rather than 4096 times, you can even get rid of the cls() and flip() this way

also, how do I put code here, I only know how Discord does it by using this ```lua```?

(+1)

some resources

Basics - PICO-8 Tweetcart Studies (pixienop.net)

PICO-8 tweetjam stuff (github.com)

(1 edit)

I’m not entirely sure how formatting on itch works; I just used some <pre> tags around the code block in the game description!

That’s a good suggestion, thank you for contributing!

(1 edit) (+1)

Your welcome

(+1)

this game is so addicting great job

Thank you for playing!!

(+1)

Such a straightforward concept and so satisfying! I keep feeling compelled to try to one-up my previous score. Love it!

Thank you so much for playing friend 💜💜

(+1)

Got 118 on my first try, 149 on my second, and 153 on my third! Had a lot of fun, great work!

(+1)

Thank you so much for playing, and for hosting!! Can’t wait to try the other submissions!

(+1)

Oh my!! This was so fun! I got 75 in the time limit, but I was also playing it on my phone. 😊 Awesome tiny game, Fletch!

Mobile is definitely so much more difficult 😂 thank you so much for playing!!

(+1)

EPIC

Thank you so much for playing friend!!

(+3)

Love it! This is a perfect little micro game.  I like how the particle are randomized, and after playing it for a bit you realize there is some "strategy" to always returning home.  

Nice job Fletch.

Thank you so much for playing!

(+1)

Even with so few characters, this has the signature Fletch polish! The green fading particles after collecting the tile are a cool touch. And the tile layout discouraged the kind of random button-mashing that I assumed would be a winning strategy - I actually had to think about my approach.

Thank you so much for playing!