Develop 50 lines of code for the game application series by using GameBuilder to implement the float bottle and 50 lines of GameBuilder
Online run: http://osgames.duapp.com/apprun.html? Appid = osgames1-871422195197258
Online Editing: http://osgames.duapp.com/gamebuilder.php? Appid = osgames1-871422195197258
SCAN:
Run:
Here, the implementation of the floating bottle is not completely implemented, but the opportunity to introduce the Cantk UIFootprint control.
The net in the bottle is a curve. You can use UIFootprint in the Cantk type. Please refer to the official demo.
According to the curve path, place a certain number of UIFootprint controls (the appearance is a point), change their names to the same, so that they can be connected to one as a path. As shown in.
Path usage
Var net = win. find ("net"); net. getChild (0 ). setVisible (true); net. moveAlongPath ("fp", 2000, false, win. onLotteryDone );