The distance() between two points divided by 2, will give you a radius that you can use to get that x.
That is if both objects are of the same width, and height.
Considering what's going on here, this might be useful for our spammer.
I would think that self.x< object2.x ?self.x+(distance(self.x,self.y, object2.x,object2.y)/2) :self.x-(distance(self.x,self.y, object2.x,object2.y)/2) would work.
Since distance() is based on the hotspots.
Annoying, yes, but all globals are still available in all layouts.
Perhaps if there was a flag to display globals in specific, or all layouts.
What's good for the goose, is good for the gander.... or something like that. Heh
That was scary.
There are a few angles that work somewhat better for pixel art, but I doubt it would be worth the effort to add something to the editor.
The thing you have to remember about js is that you would most probably need to use webgl.
Else was always buggy in Cc. I would guess that's what the issue is.
Edit:
Just noticed the call for the family. Might be an issue as well.
All objects should be countable using the .count expression in both CC, and C2.
As in sprite.count, text.count, not sure but even family.count.
Develop games in your browser. Powerful, performant & highly capable.
Ahh, ok. Just saw danc tweeting it, so I posted it here.
http://www.lostgarden.com/2011/03/list-of-game-artists.html
Member since 12 Nov, 2008