No description
Find a file
2024-05-28 02:30:09 -04:00
assets Add tiles 2024-05-26 00:46:24 -04:00
external-lib Add compilation for external-lib folder 2024-05-26 17:34:02 -04:00
js-runtime First commit! 2024-04-26 14:30:59 -04:00
modules Add tests for systems 2024-05-28 02:26:29 -04:00
test Add tests for systems 2024-05-28 02:26:29 -04:00
.dir-locals.el Update game to just have a player 2024-05-18 02:07:16 -04:00
.gitignore Add entity tests 2024-05-26 18:59:10 -04:00
COPYING Add COPYING file. 2024-05-06 20:04:09 -04:00
game.css First commit! 2024-04-26 14:30:59 -04:00
game.js Fix formatting for game.js 2024-05-25 01:42:11 -04:00
game.scm Update 2024-05-26 14:44:25 -04:00
index.html Add meta tag for utf-8 encoding to index.html. 2024-05-01 07:42:44 -04:00
Makefile Update make check 2024-05-27 02:24:27 -04:00
manifest.scm Add helper script to autobuild 2024-05-25 04:00:46 -04:00
notes.md Testing arrow key controls 2024-05-18 00:31:31 -04:00
README.md First commit! 2024-04-26 14:30:59 -04:00
watch-build Fix watch-build 2024-05-28 02:30:09 -04:00
watch-tests Add entity tests 2024-05-26 18:59:10 -04:00

Guile Hoot Game Jam Template

This repository is the quickest way to get started building games in Scheme that run in web browsers with Guile Hoot!

It has everything you need:

  • A simple Breakout clone to use as a starting point.

  • HTML and JavaScript boilerplate for running the game in a web page.

  • DOM bindings for events, images, audio, and more.

  • HTML5 canvas bindings for rendering.

  • Some simple but useful game math modules.

  • A Makefile for compiling the game to WebAssembly, running a development web server, and generating zip bundles for publishing to itch.io.

  • A Guix manifest.scm file for creating a development environment with guix shell.

Tutorial

The fastest way to get everything you need is to use GNU Guix, a wonderful package manager written in Scheme.

Once you have Guix, the development environment with all necessary dependencies can be created:

guix shell

To build the game, run:

make

To launch a development web server, run:

make serve

To check if the program works, visit https://localhost:8088 in your web browser. We recommend using Mozilla Firefox or Google Chrome. Hoot is not supported on Safari at this time.

When it's time to publish the game to itch.io, run:

make bundle

Upload the resulting zip file to your itch.io game page and share your game with others! Have fun!

Getting help

If you have questions or need some help, visit the Spritely Institute's forum or connect to the #spritely channel on the Libera.Chat IRC network.