So, I've been playing around making a game based on planets and gravity, in wich you have to collide a bunch of asteroids together to make a bigger one and then throw it on the other planets.
The thing is, I'm having a hard time trying to tell Construct 2 to add the correct size to the correct asteroid, here is how it should work:
-When 2 asteroids collide, it compares their sizes;
-The smaller one is destroyed;
-The bigger one has the smaller one's size added to him.
So far it works, but when an smaller astroid hits a bigger one, it is random wich one of them will be destroyed. I've aready tried using a variable for size on every asteroid, and then using it to compare the size, but it didn't work since I can't specify wich asteroid I want it to compare. So the main goal here is doing that.
Please reply if you find a way to program this : )