For example, if I have 3 frames of water, how can I turn them into animated tiles to create an ocean?
Thank you very much
You can do animations with the sprite object, import the 3 frames you need as an animation and play it.
So if I wanted to build a sea, I would have to make infinite copies of this sprite?
Develop games in your browser. Powerful, performant & highly capable.
Do you have an example game that is similar to what you are trying to do ? I can't imagine the game but if it's tile based then yes, or one giant sprite ?
I found a solution. Use Tiled. It would be too much trouble to use animated sprites to lay out the map.Thanks again
There are other ways around this, here's an old example I'd done before. dropbox.com/scl/fi/0fgbjhvd6f522czs7b4un/autotile.c3p
Use transparancy for the animated area. Two semi-opaque tiling water textures on a tiled background, with slightly randomized movement below it. Results in a seamless animation with basically no recognizable pattern or repetition at all. Done with a single texture, no animation frames required.