Вы пишете — мир появляется
Так собирается Coin Rush. Каждый кадр — настоящий рендер движка: сначала из пары строк, в конце — из всей игры.

Мир и герой
Небо, земля, музыка и персонаж — две строки.
sunset sky, grass ground and adventure musiclooks like a blocky humanoid, colored royal blue
Монеты по кругу
Двенадцать монет встают в круг. Форма, радиус и высота — словами, без координат.
place 12 sunset coins in a circle of radius 7 at height 1
Пейзаж
Деревья, камни, цветы и облака расставляются сами.
place 25 trees randomly within 60 metersplace 12 rocks randomly within 50 metersplace 30 flowers randomly within 30 metersplace 8 clouds randomly within 60 meters at height 26
Правила и интерфейс
Счётчик монет и таймер — по строке. Острова, лифт, батуты, слизни и правила — ещё около сорока предложений, и игра готова.
show "🪙 {player.coins} / 20" at top left size 30show a timer of time at top right
Вот и вся Coin Rush
Три файла и 49 предложений. Грамматика Viby поняла их все сама, без единого обращения к ИИ.
Показать все три файла
# Coin Rush — a golden-hour dash across floating islands.
# Split into three files: this one (rules and look), kinds.vibe, level.vibe.
game "Coin Rush":
"Grab 20 coins across the floating islands before the sun goes down!"
a 3d platformer for 1 player
world:
sunset sky, grass ground and adventure music
light fog
bloom is 0.35
gravity is 22
player:
looks like a blocky humanoid, colored royal blue
third person controls
speed is 7, jump height is 2.6 and it can double jump
has 100 health
has 0 coins
starts at (0, 2, 0)
time is 90
every second:
subtract 1 from time
when the player's coins reach 20:
play sound win
show effect confetti at the player
win "You caught every coin before sunset!"
when time runs out:
lose "The sun has set... try again!"
screen:
show "🪙 {player.coins} / 20" at top left size 30
show a timer of time at top right
show the player's health as a bar at bottom left only when the player's health is below 100
# Things that appear many times in Coin Rush.
a sunset coin is a coin:
glows 0.8
a spring pad is a jump pad:
launches players with power 24
a floating island:
is a grass box of size (8, 1.2, 8)
a grumpy slime is a slime:
colored crimson
chases the player within 9 meters at speed 3.5
# Where everything is.
# A ring of coins around the start
place 12 sunset coins in a circle of radius 7 at height 1
# Island hopping, higher and higher
place 5 floating islands at (14, 3, 0), (22, 6, -6), (30, 9, 0), (22, 12, 8), (10, 14, 10)
place 5 sunset coins at (14, 5, 0), (22, 8, -6), (30, 11, 0), (22, 14, 8), (10, 16, 10)
place a checkpoint at (30, 9.6, 0)
# A wooden lift to the sky coins
the lift:
is a wooden box of size (4, 0.6, 4)
starts at (-10, 1, 0)
moves up 12 meters over 4 seconds
place 3 sunset coins in a line from (-10, 15, -3) to (-10, 15, 3)
# Bouncy shortcuts
place 2 spring pads at (5, 0.15, 5) and (-5, 0.15, -6)
# Loose coins and hearts on the meadow
place 5 sunset coins randomly within 25 meters at height 1
place 2 hearts at (0, 1.5, 12) and (26, 11, 0)
# Trouble
place 4 grumpy slimes at (18, 0, 12), (-15, 0, 14), (-18, 0, -10) and (12, 0, -18)
# Scenery
place a campfire at (3, 0.15, -4)
place 25 trees randomly within 60 meters
place 12 rocks randomly within 50 meters
place 30 flowers randomly within 30 meters
place 8 clouds randomly within 60 meters at height 26



