-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add intro transition * added new phone removed old phone assets
- Loading branch information
Showing
47 changed files
with
3,359 additions
and
1,123 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
1,455 changes: 1,455 additions & 0 deletions
1,455
src/eventsFunctionsExtensions/ellipsemovement.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
{ | ||
"author": "Arthur Pacaud (arthuro555)", | ||
"category": "Visual effect", | ||
"extensionNamespace": "", | ||
"fullName": "Object Masking", | ||
"helpPath": "", | ||
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLXRyYW5zaXRpb24tbWFza2VkIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTE1LDJDMTYuOTQsMiAxOC41OSwyLjcgMTkuOTUsNC4wNUMyMS4zLDUuNDEgMjIsNy4wNiAyMiw5QzIyLDEwLjU2IDIxLjUsMTEuOTYgMjAuNTgsMTMuMkMxOS42NCwxNC40MyAxOC40NCwxNS4yNyAxNi45NywxNS43TDE3LDE1LjM4VjE1QzE3LDEyLjgxIDE2LjIzLDEwLjkzIDE0LjY1LDkuMzVDMTMuMDcsNy43NyAxMS4xOSw3IDksN0g4LjYzTDguMyw3LjAzQzguNzMsNS41NiA5LjU3LDQuMzYgMTAuOCwzLjQyQzEyLjA0LDIuNSAxMy40NCwyIDE1LDJNOSw4QTcsNyAwIDAsMSAxNiwxNUE3LDcgMCAwLDEgOSwyMkE3LDcgMCAwLDEgMiwxNUE3LDcgMCAwLDEgOSw4TTksMTBBNSw1IDAgMCwwIDQsMTVBNSw1IDAgMCwwIDksMjBBNSw1IDAgMCwwIDE0LDE1QTUsNSAwIDAsMCA5LDEwWiIgLz48L3N2Zz4=", | ||
"name": "SpriteMasking", | ||
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/transition-masked.svg", | ||
"shortDescription": "Use a sprite or a shape painter to mask another object.", | ||
"version": "2.1.1", | ||
"description": "When masked, the masked object is only visible through the mask.", | ||
"origin": { | ||
"identifier": "SpriteMasking", | ||
"name": "gdevelop-extension-store" | ||
}, | ||
"tags": [ | ||
"masking", | ||
"javascript", | ||
"pixi", | ||
"sprites" | ||
], | ||
"authorIds": [ | ||
"ZgrsWuRTAkXgeuPV9bo0zuEcA2w1" | ||
], | ||
"dependencies": [], | ||
"eventsFunctions": [ | ||
{ | ||
"description": "Define a shape painter as a mask of an object.", | ||
"fullName": "Mask an object with a shape painter", | ||
"functionType": "Action", | ||
"name": "MaskWithShapePainter", | ||
"sentence": "Mask _PARAM1_ with mask _PARAM2_", | ||
"events": [ | ||
{ | ||
"type": "BuiltinCommonInstructions::JsCode", | ||
"inlineCode": [ | ||
"const maskObject = eventsFunctionContext.getObjects(\"Mask\")[0];", | ||
"if (!maskObject) return;", | ||
"", | ||
"const maskedObjects = eventsFunctionContext.getObjects(\"Masked\");", | ||
"for (const maskedObject of maskedObjects) {", | ||
" const maskedRenderer = maskedObject.getRendererObject(); ", | ||
" maskedRenderer.mask = maskObject.getRendererObject();", | ||
"}", | ||
"", | ||
"" | ||
], | ||
"parameterObjects": "masked", | ||
"useStrict": true, | ||
"eventsSheetExpanded": false | ||
} | ||
], | ||
"parameters": [ | ||
{ | ||
"description": "Object to mask", | ||
"name": "Masked", | ||
"type": "objectList" | ||
}, | ||
{ | ||
"description": "Shape painter to use as a mask", | ||
"name": "Mask", | ||
"supplementaryInformation": "PrimitiveDrawing::Drawer", | ||
"type": "objectList" | ||
} | ||
], | ||
"objectGroups": [] | ||
}, | ||
{ | ||
"description": "Define a sprite as a mask of an object.", | ||
"fullName": "Mask an object with a sprite", | ||
"functionType": "Action", | ||
"name": "Mask", | ||
"sentence": "Mask _PARAM1_ with mask _PARAM2_", | ||
"events": [ | ||
{ | ||
"type": "BuiltinCommonInstructions::JsCode", | ||
"inlineCode": [ | ||
"const maskObject = eventsFunctionContext.getObjects(\"Mask\")[0];", | ||
"if (!maskObject) return;", | ||
"", | ||
"const maskedObjects = eventsFunctionContext.getObjects(\"Masked\");", | ||
"for (const maskedObject of maskedObjects) {", | ||
" const maskedRenderer = maskedObject.getRendererObject(); ", | ||
" maskedRenderer.mask = maskObject.getRendererObject();", | ||
"}", | ||
"", | ||
"" | ||
], | ||
"parameterObjects": "masked", | ||
"useStrict": true, | ||
"eventsSheetExpanded": false | ||
} | ||
], | ||
"parameters": [ | ||
{ | ||
"description": "Object to mask", | ||
"name": "Masked", | ||
"type": "objectList" | ||
}, | ||
{ | ||
"description": "Sprite object to use as a mask", | ||
"name": "Mask", | ||
"supplementaryInformation": "Sprite", | ||
"type": "objectList" | ||
} | ||
], | ||
"objectGroups": [] | ||
}, | ||
{ | ||
"description": "Remove the mask of the specified object.", | ||
"fullName": "Remove the mask", | ||
"functionType": "Action", | ||
"name": "Unmask", | ||
"sentence": "Remove the mask of _PARAM1_", | ||
"events": [ | ||
{ | ||
"type": "BuiltinCommonInstructions::JsCode", | ||
"inlineCode": [ | ||
"const maskedObjects = eventsFunctionContext.getObjects(\"Masked\");", | ||
"", | ||
"for (const maskedObject of maskedObjects) {", | ||
" const maskedRenderer = maskedObject.getRendererObject(); ", | ||
" maskedRenderer.mask = null;", | ||
"}", | ||
"" | ||
], | ||
"parameterObjects": "", | ||
"useStrict": true, | ||
"eventsSheetExpanded": false | ||
} | ||
], | ||
"parameters": [ | ||
{ | ||
"description": "Object with a mask to remove", | ||
"name": "Masked", | ||
"type": "objectList" | ||
} | ||
], | ||
"objectGroups": [] | ||
} | ||
], | ||
"eventsBasedBehaviors": [], | ||
"eventsBasedObjects": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.