Trying to provide a tamagotchi game for my daugther, based on little characters she likes.
Everything is working for the M5Core2 and SDL in C/C++, Thanks to lvgl v9
You need to copy the mklittlefs
tool at the root of the project directory.
It's available here: https://github.com/earlephilhower/mklittlefs/releases
Then you will be able to upload files into the LittleFs
partition (SPIFFS).
$ pio run -t uploadfs
Install SDL2
development package.
$ apt install libsdl2-dev
$ make install
$ make i18n-extract
$ make i18n-compile
Watch out, because of Arduino dependency, you can't simply commit the changed file.
You have to change _p
into _pl
and make sure struct are correctly defined.
Features:
- Save/Load game (M5Core2 only)
- Start with Eevee or Pikachu
- Choose pokeball
- Brightness (M5Core2 only)
- Two additionals games inside (M5Core2 only)
- Pokemon description
Actions:
- Clean (poos and pees)
- Eat
- Train (Evolve)
- Play
- Sleep