effect_create_above(ef_explosion, x + random_range(-5, 5), y + random_range(-5, 5), 1, c_yellow); image_angle += 3 + logn(1.5, bounce + 0.1); speed = 25 + bounce; /* if x < 0 { bounce++; direction -= 2 * (direction - 180) + 180; } if x > 1920 { bounce++; direction -= 2 * (direction) + 180; } if y < 0 { bounce++; direction -= 2 * (direction - 90) + 180; } if y > 1080 { bounce++; direction -= 2 * (direction - 270) + 180; } */