Clone, build and run the server
git clone https://github.com/HaxePunk/haxepunk.com.git cd haxepunk.com make make serve
Start hacking on the site. The
--watchparameter will live reload the site every time a file is changed and saved.
Demos and Documentation
The demos and API documentation are generated automatically using the installed version of HaxePunk with
make demos and
Demos are stored in HaxePunk-examples. Each demo should have a data.md file and a thumb.jpg thumbnail which will be used to generate the Demos page.
Adding a Game
Once you've made something in HaxePunk you can submit it to be showcased on the website.
.mdfile inside the
gamesfolder following this example:
--- layout: game title: My Game Title play_url: http://mygamesite.com/play/ author: My Name --- This is a description of my **really** great game! You can use Markdown to format the description.
Add a 220x124 jpeg screenshot using the same filename of your
.mdfile to the
img/gamesfolder with the