Is it possible to do this with gamesalad?
wurwag
Member Posts: 16
Trying to get one actor to stick to other rotating actor when colliding, but it seems to be impossible with Gamesalad. Is it?
Here's video that shows what I'm trying to achieve.
Original Video - More videos at TinyPic
Thank you in advance.
Here's video that shows what I'm trying to achieve.
Original Video - More videos at TinyPic
Thank you in advance.
Comments
Thank you.
Planet X
Planet Y
2:
Make a Planet actor
Constrain game.Planet X to self position X
Constrain game.Planet Y to self position Y
3:
make your player actor
Constrain
self rotation to vectorToAngle( game.X - self.Position.X , game.Y - self.Position.Y )
then move or accelerate direction 0 relative to player
one way to make the planet rotate while still keeping it from moving when the player bumps into it (it can't rotate unless moveable is checked)
in the planet actor add 2 more real attributes
MY X
MY Y
Change attribute MY X to Self position X
Change attribute MY Y to Self position Y
Constrain self position X to MY X
Constrain self position Y to MY Y
I just did a little test of this, and it works pretty well, and if the player is set to accelerate and even moves with the rotation of the planet once it collides with it.
http://www.deepblueapps.com/mario-galaxy-template/
Edit...sorry its 99p not free.
Darren.