Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
假设玩家想让大的到绿地,我想让玩家勾选绿地还是海洋后点击大的,让大的在原来位置销毁,生成到绿地去。问题是点击大的时候生成的话怎么获得玩家提前勾选的位置和所选对象。
两个事件,按钮有个开头是被点击时,用两个全局变量保存XY坐标.第二个事件精灵被点击时销毁,在变量值XY处生成精灵或者直接设置位置(这个是瞬移的)