|
1 | 1 | { |
2 | 2 | "author": "", |
3 | 3 | "category": "User interface", |
| 4 | + "dimension": "", |
4 | 5 | "extensionNamespace": "", |
5 | 6 | "fullName": "Animated score counter", |
6 | 7 | "gdevelopVersion": ">=5.5.222", |
|
9 | 10 | "name": "ScoreCounter", |
10 | 11 | "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/48ec8784eacd92181e4a3bde4755962b5f6edf986e624fc85ea423a31408450d_counter.svg", |
11 | 12 | "shortDescription": "Animated score counter with an icon.", |
12 | | - "version": "1.4.0", |
| 13 | + "version": "1.4.1", |
13 | 14 | "description": [ |
14 | 15 | "An animated score counter with an icon and a customisable font.", |
15 | 16 | "", |
|
53 | 54 | "objectGroups": [] |
54 | 55 | } |
55 | 56 | ], |
| 57 | + "eventsFunctionsFolderStructure": { |
| 58 | + "folderName": "__ROOT", |
| 59 | + "children": [ |
| 60 | + { |
| 61 | + "functionName": "IsInGameEdition" |
| 62 | + } |
| 63 | + ] |
| 64 | + }, |
56 | 65 | "eventsBasedBehaviors": [ |
57 | 66 | { |
58 | 67 | "description": "Smoothly changes a counter value in a text object.", |
|
299 | 308 | "objectGroups": [] |
300 | 309 | } |
301 | 310 | ], |
| 311 | + "eventsFunctionsFolderStructure": { |
| 312 | + "folderName": "__ROOT", |
| 313 | + "children": [ |
| 314 | + { |
| 315 | + "functionName": "doStepPreEvents" |
| 316 | + }, |
| 317 | + { |
| 318 | + "functionName": "Value" |
| 319 | + }, |
| 320 | + { |
| 321 | + "functionName": "SetValue" |
| 322 | + }, |
| 323 | + { |
| 324 | + "functionName": "ResetDisplayedValue" |
| 325 | + } |
| 326 | + ] |
| 327 | + }, |
302 | 328 | "propertyDescriptors": [ |
303 | 329 | { |
304 | 330 | "value": "", |
|
2760 | 2786 | "objectGroups": [] |
2761 | 2787 | } |
2762 | 2788 | ], |
| 2789 | + "eventsFunctionsFolderStructure": { |
| 2790 | + "folderName": "__ROOT", |
| 2791 | + "children": [ |
| 2792 | + { |
| 2793 | + "functionName": "ShakeObject_PositionAngleScale" |
| 2794 | + }, |
| 2795 | + { |
| 2796 | + "functionName": "doStepPostEvents" |
| 2797 | + }, |
| 2798 | + { |
| 2799 | + "functionName": "StopShaking" |
| 2800 | + }, |
| 2801 | + { |
| 2802 | + "functionName": "IsShaking" |
| 2803 | + } |
| 2804 | + ] |
| 2805 | + }, |
2763 | 2806 | "propertyDescriptors": [ |
2764 | 2807 | { |
2765 | 2808 | "value": "", |
|
2770 | 2813 | ], |
2771 | 2814 | "choices": [], |
2772 | 2815 | "name": "Scale" |
2773 | | - }, |
2774 | | - { |
2775 | | - "value": "", |
2776 | | - "type": "Number", |
2777 | | - "label": "", |
2778 | | - "name": "Property" |
2779 | 2816 | } |
2780 | 2817 | ], |
2781 | 2818 | "propertiesFolderStructure": { |
2782 | 2819 | "folderName": "__ROOT", |
2783 | 2820 | "children": [ |
2784 | 2821 | { |
2785 | 2822 | "propertyName": "Scale" |
2786 | | - }, |
2787 | | - { |
2788 | | - "propertyName": "Property" |
2789 | 2823 | } |
2790 | 2824 | ] |
2791 | 2825 | } |
|
3143 | 3177 | "actions": [ |
3144 | 3178 | { |
3145 | 3179 | "type": { |
3146 | | - "value": "TextContainerCapability::TextContainerBehavior::SetValue" |
| 3180 | + "value": "ScoreCounter::RollingCounter::SetValue" |
3147 | 3181 | }, |
3148 | 3182 | "parameters": [ |
3149 | 3183 | "CounterText", |
3150 | | - "Text", |
| 3184 | + "RollingCounter", |
3151 | 3185 | "=", |
3152 | | - "Score" |
| 3186 | + "Score", |
| 3187 | + "" |
| 3188 | + ] |
| 3189 | + }, |
| 3190 | + { |
| 3191 | + "type": { |
| 3192 | + "value": "ScoreCounter::RollingCounter::ResetDisplayedValue" |
| 3193 | + }, |
| 3194 | + "parameters": [ |
| 3195 | + "CounterText", |
| 3196 | + "RollingCounter", |
| 3197 | + "" |
3153 | 3198 | ] |
3154 | 3199 | } |
3155 | 3200 | ] |
|
3351 | 3396 | "value": "ScoreCounter::ShakeObject_PositionAngleScale::ShakeObject_PositionAngleScale" |
3352 | 3397 | }, |
3353 | 3398 | "parameters": [ |
3354 | | - "Counter", |
| 3399 | + "CounterText", |
3355 | 3400 | "ShakeObject_PositionAngleScale", |
3356 | 3401 | "0.2", |
3357 | 3402 | "0", |
3358 | | - "10", |
| 3403 | + "0.15 * Icon.Height()", |
3359 | 3404 | "0", |
3360 | 3405 | "0", |
3361 | 3406 | "0.1", |
|
3468 | 3513 | "objectGroups": [] |
3469 | 3514 | } |
3470 | 3515 | ], |
| 3516 | + "eventsFunctionsFolderStructure": { |
| 3517 | + "folderName": "__ROOT", |
| 3518 | + "children": [ |
| 3519 | + { |
| 3520 | + "functionName": "onCreated" |
| 3521 | + }, |
| 3522 | + { |
| 3523 | + "functionName": "onHotReloading" |
| 3524 | + }, |
| 3525 | + { |
| 3526 | + "functionName": "Score" |
| 3527 | + }, |
| 3528 | + { |
| 3529 | + "functionName": "SetScore" |
| 3530 | + }, |
| 3531 | + { |
| 3532 | + "functionName": "ResetPitch" |
| 3533 | + } |
| 3534 | + ] |
| 3535 | + }, |
3471 | 3536 | "propertyDescriptors": [ |
3472 | 3537 | { |
3473 | 3538 | "value": "0", |
|
0 commit comments