- Get a programmer's editor. I like zed, but vscode is a popular choice.
- Choose from our templates. Pick a language you want to make your cart in.
- Press the "Use this template" button and create your own cart repo
- Do a search in your editor, in your project, for
mygame
and change it to whatever you want to call your game. I recommend names without "weird characters". Just useA-z
,0-9
, and_
.
Optional: these carts include a few npm actions. To use them install nodejs
npm start
- start a local web-server, and rebuild when your files change. This is great for trying out your ideas.npm run build
- build your project and output towebroot/mygame.null0
I just use them as a way to record scripts in a cross-platform way (and allow use of libraries, etc.)
ok, now what?
- See API for more info about the null0 API.
- See Anatomy of a Cart to get a feel for what functions to expose to make your game
- See examples