Working out distance
chrisal
Member Posts: 74
Hi,
I think my question can be answered in one word "no", but just incase I shall ask it!
Can gamesalad work out the distance between to actors???
Many thanks
chris
I think my question can be answered in one word "no", but just incase I shall ask it!
Can gamesalad work out the distance between to actors???
Many thanks
chris
Comments
For instance, you could find the magnitude (distance) of self.position (x and y) and any object with global variables telling its position.
magnitude(actor1.X - actor2.x, actor1.y - actor2.y)
ooops. sorry i was beaten to it
Is there any tutorials??? Might just try it for myself
cheers
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
It looks like this will solve that... I'm glad that this community isn't full of wanna-be elitist programmers that scoff at anyone with a simple question, like some game engine communities...
*cough* Garage Games *cough*
Personal experience... I'm sure it's not that way for everyone.
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io