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

Difference between revisions of "Trampoline"

From SuperTux
Jump to: navigation, search
Line 1: Line 1:
 +
{{Milestone 2}}
 
The trampoline is a small [[Objects|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.
 
The trampoline is a small [[Objects|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.
  

Revision as of 21:28, 17 September 2006

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.