REDUCE THE SIZE OF THE GAME TO ME.

But it is a game flappy birds.
Memory flash, too, I should have written it better.

flappp_com.ino (15.5 KB)

tee1:
But it is a game flappy birds.
Memory flash, too, I should have written it better.

You wrote it?

boolean data111[8][8]=
{
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},//8
};

I suspect that 'boolean' uses a byte of FLASH and SRAM. That is 64 bytes per array. I would recommend packing each row into a byte and unpacking when needed:

byte data111[8]=
{
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000
};

Every place you have .print("string constant"); or .println("string constant"); use .print(F("string constant")); or .println(F("string constant")); That will keep the strings from using SRAM as well as FLASH.

pYro_65:
You wrote it?

I wrote it all

I suspect that 'boolean' uses a byte of FLASH and SRAM. That is 64 bytes per array. I would recommend packing each row into a byte and unpacking when needed:

byte data111[8]=
{
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000
};

Every place you have .print("string constant"); or .println("string constant"); use .print(F("string constant")); or .println(F("string constant")); That will keep the strings from using SRAM as well as FLASH.
[/quote]

Thank you It will guide you how to make more programming by other means is created array
To reduce the size of the program I will not see it

tee1:
I wrote it all

tee1 == Shae Erisson ?