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).
如何让金币在屏幕上方随机位置掉落,超出屏幕边缘重新开始掉落?
表达式【random(x,y)】,可以获取到一个在x到y之间的数字,可以通过这个表达式生成金币到屏幕上方的随机位置,超出屏幕就判断该金币的坐标是否超出当前屏幕即可。