Supertux2 Level Editor - Bad Guys

This topic was published by and viewed 1113 times since "". The last page revision was "".

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Jarret Buse
    Jarret Buse
    Participant
    • Topics - 25
    • @jbuse1

    A game is not complete without opponents. In SuperTux, these are referred to as "The Badguys".
    NOTE: Detailed information for each type can be found at http://supertux.lethargik.org/wiki/Badguys.
    When creating levels, you need to include some Badguys to make the level more challenging to Tux. Keep in mind that some Badguys can be killed by jumping on them, others are only affected by a snowball or fireball.
    Some Badguys are "living", such as Snowball, while others are not, such as Stalactite.
    Each Badguy has a feature which will lend itself to be used in a snow Level, jungle Level or other. Try to be consistent in matching a level with the world and the Badguy with the level.
    Looking at Figure 1, these are the Badguys. In the Level Editor, you can hover the mouse cursor over a Badguy to see their name. Each row has four objects. Not all objects are Badguys. I will name those objects which are not Badguys as well as the Badguys themselves. Information about the other objects will be covered in the next article. Each Badguy has a link to specific information about it.

    Figure 1 (Bad Guys)
    Figure 1 (Bad Guys)

    ROW 1

    ROW 2

    ROW 3

    ROW 4

    ROW 5

    ROW 6

    ROW 7

    ROW 8

    ROW 9

    ROW 10

    ROW 11

    ROW 12

    • Decal - see next article
    • Spawn Point - see next article
    • Reset Point (Firefly) - see next article
    • Door - see next article

    ROW 13

    • Spotlight - see next article
    • Magic Block - see next article
    • Lantern - see next article
    • Candle - see next article

    ROW 14

    • Switch - see next article
    • Push Button - see next article
    • ISpy - see next article
    • Trampoline - see next article

    ROW 15

    • Rock - see next article
    • Flying Platform - see future article on movement
    • Hurting Platform - see next article
    • Unstable Tile - see next article

    ROW 16

    • Weak Block - see next article
    • Bonus Block - see next article
    • Info Block - see next article
    • PowerUp - see next article

    ROW 17

    • Scripted Object - see future article on scripting
    • Wind - see next article
    • Ambient Sound - see next article
    • Sequence Trigger - see later article

    ROW 18

    • Script Trigger - see future article on scripting
    • Invisible Wall - see next article
    • Secret Area - see next article
    • Rain Particles - see next article

    ROW 19

    • Ghost Particles - see next article
    • Snow Particles - see next article
    • Cloud Particles - see next article
    • Thunderstorm - see next article

    ROW 20

    • Pneumatic Platform - see future article on movement
    • Bicycle Platform - see future article on movement

    To place Badguys is easy. Select the Object Tool icon and select the Interactive Layer. Select your Badguy and then place it on an Interactive Layer where Tux can go as well. With a Badguy selected, you can see the Properties include a Direction. Set to "Auto" will make the Badguy move toward Tux when the level starts. When a Badguy bumps into an block, it will go the other direction. The Direction can be set to automatically start the Level as left or right. If the Badguy gets to a drop off or cliff end, it will simply fall off.
    Read about each Badguy and then practice with them.
    The Dispenser is a useful tool for placing Badguys into a level. The Dispenser should be placed as needed depending on the Dispenser Type. Once placed, the Properties have a few settings you can use to configure the Dispenser as you wish.

    • Cycle – number of seconds before next Badguy is dispensed (default is 5)
    • Random – Badguys in Badguy list will be dispensed in order they are listed if Random is unchecked. If Random is checked, they come out of Dispenser in a random order
    • Dispenser Type – determines how Badguys are dispensed
      • Dropper – Badguys simply fall out of the Dispenser to the ground below (place above the ground, dropper is unbreakable)
      • Cannon – appears as a cannon which dispenses Badguys (can be placed anywhere, but best looking on ground, but cannon is unbreakable)
      • Rocketlauncher – looks like a cannon, but it can swivel to drop Badguys on wither side of it (can be on ground, but Tux can break it by jumping on it)
    • Direction – See Direction information above (Auto will not cause a dispensed Badguy to go toward Tux, it can be random)

    Play around an test the Dispenser and the various Badguys.
    NOTE: Do not add the Ice Crusher to the Dispenser, it will cause the Dispenser to fail while two Ice Crushers cannot work together. For an impossible level, drop a Yeti from the Dispenser.

    Further Reading

    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)