Physics in the games: gravity, wind and inertia
Games feel good when they behave like the real world. That is why BLSR Games calculate with simplified versions of natural rules: gravity, resistance, wind and inertia. Read here how they work in reality and how the games simplify them.
Gravity on a slope
Everything with mass is pulled down by the earth. On a flat floor the floor pushes back just as hard, so a marble at rest stays put. On a slope, part of gravity acts along the slope. That part makes the marble roll and go faster and faster.
The steeper the slope, the bigger that part. Knikkerberg simplifies this: the mountain has the same slope everywhere, and you set the speed by tilting the track forwards to speed up or backwards to brake.
Rolling resistance and air resistance
Without anything to slow it, a rolling marble would never stop. Rolling resistance (marble and track deform very slightly) and the resistance of the air keep taking away some speed. The ordinary friction between marble and track mainly makes the marble roll instead of slide.
Whoever makes a game chooses how much resistance there is. Too little feels slippery, too much feels sluggish. Knikkerberg uses one fixed rolling resistance for the whole mountain.
Inertia in a bend
Something that moves wants to keep going straight. That is called inertia. To take a bend, a force has to act towards the inside of the bend. The faster you go and the sharper the bend, the bigger that force must be.
In Knikkerberg, speed changes because of the constant slope, rolling resistance and forward or backward tilt. Tilting sideways lets you steer. If you enter a sharp bend too fast, there is no time to correct. That is why it pays to slow down a little beforehand.
Wind and a kite
Four forces act on a kite together: lift from the wind on its slanted surface, drag, weight and the tension in the string. When the wind blows harder the kite can rise, but that also depends on its angle and the string. When the wind drops, it usually sinks.
In Uçurtma the wind is simplified and you see it as streaks in the sky. They show where you are pushed up or down, so you can correct before it happens.
Why physics in code?
BLSR Games use no images or video. Everything you see is calculated in the moment. That lets a game truly respond to what you do: a marble rolls differently when you tilt differently, and paint moves differently when you drop it differently.
They remain simplifications. The games show an idea from physics, but they are not an exact simulation or teaching material.