supertux icon indicating copy to clipboard operation
supertux copied to clipboard

[Bug]: throwing icecube error

Open ahmed12135 opened this issue 8 months ago • 4 comments

SuperTux Version

v0.6.3 latest update

System Information

windows (it can be for all of operation systems)

Expected Behavior

lets say that tux was having an icecube, then he wanted to throw it using the up button, when he run in a direction, lets say right, and then jumping and changing the direction quickly, the ice cube should be throwed on the direction that tux be looking for

Actual Behavior

but the ice cube go in the different direction and kill tux

Steps To Reproduce Actual Behavior

(none)

Additional Information

that can be with the reason of tux's speed, because when tux be going to the right direction then jump and change direction quickly to throw the icecube, the speed of the right side doesnt stop completely, so this is why when throwing the ice cube, the game doesnt look for the direction of tux but it looks for the speed of tux, if it be a speed that be going to the right side, the ice cube go to the right side, and the same thing with the left side, sorry because that isnt clear, but i cant explain better than that.

Guidelines For Reporting Issues

  • [x] I have read https://github.com/SuperTux/supertux/blob/master/CONTRIBUTING.md#bug-reports.
  • [x] I have verified this isn't an issue that's already been reported.
  • [x] I have verified this isn't a discussion, or an issue about a crash or a feature request, but rather an actual bug ─ that is, the game did something not intended.
  • [x] I have verified this issue is not about wrong translations (use Transifex for those), or anything unsupported (e.g. third-party add-ons).
  • [x] In this report, I have only included details about one (1) bug.
  • [x] If I make a mistake while submitting this report, I agree to use the "Edit" feature to correct it, instead of closing this issue and opening a new one.

ahmed12135 avatar Mar 25 '25 22:03 ahmed12135

Can you maybe record a video and upload it here? I don't know if I quite understand what the issue is.

tobbi avatar Mar 25 '25 23:03 tobbi

https://github.com/user-attachments/assets/265c30b2-863c-4470-9ea3-fb8e1dd96975

Courtesy of @Frostwithasideofsalt

tobbi avatar Mar 26 '25 00:03 tobbi

Hello, I'm a student looking to work on this issue but I'm not able to reproduce the behavior described or displayed in the video. Has this been fixed already?

albertlwang avatar Apr 21 '25 17:04 albertlwang

@albertlwang I suspect that anybody has touched this. I think, the bug is that if you change direction, the icecube procedurally moves through Tux to the other side. So if you release it really quick, its trajectory intersects Tux.

Hypernoot avatar Jun 01 '25 14:06 Hypernoot