This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.

Trampoline

From SuperTux
Jump to: navigation, search

SuperTux 0.3.x: This text describes features that can be found in SuperTux 0.3.0 or later

The trampoline is a small object that Tux can pick up and move around. When Tux jumps on the trampoline the springs compress and then Tux is launched into the air. Trampolines will allow Tux to bounce up to areas he could not normally jump to.

    (trampoline
      (x 320)
      (y 1056)
      (portable #f)
    )

x and y are the coordinates as usual. portable is a optional flag which defaults to true. Set it to false to prevent the player from carrying that trampoline around.