SuperTux / supertux

SuperTux source code
https://supertux.org
GNU General Public License v3.0
2.54k stars 491 forks source link

Improving the `Wind` object #2592

Open Rusty-Box opened 1 year ago

Rusty-Box commented 1 year ago

While functional, wind could be giving a couple tweaks to make it more robust.

If you make wind too strong you get push with no way of fighting against it. Make it too low and you won't get blown at all and only get slowed down when walking against it. At lower speeds wind should actually push Tux slightly when standing

It feels to me that wind, instead of pushing Tux, it gives him a set amount of speed in a specific direction, resulting in it feeling very unnatural!

https://github.com/SuperTux/supertux/assets/20615048/fadd5c72-e612-419f-96c2-8c3fda26a459

https://github.com/SuperTux/supertux/assets/20615048/e19b3a8e-c0de-456b-8890-bec8a5ea30c9


Also, another idea I had regarding wind:

An underwater object type for the wind object, Current, that instead of wind particles uses bubbles. It will function nearly identical to wind, however I assume it may require some slight adjustments for the underwater setting.

Some of these things maybe be:

tylerandari13 commented 1 year ago

Sometimes the wind feels more natural when the acceleration is set to 10, but this is only sometimes. I do agree though a lot of the time wind does feel unnatural, especially at slower speeds.

Also while I'm here can there also be a way to hide the particles altogether? Sometimes turning fancy particles off just isn't cutting it.

Rusty-Box commented 1 year ago

Sometimes the wind feels more natural when the acceleration is set to 10, but this is only sometimes. I do agree though a lot of the time wind does feel unnatural, especially at slower speeds.

Eh... I tried that and uh, yeah no, unless in very, very, VERY specific circumstances I suppose.

Also while I'm here can there also be a way to hide the particles altogether? Sometimes turning fancy particles off just isn't cutting it.

I do agree with that!

biggeryetbetter commented 1 year ago

I would like to work on this; I agree that wind is quite buggy at the moment and could use some fixing. Issues #2570, #2490, and #2189 are closely related and could be fixed at the same time.

tobbi commented 1 year ago

@biggeryetbetter I've assigned the issue to you.

tobbi commented 1 year ago

If you need anything, just ask here.