Skip to content

Commit 4b6a554

Browse files
authored
[Reviewed] [Scrollable viewport] Move a camera by dragging or with the scroll wheel (#2113)
1 parent fec91e1 commit 4b6a554

2 files changed

Lines changed: 1531 additions & 2 deletions

File tree

extensions/reviewed/DragCameraWithPointer.json renamed to extensions/community/DragCameraWithPointer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWRyYWctdmFyaWFudCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0yMi42NywxMkwxOC4xOCwxNi41TDE1LjY3LDE0TDE3LjY1LDEyTDE1LjY3LDEwLjA0TDE4LjE4LDcuNTNMMjIuNjcsMTJNMTIsMS4zM0wxNi40Nyw1LjgyTDEzLjk2LDguMzNMMTIsNi4zNUwxMCw4LjMzTDcuNSw1LjgyTDEyLDEuMzNNMTIsMjIuNjdMNy41MywxOC4xOEwxMC4wNCwxNS42N0wxMiwxNy42NUwxNCwxNS42N0wxNi41LDE4LjE4TDEyLDIyLjY3TTEuMzMsMTJMNS44Miw3LjVMOC4zMywxMEw2LjM1LDEyTDguMzMsMTMuOTZMNS44MiwxNi40N0wxLjMzLDEyTTEyLDEwQTIsMiAwIDAsMSAxNCwxMkEyLDIgMCAwLDEgMTIsMTRBMiwyIDAgMCwxIDEwLDEyQTIsMiAwIDAsMSAxMiwxMFoiIC8+PC9zdmc+",
99
"name": "DragCameraWithPointer",
1010
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/drag-variant.svg",
11-
"shortDescription": "Pan/drag camera with mouse or touch. Configurable inertia and bounds.",
11+
"shortDescription": "Pan/drag camera with mouse or touch.",
1212
"dimension": "2D",
1313
"version": "1.2.0",
1414
"description": [
1515
"Move a camera by dragging the mouse (or touchscreen). ",
16-
"",
16+
"",
17+
"This extension is deprecated. The [scrollable viewport extension](https://wiki.gdevelop.io/gdevelop5/extensions/scrollable-viewport) should be used instead.",
18+
"",
1719
"How to use:",
1820
"- Run this action on every frame that you want the camera to be movable by the mouse (or touchscreen)",
1921
"- Select the mouse button to use (choose \"left\" for touchscreen)",

0 commit comments

Comments
 (0)