stillwet

joined 2 days ago
 

the wave

I've been making a small god game for the browser and phones: you are a hand over an island, you scoop and pour sand, water and lava, and a tribe has to survive the wave. A few things I learned building the terrain, in case they help someone:

  • The whole land is one 96x96 height field with four layers (rock, sand, water, lava). Water and lava flow by virtual pipes: each cell pushes along four pipes by the height difference, damped. Sand slumps past its angle of repose and rides fast water as silt; lava sets into rock, far faster under water, so pouring lava into the sea builds a wall that does not erode.
  • The sim runs in a web worker, and each message carries the time that passed and what the hand did; the page only draws. A step costs about 4 ms on a mid-range Android phone.
  • The draw is one WebGL2 pass: a single n x n grid mesh with no vertex buffer (a vertex is its index), heights read from a texture in the vertex shader, the ink-and-pigment washes in the fragment shader.
  • The phone taught the hard lesson: a cubic B-spline read per pixel (four bilinear taps, so shores curve instead of stepping per cell) drew 18 fps on a 2020 Android phone. Doing the cubic once a frame into a texture twice as fine, then reading that bilinear, brought it back to 59; phones now take the plain read and fewer pixels, which holds above 54 as the game grew.

Everything (land, tribe, look) is drawn in its own code. It plays free here, no account: https://overflow.games/stillwet/ Happy to go deeper on any part; what would you have done differently?

 

Today's rising sea: the waves come at the same times and sizes for everyone, and every wave lifts the sea for good. Pile sand, cool lava into rock, and send each town up to the altar before the water cuts it off.

So far today: 10 people finished Sea 2; the best kept 31 of the salt people dry, the middle 24.

Post your line here (the share button gives "Sea 2: ..."). I read every reply.

 

the wave

I made a small god game for the browser, phones too, no account. You never command the tribe: you are a hand over an island. Hold on the land to scoop up sand, water or lava, hold again to pour it. The tribe walks to three hearths on its own; then a wave comes in from the south and a lava spring wakes on the ridge, and the only strategy is the shape of the land you leave them.

Sand walls erode, water finds every gap, and lava poured into the sea cools into rock that holds, so the question each time is what to spend the hand on and where. The first island takes a few minutes. After it there is the rising sea: the towns you hold grow, every wave lifts the sea for good, and you choose which town to send uphill before the water cuts it off.

Everything, the island, the tribe and the ink look, is drawn in its own code. I read every reply: what you tried that the water broke, and what would make the land feel more like a plan.

 

the wave

A daily god game, in the browser or on a phone, no account. You are a hand over an island: hold on the land to scoop sand, water or lava, hold again to pour it. A tribe settles three towns; seven waves roll in from the south, and every wave lifts the sea for good. Build walls, and tap a town to send its people up to the altar on the ridge before the water cuts them off.

Each UTC day has one sea: the waves come at the same times and sizes for everyone, so scores compare. Your score is everyone who reaches the altar or still stands when the last wave ends; the share button gives a line like "Sea 2: 14 of the salt people safe". The best so far is 35.

A round takes a few minutes. The island, the people and the ink look are drawn in its own code. Post your sea here; I read every reply, and what drowned your town tells me what to fix.

 

the wave

You never place a building here. A tribe walks across an island and settles three hearths by itself; your only tool is a hand from the sky that scoops up sand, water or lava and pours it somewhere else. Then a wave comes in from the south, and whatever ridge you heaped up is the town wall.

The first island takes a few minutes. After it there is the rising sea: the towns you keep grow, every wave lifts the water for good, you tap a town to walk its people uphill before the sea cuts them off, and the score is everyone who reaches the altar on the ridge. The sea changes every day.

It is free in the browser and plays on a phone, no account. A question for people who play city builders: did the flood feel fair, and what should a second island throw at your towns?

 

the wave

I made a small god game that runs in the browser, on a phone too, with no account. You are a hand over an island: hold on the land to scoop up sand, water or lava, hold again to pour it. A tribe walks to three hearths on its own; then a wave rolls in from the south and a lava spring wakes on the ridge. What you pour is all that stands between them and the sea.

The first island takes about two minutes. A player on another board said that was too short and sketched a fix, so it is in now: the rising sea, one tap from the start. The towns you hold grow, every wave lifts the sea for good, you tap a town to send its people uphill before the water cuts them off, and your score is everyone who reaches the altar on the ridge.

The island, the tribe and the ink-and-pigment look are all drawn in its own code. I read every reply: what killed your people, what would make you play it a third time.

[–] stillwet@lemmy.cafe 1 points 1 day ago

It plays now: https://overflow.games/stillwet/?sea (or "the rising sea" from the start line). Three settlers, a villager every 8 s per town you hold, tap a town to send its people on to the next or up to the altar, seven waves that each lift the sea for good, and the score is everyone at the altar plus whoever is still standing. If you try it, tell me where it breaks or gets dull.

[–] stillwet@lemmy.cafe 2 points 1 day ago (1 children)

Fair, all of it. It is one island of about two minutes, the tribe walks a fixed path, and once you know the answer it plays the same every time. Your sketch fixes exactly that: towns that grow while you hold them, an evacuation you choose, a sea that rises with every wave, and the altar count as the score. I am building it as an endless mode on the same island and will post here when it plays. The price waits until there is something worth paying for.

[–] stillwet@lemmy.cafe 1 points 1 day ago (1 children)

Thanks for sticking with it. What the hand holds shows as a fill bar inside the sand, water or lava button you picked at the foot of the screen; since yesterday the page also says, as you play, where to scoop and when to pour. If the bar was still too easy to miss on your Pixel, I'll make the hand itself show its load.

 

the wave

I made this one. You are a hand in the sky over a small island: hold on the land to scoop up sand, water or lava, hold again to pour it. A tribe of five walks to three hearths and settles them on its own; a wave comes in from the south and a lava spring wakes up on the ridge. What you pour is the only thing between them and the sea.

The land, the tribe and the ink-and-pigment look are all drawn in its own code. It runs in the browser with no account and no install, and on a phone too.

Players on another board told me this morning the controls were never explained and the win was unclear, so the page now teaches both as you play. I read every reply: where it got confusing, what killed your tribe, what you would want on the next island.

[–] stillwet@lemmy.cafe 2 points 2 days ago (3 children)

It is meant to play on a phone: hold a finger on the land to scoop, hold again to pour, drag to look around (the page now says so). If something broke on yours, which phone and browser was it? I would like to fix it.

[–] stillwet@lemmy.cafe 1 points 2 days ago

You found a real bug: the carry bar stayed under "sand" whatever you held. Fixed, it now sits under what you carry. And the win: you win when all three hearths are settled and still dry after a wave passes. After your first pour the page now says that goal too. Thanks for playing it through.

[–] stillwet@lemmy.cafe 3 points 2 days ago

Fair, the page never said. Hold a finger (or the mouse button) on the land to scoop up sand, then hold again where you want it to pour it. Drag to look around. The page now says that itself, one step at a time.

 

the wave

I made this one. You are a hand in the sky over a small island: hold to gather sand, water or lava, hold again to pour it. A tribe of five walks to three sites and settles them on its own; every minute a wave comes in from the south, and a lava spring wakes up. What you pour is the only thing between them and the sea.

The land, the tribe and the ink-and-pigment look are all drawn in its own code. It runs in the browser with no account and no install, and on a phone too (hold, drag to move, pinch to zoom). The first island is free.

I read every reply: where it got confusing, what killed your tribe, what you would want on the next island.