To make a platformer without coding, describe one screen: a character that runs and jumps, a few platforms, one hazard and a goal. The agent builds it and you play it in the emulator preview. Then tune the jump with plain numbers (height, time in the air, coyote time, jump buffering) before you ask for more levels. Levels are rows of characters, so adding one later is a single chat message.
Why the first version should be one screen
A platformer is judged in its first three jumps. If the jump feels wrong, no number of levels will save it. So keep the first request small: one screen that does not scroll, a floor, four or five platforms, one hazard, a few coins and an exit.
One screen also means no camera to get wrong, and a full attempt takes 20 to 30 seconds, so you can test a change ten times in five minutes. A scrolling level and a level map come later, each as one message.
Two descriptions to copy
For an Android phone, with touch buttons:
A one-screen platformer for phones, held sideways. A small square hero runs with left and right buttons at the bottom left and jumps with a big button at the bottom right. Holding the jump button gives a higher jump. There are six platforms, three coins, one row of spikes and a door at the top right. Touching spikes sends me back to the start. Reaching the door with all three coins wins. Show the coins and a timer at the top, and my best time on the win card.
For a browser, with keys:
A browser platformer played with the arrow keys and Space, with on-screen buttons when it is opened on a phone. I guide a frog across one screen of ledges to a flag. Two platforms move side to side, and a beetle walks back and forth on the longest ledge. Falling off the bottom or touching the beetle costs one of three lives and puts me back at the last checkpoint. Score is 10 per fly collected plus one point for each second left out of 60.
Both follow the pattern from how to describe a game.
The numbers behind a good jump
The feel of a jump is made of six values, and you can ask for any of them by name.
| Setting | What it does | A good starting value |
|---|---|---|
| Jump height | How high a full jump reaches | 3 to 4 times the character's height |
| Time to the top | How long the rise takes | 0.35 to 0.45 seconds |
| Fall gravity | How fast the character comes down | 1.5 to 2 times the rising gravity |
| Variable jump | Letting go early cuts the jump short | Upward speed drops to about half |
| Coyote time | A jump still works just after leaving a ledge | 0.08 to 0.12 seconds |
| Jump buffering | A press just before landing still counts | 0.10 to 0.15 seconds |
Two of these are forgiveness, and players never see them. Coyote time covers the player who presses a moment after running off the edge. Jump buffering covers the player who presses a moment before the feet touch the ground. Without them people say "I pressed jump and nothing happened". Variable jump gives control: a tap is a hop, a hold is a full jump.
Also cap the falling speed, so a long drop never becomes too fast to steer.
Run speed and time in the air decide how wide a gap can be. A character that runs 7 tiles per second and stays in the air for 0.7 seconds crosses just under 5 tiles. Build gaps of 3 to 4 tiles. A jump that needs a perfect press is a wall, not a challenge.
A level is a grid of characters
Ask the agent to keep each level as rows of text, one character per tile. Then a level is something you can read, type and correct in the chat.
....................
..............o...D.
............#####...
....o...............
..====........^^....
P..........C........
####################
Here # is solid ground, = is a moving platform, ^ is spikes, o is a coin, C is a checkpoint, P is the start and D is the door. Explain the characters once. After that, "add level 2:" followed by seven rows is the whole request. The levels and difficulty guide shows how the same list of levels becomes a level map with stars.
One rule for layouts: one new idea per level. Level 1 has only gaps. Level 2 adds spikes. Level 3 puts a moving platform over safe ground, and only level 4 puts it over a pit.
Moving platforms and hazards
A moving platform needs four facts: its path (side to side or up and down), how far it travels, how fast, and whether it waits at each end. A wait of about half a second gives the player a clear moment to step on.
One fault is common in a first version: the character stands still while the platform slides out from under it. The fix is to ask for the character to be carried by the platform it stands on.
Hazards come in three kinds:
- Fixed: spikes and pits.
- Moving on a set path: a beetle that walks between two edges, a saw on a rail.
- Timed: a flame that burns for one second and rests for two.
Give every hazard a hit area a little smaller than its drawing, so a near miss counts as a miss. And let the player see a hazard before the jump that leads to it.
Checkpoints and respawn
A checkpoint is a promise that you will not replay what you have already beaten. Put one before each hard section, not after it, and keep them about 20 to 30 seconds of play apart. On one screen the start point may be enough.
The respawn must be fast: under one second from the hit to standing at the checkpoint, with no card to tap through. Decide two rules and state them. Are coins collected since the checkpoint kept? Are there lives at all? Unlimited tries with a count of deaths or time suits short sessions on a phone.
Touch buttons on a phone, keys in a browser
A mobile game here is a 2D Android game with touch controls. The layout that works: left and right at the bottom left, jump at the bottom right, each button about as wide as a thumb. Ask for the level to be drawn above the buttons, so thumbs never cover the floor.
A browser game uses the arrow keys or A and D, plus Space to jump. Ask for on-screen buttons as well, because a link to a browser game is often opened on a phone. A browser game can also play short tones made in code for a jump or a coin. A mobile game gives feedback with vibration and screen effects.
If three buttons feel like too much on a phone, let the character run by itself and make the whole screen the jump button. That is close to an endless runner.
Messages to send after the first play
Play ten attempts, then send these one at a time:
- "The jump is too floaty. Make the fall about twice as fast as the rise."
- "I press jump just after leaving a ledge and nothing happens. Add a tenth of a second of coyote time."
- "Let me do a short hop when I tap and a full jump when I hold."
- "I slide off the moving platform. Carry me along with it."
- "The spikes kill me when I am clearly beside them. Make their hit area smaller than the drawing."
- "Add a checkpoint flag before the three small platforms and put me back there in under a second."
- "Make the level three screens wide with a camera that follows me."
When the room plays well with plain shapes, you can swap the square for your own character picture.
Start with one room
Write your one-screen description, open the builder and get the jump right before anything else.
Frequently asked
Can I make a platformer without coding?
Yes. You describe the character, the jump, the level and what ends a run, and the AI agent writes the game. The first playable version usually appears in the emulator preview in about a minute, and every change after that is one chat message.
What is coyote time in a platformer?
It is a short grace period, around a tenth of a second, in which the character can still jump after walking off a ledge. Players never notice it when it is there. Without it they say the game ignored their jump.
Should my platformer be a mobile game or a browser game?
Choose a mobile game if it should be an Android app played with on-screen buttons. Choose a browser game if it should be played with keys on a computer, or opened from a link on any device.
How do I add more levels to a platformer?
Ask the agent to keep each level as rows of characters, one character per tile. After that you can type a new level straight into the chat, or ask for several more that each introduce one new idea.
Why does my character's jump feel floaty?
Usually the fall is as slow as the rise. Ask for stronger gravity on the way down, about one and a half to two times the rising gravity, and a shorter time to the top of the jump.
Build it now — free to start
Type the idea, sign in, and the agent builds it in your browser. Change anything by describing it.
Open the builder ›