闪光迷宫问题——小方块可以穿墙。
if(this . hittest(_ root . point . get bounds(_ root)。xMin,_root.point._y,true)){
_ root . point . _ x+= 3;
}
如果你把x和y配对,它就是。
if(this . hittest(_ root . point . get bounds(_ root)。yMin,_root.point._y,true)){
_ root . point . _ y+= 3;
}
下面也是一样。尝试