Skip to content

Commit

Permalink
add intro transition (#211)
Browse files Browse the repository at this point in the history
* add intro transition

* added new phone removed old phone assets
  • Loading branch information
TheGemDev committed Apr 20, 2024
1 parent 8f0de7e commit 545eabc
Show file tree
Hide file tree
Showing 47 changed files with 3,359 additions and 1,123 deletions.
Binary file removed src/assets/character/Player/phone/phone_app.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_apps.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_battery_0.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_battery_1.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_battery_2.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_battery_3.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_lock.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_lock_1.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_lock_2.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_lock_3.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_lock_4.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_lock_5.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_lock_6.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_off.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/phone_unlock.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/pointer.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/pointer_1.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/pointer_3.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/pointer_4.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/pointer_5.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/pointer_6.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/pointer_7.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/thumb.png
Binary file not shown.
Binary file removed src/assets/character/Player/phone/thumb_1.png
Binary file not shown.
Binary file added src/assets/phone/apps/1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/phone/apps/2.png
Binary file added src/assets/phone/apps/3.png
Binary file added src/assets/phone/battery/1_g14.png
Binary file added src/assets/phone/battery/1_g15.png
Binary file added src/assets/phone/battery/1_g16.png
Binary file added src/assets/phone/frame/1.png
Binary file added src/assets/phone/frame/2.png
Binary file added src/assets/phone/wallpaper/1.png
Binary file added src/assets/phone/wallpaper/2.png
Binary file added src/assets/phone/wallpaper/3.png
Binary file added src/assets/phone/wallpaper/4.png
1,455 changes: 1,455 additions & 0 deletions src/eventsFunctionsExtensions/ellipsemovement.json

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions src/eventsFunctionsExtensions/spritemasking.json
@@ -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": []
}
4 changes: 3 additions & 1 deletion src/externalEvents/game.json
Expand Up @@ -8,6 +8,7 @@
"colorG": 176,
"colorR": 74,
"creationTime": 0,
"folded": true,
"name": "Links",
"source": "",
"type": "BuiltinCommonInstructions::Group",
Expand Down Expand Up @@ -233,6 +234,7 @@
"colorG": 176,
"colorR": 74,
"creationTime": 0,
"folded": true,
"name": "Global Time",
"source": "",
"type": "BuiltinCommonInstructions::Group",
Expand Down Expand Up @@ -293,7 +295,7 @@
"parameters": [
"foliage",
"Effect",
"\"Effect\"",
"\"Shadow\"",
"\"rotation\"",
"GlobalVariable(Game.globalTime.shadowTime)"
]
Expand Down

0 comments on commit 545eabc

Please sign in to comment.