Pigs n Kings (c) 2020-22 by SwordLord - the coding crew
A jump and run game for the 32blit handheld console.
Fight as the King against the evil Pigs and hunt them through your Castle. See our Wiki for all the story about that.
This game is still work in progress. No finished game yet.
The game uses the SwordLord DANG! (Dainty Animations 'N Gears) Game Framework for the 32blit handheld open game console.
See the DANG project website for more details.
This project does auto compile a binary for the 32blit platform. See the releases section for a recent build.
Please bear in mind that we still are in the development phase. The game is not ready for prime time yet.
This section contains all the relevant information to build the pigsnkings game yourself.
This game is making use of two other projects. The 32blit firmware / base and the DANG game framework. Both these projects are integrated as git submodules in the /lib folder to this repository.
Initial download of all source code:
git clone https://github.com/swordlordcodingcrew/pigsnkings.git
cd pigsnkings
git submodule update --init --recursive
Update the project after that (making sure, to update the submodules as well):
git pull
git submodule foreach git pull origin master
mkdir build.stm32
cd build.stm32
cmake .. -DCMAKE_TOOLCHAIN_FILE=../libs/32blit-sdk/32blit.toolchain
make
Upload the resulting pigsnkings.blit file to your 32blit.
Make sure to clean the build.stm32 folder before making if you change the build toolchain.
First git clone and prepare emsdk. (Further reading: Emscripten docs)
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
Then cd to pigsnkings and build as follows. (Further reading: 32blit readme)
mkdir build.em
cd build.em
emcmake cmake .. -D32BLIT_DIR="/absolute/path/to/32blit-sdk"
make
python3 -m http.server
Connect to the given address of the server and enjoy.
SwordLord Pigs n Kings sources and tools are released under the AGPLv3 Licence.
Graphics, Tracks and Sound Effects are copyrighted to their respective owners. SwordLord makes sure to get the respective licences from the owners for this, official version of the game. If you fork this game, make sure you either change these resources or get your own licence.