22 "author" : " " ,
33 "category" : " User interface" ,
44 "extensionNamespace" : " " ,
5- "fullName" : " Animated Score Counter " ,
5+ "fullName" : " Animated score counter " ,
66 "gdevelopVersion" : " >=5.5.222" ,
77 "helpPath" : " " ,
88 "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWNvdW50ZXIiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNCw0SDIwQTIsMiAwIDAsMSAyMiw2VjE4QTIsMiAwIDAsMSAyMCwyMEg0QTIsMiAwIDAsMSAyLDE4VjZBMiwyIDAgMCwxIDQsNE00LDZWMThIMTFWNkg0TTIwLDE4VjZIMTguNzZDMTksNi41NCAxOC45NSw3LjA3IDE4Ljk1LDcuMTNDMTguODgsNy44IDE4LjQxLDguNSAxOC4yNCw4Ljc1TDE1LjkxLDExLjNMMTkuMjMsMTEuMjhMMTkuMjQsMTIuNUwxNC4wNCwxMi40N0wxNCwxMS40N0MxNCwxMS40NyAxNy4wNSw4LjI0IDE3LjIsNy45NUMxNy4zNCw3LjY3IDE3LjkxLDYgMTYuNSw2QzE1LjI3LDYuMDUgMTUuNDEsNy4zIDE1LjQxLDcuM0wxMy44Nyw3LjMxQzEzLjg3LDcuMzEgMTMuODgsNi42NSAxNC4yNSw2SDEzVjE4SDE1LjU4TDE1LjU3LDE3LjE0TDE2LjU0LDE3LjEzQzE2LjU0LDE3LjEzIDE3LjQ1LDE2Ljk3IDE3LjQ2LDE2LjA4QzE3LjUsMTUuMDggMTYuNjUsMTUuMDggMTYuNSwxNS4wOEMxNi4zNywxNS4wOCAxNS40MywxNS4xMyAxNS40MywxNS45NUgxMy45MUMxMy45MSwxNS45NSAxMy45NSwxMy44OSAxNi41LDEzLjg5QzE5LjEsMTMuODkgMTguOTYsMTUuOTEgMTguOTYsMTUuOTFDMTguOTYsMTUuOTEgMTksMTcuMTYgMTcuODUsMTcuNjNMMTguMzcsMThIMjBNOC45MiwxNkg3LjQyVjEwLjJMNS42MiwxMC43NlY5LjUzTDguNzYsOC40MUg4LjkyVjE2WiIgLz48L3N2Zz4=",
99 "name" : " ScoreCounter" ,
1010 "previewIconUrl" : " https://asset-resources.gdevelop.io/public-resources/Icons/48ec8784eacd92181e4a3bde4755962b5f6edf986e624fc85ea423a31408450d_counter.svg" ,
1111 "shortDescription" : " Animated score counter with an icon." ,
12- "version" : " 1.3 .0" ,
12+ "version" : " 1.4 .0" ,
1313 "description" : [
1414 " An animated score counter with an icon and a customisable font." ,
1515 " " ,
358358 "name" : " Speed"
359359 }
360360 ],
361- "sharedPropertyDescriptors" : []
361+ "propertiesFolderStructure" : {
362+ "folderName" : " __ROOT" ,
363+ "children" : [
364+ {
365+ "propertyName" : " Text"
366+ },
367+ {
368+ "propertyName" : " Prefix"
369+ },
370+ {
371+ "propertyName" : " Suffix"
372+ },
373+ {
374+ "propertyName" : " Duration"
375+ },
376+ {
377+ "propertyName" : " Increment"
378+ },
379+ {
380+ "propertyName" : " CounterValue"
381+ },
382+ {
383+ "propertyName" : " DisplayedValue"
384+ },
385+ {
386+ "propertyName" : " Speed"
387+ }
388+ ]
389+ }
362390 },
363391 {
364392 "description" : " Shake objects with translation, rotation and scale." ,
27502778 "name" : " Property"
27512779 }
27522780 ],
2753- "sharedPropertyDescriptors" : []
2781+ "propertiesFolderStructure" : {
2782+ "folderName" : " __ROOT" ,
2783+ "children" : [
2784+ {
2785+ "propertyName" : " Scale"
2786+ },
2787+ {
2788+ "propertyName" : " Property"
2789+ }
2790+ ]
2791+ }
27542792 }
27552793 ],
27562794 "eventsBasedObjects" : [
27572795 {
2758- "areaMaxX" : 152 ,
2759- "areaMaxY" : 87 ,
2796+ "areaMaxX" : 149 ,
2797+ "areaMaxY" : 85 ,
27602798 "areaMaxZ" : 4 ,
2761- "areaMinX" : 3 ,
2762- "areaMinY" : 2 ,
2799+ "areaMinX" : 0 ,
2800+ "areaMinY" : 0 ,
27632801 "areaMinZ" : 0 ,
27642802 "assetStoreTag" : " score counters" ,
27652803 "defaultName" : " ScoreCounter" ,
2766- "description" : " An animated score counter with an icon and a customisable font ." ,
2767- "fullName" : " Animated Score Counter " ,
2804+ "description" : " Animated score counter with an icon." ,
2805+ "fullName" : " Animated score counter " ,
27682806 "isInnerAreaFollowingParentSize" : true ,
2807+ "isTextContainer" : true ,
27692808 "isUsingLegacyInstancesRenderer" : false ,
27702809 "name" : " ScoreCounter" ,
27712810 "objects" : [
29222961 "useLegacyBottomAndRightAnchors" : false
29232962 }
29242963 ]
2964+ },
2965+ {
2966+ "assetStoreId" : " " ,
2967+ "name" : " BitmapCounter" ,
2968+ "type" : " BitmapText::BitmapTextObject" ,
2969+ "variables" : [],
2970+ "effects" : [],
2971+ "behaviors" : [
2972+ {
2973+ "isFolded" : true ,
2974+ "name" : " Anchor" ,
2975+ "type" : " AnchorBehavior::AnchorBehavior" ,
2976+ "leftEdgeAnchor" : 1 ,
2977+ "bottomEdgeAnchor" : 4 ,
2978+ "relativeToOriginalWindowSize" : true ,
2979+ "rightEdgeAnchor" : 4 ,
2980+ "topEdgeAnchor" : 4 ,
2981+ "useLegacyBottomAndRightAnchors" : false
2982+ },
2983+ {
2984+ "name" : " RollingCounter" ,
2985+ "type" : " ScoreCounter::RollingCounter" ,
2986+ "Text" : " Text" ,
2987+ "Prefix" : " Score: " ,
2988+ "Suffix" : " " ,
2989+ "Duration" : 1 ,
2990+ "Increment" : 1 ,
2991+ "CounterValue" : 0 ,
2992+ "DisplayedValue" : 0 ,
2993+ "Speed" : 0
2994+ },
2995+ {
2996+ "name" : " ShakeObject_PositionAngleScale" ,
2997+ "type" : " ScoreCounter::ShakeObject_PositionAngleScale" ,
2998+ "Scale" : " Scale" ,
2999+ "Property" : 7.02010802359022e-306
3000+ }
3001+ ],
3002+ "content" : {
3003+ "text" : " Text" ,
3004+ "opacity" : 255 ,
3005+ "scale" : 1 ,
3006+ "fontSize" : 20 ,
3007+ "tint" : " 255;255;255" ,
3008+ "bitmapFontResourceName" : " " ,
3009+ "textureAtlasResourceName" : " " ,
3010+ "align" : " left" ,
3011+ "verticalTextAlignment" : " top"
3012+ }
29253013 }
29263014 ],
29273015 "objectsFolderStructure" : {
29353023 },
29363024 {
29373025 "objectName" : " Background"
3026+ },
3027+ {
3028+ "objectName" : " BitmapCounter"
29383029 }
29393030 ]
29403031 },
2941- "objectsGroups" : [],
3032+ "objectsGroups" : [
3033+ {
3034+ "name" : " CounterText" ,
3035+ "objects" : [
3036+ {
3037+ "name" : " Counter"
3038+ },
3039+ {
3040+ "name" : " BitmapCounter"
3041+ }
3042+ ]
3043+ }
3044+ ],
29423045 "layers" : [
29433046 {
29443047 "ambientLightColorB" : 200 ,
29803083 "name" : " Counter" ,
29813084 "persistentUuid" : " 76dfa03a-0454-4c0e-8bf0-66ec853de478" ,
29823085 "width" : 123 ,
2983- "x" : 26 ,
2984- "y" : 45 ,
3086+ "x" : 23 ,
3087+ "y" : 43 ,
29853088 "zOrder" : 4 ,
29863089 "numberProperties" : [],
29873090 "stringProperties" : [],
29973100 "name" : " Icon" ,
29983101 "persistentUuid" : " 33104734-7e97-4243-a199-3470acd804d6" ,
29993102 "width" : 53 ,
3000- "x" : 30 ,
3001- "y" : 31 ,
3103+ "x" : 0 ,
3104+ "y" : 0 ,
30023105 "zOrder" : 3 ,
30033106 "numberProperties" : [
30043107 {
30153118 "gridType" : " rectangular" ,
30163119 "gridWidth" : 32 ,
30173120 "gridHeight" : 32 ,
3121+ "gridDepth" : 32 ,
30183122 "gridOffsetX" : 0 ,
30193123 "gridOffsetY" : 0 ,
3124+ "gridOffsetZ" : 0 ,
30203125 "gridColor" : 10401023 ,
30213126 "gridAlpha" : 0.8 ,
30223127 "snap" : false ,
3023- "zoomFactor" : 4.697986577181208 ,
3128+ "zoomFactor" : 4.114333967922894 ,
30243129 "windowMask" : false ,
3025- "selectedLayer" : " "
3130+ "selectedLayer" : " " ,
3131+ "gameEditorMode" : " instances-editor"
30263132 },
30273133 "eventsFunctions" : [
30283134 {
30403146 "value" : " TextContainerCapability::TextContainerBehavior::SetValue"
30413147 },
30423148 "parameters" : [
3043- " Counter " ,
3149+ " CounterText " ,
30443150 " Text" ,
30453151 " =" ,
30463152 " Score"
31793285 "actions" : [
31803286 {
31813287 "type" : {
3182- "value" : " ScoreCounter::ScoreCounter::Function "
3288+ "value" : " ScoreCounter::ScoreCounter::ResetPitch "
31833289 },
31843290 "parameters" : [
31853291 " Object" ,
32783384 "actions" : [
32793385 {
32803386 "type" : {
3281- "value" : " ScoreCounter::ScoreCounter::Function "
3387+ "value" : " ScoreCounter::ScoreCounter::ResetPitch "
32823388 },
32833389 "parameters" : [
32843390 " Object" ,
33063412 "value" : " ScoreCounter::RollingCounter::SetValue"
33073413 },
33083414 "parameters" : [
3309- " Counter " ,
3415+ " CounterText " ,
33103416 " RollingCounter" ,
33113417 " =" ,
33123418 " Score" ,
33303436 "description" : " Reset the pitch to the baseline value." ,
33313437 "fullName" : " Reset pitch" ,
33323438 "functionType" : " Action" ,
3333- "name" : " Function " ,
3439+ "name" : " ResetPitch " ,
33343440 "private" : true ,
33353441 "sentence" : " Reset the pitch of _PARAM0_" ,
33363442 "events" : [
34233529 "hidden" : true ,
34243530 "name" : " CurrentPitch"
34253531 }
3426- ]
3532+ ],
3533+ "propertiesFolderStructure" : {
3534+ "folderName" : " __ROOT" ,
3535+ "children" : [
3536+ {
3537+ "folderName" : " Value" ,
3538+ "children" : [
3539+ {
3540+ "propertyName" : " Score"
3541+ }
3542+ ]
3543+ },
3544+ {
3545+ "folderName" : " Sound" ,
3546+ "children" : [
3547+ {
3548+ "propertyName" : " IncreasingScoreSound"
3549+ },
3550+ {
3551+ "propertyName" : " PitchBaselineMin"
3552+ },
3553+ {
3554+ "propertyName" : " PitchBaselineMax"
3555+ },
3556+ {
3557+ "propertyName" : " PitchFactor"
3558+ },
3559+ {
3560+ "propertyName" : " PitchTimeout"
3561+ }
3562+ ]
3563+ },
3564+ {
3565+ "propertyName" : " CurrentPitch"
3566+ }
3567+ ]
3568+ }
34273569 }
34283570 ]
34293571}
0 commit comments