This example shows using:
- Ladders
- Properties to define point value of coins and flags
- Properties and an object layer to define a moving platform.
To create a moving platform using TMX editor, there are a few steps:
- Define an object layer instead of a tile layer.
- Select Insert Tile
- Select the tile you wish to insert.
- Place the tile.
- Add custom properties. You can add:
change_x
change_y
boundary_bottom
boundary_top
boundary_left
boundary_right
.. literalinclude:: ../../../arcade/examples/platform_tutorial/11_ladders_and_more.py :caption: Ladders, Animated Tiles, and Moving Platforms :linenos:
.. literalinclude:: ../../../arcade/examples/platform_tutorial/11_ladders_and_more.py :caption: Ladders and More :linenos: