Making great progress with the game I'm making with my son, but suddenly adding a sprite sheet to the manifest results in the build breaking in strange ways. Totally stopping the project in its tracks.
makerzeph/squishybabs#1
# png2bmp faces-color.bmp faces-alpha.bmp
# mcrez resources
# cc mc.resources.c (slots in flash)
# ld main.bin
/home/techninja/esp/toolchain/Linux/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: /home/techninja/web/moddable/build/tmp/esp/release/src/main.elf section `.irom0.text' will not fit in region `irom0_0_seg'
collect2: error: ld returned 1 exit status
/home/techninja/web/moddable/build/tmp/esp/release/src/makefile:525: recipe for target '/home/techninja/web/moddable/build/bin/esp/release/src/main.bin' failed
I tried cropping the image in half and it built, though there were other issues and this doesn't solve the implementation problem. I suppose my questions are as follows:
- Are there image resource size limits for images?
- Should there be clearer build failures for resource exhaustion?
- Is there any way I can keep working on this project using sprites without moving to some other drawing method (image compression, custom color indexed images, vector)?
Making great progress with the game I'm making with my son, but suddenly adding a sprite sheet to the manifest results in the build breaking in strange ways. Totally stopping the project in its tracks.
makerzeph/squishybabs#1
I tried cropping the image in half and it built, though there were other issues and this doesn't solve the implementation problem. I suppose my questions are as follows: