Hello, I was working on isometric tiles. Downloaded the sprites from here,
But, I can’t align/snap the sprites properly. Its becoming like this,
The sprite size is 130x130 pixels. And the grip setup is in 32x32 cell size with 0x0 offsets. Its ticked on as isometric.
How do I snap the sprites together? Any help would be appreciated. Thanks.
Hello,
I suggest you to change the grid parameters:
1 Like
For the grid, I believe the width should be twice the height. In your case, try 32,16 or 130,65
1 Like
Thanks for the reply. But by default the grid is set up to 32x32. Exactly, like you have shown.
Keith_1357:
For the grid, I believe the width should be twice the height. In your case, try 32,16 or 130,65
Thanks for the reply. I have set it up 32/64/130.65, but it still does not work.
My mistake. Try 130,65 or some multiple that divides evenly with 130 if you want subdivisions. If you want a subdivision it would be 65,32.5
1 Like
Hi, I have tried 65, 32.5. But it still is not working. However, I have downloaded another asset pack (from Kenny). Isometric Dungeon Tiles by Kenney (Assets)
And it snapped together just fine (with 32x32 grid setup). Kenny’s sprites were 256x512 pixels.
Here it is,
1 Like
Good to hear. That other set seems to be in a different perspective or ratio.
1 Like
If you are working with isometric, have a look at Keith_1357’s great tools extension for isometric projection,
I’m trying to move a sprite in a four way isometric movement, each floor tile has four variables which determines which way it can travel, I’ve got the sprite moving but he still wonders off track slightly, also he sometimes overshoots.
Has anyone got any ideas for a more precise movement?
Pic of the layout, each floor tile is 64x32
[Screenshot_20230610-083618]
Here is my routine, I know using forces to move is not a great idea as it’s prone to overshoot
[Screenshot_20230610-090155]
2 Likes
At the moment they’re just having trouble getting the tile to snap to the grid. Unfortunately, I was assuming the wrong ratio and the first tile set seemed to be at a different ratio/perspective. They tried a different set and it seems to be working.
2 Likes
djsedaw
August 12, 2023, 10:00am
11
Yeah thought that once they were past the snapping phase they might need some help from the extension
1 Like
Thanks, yeah sure. I’ll look into it. Is it this extension?
It’s not an extension. It’s a few functions to convert from the isometric coordinates to the standard 2D x,y. I’m still working on it.
The isometric Pathfinder extension (not mine) is much more interesting.
This is an example that I made.
It took some doing but I made some progress. I still don’t really understand the linked objects tools but I was able to get it to work based on the examples. It’s still far from workable for your project but I think the technique might be there.
Click on any road tile. You can’t click when the “mover” object is moving.
Source:
I left the tile set in the asset for in the original zip in case you want to experiment with them or use them for reference. I know you plan on having the player clic…
I have other versions somewhere if it interests you. You can also browse my github page. There’s a mix of all the example that I’ve made for various people. It’s basic stuff but interesting.
1 Like
Keith_1357:
It’s not an extension. It’s a few functions to convert from the isometric coordinates to the standard 2D x,y. I’m still working on it.
The isometric Pathfinder extension (not mine) is much more interesting.
This is an example that I made.
I have other versions somewhere if it interests you. You can also browse my github page. There’s a mix of all the example that I’ve made for various people. It’s basic stuff but interesting.
doug13579 (doug13579) / Repositories · GitHub
Sure, I’ll check it out. Thanks a lot. I am pretty sure I would need them soon.
1 Like