instance_place() only returns 1 id, thus the problem.
I believe the answer may lie in the with() statement. I've considered doing the approach backwards, and making the platform execute:
with(objPlayer)
{
if instance_place(x,y+1,parent_objPlatform)
x+=whatever;
}
but this method could be a major memory problem, since there could be hundreds of players in the same room at once. What other method am I not thinking of?
Order here is very important, so I can't simply make objPlayer execute the code. Movement would get out of sync before the Step is over, and the player may end up going through the platform or getting stuck should I add vertical movement as well.
In-depth explanation on order:
P.S. sorry if you viewed this post when it was incomplete, I bumped something on my keyboard that made it post before I was finished typing.
Edited by Ryef, 21 September 2012 - 07:52 PM.











