Log In  

My first game with Pico-8, Pico-2048 !
I like to start a new game engine by program a classic ... yes, 2048 is now a classic ^^

They have two different concepts with "2048". I don't know which is the best and let's players decide.

First Concept
Near "Three" where tiles moving step by step. I like this version, it's more strategic and the player can do what he really want :

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

Second Concept
Near the original "2048" where tiles moving until they can't. More action, more luck ... more fun :

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

--- GOAL ---
Move tiles with the d-pad.
Reach the 2048 tile ... and more if you can.

--- CONTROLS ---
<left><right><up><down> To move tiles number

After Game Over :
<z> To replay

Before Game Over :
<z> To modify background color
<x> To modify text color

Original 2048 concept by Gabriele Cirulli
https://gabrielecirulli.github.io/2048

Have fun !


-- From the latest version --

Modify :
1- Add animation when tiles move !
2- Tiles move until they can't (in the "2048" version)
3- Modify the game over : For the moment, I don't check if the player can move. Indeed, if the board is full after putting 3 times a direction, that's create a Game Over.
4- Add a little sound when player put a button.
5- Add two versions of the same concept. Play what do you like.

Know bugs :
1- After 32768 points, the score reboot ... Someone know a method to have a big score ?
2- Sometimes after merge, tiles don't move until they can't. I know where I'm wrong and repair that soon.

To do:
1- Add effects when a tile merged or a new tile appear.
2- Add pretty good music (Thanks adge)
3- Optimize a lot of part of the code.

P#20452 2016-05-11 12:34 ( Edited 2016-05-18 22:18)

:: NuSan

Nice game, everything work fine. Definitly need some sliding animation to make everything clearer.

P#20467 2016-05-11 17:13 ( Edited 2016-05-11 21:13)
:: keiya

It doesn't seem to slide properly, actually... things should slide until they can't anymore, not only one step for each button push.

P#20472 2016-05-11 18:50 ( Edited 2016-05-11 22:50)

You are alright Keiya, the tiles move case by case.
I modify that soon.

Next motion for more visibility.

Thanks for your posts.

P#20473 2016-05-11 19:20 ( Edited 2016-05-11 23:20)

Except for the sliding keiya already pointed out, I got a game over when I still could move but all tilespaces were occupied. You should really only get a game over when it's not possible to do any moves anymore.

P#20480 2016-05-12 06:44 ( Edited 2016-05-12 10:44)

Oh, and another thing I noticed, the score loops when it goes above 32768 to a negative score :O

P#20482 2016-05-12 07:09 ( Edited 2016-05-12 11:09)

Oh yes, the score!
Thank you for this bug report. I'm on it!

Try to modify the gameover function.

P#20487 2016-05-12 09:52 ( Edited 2016-05-12 13:52)
:: adge

Wow this is super cool! Though I liked the Threes version more. Maybe add some ass kickin' soundtrack? :D

P#20601 2016-05-15 04:45 ( Edited 2016-05-15 08:45)

I really hesitate between this version and the three version ^^
I let players decide about this.

P#20603 2016-05-15 04:57 ( Edited 2016-05-15 08:57)
:: Vlek

You did a good job on the UI, but you weren't true to the game's mechanics. When you select a direction, it combines regardless of whether they were originally next to each other or not.

P#20813 2016-05-18 18:18 ( Edited 2016-05-18 22:18)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-12-01 03:32:38 | 0.023s | Q:27