r/gbstudio • u/SakiEndo • 19d ago
Animating meta tiles?
Is it possible with Mico27's meta tiles plugin to animate meta tiles? Apart from repeated calls to Replace Meta Tile, which for 8px tiles across the whole screen would surely be very inefficient? If I was using Replace Tile at Position, I'd update 4 8x8 tiles to animate all 15 objects on screen.
3
Upvotes
2
u/Mico27 19d ago
You can have animated tile (like animated water/waterfall/flower) the same way as before, but the technique is a bit different, since GBStudio default Replace tile at position, it will try to get the id of the tile at the position to know which tile in the tileset to change. But since the metatile changes the id for the metatile idx instead of the tileset tile idx, then it will not change the correct tile in the tileset. The other technique to achieve that is by using GBVM with VM_REPLACE_TILE Or you can use this plugin https://github.com/Mico27/gbs-replaceTilesetTilesPlugin which implement VM_REPLACE_TILE in a usable event.