Tag Info

New answers tagged


This is a shot in the blind, but I can see two potential solutions: Per-pixel collision detection: This is probably too much for the job, but using per-pixel collision detection would solve the issue, as only one tile would have opaque pixel under the cursor at a time. Distance: When multiple tiles could be selected, calculate the absolute distance ( ...


Doing this manually is insane. You need a tool that will take a folder full of images, pack them into atlases AND write a file containing all the coordinates. So then in your game you could address any image by its index or name or whatever and get its atlas coordinates (in pixels or UV).

Top 50 recent answers are included