Animated Tiles: why are there 1 px gaps between mine? 32x32

Hey guys-

Using 32x32 tiles. The wave tiles I want to animate are 3x3 directionally, so they can't be converting to RPG Maker tiles, which operates with a smaller grid...more like 2x2.

Trying to animate them via events. but for some reason, there's a 1 px gap between each tile, despite my tilesheet not having said gap.

oceanproblem.gif

oceanproblem2.gif


Here's what I've got the event set to:
1670710202609.png


And the tilesheet without the gaps:
tilesheet.png

I don't want to use any plugins, because I previously was using the TILED Visustella plugin, but it couldn't be deployed to the web. Trying to keep my build simple so it'll work across devices & platforms.
there are two or three different possibilities here, depending on details you didn't post.

1) what is your game's screen size?
2) do you use tiles (as in part of tilesheet A1) or do you use event sprite animation (as your posted event suggests). you should not call it a tile if it is a sprite for technical reasons and better help solving the problem.
there are two or three different possibilities here, depending on details you didn't post.

1) what is your game's screen size?
2) do you use tiles (as in part of tilesheet A1) or do you use event sprite animation (as your posted event suggests). you should not call it a tile if it is a sprite for technical reasons and better help solving the problem.

My game's resolution is 1280x720. Tilesize 32x32. Maybe I should adjust the 720 so that it's divisible by 32 evenly?

I'm using sprites in this instance. But sort of using them as tile-art, sorry for the mix up!
Maybe I should adjust the 720 so that it's divisible by 32 evenly?
yes, you should - but that's probably not the caause because that number is the vertical number.

if the screensize is not divisible by the tile size, then the engine often tries to space the tiles to get the screen to fit, and your horizontal size being wrong was one of the options I considered.

the other two options also don't fit your case, so I'm out of ideas for the moment.

However, you should make an additional test that might also be a problem - or it might be fixed in MZ as I've seen the effect only in older makers.

please make a large map with a line of those waves far outside the screen where the player starts.
then slowly go in that direction.
one of the antilag features makes events stop processing outside a certain range from the player. In some past games that resulted in the sprites of events being out of sync when the player approaches from a distance and one event gets into working range later than other events.

if that still happens, your waves would also be mismatched.
If you use a 32x32 grid, then at least it is not the graphics:
1670722149375.png


The graphics are correct.

If your editor is indeed set to 32x32, try making the event graphics 33x33? I'm not sure it would work, but that is what I woul try, since the colors would be the same anyway, overlapping wouldn't be a problem.

But uhm... Why do this with events? Doesn't that cause all kinds of trouble? Events are not meant to be used this way.

yes, you should - but that's probably not the caause because that number is the vertical number.
That is not definitely true. I mean, in the example you can't see if it vertically does match up mor not, since only 1 line is animated with events and the rest is static, probably done with tilesets. And if vertically misuse of scale could cause problems vertically lining them up, then also horizontally, since the grid will always be a perfect square.

So, just wondering, what would happen if you line some up vertically? Would you have the same problem?

Did you try changing the vertical size, to see if it fixes the problem? Then at least you know if that is even the problem or not. Once we know that, finding the solution would become a lot easier.
If you use a 32x32 grid, then at least it is not the graphics:
View attachment 247423

The graphics are correct.

If your editor is indeed set to 32x32, try making the event graphics 33x33? I'm not sure it would work, but that is what I woul try, since the colors would be the same anyway, overlapping wouldn't be a problem.

But uhm... Why do this with events? Doesn't that cause all kinds of trouble? Events are not meant to be used this way.


That is not definitely true. I mean, in the example you can't see if it vertically does match up mor not, since only 1 line is animated with events and the rest is static, probably done with tilesets. And if vertically misuse of scale could cause problems vertically lining them up, then also horizontally, since the grid will always be a perfect square.

So, just wondering, what would happen if you line some up vertically? Would you have the same problem?

Did you try changing the vertical size, to see if it fixes the problem? Then at least you know if that is even the problem or not. Once we know that, finding the solution would become a lot easier.
i’ll give the vertical a try! or try 33x33.

i was trying events because RPG Makers animated tiles are quite limited in quantity and they have to be autotiles. the wave tiles move in 3x3 tiles vs the traditional 2x2 rpg maker tiles. hard to animate tiles like this, because they don’t fit the auto tile format. wish you could simply animate any tile at a bigger size. which is why i’m resorting to trying to use events.

D13FABDC-4019-44B0-9221-564602E470F7.png


i tried shrinking these down to fit 2x2, so they weren’t 3 across, but the scale of the foam gets so small they don’t feel like waves

i originally animated my maps in TILED, but ran into deployment issues using visustellas plug-in that i had no idea how to fix.
If you use a 32x32 grid, then at least it is not the graphics:
View attachment 247423

The graphics are correct.

If your editor is indeed set to 32x32, try making the event graphics 33x33? I'm not sure it would work, but that is what I woul try, since the colors would be the same anyway, overlapping wouldn't be a problem.

But uhm... Why do this with events? Doesn't that cause all kinds of trouble? Events are not meant to be used this way.


That is not definitely true. I mean, in the example you can't see if it vertically does match up mor not, since only 1 line is animated with events and the rest is static, probably done with tilesets. And if vertically misuse of scale could cause problems vertically lining them up, then also horizontally, since the grid will always be a perfect square.

So, just wondering, what would happen if you line some up vertically? Would you have the same problem?

Did you try changing the vertical size, to see if it fixes the problem? Then at least you know if that is even the problem or not. Once we know that, finding the solution would become a lot easier.

So the issue does indeed occur vertically as well.

I tried changing the resolution of my game to 1280 x 736, both divisible by 32. (my tilesize)
Check out the attached images for an example of this happening vertically as well.

loop.gif
Does it happen if you return your game to the default 48x48 and do a quick scaling up of your images? It doesn't have to look great, just establish whether it has anything to do with the different size functionality they added in.
i was actually able to fix it with 33x33 pixel characters. thanks john doe news!

to be fair, i gave up on the waves being events because i was worried about syncing issues. looking to deploy my game via web and don’t want to have problems with performance or anything.

but i stacked a vertically animated event that was split (so it could be on the line) and it worked with no ugly middle seam!

Original thread: https://forums.rpgmakerweb.com/threads/animated-tiles-why-are-there-1-px-gaps-between-mine-32x32.153234/