|
8 | 8 | "name": "CurvedMovement", |
9 | 9 | "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Graphic Design/Graphic Design_bezier_curve.svg", |
10 | 10 | "shortDescription": "Move objects on curved paths.", |
11 | | - "version": "1.0.3", |
| 11 | + "version": "1.0.4", |
12 | 12 | "description": [ |
13 | 13 | "This extension allows to move objects on Bézier curve paths.", |
14 | 14 | "- Paths can be built dynamically or from predetermined paths in SVG format.", |
|
20 | 20 | "- Move enemies that follow a pattern", |
21 | 21 | "- Animate decorations", |
22 | 22 | "", |
23 | | - "A collection of [small examples](https://editor.gdevelop.io/?project=example://curved-movement) show how to use this extension." |
| 23 | + "A collection of [small examples](https://editor.gdevelop.io/?project=example://curved-movement) shows how to use this extension.", |
| 24 | + "", |
| 25 | + "2 examples use it:", |
| 26 | + "- a 3D racing game ([open the project online](https://editor.gdevelop.io/?project=example://3d-racing-game))", |
| 27 | + "- a Zuma-like ([open the project online](https://editor.gdevelop.io/?project=example://smoothy))" |
24 | 28 | ], |
25 | 29 | "origin": { |
26 | 30 | "identifier": "CurvedMovement", |
|
7499 | 7503 | } |
7500 | 7504 | ], |
7501 | 7505 | "objectGroups": [] |
| 7506 | + }, |
| 7507 | + { |
| 7508 | + "description": "Return the path origin on X axis of the object.", |
| 7509 | + "fullName": "Path origin X", |
| 7510 | + "functionType": "Expression", |
| 7511 | + "group": "Movement on a curve (speed-based) configuration", |
| 7512 | + "name": "PathOriginX", |
| 7513 | + "sentence": "the path origin on X axis", |
| 7514 | + "events": [ |
| 7515 | + { |
| 7516 | + "type": "BuiltinCommonInstructions::Standard", |
| 7517 | + "conditions": [], |
| 7518 | + "actions": [ |
| 7519 | + { |
| 7520 | + "type": { |
| 7521 | + "value": "SetReturnNumber" |
| 7522 | + }, |
| 7523 | + "parameters": [ |
| 7524 | + "Object.Behavior::PropertyPathOriginX()" |
| 7525 | + ] |
| 7526 | + } |
| 7527 | + ] |
| 7528 | + } |
| 7529 | + ], |
| 7530 | + "expressionType": { |
| 7531 | + "type": "expression" |
| 7532 | + }, |
| 7533 | + "parameters": [ |
| 7534 | + { |
| 7535 | + "description": "Object", |
| 7536 | + "name": "Object", |
| 7537 | + "type": "object" |
| 7538 | + }, |
| 7539 | + { |
| 7540 | + "description": "Behavior", |
| 7541 | + "name": "Behavior", |
| 7542 | + "supplementaryInformation": "CurvedMovement::SpeedPathMovement", |
| 7543 | + "type": "behavior" |
| 7544 | + } |
| 7545 | + ], |
| 7546 | + "objectGroups": [] |
| 7547 | + }, |
| 7548 | + { |
| 7549 | + "description": "Return the path origin on Y axis of the object.", |
| 7550 | + "fullName": "Path origin Y", |
| 7551 | + "functionType": "Expression", |
| 7552 | + "group": "Movement on a curve (speed-based) configuration", |
| 7553 | + "name": "PathOriginY", |
| 7554 | + "sentence": "the path origin on Y axis", |
| 7555 | + "events": [ |
| 7556 | + { |
| 7557 | + "type": "BuiltinCommonInstructions::Standard", |
| 7558 | + "conditions": [], |
| 7559 | + "actions": [ |
| 7560 | + { |
| 7561 | + "type": { |
| 7562 | + "value": "SetReturnNumber" |
| 7563 | + }, |
| 7564 | + "parameters": [ |
| 7565 | + "Object.Behavior::PropertyPathOriginY()" |
| 7566 | + ] |
| 7567 | + } |
| 7568 | + ] |
| 7569 | + } |
| 7570 | + ], |
| 7571 | + "expressionType": { |
| 7572 | + "type": "expression" |
| 7573 | + }, |
| 7574 | + "parameters": [ |
| 7575 | + { |
| 7576 | + "description": "Object", |
| 7577 | + "name": "Object", |
| 7578 | + "type": "object" |
| 7579 | + }, |
| 7580 | + { |
| 7581 | + "description": "Behavior", |
| 7582 | + "name": "Behavior", |
| 7583 | + "supplementaryInformation": "CurvedMovement::SpeedPathMovement", |
| 7584 | + "type": "behavior" |
| 7585 | + } |
| 7586 | + ], |
| 7587 | + "objectGroups": [] |
7502 | 7588 | } |
7503 | 7589 | ], |
7504 | 7590 | "propertyDescriptors": [ |
|
0 commit comments