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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.