You do not have permission to view this post
Speaking of lines...
Was just about to suggest the line of sight behavior.
https://www.scirra.com/manual/184/admob
Edit:
cranberry plugs do not work
angle(x0,y0,x1,y1) gives you the angle between two objects
That can be use to determine a side.
For example if the return was 0 degrees you would know it was on the right side.
It's kind of hard to tell what you want to do.
Family pick closest to player.x, player.y perhaps?
I'd get rid of the inverted, and for each.
Or maybe just player pick closest to family.x, family.y
Just slightly sarcastic, with a bit of irony.
And then theres this.
Develop games in your browser. Powerful, performant & highly capable.
Maybe they should make an offline version of the arcade too.
Try modulo %.
As in scrollx % window width
Member since 12 Nov, 2008