(Le français suit)
Lay that wall to waste! #antifagamejam
Sk8Border was created in Montreal in March/April 2018 for the Anti-Fascist Game Jam (https://itch.io/jam/antifa-game-jam) as a collaborative effort by Leif Halldór Ásgeirsson, Marc-André Toupin and Ben Wiley. It is built with PICO-8 (https://www.lexaloffle.com/pico-8.php).
This game runs in your web browser - even on your phone!
Fracassez la frontière! #antifagamejam
Sk8Border a été créé à Montréal en mars/avril 2018 pour le Anti-Fascist Game Jam (https://itch.io/jam/antifa-game-jam), par Leif Halldór Ásgeirsson, Marc-André Toupin et Ben Wiley. Il est fait avec PICO-8 (https://www.lexaloffle.com/pico-8.php).
Ce jeu fonctionne dans le navigateur - même sur les téléphones!
Current build is playable online at: https://sk8border.github.io/sk8border/
Binaries for Linux, Windows and Mac are available on the Itch.io: https://sk8border.itch.io/sk8border
Checkout gh-pages
git checkout gh-pages
git merge master
Create a new web build from PICO-8 with:
export index.js
Create a new PNG export from PICO-8 with:
save sk8border.p8.png
- Make sure you have python3 installed on your OS
- Download picotool
- Generate a lua-minified version of our p8 file:
/path/to/picotool/p8tool luamin ./sk8border.p8
- Now we'll have a new file called
sk8border_fmt.p8
. Don't save this, but we'll load it in PICO-8! - Inside of PICO-8 run:
load sk8border_fmt.p8
export index.js
load sk8border.p8
- Delete the minified file:
rm sk8border_fmt.p8
Follow the same steps as the regular minified build, but:
- Before step 4, copy the code comment from the top of the Lua section in sk8border.p8 (
-- lay that wall to waste!
) and paste it into sk8border_fmt.p8 at the same spot. We want this for the png export. - Instead of
export index.js
dosave sk8border.p8.png
.
Commit changes:
git add index.js sk8border.p8.png && git commit -m "Built."
Push:
git push origin gh-pages
Back to master:
git checkout master
If you need to update the html content in the web_template
directory, you can build the html pages by:
- Install Node.js
- Run
npm install
in the project directory npm run build
If you need to update any game text translations, they're kept in the game_translations/
directory. In order for your changes to show up in the game, you'll need to run ./update_translation
, which will update sk8border.p8
automatically, using a compiled string format to save tokens. This requires Lua to be installed on your system (this version doesn't ship with PICO-8 so you would need to install it separately).
If you want to add a new language, just copy an existing translation file and modify it. When you're done, update the boilerplate in ./update_translation
to make sure it gets included in the updated p8 file.