Tin Moon: the design

Tin Moon is a balloon flight in one Tcl script. You steer only with height. Play it on the Toys page or on the home page.

A flight of Tin Moon: the balloon rises into the east wind, drifts over the hills, and sinks toward the green pad, too fast

The widgets

The ttk::scale on the right is the burner, on -variable heat. Drag it, or hold Up and Down: the keys move the scale, so you see the heat that you set. The ttk::progressbar under the sky is the fuel, on -variable fuel. The burner uses fuel at the rate of the heat, and with no fuel the burner is off.

The idea

A balloon cannot steer left or right. Each layer of the sky has its own wind, and the streaks and the arrows of a layer show its way and its speed. To go east, climb or sink into a wind to the east. The heat changes the air in the envelope slowly, so the balloon answers late: you plan a climb before you need it. Land on the green pad slowly. A fast touch, a large swing of the basket, or a spire is a crash.

The levels

Level The winds The new idea
Drift One wind to the east Rise, drift, and sink onto the pad.
Two Winds East above, west below Climb to go east fast, then sink.
Back Home West above, calm, east below The pad is behind you.
Spires Three layers Rock spires under the low wind.
Long Night Three layers, little fuel A long route with each idea.

The score of a landing is the fuel left times 10, and 250 for each moon mote. The best score of each level stays in the browser.

The feel

The art and the sound

A blue night with a large moon, an amber balloon with a cream stripe, and a mint pad with lights that blink. The music is a slow line in D dorian. Both are made at run time.

The checks

A pilot script sets the burner in each frame with the physics of the game, and two forms of it landed on the pad of each level:

The windows of these points are narrow for a script with fixed rules, and a player corrects in each frame. The landing limits are a sink speed of 1.5 pixels a frame and a swing of the basket of 12 pixels. The clip above is a run of the pilot in the live frame loop that comes in too fast.