Skip to content

Commit f38d084

Browse files
committed
Automated Extension submission for issue #1832
1 parent 5fda3e2 commit f38d084

File tree

1 file changed

+247
-0
lines changed

1 file changed

+247
-0
lines changed
Lines changed: 247 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,247 @@
1+
{
2+
"author": "",
3+
"category": "User interface",
4+
"extensionNamespace": "",
5+
"fullName": "SimplifiedScrolling",
6+
"gdevelopVersion": "",
7+
"helpPath": "",
8+
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWdlc3R1cmUtc3dpcGUtdXAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTAsOUExLDEgMCAwLDEgMTEsOEExLDEgMCAwLDEgMTIsOVYxMy40N0wxMy4yMSwxMy42TDE4LjE1LDE1Ljc5QzE4LjY4LDE2LjAzIDE5LDE2LjU2IDE5LDE3LjE0VjIxLjVDMTguOTcsMjIuMzIgMTguMzIsMjIuOTcgMTcuNSwyM0gxMUMxMC42MiwyMyAxMC4yNiwyMi44NSAxMCwyMi41N0w1LjEsMTguMzdMNS44NCwxNy42QzYuMDMsMTcuMzkgNi4zLDE3LjI4IDYuNTgsMTcuMjhINi44TDEwLDE5VjlNNyw2TDQsM0wxLDZIM1YxMkg1VjZIN1oiIC8+PC9zdmc+",
9+
"name": "SimplifiedScrolling",
10+
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/0c46dda9851609592bdda1e76284a5064a6eaf709c25568287331edfdca8c9bd_gesture-swipe-up.svg",
11+
"shortDescription": "Effortless scrolling for menus, inventories, shops.",
12+
"version": "1.0.0",
13+
"description": "Simplified Scrolling adds effortless, interactive scrolling for menus, inventories, shops, and long content. Supports vertical and horizontal layers, saving time while improving user experience. Requires the DragCameraWithPointer extension to work.",
14+
"tags": [],
15+
"authorIds": [
16+
"KPIbi138jTTJkK5bfaqtq4FE1Ko1"
17+
],
18+
"dependencies": [],
19+
"globalVariables": [],
20+
"sceneVariables": [],
21+
"eventsFunctions": [
22+
{
23+
"description": "Put everything you want scrollable on one layer, then go ahead.",
24+
"fullName": "Horizontal scroll",
25+
"functionType": "Action",
26+
"group": "Horizontal",
27+
"name": "Horizontal",
28+
"sentence": "Scroll the layer _PARAM1_ in _PARAM2_ Lowest amount _PARAM3_ highest amount",
29+
"events": [
30+
{
31+
"type": "BuiltinCommonInstructions::Standard",
32+
"conditions": [],
33+
"actions": [
34+
{
35+
"type": {
36+
"value": "DragCameraWithPointer::DragCameraWithPointer"
37+
},
38+
"parameters": [
39+
"",
40+
"0",
41+
"Layer",
42+
"\"horizontal\"",
43+
"Left",
44+
""
45+
]
46+
}
47+
],
48+
"events": [
49+
{
50+
"type": "BuiltinCommonInstructions::Standard",
51+
"conditions": [
52+
{
53+
"type": {
54+
"value": "CameraCenterX"
55+
},
56+
"parameters": [
57+
"",
58+
"<",
59+
"Lowest",
60+
"Layer",
61+
"0"
62+
]
63+
}
64+
],
65+
"actions": [
66+
{
67+
"type": {
68+
"value": "SetCameraCenterX"
69+
},
70+
"parameters": [
71+
"",
72+
"=",
73+
"Lowest",
74+
"Layer",
75+
"0"
76+
]
77+
}
78+
]
79+
},
80+
{
81+
"type": "BuiltinCommonInstructions::Standard",
82+
"conditions": [
83+
{
84+
"type": {
85+
"value": "CameraCenterX"
86+
},
87+
"parameters": [
88+
"",
89+
">",
90+
"Highest",
91+
"Layer",
92+
"0"
93+
]
94+
}
95+
],
96+
"actions": [
97+
{
98+
"type": {
99+
"value": "SetCameraCenterX"
100+
},
101+
"parameters": [
102+
"",
103+
"=",
104+
"Highest",
105+
"Layer",
106+
"0"
107+
]
108+
}
109+
]
110+
}
111+
]
112+
}
113+
],
114+
"parameters": [
115+
{
116+
"description": "Select the layer you want to have the scroll effect",
117+
"name": "Layer",
118+
"type": "layer"
119+
},
120+
{
121+
"description": "What's the lowest amount you it to go sideways?",
122+
"name": "Lowest",
123+
"type": "expression"
124+
},
125+
{
126+
"description": "What's the highest amount you it to go sideways?",
127+
"name": "Highest",
128+
"type": "expression"
129+
}
130+
],
131+
"objectGroups": []
132+
},
133+
{
134+
"description": "Put everything you want scrollable on one layer, then go ahead.",
135+
"fullName": "Vertical scroll",
136+
"functionType": "Action",
137+
"group": "Vertical",
138+
"name": "Vertical",
139+
"sentence": "Scroll the layer _PARAM1_ in _PARAM2_ Lowest amount _PARAM3_ highest amount",
140+
"events": [
141+
{
142+
"type": "BuiltinCommonInstructions::Standard",
143+
"conditions": [],
144+
"actions": [
145+
{
146+
"type": {
147+
"value": "DragCameraWithPointer::DragCameraWithPointer"
148+
},
149+
"parameters": [
150+
"",
151+
"0",
152+
"Layer",
153+
"\"vertical\"",
154+
"Left",
155+
""
156+
]
157+
}
158+
],
159+
"events": [
160+
{
161+
"type": "BuiltinCommonInstructions::Standard",
162+
"conditions": [
163+
{
164+
"type": {
165+
"value": "CameraCenterY"
166+
},
167+
"parameters": [
168+
"",
169+
"<",
170+
"Lowest",
171+
"Layer",
172+
""
173+
]
174+
}
175+
],
176+
"actions": [
177+
{
178+
"type": {
179+
"value": "SetCameraCenterY"
180+
},
181+
"parameters": [
182+
"",
183+
"=",
184+
"Lowest",
185+
"Layer",
186+
"0"
187+
]
188+
}
189+
]
190+
},
191+
{
192+
"type": "BuiltinCommonInstructions::Standard",
193+
"conditions": [
194+
{
195+
"type": {
196+
"value": "CameraCenterY"
197+
},
198+
"parameters": [
199+
"",
200+
">",
201+
"Highest",
202+
"Layer",
203+
""
204+
]
205+
}
206+
],
207+
"actions": [
208+
{
209+
"type": {
210+
"value": "SetCameraCenterY"
211+
},
212+
"parameters": [
213+
"",
214+
"=",
215+
"Highest",
216+
"Layer",
217+
"0"
218+
]
219+
}
220+
]
221+
}
222+
]
223+
}
224+
],
225+
"parameters": [
226+
{
227+
"description": "Select the layer you want to have the scroll effect",
228+
"name": "Layer",
229+
"type": "layer"
230+
},
231+
{
232+
"description": "What's the lowest amount you it to go?",
233+
"name": "Lowest",
234+
"type": "expression"
235+
},
236+
{
237+
"description": "What's the highest amount you it to go?",
238+
"name": "Highest",
239+
"type": "expression"
240+
}
241+
],
242+
"objectGroups": []
243+
}
244+
],
245+
"eventsBasedBehaviors": [],
246+
"eventsBasedObjects": []
247+
}

0 commit comments

Comments
 (0)