SCRIPT-8 is a JavaScript-based (React + Redux) fantasy computer for making, sharing, and playing tiny retro-looking games (called cassettes). It's free, browser-based, and open-source. Cassettes are written in JavaScript.
SCRIPT-8 is designed to encourage play โ the kind of wonder-filled play children experience as they explore and learn about the world. In order to support this goal, everything in SCRIPT-8 has immediate feedback. It is what some call a "livecoding" environment.
It features:
-
the ability to combine all the above so you can manipulate time
-
a sprite editor where the game instantly displays your edits
-
a map editor where changes alter the game's behavior, in real-time
-
a music editor where you create phrases, group them into chains, and turn those into songs
Each cassette is recorded to a URL you can share with anyone.
Play cassettes with a keyboard or gamepad.
You can inspect any cassette's contents (even if it's not yours), change the code, art, or music, and record it to a different cassette โ a new version.
SCRIPT-8 is heavily influenced by Bret Victor's ideas (specifically Inventing on principle and Learnable programming) and Joseph White's PICO-8 (the best of all fantasy consoles).
If you have any questions, come join us on the Fantasy Consoles discord server, a friendly place to chat about these sophisticated, cutting-edge computers. The server has a dedicated SCRIPT-8 room.
SCRIPT-8 nyx8 palette by Javier Guerrero. Sprites in Los Hermanos Bros. by Johan Vinet.
yarn
Open up 2 terminals. In the first one, type:
yarn iframe-start
Wait until it says Compiled successfully!
. Then, in the second terminal, type:
yarn start
This will open SCRIPT-8 on http://localhost:3000
.
Switch to dev
branch. Pull latest. Then,
yarn run version
yarn run deploy
SCRIPT-8 was built with create-react-app. Consult its guide for more instructions (e.g. running tests, building).