Ever since I was a kid, one of my favorite "games" was Little Computer People. I still run in on a C64 emulator and decided that it would be a fun project to create.
I started this project on a Teensy 2.0 and was using an 1024 byte SPI RAM chip and using the SDCard slot for storage to give me enough room to create a framebuffer. I went back to the drawing board with the 3.1, ditched the SPI RAM and the SDCard due to the additional PROGMEM and RAM.
I'm still added more art, but even so, resource use seems quite low for what I have going on so far. I currently use a 4-bit color palette per sprite graphic format similar to the NES and unpack those on the fly when building the framebuffer. I've been thinking of just going straight to storing RGB565 sprites, but when I started the project, storage and memory were a lot more cramped
Here is the current memory usage stats:
I have left my guy running for days with no memory leaks or freezes.
Here is a video demonstration of the project.
I started this project on a Teensy 2.0 and was using an 1024 byte SPI RAM chip and using the SDCard slot for storage to give me enough room to create a framebuffer. I went back to the drawing board with the 3.1, ditched the SPI RAM and the SDCard due to the additional PROGMEM and RAM.
I'm still added more art, but even so, resource use seems quite low for what I have going on so far. I currently use a 4-bit color palette per sprite graphic format similar to the NES and unpack those on the fly when building the framebuffer. I've been thinking of just going straight to storing RGB565 sprites, but when I started the project, storage and memory were a lot more cramped
Here is the current memory usage stats:
Code:
Binary sketch size: 47,516 bytes (of a 262,144 byte maximum)
Estimated memory use: 26,004 bytes (of a 65,536 byte maximum)
I have left my guy running for days with no memory leaks or freezes.
Here is a video demonstration of the project.