Remix.run Logo
mlyle 3 days ago

> They should, in my view, have had y as a function of t, and dropped x.

Then you could have only had a flat floor that moved up and down. If you need shape that changes, you need it to be a function of both x and t.

So e.g. (x-t)^2 / 5 is a parabola shaped "bowl" that moves right at 1 unit per second.

John2022 3 days ago | parent [-]

Yeah sorry I wasn't clear. What I meant was that they are setting x=t but not saying that.

mlyle 3 days ago | parent [-]

The function sets the shape of the curve that the skier skis down. It is not the path of the skier vs time. (Gravity works, you can jump, etc).

In later levels, you use t to make a floor that actually moves.

The relationship between y and x is the coordinate plane behind the level (you can hold down right click to see it, IIRC).

John2022 2 days ago | parent [-]

I understand the confusion now. What they mean is that you're determining the shape of the mountain top using an equation, and then the skier is skiing along that mountain top according to gravity. But they don't say that.

Instead they say the task is to set path of skier - i.e. how the skier goes down the mountain. But that's not correct - the skier obviously doesn't need to just follow the mountain top. Common sense/reality is the opposite - you rarely just follow a mountain top.

If they'd just said the above, and I think not shown the value of t, it would have been a lot clearer, at least to me.

If in later levels they show formula(s) using gravity, and perhaps show the skier on different planets, with different values of G, then I can see the value in showing the value of t. But as it is, I think it's confusing.