Tilemap help

id: 749779

category: Help with Scripts

posts: 4

m00c0w_321 m00c0w_321 loading
Hello everyone,
I am in the works of creating a simple isometric version of minecraft, and I am needing some help with the tile snapping. Each block is 32x32 pixels, but when I change the tile snapping to 32 pixels, the blocks (only on the Y axis) don't line up. I would really like some help with this.
Here is the link: https://scratch.mit.edu/projects/988320506/
Thanks

Malicondi Malicondi loading
The problem is because the y is using this:
go to x: () y:((round ((mouse y)/(8))) * (8))
when 8 should be changed to 16. Once you do that, it should work properly, hope this helps!
m00c0w_321 m00c0w_321 loading

Malicondi wrote:

The problem is because the y is using this:
go to x: () y:((round ((mouse y)/(8))) * (8))
when 8 should be changed to 16. Once you do that, it should work properly, hope this helps!

Sorry, but it didn't help. It works when placing blocks on top of one another, but when I place them beside each other, there are gaps.
Malicondi Malicondi loading
your oak plank texture is a pixel shorter than the log and grass textures, which is why there is a 1 pixel gap.