Plugin.PathManager#createPathsFromJSON()

createPathsFromJSON()

create a new Path from JSON data

JSON data format:
required: "coordinateSystem":, "smoothness":, "loops":, "speed":, "pointList":[ {"x":, "y":}, ... ]
optional: "branchFrom": { "path":, "point": }, "joinTo": { "path":, "point": }

Source code: plugins/path/PathManagerPlugin.js (Line 47)
doc_phaser
2017-02-14 11:05:07
Comments
Leave a Comment

Please login to continue.