Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

this is saving time thanks! playing around so far nice. however i replace a tile in x y using swaptile and it seems many (checkered) tiles are being replaced. where can i see how to fix to just 1 tile?? thanks

Hi! If you want to change just one tile, that tile has to be unique. The swap changes the tile in memory, so any other tile using that memory address will also be changed.

Hi cant seem to configure it.. do you have a sample file i can see? thnx

Yeah sure: https://drive.google.com/file/d/1iIRS9UulKmjMs62bvowcK3h_sQ84Nj-4/view?usp=sharing

So on the right side, all flowers are animated, but on the right side, only one is animated. This is done by making the flower on the right side unique.

(1 edit)

thanks i see how its set up, but not sure how to modify. I added a "unique" tile to 12   2  coords and changed the setting but it still doesnt change but shows the other unique tile. .for example:

 i  hope link works now https://drive.google.com/file/d/1EqUs_kxdSfQkJ9IlPU44qUsLiexEzI54/view?usp=shari...

Seems to be working as expected. The tile on 12,2 changes from the letters to the flower tiles. If you’re wondering why the color is pink, it’s because of the tile’s palette color, and the reason its not animated is because the script is on init and not on update, and the reason there are artifacts is because the tiles aren’t aligned.

(1 edit)

ah thanks its starting to make sense to me, but why is 14 4 still swapping flowers and animated when i set it to 12 2 now?  also i switch 16 x 16 to 8 x8 but dont see smaller tiles yet... but im glad its no errors...

14,4 is animating due to the event in the actor 3’s on update. If you switch the 12, 2 to 8x8 only the upper left tile should have swapped: image.png

ah got it!!where would i change it if i wanted to swap 4 same new tiles in a row?! im finding i can swap tiles ontop of swapped tiles this is fun! is there a limit to how many tiles that can be swapped?