(Please note the capx also uses rexrainbow's move to behavior)
I am getting some weird results while using 8 direction. I am using it to simulate an object pushing another object. If you open the capx and touch and hold the blue box on the right, and push the yellow box, it goes perfectly to the left. But if I do it with the right blue box, the yellow box moves at 315 angle. The 8 direction is set to 4 directions only, so I really don't understand why it moves that way. And the events for both are similar so I am really at a lost of why this is happening. Would appreciate any hep on this, thanks!
I don't think that the behaviors are designed for what your are trying to do. If you use the 8-direction behavior and rexrainbow's 'push out solid' behavior you get the same odd result by pushing things. I would suggest you use the physic-behavior or try it without behaviors, but that could get messy if you want more than only push one of your boxes. I made a little example, but I give up to stop movement of the blue and the red boxes if they collide. So you can only push the yellow and the other still overlap.
https://drive.google.com/file/d/0B5FlDY ... sp=sharing
Thanks Asmodean, I'm travelling right now so once I'm back I'll test it out and post it here. Again, thanks.
Develop games in your browser. Powerful, performant & highly capable.
Asmodean, thank you for your capx. After studying it and reading what you said, I found a solution to achieve what I wanted in my game. Again, thank you so much!