Switch to full style
Advice on general approaches or feasibility and discussions about game design
Post a reply

2048 for GameBuino

Sat Feb 28, 2015 6:27 pm

Hello! I am JWinslow23, and I'm new to the Gamebuino community. The first game I'm attempting to make is a port of 2048 (yes, I know A2K already exists, but I wanna make mine different). Here's how it looks so far:
Image

I have attached a .zip file containing the Arduino sketch, .hex file, and a .gif of gameplay. Tell me what you all think of it so far!
(And don't laugh at my code so far...I'm a beginner :lol: )
Attachments
GameBuino2048.zip
(229.31 KiB) Downloaded 887 times

Re: 2048 for GameBuino

Tue Mar 03, 2015 9:16 pm

Update!

* Added scores
* Added a highscore
* Added a reset button (B)
* Cleaned up some of the code

Right now, despite what it says over to the right, A does nothing.

Todo:
* Add highscore delete button
* Add way to win
* What else do you think I should do, guys?

Screenshot:
Image

.zip attached. Tell me what you think!
Attachments
GameBuino2048v2.zip
(18.48 KiB) Downloaded 1055 times

Re: 2048 for GameBuino

Tue Mar 03, 2015 10:19 pm

Looking great so far!
I wonder how your sprite for 131072 is looking like....

Re: 2048 for GameBuino

Tue Mar 03, 2015 11:58 pm

Sorunome wrote:Looking great so far!
I wonder how your sprite for 131072 is looking like....

Oo, see, here's the thing...

Sorunome, you know that back over on Omnimaga, I made a 2048 clone in Axe? Those tile sprites were my original design. They only went up to 2048 because that's all I had room for with the size of the tiles.

2048Mockup.PNG
2048Mockup.PNG (1.31 KiB) Viewed 10963 times


As you can see, I barely even had room for 1024 and 2048...so that was the reason I had to have them changed.

The reason I chose those old graphics were because they were the only tile graphics I had that could fit on the screen (oh, Gamebuino, you and your 84x48 pixels :lol: ). However, I see a way I could make the tiles all 1 pixel wider...I'll see what I can do to redesign them. Just tinkering around with a picture editor, I already see a 131072 design.

Re: 2048 for GameBuino

Wed Mar 04, 2015 4:03 am

Could you have the bottom right say stuff like "Awesome!" when you make something over 16?

Re: 2048 for GameBuino

Wed Mar 04, 2015 4:55 pm

Skyrunner65 wrote:Could you have the bottom right say stuff like "Awesome!" when you make something over 16?

...not exactly sure what you mean.

Could I maybe do a popup when you generate different numbered tiles for the first time (or surpassed a score or something)?

Also, now I have new tile graphics (that go up to the maximum tile possible, 131072):
2048GBTiles.png
2048GBTiles.png (786 Bytes) Viewed 10944 times


How do those look?

And one final note...I was told in another thread that the way this version does savegames, if played enough, could cause EEPROM to be "permanently destroyed in just a couple of months". Next update should fix it, but in the meantime, just don't play this game on real hardware. To be safe :|

Re: 2048 for GameBuino

Thu Mar 05, 2015 3:54 am

Both are acceptable.
Also, 131072? That's insane! (Note: if you hit that number, make it say "Insane!". Just saying.)

Boy, it's a good thing I don't have the hardware(yet...)!

Re: 2048 for GameBuino

Thu Mar 05, 2015 1:09 pm

I like the look of the tiles, I will definitely try it out once I get my hardware :)

Re: 2048 for GameBuino

Fri Mar 06, 2015 6:54 pm

Sorunome wrote:I like the look of the tiles, I will definitely try it out once I get my hardware :)


And I'll be sure to get another release out this weekend (that shouldn't destroy the ability to save, and that goes up to 131072 ;) ).

And, well...even if you play THAT much and THAT well, you still will have exactly 1/10th of a chance of getting 131072 even if you have every other tile on the board. I personally can never get past 4096 :lol:

EDIT: Well...the tile graphics I showed...I just realized there is an error in the 65535 tile...it's supposed to be 65536. :|

Trust me, next update will have a correction.

Re: 2048 for GameBuino

Sun Mar 08, 2015 1:40 am

Update!

* Added popup messages when you combine tiles (not sure it was the best idea, though)
* Added miscellaneous popup messages
* Added save function (press A)
* Added highscore and savegame delete function (press and hold B and tap A)

I changed the function of what A would have done (show game info and controls). Now it saves the game.
Saving should also work fine now (unless you tap A over and over again :lol: ). Remember not to save too much (it saves automatically when you exit, just so you know. Should it not do that?).

Todo:

* Add way to win
* Add way to lose
* What else do you think I should do, guys?

Screenshot:
Image

.zip attached. Tell me what you think!
Attachments
Gamebuino2048v3.zip
(227.67 KiB) Downloaded 942 times
Post a reply