Hi dyson,
After position lots of different obects on a map as sprites, I want to build a map that shows the positions of all these objects.
Is it possible to loop through a map by tile and return whether or not a sprite is on top of that tile? (rather than looping through the sprites)
Thanks, Greg
** Ok that was a really bad idea, looping by tile… unless your waiting for the snow to melt!
I’ll work from this:
function buildChart()
asprite={}
asprite = mte.getSprites()
for i = 1,#asprite do
print ("Sprite: "… asprite[i].id, asprite[i].locX, asprite[i].locY)
end
end