supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Sliding In SuperTux

Open weluvgoatz opened this issue 5 years ago • 16 comments

Just like swimming, sliding in SuperTux is considered an essential penguin behaviour according to the Internal Chat. Multiple things worth considering about sliding are:

  • Does it work on all slopes? Or just special blocks?
  • How does Tux attack enemies while sliding?
  • What actions can Tux do?
  • Would it break levels?

weluvgoatz avatar Mar 14 '19 17:03 weluvgoatz

In my opinion sliding should:

  • Kill enemies on touch.
  • Only work on downwards slopes by pressing down.
  • Let you gain momentum to be propelled up a slope and get launched off it.
  • Be cancellable by jumping.

Alzter avatar Mar 18 '19 22:03 Alzter

Also:

  • Be auto-cancelled when (pseudo-code) !tux->isOnDownwardSlope() && tux->getSpeed() <= tux->getNormalRunningSpeed()

qwertychouskie avatar Mar 19 '19 00:03 qwertychouskie

Some other things:

  • Does Tux need to be big or can he do it small?
  • How to activate it? (My opinion: Tux should probably run, jump and press down in quick succession)

weluvgoatz avatar Mar 19 '19 01:03 weluvgoatz

Also, Tux should only do the sliding when he is on snow slopes, I think it would be weird if Tux slid on dirt...

weluvgoatz avatar Mar 20 '19 17:03 weluvgoatz

@weluvgoatz I don't think so. This would rather limit the usage of such an essential feature for a game having a penguin as a playable character. Sliding shall be aviable in any enviorment. Even the non-snow ones. Otherwise what's the point of even having it when only one world (main game speaking) would be supporting such feature.

Rusty-Box avatar Mar 20 '19 18:03 Rusty-Box

Hmm, maybe it's just that the current dirt tiles (the ones from like 2005) look dry and crusty... Maybe if we had snail slime slopes or mud slopes or just ones that don't look dry... But new forest dirt tiles have already been added into the game which look slide-able.

weluvgoatz avatar Mar 21 '19 19:03 weluvgoatz

FWIW what I remember from playing Mario is that there was a special powerup that enable this behavior by simply consistently moving in one direction for a period of time (I think it was 3-5 seconds). The effects of it were that he looked/behaved like a snail that had been hit.

ghost avatar Mar 22 '19 02:03 ghost

FWIW what I remember from playing Mario is that there was a special powerup that enable this behavior by simply consistently moving in one direction for a period of time (I think it was 3-5 seconds). The effects of it were that he looked/behaved like a snail that had been hit.

That's the Blue Shell from New Super Mario Bros (DS).

Alzter avatar Mar 22 '19 12:03 Alzter

I stopped using the Blue Shell when I noticed (in multiplayer) that running without this powerup is faster than moving as shell. Anyway, I think that, if Tux can slide on snow and dirt slopes, it's important that snow slopes have less friction than dirt or even grass slopes.

HybridDog avatar Apr 17 '19 19:04 HybridDog

What level would this be introduced in?

weluvgoatz avatar May 06 '19 21:05 weluvgoatz

@weluvgoatz It shall be introduced in the very first level of the game as it is a universal useable ability, like jumping, ducking, etc.

Rusty-Box avatar May 06 '19 21:05 Rusty-Box

The first level already has a lot of things, how about in the first level on the linear path with slopes? This would be either "A Fork in the Road" or "23rd Airborne".

On Mon, May 6, 2019, 2:48 PM Carsten Wirtz [email protected] wrote:

@weluvgoatz https://github.com/weluvgoatz It shall be introduced in the very first level of the game as it is a universal useable ability, like jumping, ducking, etc.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SuperTux/supertux/issues/1081#issuecomment-489795899, or mute the thread https://github.com/notifications/unsubscribe-auth/AJPWEMSJT4LLFB2CKFZO2RDPUCRTJANCNFSM4G6TJUOA .

weluvgoatz avatar May 06 '19 21:05 weluvgoatz

Are we going to implement this?

Alzter avatar May 23 '19 00:05 Alzter

Are we going to implement this?

I think that #854 should happen first.

HybridDog avatar May 23 '19 10:05 HybridDog

My NEW ideas on sliding:

  1. Tux can start sliding only on slopes, but he can slide on solid land as long as he started on the slope.
  2. When sliding, he slips down with a slightly-lower friction and goes at high speed (for extra fun :D)!
  3. Functions similar to buttjump, meaning he can kill basic enemies but not spiked ones (might be too OP if he was able to)
  4. He starts sliding by pressing "down" on slopes, and continues sliding until he reaches an almost-zero velocity or by pressing "jump", if he hasn't already stopped.

weluvgoatz avatar Nov 15 '19 21:11 weluvgoatz

i think also if you jump and then ground pound onto a slope you immediately start sliding, and you gain even more momentum by falling from the air. This would be really cool i think.

Alasdairbugs avatar May 15 '20 14:05 Alasdairbugs