Skip to content

Tutorial: Customize and polish a game

Open an existing lane-based arcade game and improve it by asking Bali in plain words. Part 1 changes the visuals and adds a new enemy. Part 2 tunes the movement and difficulty.

Cave arcade game, part 2 of 6. Each part builds on the one before. See all tutorials.

You’ll learn how to: change visuals by asking, find out how your game is put together, generate and add a new enemy, and fix vague problems without digging through files.

Prefer to watch? Play the part 1 video (7 min)

The title on the start screen is dim and hard to read. Instead of hunting through settings, ask Bali:

Make the title a brighter, lighter purple so it really pops.

Bali applies the change and rebuilds the game, so you see the new title in the preview right away.

The start screen before the change, with a dim purple title

The start screen after the change, with a bright lavender title

Watch this step (00:13)

Step 2: Add something the template doesn’t have

Section titled “Step 2: Add something the template doesn’t have”

You aren’t limited to what the template includes. For example:

Make the title text pulse in a spooky, eye-catching way.

Bali writes the animation and you can watch it running in the Preview tab.

Watch this step (00:35)

Ask for a change in everyday terms, such as “Make the player about 50% bigger.” Bali finds where the player is defined and which scenes use it, then scales it. In the video, it also enlarged the player’s collision box to match the new size.

Watch this step (01:24)

Before changing something, ask Bali to explain it. For example: “Break down the obstacles in this game and how they’re used.” Bali describes each obstacle and where it appears.

You can also browse every image in the project in the Assets tab.

The Assets tab showing a grid of the game’s images

Watch this step (01:50)

Ask Bali to redraw an existing asset and say what should change:

Regenerate the bat obstacle so it stands out more: a stronger silhouette and a clearer shape, while still matching the game's style.

Watch this step (02:22)

Ask “Which rows use the bat obstacle?” Bali searches the whole project, matches the asset to the rows that spawn it, and tells you where it appears. You don’t need to read any code.

Watch this step (03:02)

To replace the obstacle on row one with something new, ask Bali for ideas. Bali uses what it knows about your project to suggest creatures that fit the theme and difficulty.

Watch this step (03:48)

When you pick an idea, the asset generator opens in the chat with a prompt Bali wrote. Edit the prompt to add your own details. The video adds glowing yellow eyes.

The asset generator in the chat with a prompt for a cave scorpion obstacle

Open Advanced Options to see where the file will be saved and change its size. For a sprite, turn on Remove Background so it blends into the game. Then click Generate.

Advanced Options showing the destination path, width, height and the Remove Background option

Watch this step (04:24)

Bali came back with a red scorpion with two tails. If you don’t like the result, regenerate it. When you’re happy, click Done. Bali adds the new asset to the game where you asked for it.

The generated red scorpion in the asset generator

Watch this step (05:00)

Step 10: Give the new enemy its own movement

Section titled “Step 10: Give the new enemy its own movement”

Describe how it should move, for example “Give the scorpion a jittery movement pattern.” The template has no movement like that, so Bali writes the script it needs.

Watch this step (05:34)

Getting movement to feel right usually takes a few rounds. Play the game, then tell Bali what to adjust, such as the speed, the timing or how strong the jitter is.

Watch this step (06:17)

Prefer to watch? Play the part 2 video (9 min)

Play the game in the Preview tab to feel how your changes fit together.

The game running in the Preview tab with on-screen Move buttons

Watch this step (00:00)

Which tweaks you make is up to you. In the video, a few rounds with Bali adjust the scorpion’s movement and starting position until it behaves as intended.

Watch this step (00:22)

If the game feels too hard, say what to change. The video asks Bali to remove the obstacle from row three, giving the player a breather, and to slow the scorpion down slightly.

Watch this step (02:14)

You don’t need to know file names. The video asks:

Make the red tint behind the platforms more transparent.

Bali searches the code and assets for the layer behind the platforms, works out that you mean the danger-zone image, and lowers its opacity.

The game before the change, with a strong red band behind the platforms

The game after the change, with a much fainter red band

The more you prompt, the better you get at asking for exactly what you need, even when a request starts out vague.

Watch this step (03:45)

Play the game once more. When you’re happy with it, you’re ready to publish.

Watch this step (08:30)