Hi I made this (http://matt.ucan.tv/lovestuck/) and quite rightly some one suggested it would be better if the boxes would spawn in the direction the box was clicked on, if the box is clicked on the top a new box is spawned in that direction, on the right spawn to the right and so on.
I can add imagepoints but I don't know how to determine where the box is clicked prior to that.
I'd like to get past the more luck than judgment stage of the game
Develop games in your browser. Powerful, performant & highly capable.
Check which distance(mouse.x,mouse.y,box.imagepointX(),box.imagepointY()) is the smallest?
Brilliant! will that work with touch too?
Just replace mouse with touch and in this case it should work.