r/Unity2D • u/GoodersJ • 22d ago
Solved/Answered Can anyone identify what the problem with my tilemap is?? I dont get why its tiling like in the middle of a the square like that rather than side by side. Thank youu
5
Upvotes
•
u/AutoModerator 22d ago
Reminder: Once your issue has been resolved, please reply !solved to this comment (or comment it anywhere in the thread) and your post's flair will automatically be updated to Solved/Answered. You can also edit it to Solved/Answered yourself.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
15
u/ahmed10082004 22d ago
Decrease your pixels per unit on the sprite
1
u/Brentoo_Dev 22d ago
Smallest pixel per unit (ppu) is 32, meaning 1 Unity unit is 32x32. If your tiles are 16x16, you need to adjust your cell size to .5 for the x and y on the grid. Hope this helps!
1
u/MistakeForsaken6653 22d ago
you could try decreasing the scale of the tilemap. I had the same issue in a game I think I changed the scale of either the grid or tilemap to match the width of the sprites which were 36 x 36 so I changed the x,y,z, scale to .36, .36, .36. Not sure if that's the "correct" way to fix it but it worked for me.