Does anyone know if it’s possible to animate tiles, or do I have to make a sprite for that?
Make a sprite and put the sprite on the tile. Also make sure the Z level is higher. I think.
not that I know of, besides that all the animations say sprites, so probably have to use sprites to use that as animation.
You can use one of @richard 's extensions for that (I think it was riknoll/arcade-drawing-utils)
So if I wanted a large portion of the map animated (like a river or lake), I need to have either a lot of sprites or one huge sprite?
there was TilesXtra
I have a demo for how to do this but it uses up tile slots.
Here are the pros and cons of sprites vs. tiles:
SPRITES:
- Easy to set up
- Needs only one tile to spawn on
- Causes a lot of lag in large quantities
TILES:
- Fairly easy to set up
- Needs one tile per frame
- Little to no lag
- Easy to duplicate
Could try setting ghost to on and then setting it to off when the sprite is on the screen.
Oh yeah that’s a good point
But if you did have an entire screen of animated grass tiles it would be pretty laggy still
I get around 200 fps on my ten-year-old laptop.