On mnie szpieguje!
GML
if instance_number(obj_brick01)>30 {
x = obj_ball.x + random_range(-4,3)
}else{
if instance_number(obj_brick01)>11 {
if obj_brick01.x>x {
x=obj_ball.x+random_range(-20,0)
}else{
x=obj_ball.x+random_range(0,20)
}
}else{
x=obj_ball.x+random_range(-15,15)
}
}
//"Oneline" by bLaze