Me and my friends are making in which object come towards the player and the player moves out of the way. We have an object that increases the speed at which the objects come towards you, so we have to increase the rate of speed the image scales. The problem we are running into as that after two of the power ups the image size stops increasing, staying the same size.
The code we currently have is
if global.collision = 0 ///global.collision is raised when you hit a power up
{
image_xscale = image_xscale +0.01;
image_yscale = image_yscale +0.01;
}
this code is repeated with global.collision raised by one each time.