Animated tiles in Tile map and Tile map loader

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I am trying to add animated tiles on looki's Tile map extension while loading maps through Jonathan's Tile map loader.

    I think I can set it up fine if I use separate layers for animations in the Please login to see this link., but I would like to try to add animated tiles to the existing background and foreground layers if it's possible.

    I am attaching my file. The two relevant animation events so far is highlighted in red in the event editor (line 17 and 25).
    The correct tiles are animating, but is not using the correct tiles for the animation. Any help here is appreciated!

    Please login to see this attachment.

  • I don't fully understand Looki's Tile Map extension, but I think I am supposed to be able to load static tiles into sub-layer 0, while also creating an animation layer at sub-layer 1.

    I finally got it to load the correct tileset, but now it does not animate at all.

    The water should animate. It has been given a property of "animate":

    Please login to see this attachment.

    When I load the tile in fusion, and that tile has the property of "animate" I assign it to the animation layer like so

    Code
    * Tiled Map Loader On tile loaded
    + TileProperty$( "Tiled Map Loader", "Tile preset", "" ) = "animate"
    	 Tile Map : Set sub-layer 1 value at (TilePosXOnMap( "Tiled Map Loader" ) / 16, TilePosYOnMap( "Tiled Map Loader" ) / 16) to 1
    	 Tile Map Viewport : Set animation 1 speed to 4
    	 Tile Map Viewport : Set animation 1 width to 3
    	 Tile Map Viewport : Set animation 1 height to 0
    	 Tile Map Viewport : Set animation 1 mode to 0

    But it still does not animate. Any idea what I am doing wrong?
    Attaching the new file below.

  • I think I got it to work now. It helped setting up some debugging to make sense of the different layer and sub-layer indices. The sub-layer 1 tiles wasn't even loading in!
    It also seems I only need to use small sub-layers, even for loading data from the Tiled editor (unless more than 256 tilesets or layers in Tiled are used)

    Attaching the version that seems to be working:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!