Rockbox Development > Feature Ideas

2048 Clone

(1/3) > >>

__builtin:
For what it's worth, I recently made a clone of 2048 for Rockbox with colors, animations, optional undo, savegames, highscores... EVERYTHING!
If anyone would like to test it out, it is on Gerrit already: http://gerrit.rockbox.org/r/888.

The screendump is broken on iPod 6G (stack overflow on USB insert), so no shots, SO TRY IT YOURSELF! ;D

I have tested it on c200v1, iPod Classic, and e200 in simulator.

Please keep any feedback constructive.

__builtin:
Screenshots are attached (from e200 sim)

__builtin:
Better screenshot is attached, again on e200 sim.

Font size has been increased to show responsive drawing.

[Saint]:
Hi theunamedguy,

Thank you for your contribution.

A couple of things, I should (and likely will) post on the gerrit instance, that occurred to me.

Whitespace.

The patch is littered with whitespace that needs cleaning up.

Tiles.

If the plugin were to use bitmaps for the tiles, with some trivial changes it could scale to fit any arbitrary screen resolution, and open the door to greyscale and monochrome targets. This would increase the plugin size somewhat, but the bitmaps wouldn't need to be particularly large, or particularly complicated.

The tile bitmaps could then be scaled to 1/8th (for an 8x8 grid) of the smaller of the two values of the target screen resolution. So, for example, if the target device resolution is 240x320, the tiles would be scaled to (240รท8=) 30px square and stacked side by side in an 8x8 grid.

This would also allow for "pretty" tiles. Perhaps incorporating a border for the tiles, or nice rounded edges.

Once again, thank you for your contribution.



[Saint]

__builtin:
I have fixed the whitespace and indentation.

When you say an 8x8 grid, do you mean a 4x4 grid? Maybe a 5x5 grid to leave the top row open for the title/score?

I made the following table for convenience:

Table:
Screen Size             Tile Size240x32048x48220x17636x36176x13226x26160x12826x26176x13226x26128x12826x26132x11022x22112x6412x12

Navigation

[0] Message Index

[#] Next page

Go to full version