This jam is now over. It ran from 2026-11-06 20:00:00 to 2026-11-08 20:00:00. View 9 entries
This is the microgame player. Once entries come in, hit Play and it'll shuffle through all of them. Until then, use "Test my game" to try out your own.
(Fair warning - this is a bit of an experiment!)
As well as the official patron jam we do after Christmas each year, we're trying something new this time: a smaller, themed jam.
The setup for the Alt Jam will change each year; one year it might be visual novels, next year it'll be PDF games, or Bitsy, or who knows!
This November 2026 event is an experimental trial run - ahead of the official Alt Patron Jam which will start next year, in April 2027.
The theme for this micro-jam is: microgame!
Never played a microgame game? Watch this to get an idea of how the game will work!
For you lot who have played the WarioWare games (or watched that video), that's what we're building here! Join the jam, make a game in any tool (as long as it can handle sending/receiving JavaScript events), wire up the JavaScript bridge events we give you (details below) and your submission will automatically be playable in our custom game wrapper which brings everything together!
You will create one or more microgame, and each microgame will be uploaded to the jam as its own separate entry. Once the entries are in, the player at the top of this page will shuffle through all of them and you can all play the minigame collection!
This means that, unlike a normal jam where every submitter creates one complete standalone game, this jam is more like uploading a tiny self-contained level. Every upload will be a tiny playable chunk - it needs to load quickly and only last 5-10 seconds!
Each participant may create one or more microgames. Each microgame should be submitted as its own itch.io upload to the jam.
Once the jam closes, the organisers will combine the uploaded microgames into a single wrapped game experience using our custom loader/wrapper.
We've got a package for you. See "Setting up your project" below.
We've got a plugin for you. See "Setting up your project" below.
We've got a script for you. See "Setting up your project" below.
You're 100% welcome to use whatever engine you want, but you're on your own to figure out the JS connection. We've listed every message below to help you out.
The player handles everything around your game: the loading screen, the title card, the 3-2-1 countdown, the timer and the win/lose screen. It is 960x720 resolution, so export that size. Your game only has to do four things.
A game that crashes ends its round as an error, so keep an eye on that console. Every SDK below also plays a round by itself when it isn't inside the player. Hit Play in your engine and you can test the whole thing straight away.
Upload a web build to your game's itch page, the same as you would for any browser game. A few settings matter:
https://you.itch.io/your-game.It'll play your microgame on repeat with the real title card, countdown, timer and result screen. If something's wrong with your upload, like a missing web build or SharedArrayBuffer turned on, it'll tell you instead of starting.
Pick your engine below. Each one comes with a template script, so start from that, swap the placeholder bits for your game, and you're most of the way there!
We've tested this on Unity 6.3. Any version that can make a WebGL build should be fine.
Assets/JamRoulette.MicrogameTemplate component to any GameObject in your first scene. Your prompt, controls, round length and whether the player wins when time runs out are all in the Inspector.TODO with your actual game.If you'd rather write your own script, this is all it takes:
using JamRoulette;
void Start()
{
Microgame.GameStarted += gameTime => enabled = true;
Microgame.GameEnded += condition => enabled = false;
Microgame.Register("Dodge!", "arrows", gameTime: 5, winOnTimeOut: true);
}
void OnHit() => Microgame.SetGameState(GameOverCondition.Lose, immediatelyEnd: true);
Any exception or Debug.LogError ends your round as an error. On Unity 6 the package also turns off the Unity splash screen for WebGL, because the player has its own. Older versions won't let a Personal licence turn it off, so your players will sit through the Unity logo first.
Want to copy the files in by hand? Here's a zip.
This is for Godot 4. We've tested it on 4.5.
res://addons/jam_roulette.Microgame.microgame_template.gd to the root node of your main scene. The settings are in the Inspector.TODO with your actual game.The short version, if you're writing your own:
func _ready() -> void:
Microgame.game_started.connect(func(game_time): set_process(true))
Microgame.game_ended.connect(func(condition): set_process(false))
Microgame.register("Dodge!", "arrows", 5.0, true)
func _on_hit() -> void:
Microgame.set_game_state(Microgame.GameOverCondition.LOSE, true)
Godot can't catch errors for us, so if something breaks, call Microgame.report_error() yourself.
Download microgame.js, put it next to your index.html and load it before your own code:
<script src="microgame.js"></script>
<script>
Microgame.on('gameStart', (msg) => startPlaying(msg.gameTime));
Microgame.on('gameEnd', (msg) => freeze(msg.condition));
Microgame.register({ prompt: 'Dodge!', interaction: 'arrows', gameTime: 5, winOnTimeOut: true });
// When the player wins, but the round keeps going until the timer:
Microgame.setGameState('win', false);
// When the player loses, and the round ends now:
Microgame.setGameState('lose', true);
</script>
Uncaught errors and rejected promises end the round as an error automatically.
If your engine can run JavaScript in its web build, the easiest route is loading microgame.js and calling it from your engine. It's about 130 lines if you want to see how it works.
Otherwise, everything goes over postMessage between your game and window.parent. Each message is a plain object with channel: "microgame" and a type.
Your game sends:
register with prompt, interaction, gameTime and winOnTimeOut. Send it once your game has loaded.setGameState with condition, which is "win", "lose" or "error", and immediatelyEnd, which is true or false.error with a message. This ends the round as an error.The player sends:
hello once it's got your register. If this never arrives, you're not inside the player, so run the round yourself for testing.showGameSplash, loadingEnd, countdownStart and countdownEnd while the title card and countdown play. You can ignore these.gameStart with gameTime. Start playing now.gameUpdate with timeLeft, every frame of the round.gameEnd with condition, which is "win", "lose", "error" or null if the player skipped. Stop playing now.No submissions match your filter