Torivon / MiniDungeon

A dungeon crawler game for Pebble
MIT License
40 stars 15 forks source link

[OPTI] Using OptiPNG #5

Closed Belphemur closed 10 years ago

Belphemur commented 10 years ago

Reduced the size of all the png to reduce the memory footprint on the watch

Torivon commented 10 years ago

Thanks. I'll pick up optipng to use on images in the future.

Torivon commented 10 years ago

Actually, now that I have those images, I see no difference in the data size when compiled by CloudPebble. I wonder if was ready running something similar as part of the build process.

Belphemur commented 10 years ago

I wouldn't be surprised. Btw, I would advice you to code locally and use CloudPebble to compile (if you're annoyed by installing the SDK) because ... as editor or code management, it's not really the best.

I tried it first when I wanted to move the code from SDK v1 to v2 ... a real pain in the ass, I used my Linux Mint VM with Geany to do it in the end.

Torivon commented 10 years ago

I have verified that when importing png files into a project they are transformed into a 1 bit per pixel format always, so those images will always be 800 bytes in the pbw.