Skip to content

Bali best practices for building games

Bali can help you build, edit, debug and improve your game in natural language. To get the best results, treat Bali like a game development teammate: give clear goals, describe problems carefully and work in focused steps.

This page is the short version. The full guides are Write prompts Bali can act on and Debug with Bali.

Bali has four behaviors: Autonomous, Collaborative, Cautious and Creative. Many creators explore with Creative or Autonomous, then switch to Cautious once the game works. Models and behavior explains when to use each one.

Test the game after each major change. A good loop is:

  1. Ask Bali for a focused change.
  2. Preview or run the game.
  3. Check that the change works.
  4. Report bugs with clear reproduction steps.
  5. Save a new version when the result is stable.
  6. Continue building.

This keeps your project easier to debug and improves the quality of each step.

Watch: Get a prototype working, then polish (0:33, from the workshop AI Workshop: Polishing Shortlisted Games)

After Bali completes an important change and the game works, save a new version. Save after:

  • A first playable version
  • A major system starts working
  • A bug is fixed
  • A new asset pass is completed
  • A level layout is updated
  • A script change works correctly
  • A publish-ready version is ready

This gives you a safe checkpoint if future edits break something.

Publishing works as a restore point too. Publish whenever a feature works, and if a later change breaks the game, restoring an earlier version is often faster, and uses fewer Sparks, than debugging. Watch at 56:27, 09:16 or 39:16

Before you ask Bali for a change, check:

  • Is the task focused and medium-sized?
  • Did I describe the goal clearly?
  • Did I mention the scene, asset, script or system involved?
  • If I’m reporting a bug, did I include reproduction steps?
  • If there are errors, did I include logs?
  • Which behavior do I need: Autonomous, Collaborative, Cautious or Creative?
  • Should I save a version before making this change?

Bali works best when you give it clear creative direction and treat each change as a testable step. Build the hardest part first, keep tasks focused, test often, and don’t be afraid to reset the chat when the current approach isn’t working.

This page used to hold the full guidance. Each section now lives in a focused guide:

Section Now on
Plan the design with Bali before it builds Write prompts
Write prompts Bali can act on Write prompts: Make every prompt specific
Aim for medium-sized tasks Write prompts
Start with the most complex part first Write prompts
Ask Bali to explain before changing Write prompts
Put lasting rules in Instructions Write prompts
Be descriptive when reporting bugs Debug with Bali
Reset the chat when Bali gets stuck Debug with Bali
Autonomous, Collaborative, Cautious and Creative modes Models and behavior
Switch as your project matures Models and behavior