diff --git a/docs/gdevelop5/all-features/admob/index.md b/docs/gdevelop5/all-features/admob/index.md index 760e2eaa54f..d96fc80bf51 100644 --- a/docs/gdevelop5/all-features/admob/index.md +++ b/docs/gdevelop5/all-features/admob/index.md @@ -132,7 +132,7 @@ See how the ads work in a game by opening the example called **AdMob**. Replace !!! tip - Try it online! Click **[here to open the Admob example](https://editor.gdevelop.io/?project=example://admob)**. You must export to Android using the desktop app to test it on a real phone. + Try it online! Click **[here to open the Admob example](https://editor.gdevelop.io/?create-from-example=admob)**. You must export to Android using the desktop app to test it on a real phone. ## Reference diff --git a/docs/gdevelop5/all-features/dialogue-tree/index.md b/docs/gdevelop5/all-features/dialogue-tree/index.md index 2643b897bb2..f2dbc20797d 100644 --- a/docs/gdevelop5/all-features/dialogue-tree/index.md +++ b/docs/gdevelop5/all-features/dialogue-tree/index.md @@ -240,7 +240,7 @@ The demo does not use the entire capability of the extension and is aiming to pr # Examples -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://dialogue-tree-with-yarn){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=dialogue-tree-with-yarn){ .md-button .md-button--primary } ## Reference diff --git a/docs/gdevelop5/all-features/firebase/authentication.md b/docs/gdevelop5/all-features/firebase/authentication.md index 58b1bf3edb6..6a60c9a0e6d 100644 --- a/docs/gdevelop5/all-features/firebase/authentication.md +++ b/docs/gdevelop5/all-features/firebase/authentication.md @@ -42,7 +42,7 @@ This is all you need for a basic profile most of the time. To store more data, you will need to use something like [Firestore](/gdevelop5/all-features/firebase/firestore). !!! tip - To use the photo URL, take a look at the example that [loads an image from a URL to a sprite](https://editor.gdevelop.io/?project=example://load-image-from-url). + To use the photo URL, take a look at the example that [loads an image from a URL to a sprite](https://editor.gdevelop.io/?create-from-example=load-image-from-url). ## Provider setup diff --git a/docs/gdevelop5/all-features/firebase/storage.md b/docs/gdevelop5/all-features/firebase/storage.md index 5e4399590b2..620cad86e74 100644 --- a/docs/gdevelop5/all-features/firebase/storage.md +++ b/docs/gdevelop5/all-features/firebase/storage.md @@ -10,4 +10,4 @@ Currently, there is not much that you can do with storage. You can get the download URL of an online file and let the user download it, which can be useful for example for hosting and downloading updates. !!! tip - You can also combine it with [the load image from url](https://editor.gdevelop.io/?project=example://load-image-from-url) example. \ No newline at end of file + You can also combine it with [the load image from url](https://editor.gdevelop.io/?create-from-example=load-image-from-url) example. \ No newline at end of file diff --git a/docs/gdevelop5/all-features/gamepad/index.md b/docs/gdevelop5/all-features/gamepad/index.md index d2a47aed225..af2adeadaa8 100644 --- a/docs/gdevelop5/all-features/gamepad/index.md +++ b/docs/gdevelop5/all-features/gamepad/index.md @@ -36,25 +36,25 @@ The "Platformer gamepad mapper" behavior can be added to the character to make t Learn more about the [Platform Character behavior](/gdevelop5/behaviors/platformer). -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=platformer){ .md-button .md-button--primary } -[![](/gdevelop5/behaviors/platformer/platformer-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://platformer) +[![](/gdevelop5/behaviors/platformer/platformer-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=platformer) ### Move a 3D platformer character The "3D platformer gamepad mapper" behavior can be added to a [3d physics character](/gdevelop5/behaviors/physics3d) to make the character move according to player inputs automatically. -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-platformer){ .md-button .md-button--primary } -[![](/gdevelop5/behaviors/physics3d/platformer3d.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-platformer) +[![](/gdevelop5/behaviors/physics3d/platformer3d.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-platformer) ### Move a 3D shooter character The "3D shooter gamepad mapper" behavior can be added to a [3d physics character](/gdevelop5/behaviors/physics3d) to make the character move according to player inputs automatically. -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-first-person){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-first-person){ .md-button .md-button--primary } -[![](/gdevelop5/behaviors/physics3d/first-person.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-first-person) +[![](/gdevelop5/behaviors/physics3d/first-person.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-first-person) ### Move a character with custom movement diff --git a/docs/gdevelop5/all-features/linked-objects/index.md b/docs/gdevelop5/all-features/linked-objects/index.md index 8071e81d012..d90bc767d8c 100644 --- a/docs/gdevelop5/all-features/linked-objects/index.md +++ b/docs/gdevelop5/all-features/linked-objects/index.md @@ -58,11 +58,11 @@ In this example, for every existing "Pathfinder" object, a new "Terrain" object **Magnet** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://magnet){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=magnet){ .md-button .md-button--primary } **Pin objects** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://pin-object-to-another-multiple-parents){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=pin-object-to-another-multiple-parents){ .md-button .md-button--primary } !!! tip @@ -70,7 +70,7 @@ In this example, for every existing "Pathfinder" object, a new "Terrain" object **Basic artificial intelligence** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://basic-artificial-intelligence){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=basic-artificial-intelligence){ .md-button .md-button--primary } !!! tip diff --git a/docs/gdevelop5/all-features/storage/index.md b/docs/gdevelop5/all-features/storage/index.md index fb2bdc56e9e..1233453b0ff 100644 --- a/docs/gdevelop5/all-features/storage/index.md +++ b/docs/gdevelop5/all-features/storage/index.md @@ -5,7 +5,7 @@ title: Storage Games can store data, such as the player progress. By default, nothing is persisted between game sessions. **Storage** actions and conditions are an easy way to persist information like the player best score, items, etc... -To see this in action, review the *[Save-Load example](https://editor.gdevelop.io/?project=example://save-load)* included with GDevelop. +To see this in action, review the *[Save-Load example](https://editor.gdevelop.io/?create-from-example=save-load)* included with GDevelop. !!! note diff --git a/docs/gdevelop5/behaviors/.pages b/docs/gdevelop5/behaviors/.pages index 3c21498d8a3..d4a8ff3cb90 100644 --- a/docs/gdevelop5/behaviors/.pages +++ b/docs/gdevelop5/behaviors/.pages @@ -2,7 +2,8 @@ nav: - Anchor Behavior: anchor - Destroy outside screen behavior: destroyoutside - Draggable Object Behavior: draggable - - pathfinding + - Grid-based pathfinding: pathfinding + - Navmesh pathfinding: nav-mesh-pathfinding - 2D Physics Engine: physics2 - 3D Physics Engine: physics3d - Platform and platformer character behaviors: platformer diff --git a/docs/gdevelop5/behaviors/destroyoutside/index.md b/docs/gdevelop5/behaviors/destroyoutside/index.md index 1081feb8e88..7cb01e6b6df 100644 --- a/docs/gdevelop5/behaviors/destroyoutside/index.md +++ b/docs/gdevelop5/behaviors/destroyoutside/index.md @@ -47,9 +47,9 @@ The Destroy Outside behavior has two optional parameters that provide fine contr **Destroy Bullets Outside Screen/Scene** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://shoot-bullets){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=shoot-bullets){ .md-button .md-button--primary } -[![](Examples1BulletOutsideScreen.png){ width="320" }](https://editor.gdevelop.io/?project=example://shoot-bullets) +[![](Examples1BulletOutsideScreen.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=shoot-bullets) ## Reference diff --git a/docs/gdevelop5/behaviors/draggable/index.md b/docs/gdevelop5/behaviors/draggable/index.md index 3e470975606..e9297841092 100644 --- a/docs/gdevelop5/behaviors/draggable/index.md +++ b/docs/gdevelop5/behaviors/draggable/index.md @@ -51,33 +51,33 @@ When multiple draggable objects overlap, the object with the highest Z-order wil **Snap to Grid** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://snap-object-to-grid){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=snap-object-to-grid){ .md-button .md-button--primary } -[![](snaptogrid.png){ width="320" }](https://editor.gdevelop.io/?project=example://snap-object-to-grid) +[![](snaptogrid.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=snap-object-to-grid) **Shoot Bullet in Parabola Pattern** (A parabola is a plane curve which is mirror-symmetrical and is approximately U-shaped. Basically, an object that shoots toward an object in a curved trajectory.) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://shoot-bullet-in-parabola){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=shoot-bullet-in-parabola){ .md-button .md-button--primary } -[![](shootbulletparabolapattern.png){ width="320" }](https://editor.gdevelop.io/?project=example://shoot-bullet-in-parabola) +[![](shootbulletparabolapattern.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=shoot-bullet-in-parabola) **Save and Load** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://save-load){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=save-load){ .md-button .md-button--primary } -[![](saveandloadexample.png){ width="320" }](https://editor.gdevelop.io/?project=example://save-load) +[![](saveandloadexample.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=save-load) **Path Finding Basics** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://pathfinding-basics){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=pathfinding-basics){ .md-button .md-button--primary } -[![](/gdevelop5/behaviors/pathfinding/pathfindingbasics.png){ width="320" }](https://editor.gdevelop.io/?project=example://pathfinding-basics) +[![](/gdevelop5/behaviors/pathfinding/pathfindingbasics.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=pathfinding-basics) ## Reference diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/index.md b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/index.md new file mode 100644 index 00000000000..875edc7368a --- /dev/null +++ b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/index.md @@ -0,0 +1,111 @@ +--- +title: Navigation mesh pathfinding +--- +# Navigation mesh pathfinding + +The **navmesh pathfinding** behaviors move objects to a destination by following walkable floors and going around obstacles. They work in 2D and in 3D, and a whole crowd of characters can move at the same time while avoiding each other. + +## Choose the floors and the obstacles + +By using the **Floor/obstacle for pathfinding (navmesh based)** [behavior](/gdevelop5/behaviors), you can flag any [object](/gdevelop5/objects) as a walkable floor, as an obstacle, or as both. + +In 3D, characters walk on the flat surfaces of these objects and go around the steep ones. Add the behavior to the floors and platforms where characters must walk, and to the walls and props they must avoid. + +In 2D, objects with this behavior are always obstacles. Characters can only move inside the rectangle that contains all of them, so put obstacles around the area where characters can go. + +When the behavior is added to an object, some properties can be modified: + +![](nav-mesh-obstacle-properties.png){ width="386" } + +These properties are only relevant for [3D model](/gdevelop5/objects/3d-model) objects. The 2D collision mask is always used for 2D objects. + + * **Shape** – You can choose between using the model shape (**Mesh**) or a bounding box (**Box**). + * **Simplified 3D model** – Models with a lot of polygons can require heavy computations. You can make a simplified version of your model with an external tool and set it in this property to make the obstacle faster to compute. + +!!! tip + + If you need objects to move in only 4 or 8 directions, you can use the [grid-based pathfinding](/gdevelop5/behaviors/pathfinding) instead. + +!!! note + + [Tile maps](/gdevelop5/objects/tilemap) can also be used as obstacles: add the **Floor/obstacle for pathfinding (navmesh based)** behavior to a tile map that has collisions, and the moving objects will avoid its tiles. + +## Move objects while avoiding obstacles + +The **Pathfinding character (navmesh based)** behavior computes the shortest path from the object to a destination and, optionally, moves the object along this path, while avoiding all the objects that have the **Floor/obstacle for pathfinding (navmesh based)** behavior. + +After adding the behavior to the object, you can customize some properties: + +![](nav-mesh-character-properties.png){ width="387" } + + * **Acceleration** – How fast the object accelerates while moving on a path. + * **Max. speed** – The maximum speed the object can reach on the path. + * **Avoidance sight range** – How far ahead the character looks to avoid other characters. + * **Radius** – The radius of the character. This setting determines how close the object can move to obstacles. + * **Angle offset** – In case the sprite is facing the wrong direction, you can fix it with the angle offset. + * **Rotation speed** – The speed of the object's rotation. + * **Rotate object** – Disable it if you don't want the object to rotate while moving on the path. + +!!! note + + If you want to change how the object moves during the game, these properties can be changed using actions. + +To make the character move, you need to add the **Move to a position** action and specify the destination. + +For instance, to move a character to the cursor, you can do the following in 2D: + +![](nav-mesh-move-2d.png) + +or in 3D (using the [3d raycast](/gdevelop5/extensions/raycaster3d) extension): + +![](nav-mesh-move-3d.png) + +!!! warning + + The **Move to a position** action only needs to be run once. If you run this action without any condition, it will compute the path at every frame, which is very demanding for the device. You can add the **Destination reached** condition or use a [timer](/gdevelop5/all-features/timers-and-time) to solve this. + +!!! tip + + In an isometric 2D game, set the **Y speed scale** scene property to `0.5` so that characters move slower vertically than horizontally. + +## Avoid frame skipping when obstacles change + +When obstacles are moved, created or deleted, or when their behavior is deactivated or activated again, the navigation mesh is rebuilt on the next frame. This can take more than 1/60 of a second, which leads to frame skipping. + +You can reduce this side effect by: + +- Making **Cell size** and **Cell depth** bigger in the scene properties. +- Setting a **Simplified 3D model** for obstacles that use a **Mesh** shape. The simplified model should have as few polygons as possible. For instance, a ramp often only needs 5 faces. +- Making a chunk system that destroys far away obstacles in batches. + +## Troubleshoot navigation mesh generation + +You can display the generated navigation mesh with the **Draw pathfinding walkable area** action. The walkable area is drawn in blue. + +![](nav-mesh-debug.png) + +Try to modify the following scene properties and check the effects on the navigation mesh by running a preview: + + * **Max. stair height** – If characters won't climb stairs, try a greater value. + * **Slope max. angle** – If characters won't walk on steep slopes, try a greater value. + * **Walkable depth** – If characters won't go under a roof, try a smaller value. + * **Walkable radius** – If characters won't go through a narrow passage, try a smaller value. It's usually better to keep it automatic (`-1`) and change the **Radius** on characters. + +![](nav-mesh-scene-properties.png){ width="382" } + +## Examples + +!!! tip + + **See it in action!** 🎮 + Open these examples online. + +**Isometric example** + +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=isometric-game){ .md-button .md-button--primary } + +[![](isometric-game.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=isometric-game) + +## Reference + +All actions, conditions and expressions are listed in [the navmesh pathfinding reference page](/gdevelop5/all-features/nav-mesh-pathfinding/reference/). diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/isometric-game.png b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/isometric-game.png new file mode 100644 index 00000000000..487b8c148fa Binary files /dev/null and b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/isometric-game.png differ diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-character-properties.png b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-character-properties.png new file mode 100644 index 00000000000..a9ef914cfcf Binary files /dev/null and b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-character-properties.png differ diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-debug.png b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-debug.png new file mode 100644 index 00000000000..4503d48a113 Binary files /dev/null and b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-debug.png differ diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-move-2d.png b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-move-2d.png new file mode 100644 index 00000000000..db033b6f203 Binary files /dev/null and b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-move-2d.png differ diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-move-3d.png b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-move-3d.png new file mode 100644 index 00000000000..ccfe9d9cc04 Binary files /dev/null and b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-move-3d.png differ diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-obstacle-properties.png b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-obstacle-properties.png new file mode 100644 index 00000000000..0cca33e6107 Binary files /dev/null and b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-obstacle-properties.png differ diff --git a/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-scene-properties.png b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-scene-properties.png new file mode 100644 index 00000000000..30351243e40 Binary files /dev/null and b/docs/gdevelop5/behaviors/nav-mesh-pathfinding/nav-mesh-scene-properties.png differ diff --git a/docs/gdevelop5/behaviors/pathfinding/index.md b/docs/gdevelop5/behaviors/pathfinding/index.md index 04ad777bdec..58dc2f3438a 100644 --- a/docs/gdevelop5/behaviors/pathfinding/index.md +++ b/docs/gdevelop5/behaviors/pathfinding/index.md @@ -1,13 +1,13 @@ --- -title: Pathfinding +title: Grid-based pathfinding --- -# Pathfinding +# Grid-based pathfinding -The **Pathfinding** behavior allows to move objects to a selected destination as well as to flag items as obstacles. Objects that are flagged as obstacles will be avoided by the moving objects. +The **grid-based pathfinding** behaviors move objects to a selected destination and flag items as obstacles. Objects that are flagged as obstacles will be avoided by the moving objects. -## Choose which objects to avoid: the "Obstacle for Pathfinding" behavior +## Choose which objects to avoid -By using the "Pathfinding obstacle" [behavior](/gdevelop5/behaviors), you can flag any [object](/gdevelop5/objects) to be an obstacle. +By using the **Obstacle for pathfinding (grid-based)** [behavior](/gdevelop5/behaviors), you can flag any [object](/gdevelop5/objects) to be an obstacle. When the behavior is added to an object, some properties can be modified: @@ -18,24 +18,24 @@ When the behavior is added to an object, some properties can be modified: !!! tip - Obstacles may take more space than expected because a box around obstacles is used instead of the [collision mask](/gdevelop5/objects/sprite/collision-mask). The [navigation mesh pathfinding](/gdevelop5/extensions/nav-mesh-pathfinding/reference) extension can be used to solve this. + Obstacles may take more space than expected because a box around obstacles is used instead of the [collision mask](/gdevelop5/objects/sprite/collision-mask). You can use the [navigation mesh pathfinding](/gdevelop5/behaviors/nav-mesh-pathfinding) instead to solve this. !!! note - [Tile maps](/gdevelop5/objects/tilemap) can also be used as obstacles: add the "Pathfinding obstacle" behavior to a tile map that has collisions, and the moving objects will avoid its tiles. + [Tile maps](/gdevelop5/objects/tilemap) can also be used as obstacles: add the **Obstacle for pathfinding (grid-based)** behavior to a tile map that has collisions, and the moving objects will avoid its tiles. -## Move objects while avoiding obstacles: the "Pathfinding" behavior +## Move objects while avoiding obstacles -The "Pathfinding behavior" allows to compute the shortest path from the object to a destination, and optionally move the object to this destination, while avoiding all objects that have the "Obstacle for Pathfinding". +The **Pathfinding character (grid-based)** behavior computes the shortest path from the object to a destination and, optionally, moves the object along this path, while avoiding all the objects that have the **Obstacle for pathfinding (grid-based)** behavior. -After we add the behavior to the object, we can customize a number of options: +After adding the behavior to the object, you can customize some properties: ![](pasted/20230304-160035.png) * **acceleration:** this is how fast the object is going to accelerate while moving on a path. * **allow diagonals:** set if the object can move in diagonals. * **angle offset:** in case the sprite is facing the wrong direction we can set the angle offset - * **extra border size:** sets the border size around the object. This setting determines how close the object can move to the obstacles. + * **extra border size:** sets the border size around the object. This setting determines how close the object can move to obstacles. * **grid offset X/Y:** offsets the virtual grid position by the specified number of pixels. This can be useful to align the grid with your level layout. Default is 0 for both X and Y. * **max speed:** maximum speed the object can move on the path. * **rotate object:** if you don't want the object to rotate while moving on the path, disable the object's rotation. @@ -45,11 +45,9 @@ After we add the behavior to the object, we can customize a number of options: !!! note - A smaller cell size implies more calculations so try to still keep the size as large as possible. + A smaller cell size implies more computations, so try to keep the size as large as possible. -### Add an action to move the Pathfinding object - -To initiate a pathfinding move, add the action "Move to a position" and specify the location you want the object to move to. +To initiate a pathfinding move, add the action **Move to a position** and specify the location you want the object to move to. It will move using the characteristics defined in the behavior properties. If you want to change how the object moves during the game, these properties can be changed using actions. @@ -57,7 +55,7 @@ If you want to change how the object moves during the game, these properties can !!! warning - The "Move to a position" action only needs to be run once. If you run this action with no conditions, it will try to recalculate the path at every frame. You object will *not* move and this will generate a lot of intensive computation for your device. Instead, add a condition that makes sure the object pathfinder speed is 0 or that a path was not found already. + The **Move to a position** action only needs to be run once. If you run this action without any condition, it will compute the path at every frame, which is very demanding for the device. You can add the **Destination reached** condition or use a [timer](/gdevelop5/all-features/timers-and-time) to solve this. ## Examples @@ -66,19 +64,17 @@ If you want to change how the object moves during the game, these properties can **See it in action!** 🎮 Open these examples online. -**General Path Finding Behavior** - -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://pathfinding){ .md-button .md-button--primary } - -[![](pathfindinggeneral.png){ width="320" }](https://editor.gdevelop.io/?project=example://pathfinding) +**Path Finding Basics** +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=pathfinding-basics){ .md-button .md-button--primary } +[![](pathfindingbasics.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=pathfinding-basics) -**Path Finding Basics** +**4-directions pathfinding** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://pathfinding-basics){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=starting-point-and-click-pixel){ .md-button .md-button--primary } -[![](pathfindingbasics.png){ width="320" }](https://editor.gdevelop.io/?project=example://pathfinding-basics) +[![](starting-point-and-click-pixel.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=starting-point-and-click-pixel) ## Reference diff --git a/docs/gdevelop5/behaviors/pathfinding/starting-point-and-click-pixel.png b/docs/gdevelop5/behaviors/pathfinding/starting-point-and-click-pixel.png new file mode 100644 index 00000000000..d4cff77e736 Binary files /dev/null and b/docs/gdevelop5/behaviors/pathfinding/starting-point-and-click-pixel.png differ diff --git a/docs/gdevelop5/behaviors/physics/index.md b/docs/gdevelop5/behaviors/physics/index.md index 8ffdff29d92..b4ffc334a39 100644 --- a/docs/gdevelop5/behaviors/physics/index.md +++ b/docs/gdevelop5/behaviors/physics/index.md @@ -69,25 +69,25 @@ _perfectly elastic collision_. **Physics:** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://physics){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=physics){ .md-button .md-button--primary } -[![](hingeleverdemo.png){ width="320" }](https://editor.gdevelop.io/?project=example://physics) +[![](hingeleverdemo.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=physics) **Car Physics** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://car-physics){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=car-physics){ .md-button .md-button--primary } -[![](carphysics.png){ width="320" }](https://editor.gdevelop.io/?project=example://car-physics) +[![](carphysics.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=car-physics) **Object Gravity** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://object-gravity){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=object-gravity){ .md-button .md-button--primary } -[![](objectgravity.png){ width="320" }](https://editor.gdevelop.io/?project=example://object-gravity) +[![](objectgravity.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=object-gravity) ## Reference diff --git a/docs/gdevelop5/behaviors/physics3d/index.md b/docs/gdevelop5/behaviors/physics3d/index.md index fa2b0b4d781..cab1bd10f85 100644 --- a/docs/gdevelop5/behaviors/physics3d/index.md +++ b/docs/gdevelop5/behaviors/physics3d/index.md @@ -53,9 +53,9 @@ These behaviors make the character move according to player inputs automatically * [3D platformer multitouch controller mapper](/gdevelop5/objects/multitouch-joystick) * [3D shooter gamepad mapper](/gdevelop5/all-features/gamepad/) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-platformer){ .md-button .md-button--primary } -[![](platformer3d.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-platformer) +[![](platformer3d.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-platformer) ### Move a 3D shooter ("FPS") character @@ -66,9 +66,9 @@ These behaviors make the character move according to player inputs automatically * [3D shooter multitouch controller mapper](/gdevelop5/objects/multitouch-joystick) * [3D platformer gamepad mapper](/gdevelop5/all-features/gamepad/) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-first-person){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-first-person){ .md-button .md-button--primary } -[![](first-person.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-first-person) +[![](first-person.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-first-person) ## Move a 3D car with controls @@ -87,9 +87,9 @@ You may need to do the last 2 steps many times to finely tweak your game feel. !!! tip It can be a good idea to start from an example and change some properties to see how they affect the game feel. -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-car-coin-hunt){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-car-coin-hunt){ .md-button .md-button--primary } -[![](car-coin-hunt.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-car-coin-hunt) +[![](car-coin-hunt.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-car-coin-hunt) ### Choose a realistic world scale diff --git a/docs/gdevelop5/behaviors/platformer/index.md b/docs/gdevelop5/behaviors/platformer/index.md index eb8d444cf8c..ae2c79b0cfa 100644 --- a/docs/gdevelop5/behaviors/platformer/index.md +++ b/docs/gdevelop5/behaviors/platformer/index.md @@ -136,9 +136,9 @@ It's not easy to know how these values change the jump trajectory. The best is t **Platformer jump evaluator** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://platformer-jump-evaluator){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=platformer-jump-evaluator){ .md-button .md-button--primary } -[![](platformer-jump-evaluator.png){ width="320" }](https://editor.gdevelop.io/?project=example://platformer-jump-evaluator) +[![](platformer-jump-evaluator.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=platformer-jump-evaluator) #### Make characters wall jump @@ -158,18 +158,18 @@ The [advanced platformer movements](/gdevelop5/extensions/advanced-jump/referenc **Platformer** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=platformer){ .md-button .md-button--primary } -[![](platformer-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://platformer) +[![](platformer-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=platformer) **Parallax Scrolling** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://parallax-scrolling){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=parallax-scrolling){ .md-button .md-button--primary } -[![](parallaxscrollingbehavior.png){ width="320" }](https://editor.gdevelop.io/?project=example://parallax-scrolling) +[![](parallaxscrollingbehavior.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=parallax-scrolling) ## Reference diff --git a/docs/gdevelop5/behaviors/topdown/index.md b/docs/gdevelop5/behaviors/topdown/index.md index 289595de38d..7a8c84d3879 100644 --- a/docs/gdevelop5/behaviors/topdown/index.md +++ b/docs/gdevelop5/behaviors/topdown/index.md @@ -98,17 +98,17 @@ All theses values can also be changed at any time during the game using [events] **Space Shooter** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://space-shooter){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=space-shooter){ .md-button .md-button--primary } -[![](spaceshooter.png){ width="320" }](https://editor.gdevelop.io/?project=example://space-shooter) +[![](spaceshooter.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=space-shooter) **Isometric Game** (creates an illusion of 3D graphics within a 2D graphics game) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://isometric-game){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=isometric-game){ .md-button .md-button--primary } -[![](isometricgame.png){ width="320" }](https://editor.gdevelop.io/?project=example://isometric-game) +[![](isometricgame.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=isometric-game) ## Reference diff --git a/docs/gdevelop5/behaviors/tween/index.md b/docs/gdevelop5/behaviors/tween/index.md index e425135f9f8..44967d6a1fe 100644 --- a/docs/gdevelop5/behaviors/tween/index.md +++ b/docs/gdevelop5/behaviors/tween/index.md @@ -97,23 +97,23 @@ The [3D tween](/gdevelop5/extensions/tween3d) extension has additional actions d **Tween Test** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://tween-test){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=tween-test){ .md-button .md-button--primary } -[![](tweentest.png){ width="320" }](https://editor.gdevelop.io/?project=example://tween-test) +[![](tweentest.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=tween-test) **Tween Animations** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://tween-animations){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=tween-animations){ .md-button .md-button--primary } -[![](tweenanimations.png){ width="320" }](https://editor.gdevelop.io/?project=example://tween-animations) +[![](tweenanimations.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=tween-animations) **Pairs** -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://pairs){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=pairs){ .md-button .md-button--primary } -[![](pairs.png){ width="320" }](https://editor.gdevelop.io/?project=example://pairs) +[![](pairs.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=pairs) ## Reference diff --git a/docs/gdevelop5/events/functions/asynchronous-functions/index.md b/docs/gdevelop5/events/functions/asynchronous-functions/index.md index b52057f87fd..c651519d781 100644 --- a/docs/gdevelop5/events/functions/asynchronous-functions/index.md +++ b/docs/gdevelop5/events/functions/asynchronous-functions/index.md @@ -25,7 +25,7 @@ Don't forget to use the action "End asynchronous function" to mark the end of th !!! note - The full example which contains an asynchronous function with events or JavaScript can be open is accessible online ([Open the example in GDevelop](https://editor.gdevelop.io/?project=example://parse-json-from-api)). + The full example which contains an asynchronous function with events or JavaScript can be open is accessible online ([Open the example in GDevelop](https://editor.gdevelop.io/?create-from-example=parse-json-from-api)). ### Use time-based actions in asynchronous functions diff --git a/docs/gdevelop5/events/js-code/index.md b/docs/gdevelop5/events/js-code/index.md index 88d036cc76b..0d76f8d5488 100644 --- a/docs/gdevelop5/events/js-code/index.md +++ b/docs/gdevelop5/events/js-code/index.md @@ -38,16 +38,16 @@ This array is exactly like what an action or a condition would use. For example, **Text to speech** -[![](javascripttexttospeechexample.png){ width="320" }](https://editor.gdevelop.io/?project=example://text-to-speech) +[![](javascripttexttospeechexample.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=text-to-speech) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://text-to-speech){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=text-to-speech){ .md-button .md-button--primary } **JavaScript blocks in platformer** -[![](platformerjavascriptblocksexample.png){ width="320" }](https://editor.gdevelop.io/?project=example://javascript-blocks-in-platformer) +[![](platformerjavascriptblocksexample.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=javascript-blocks-in-platformer) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://javascript-blocks-in-platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=javascript-blocks-in-platformer){ .md-button .md-button--primary } ## Documentation 📚 diff --git a/docs/gdevelop5/events/repeat/index.md b/docs/gdevelop5/events/repeat/index.md index c07dac24b05..6c6c77d1789 100644 --- a/docs/gdevelop5/events/repeat/index.md +++ b/docs/gdevelop5/events/repeat/index.md @@ -31,12 +31,12 @@ Alternatively, click on the *"Plus" icon* in the toolbar or on *"Add..."* at the **Diagonals** -[![](diagonals.png){ width="320" }](https://editor.gdevelop.io/?project=example://find-diagonals) +[![](diagonals.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=find-diagonals) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://find-diagonals){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=find-diagonals){ .md-button .md-button--primary } **Laser** -[![](lasernew.png){ width="320" }](https://editor.gdevelop.io/?project=example://zombie-laser) +[![](lasernew.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=zombie-laser) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://zombie-laser){ .md-button .md-button--primary } \ No newline at end of file +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=zombie-laser){ .md-button .md-button--primary } \ No newline at end of file diff --git a/docs/gdevelop5/events/while/index.md b/docs/gdevelop5/events/while/index.md index 05cb3ca7725..8026cb01f33 100644 --- a/docs/gdevelop5/events/while/index.md +++ b/docs/gdevelop5/events/while/index.md @@ -31,10 +31,10 @@ Alternatively, click on the *"Plus" icon* in the toolbar or on *"Add..."* at the **See it in action!** 🎮 Open these examples online. -[![](spaceshooternew.png){ width="320" }](https://editor.gdevelop.io/?project=example://asteroids) +[![](spaceshooternew.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=asteroids) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://asteroids){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=asteroids){ .md-button .md-button--primary } -[![](/gdevelop5/behaviors/pathfinding/pathfindinggeneral.png){ width="320" }](https://editor.gdevelop.io/?project=example://pathfinding) +[![](/gdevelop5/behaviors/pathfinding/pathfindinggeneral.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=pathfinding) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://pathfinding){ .md-button .md-button--primary } \ No newline at end of file +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=pathfinding){ .md-button .md-button--primary } \ No newline at end of file diff --git a/docs/gdevelop5/extensions/advanced-jump/index.md b/docs/gdevelop5/extensions/advanced-jump/index.md index 5900bf2bc70..9db9f12f398 100644 --- a/docs/gdevelop5/extensions/advanced-jump/index.md +++ b/docs/gdevelop5/extensions/advanced-jump/index.md @@ -16,7 +16,7 @@ This extension provides behaviors to: * Dash toward the floor * Do coyote time, also known as "ledge tolerance". It lets players jumping even after their character is no longer touching the ground for a given amount of time. It aims to give players a feeling of control and reduce frustration. -An example allows to check it out ([open the project online](https://editor.gdevelop.io/?project=example://platformer-moves)). +An example allows to check it out ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer-moves)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/advanced-projectile/details.md b/docs/gdevelop5/extensions/advanced-projectile/details.md index 440cb05ddfd..c740a31fc4f 100644 --- a/docs/gdevelop5/extensions/advanced-projectile/details.md +++ b/docs/gdevelop5/extensions/advanced-projectile/details.md @@ -21,7 +21,7 @@ Watch how this extension works and learn how to use it in your own game. Try out this extension in a game example: -[Open in GDevelop](https://editor.gdevelop.io/?project=example://advanced-projectile){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=advanced-projectile){ .md-button .md-button--primary } ## Simulate a rocket diff --git a/docs/gdevelop5/extensions/auto-typing/index.md b/docs/gdevelop5/extensions/auto-typing/index.md index 31db67c9ccc..34da93bf5e1 100644 --- a/docs/gdevelop5/extensions/auto-typing/index.md +++ b/docs/gdevelop5/extensions/auto-typing/index.md @@ -11,7 +11,7 @@ Reveal a text one letter after the other (a "typewriter" effect). It can be used for dialogue scenes or visual novels on Text and Bitmap Text objects. -The top-down RPG example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://top-down-rpg)). +The top-down RPG example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=top-down-rpg)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/billboard/index.md b/docs/gdevelop5/extensions/billboard/index.md index 879ec40dc29..11aaa351609 100644 --- a/docs/gdevelop5/extensions/billboard/index.md +++ b/docs/gdevelop5/extensions/billboard/index.md @@ -9,7 +9,7 @@ Make 3D objects always face camera, appearing as 2D sprites in 3D scenes. Rotate 3D objects to make them face the camera and appear like 2D sprite. -The 3D racing game example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://3d-racing-game)). +The 3D racing game example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-racing-game)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/boids-movement/details.md b/docs/gdevelop5/extensions/boids-movement/details.md index 3a12778b706..399306e61af 100644 --- a/docs/gdevelop5/extensions/boids-movement/details.md +++ b/docs/gdevelop5/extensions/boids-movement/details.md @@ -11,9 +11,9 @@ Simulates swarms or flocks movement following the separation, alignment, cohesio **Fish school example** -[Open in GDevelop](https://editor.gdevelop.io/?project=example://fish-school){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=fish-school){ .md-button .md-button--primary } -[![](fish-school-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://fish-school) +[![](fish-school-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=fish-school) !!! tip diff --git a/docs/gdevelop5/extensions/boids-movement/index.md b/docs/gdevelop5/extensions/boids-movement/index.md index 8608c486840..f33c9da355a 100644 --- a/docs/gdevelop5/extensions/boids-movement/index.md +++ b/docs/gdevelop5/extensions/boids-movement/index.md @@ -9,7 +9,7 @@ Simulates flocks movement. Simulates swarms or flocks movement following the separation, alignment, cohesion principles. The flock can be attracted to a location or avoid some obstacles. -The [Fish School example](https://editor.gdevelop.io/?project=example://fish-school) shows how properties impact on the movement. +The [Fish School example](https://editor.gdevelop.io/?create-from-example=fish-school) shows how properties impact on the movement. [Read more...](/gdevelop5/extensions/boids-movement/details/) diff --git a/docs/gdevelop5/extensions/bounce/index.md b/docs/gdevelop5/extensions/bounce/index.md index 1bc8df14854..a0791a708d1 100644 --- a/docs/gdevelop5/extensions/bounce/index.md +++ b/docs/gdevelop5/extensions/bounce/index.md @@ -11,7 +11,7 @@ Provides an action to make the object bounce from another object it just touched > ⚠️ This *won't work* with Physics engine or Platformer characters. This is working with objects that are moved using actions or behaviors using **the forces**. -The Breakout-like example uses this extension to make balls bounce ([open the project online](https://editor.gdevelop.io/?project=example://breakout)). +The Breakout-like example uses this extension to make balls bounce ([open the project online](https://editor.gdevelop.io/?create-from-example=breakout)). [Read more...](/gdevelop5/extensions/bounce/explanations) diff --git a/docs/gdevelop5/extensions/checkpoints/index.md b/docs/gdevelop5/extensions/checkpoints/index.md index 09880b74bd8..631387c81f2 100644 --- a/docs/gdevelop5/extensions/checkpoints/index.md +++ b/docs/gdevelop5/extensions/checkpoints/index.md @@ -9,7 +9,7 @@ Respawn objects at checkpoints. This extension can save checkpoints and respawn objects at the last one. -The platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://platformer)). +The platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/countdown-timer/index.md b/docs/gdevelop5/extensions/countdown-timer/index.md index 76602a38852..6055ca1d08f 100644 --- a/docs/gdevelop5/extensions/countdown-timer/index.md +++ b/docs/gdevelop5/extensions/countdown-timer/index.md @@ -14,7 +14,7 @@ A timer against the clock to create timer challenges in your projects. Countdown This extension provides a timer against the clock to create timed challenges in your projects. You can set an initial time in seconds and then start the timer to count down. The extension includes actions to start or reset the timer, stop it at zero or allow negative numbers, and get the time remaining on the timer via an expression. With this extension, you will be able to easily add countdown functionality. -This extension is deprecated. Prefer using a timer and a substraction like in the countdown timer example ([open the project online](https://editor.gdevelop.io/?project=example://count-down-timer)). +This extension is deprecated. Prefer using a timer and a substraction like in the countdown timer example ([open the project online](https://editor.gdevelop.io/?create-from-example=count-down-timer)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/curved-movement/details.md b/docs/gdevelop5/extensions/curved-movement/details.md index 9d667b5ab2c..6da5c421f2f 100644 --- a/docs/gdevelop5/extensions/curved-movement/details.md +++ b/docs/gdevelop5/extensions/curved-movement/details.md @@ -20,9 +20,9 @@ This extension allows to move objects on Bézier curve paths. A collection of small examples show how to use this extension. -[Open in GDevelop](https://editor.gdevelop.io/?project=example://curved-movement){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=curved-movement){ .md-button .md-button--primary } -[![](train-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://curved-movement) +[![](train-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=curved-movement) ## Create a path with Inkscape diff --git a/docs/gdevelop5/extensions/curved-movement/index.md b/docs/gdevelop5/extensions/curved-movement/index.md index 3efc303f00e..07f72141ea2 100644 --- a/docs/gdevelop5/extensions/curved-movement/index.md +++ b/docs/gdevelop5/extensions/curved-movement/index.md @@ -19,12 +19,12 @@ This extension can be used to: - Move enemies that follow a pattern - Animate decorations -A collection of [small examples](https://editor.gdevelop.io/?project=example://curved-movement) shows how to use this extension. +A collection of [small examples](https://editor.gdevelop.io/?create-from-example=curved-movement) shows how to use this extension. 2 examples use it: -- a 3D racing game ([open the project online](https://editor.gdevelop.io/?project=example://3d-racing-game)) -- a Zuma-like ([open the project online](https://editor.gdevelop.io/?project=example://smoothy)) +- a 3D racing game ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-racing-game)) +- a Zuma-like ([open the project online](https://editor.gdevelop.io/?create-from-example=smoothy)) [Read more...](/gdevelop5/extensions/curved-movement/details/) diff --git a/docs/gdevelop5/extensions/draggable-physics/index.md b/docs/gdevelop5/extensions/draggable-physics/index.md index 84c535fa1f4..295a1d061c8 100644 --- a/docs/gdevelop5/extensions/draggable-physics/index.md +++ b/docs/gdevelop5/extensions/draggable-physics/index.md @@ -15,7 +15,7 @@ Note: - This extension will only work on objects that have the physics behavior. - Kinematic physics mode is incompatible with this extension. The object will be changed to dynamic mode. -The Parking Jam example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://parking-jam)). +The Parking Jam example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=parking-jam)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/dungeon-generator/index.md b/docs/gdevelop5/extensions/dungeon-generator/index.md index 4ad3b8450f5..6d75e11b7be 100644 --- a/docs/gdevelop5/extensions/dungeon-generator/index.md +++ b/docs/gdevelop5/extensions/dungeon-generator/index.md @@ -26,7 +26,7 @@ Tips: - Use "NeighborCount(object)" expression to find good places to place treasure. A high amount of neighbors means that the tile is a nook or cranny. - Use "IsRoomEntrance" condition to identify hallway objects that are adjacent to a room -An example shows how to procedurally generate dungeons or caves ([open the project online](https://editor.gdevelop.io/?project=example://dungeon-generator)). +An example shows how to procedurally generate dungeons or caves ([open the project online](https://editor.gdevelop.io/?create-from-example=dungeon-generator)). [Read more...](https://victrisgames.itch.io/extension-dungeon-generator) diff --git a/docs/gdevelop5/extensions/ellipse-movement/index.md b/docs/gdevelop5/extensions/ellipse-movement/index.md index 2b88f5f32e9..59c35a4d717 100644 --- a/docs/gdevelop5/extensions/ellipse-movement/index.md +++ b/docs/gdevelop5/extensions/ellipse-movement/index.md @@ -21,7 +21,7 @@ It can be used for: - Making objects float, such as powerups or coins - Moving platforms - Enemy movement patterns -- Making a player constantly turn right or left ([open the project online](https://editor.gdevelop.io/?project=example://star-seeker)) +- Making a player constantly turn right or left ([open the project online](https://editor.gdevelop.io/?create-from-example=star-seeker)) !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/fire-bullet/details.md b/docs/gdevelop5/extensions/fire-bullet/details.md index 5d293a43797..0b0e1c30364 100644 --- a/docs/gdevelop5/extensions/fire-bullet/details.md +++ b/docs/gdevelop5/extensions/fire-bullet/details.md @@ -31,9 +31,9 @@ Bullets can be shot in a direction given by an [angle](/gdevelop5/tutorials/basi **Space Shooter** -[Open in GDevelop](https://editor.gdevelop.io/?project=example://space-shooter){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=space-shooter){ .md-button .md-button--primary } -[![](space-shooter-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://space-shooter) +[![](space-shooter-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=space-shooter) ### Fire to the cursor @@ -44,9 +44,9 @@ Bullets can be shot to a position with the **Fire bullet toward an position** ac **Conviction of Gun Dude** -[Open in GDevelop](https://editor.gdevelop.io/?project=example://conviction-of-gun-dude-desktop){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=conviction-of-gun-dude-desktop){ .md-button .md-button--primary } -[![](conviction-dude-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://conviction-of-gun-dude-desktop) +[![](conviction-dude-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=conviction-of-gun-dude-desktop) ## Fire several bullets at once @@ -58,9 +58,9 @@ To fire bullets from 2 cannons, the **Fire bullet toward an angle** action can b **Firing patterns example** -[Open in GDevelop](https://editor.gdevelop.io/?project=example://firing-patterns){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=firing-patterns){ .md-button .md-button--primary } -[![](fire-bullet-2-points-in-game.png)](https://editor.gdevelop.io/?project=example://firing-patterns) +[![](fire-bullet-2-points-in-game.png)](https://editor.gdevelop.io/?create-from-example=firing-patterns) ### Fire spreading bullets @@ -76,9 +76,9 @@ With these property values, the **fire** action fires 3 bullets evenly spread on **Fire bullet example** -[Open in GDevelop](https://editor.gdevelop.io/?project=example://fire-bullet){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=fire-bullet){ .md-button .md-button--primary } -[![](multi-fire-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://fire-bullet) +[![](multi-fire-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=fire-bullet) ### Fire like a shotgun diff --git a/docs/gdevelop5/extensions/fire-bullet/index.md b/docs/gdevelop5/extensions/fire-bullet/index.md index dacc832e0a0..ddf06c1ede1 100644 --- a/docs/gdevelop5/extensions/fire-bullet/index.md +++ b/docs/gdevelop5/extensions/fire-bullet/index.md @@ -12,7 +12,7 @@ This extension allows objects to fire bullets. To use it, add the behavior to th The properties of the behavior can be used to customize: - Cooldown between shots -- Firing multiple bullets at a time ([open the project online](https://editor.gdevelop.io/?project=example://fire-bullet)) +- Firing multiple bullets at a time ([open the project online](https://editor.gdevelop.io/?create-from-example=fire-bullet)) - Ammo management - Overheat @@ -21,10 +21,10 @@ The bullets are automatically given a permanent force to make them move in the 2 It can be used for: -- Twin-stick shooters ([open the project online](https://editor.gdevelop.io/?project=example://conviction-of-gun-dude-desktop)) -- Shoot'em up ([open the project online](https://editor.gdevelop.io/?project=example://space-shooter)) +- Twin-stick shooters ([open the project online](https://editor.gdevelop.io/?create-from-example=conviction-of-gun-dude-desktop)) +- Shoot'em up ([open the project online](https://editor.gdevelop.io/?create-from-example=space-shooter)) -A simple example shows how to make firing patterns ([open the project online](https://editor.gdevelop.io/?project=example://firing-patterns)). +A simple example shows how to make firing patterns ([open the project online](https://editor.gdevelop.io/?create-from-example=firing-patterns)). [Read more...](/gdevelop5/extensions/fire-bullet/details) diff --git a/docs/gdevelop5/extensions/first-person-camera/index.md b/docs/gdevelop5/extensions/first-person-camera/index.md index 9a60b6c257c..7cc26110c98 100644 --- a/docs/gdevelop5/extensions/first-person-camera/index.md +++ b/docs/gdevelop5/extensions/first-person-camera/index.md @@ -11,7 +11,7 @@ Move the camera to look though objects eyes. This extension can be used with the "Mouse pointer lock" or "Gamepad" extension to build a first person camera. -The first person example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://3d-first-person)). +The first person example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-first-person)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/gamepads/index.md b/docs/gdevelop5/extensions/gamepads/index.md index e38591e501b..2cbdbf78dc5 100644 --- a/docs/gdevelop5/extensions/gamepads/index.md +++ b/docs/gdevelop5/extensions/gamepads/index.md @@ -18,7 +18,7 @@ It gives access to: - vibration, - automatic "gamepad mapper" behaviors for 2D and 3D movement behaviors (platformer characters, top-down movement, 3D character etc...). Add one of these to the object with the movement behavior (i.e: the player most of the time) and the behavior will then be controlled automatically by the gamepad (it works by reading the gamepad state and simulating controls). No need for additional events to make it work once the behaviors are set up. -The Bomberman-like example handles 4 players with gamepads ([open the project online](https://editor.gdevelop.io/?project=example://goose-bomberman)). +The Bomberman-like example handles 4 players with gamepads ([open the project online](https://editor.gdevelop.io/?create-from-example=goose-bomberman)). [Read more...](/gdevelop5/all-features/gamepad) diff --git a/docs/gdevelop5/extensions/health/index.md b/docs/gdevelop5/extensions/health/index.md index 2e1d55b63c7..0a5e65d29c0 100644 --- a/docs/gdevelop5/extensions/health/index.md +++ b/docs/gdevelop5/extensions/health/index.md @@ -22,7 +22,7 @@ It can be used on: - NPCs - Inanimate objects (for insance breakable doors or mining rocks) -The top-down RPG example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://top-down-rpg)). +The top-down RPG example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=top-down-rpg)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/hedgehog-platformer/index.md b/docs/gdevelop5/extensions/hedgehog-platformer/index.md index b30644f17ab..18d2d3fc106 100644 --- a/docs/gdevelop5/extensions/hedgehog-platformer/index.md +++ b/docs/gdevelop5/extensions/hedgehog-platformer/index.md @@ -14,7 +14,7 @@ Jump and run on platforms at 360°. A platformer engine for Sonic-like games. -A small demo shows how to use this extension ([open the project online](https://editor.gdevelop.io/?project=example://360°-platformer)). +A small demo shows how to use this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=360°-platformer)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/height-map3d/details.md b/docs/gdevelop5/extensions/height-map3d/details.md index 54f4a1af584..7b7809248ec 100644 --- a/docs/gdevelop5/extensions/height-map3d/details.md +++ b/docs/gdevelop5/extensions/height-map3d/details.md @@ -20,9 +20,9 @@ This extension allows to build a terrain with hills where objects with the 3D ph Basic terrains can also be generated directly inside GDevelop using the [noise extension](/gdevelop5/extensions/noise). -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-endless-terrain){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-endless-terrain){ .md-button .md-button--primary } -[![](endless-terrain.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-endless-terrain) +[![](endless-terrain.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-endless-terrain) ## Avoid stairs-like height maps diff --git a/docs/gdevelop5/extensions/height-map3d/index.md b/docs/gdevelop5/extensions/height-map3d/index.md index 32b4cc7f714..28a78bd33a2 100644 --- a/docs/gdevelop5/extensions/height-map3d/index.md +++ b/docs/gdevelop5/extensions/height-map3d/index.md @@ -17,7 +17,7 @@ A terrain with hills where objects with the 3D physics behavior can stand. A terrain can be built from: - an image file -- noise function ([open the project online](https://editor.gdevelop.io/?project=example://3d-endless-terrain)) +- noise function ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-endless-terrain)) [Read more...](/gdevelop5/extensions/height-map3d/details) diff --git a/docs/gdevelop5/extensions/hexagonal-grid/index.md b/docs/gdevelop5/extensions/hexagonal-grid/index.md index c815f48d6e8..5720d9e3e67 100644 --- a/docs/gdevelop5/extensions/hexagonal-grid/index.md +++ b/docs/gdevelop5/extensions/hexagonal-grid/index.md @@ -12,9 +12,9 @@ It allows to snap objects on a 2D hexagonal grid. It's useful for: - level editors -- building systems ([open the city builder example online](https://editor.gdevelop.io/?project=example://city-builder)) +- building systems ([open the city builder example online](https://editor.gdevelop.io/?create-from-example=city-builder)) -A [simple example](https://editor.gdevelop.io/?project=example://snap-object-to-grid) shows how to snap objects that are dragged with the mouse. +A [simple example](https://editor.gdevelop.io/?create-from-example=snap-object-to-grid) shows how to snap objects that are dragged with the mouse. !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/link-tools/details.md b/docs/gdevelop5/extensions/link-tools/details.md index 537ee03b0e5..68b7478d674 100644 --- a/docs/gdevelop5/extensions/link-tools/details.md +++ b/docs/gdevelop5/extensions/link-tools/details.md @@ -7,13 +7,13 @@ This extension allows to create graphs (like a road networks) and use it to find 3 examples illustrate how this can be used in games: -- Match-3 game: a Bust-a-Move clone ([open the project online](https://editor.gdevelop.io/?project=example://bim-bam)) +- Match-3 game: a Bust-a-Move clone ([open the project online](https://editor.gdevelop.io/?create-from-example=bim-bam)) - to find cluster of bubbles of the same colors - to find bubbles that no longer held when some bubbles are removed -- Tactical games: selection and movement of units on a hexagonal grid ([open the project online](https://editor.gdevelop.io/?project=example://tactical-game-grid-movement)) +- Tactical games: selection and movement of units on a hexagonal grid ([open the project online](https://editor.gdevelop.io/?create-from-example=tactical-game-grid-movement)) - to find cells where a unit can go - to make the unit move to the selected cell -- City builders: evaluator demo ([open the project online](https://editor.gdevelop.io/?project=example://city-builder)) +- City builders: evaluator demo ([open the project online](https://editor.gdevelop.io/?create-from-example=city-builder)) - to evaluate distance between houses and facilities ## Understand graphs diff --git a/docs/gdevelop5/extensions/link-tools/index.md b/docs/gdevelop5/extensions/link-tools/index.md index f35a040b65e..2dbfab81e45 100644 --- a/docs/gdevelop5/extensions/link-tools/index.md +++ b/docs/gdevelop5/extensions/link-tools/index.md @@ -14,9 +14,9 @@ This provides: For instance, it can be helpful for grid-based games like: -* Match-3 ([open the project online](https://editor.gdevelop.io/?project=example://bim-bam)) -* Tactical ([open the project online](https://editor.gdevelop.io/?project=example://tactical-game-grid-movement)) -* City builders ([open the project online](https://editor.gdevelop.io/?project=example://city-builder)) +* Match-3 ([open the project online](https://editor.gdevelop.io/?create-from-example=bim-bam)) +* Tactical ([open the project online](https://editor.gdevelop.io/?create-from-example=tactical-game-grid-movement)) +* City builders ([open the project online](https://editor.gdevelop.io/?create-from-example=city-builder)) * Point and click (bypass obstacles with a predetermined polygonal chain) [Read more...](/gdevelop5/all-features/extensions/linked-objects-tools) diff --git a/docs/gdevelop5/extensions/marching-squares/details.md b/docs/gdevelop5/extensions/marching-squares/details.md index f780f99288a..1d7a53a4576 100644 --- a/docs/gdevelop5/extensions/marching-squares/details.md +++ b/docs/gdevelop5/extensions/marching-squares/details.md @@ -7,12 +7,12 @@ This extension allows to build a scalar field and draw contour lines of it. 6 examples illustrate how this can be used in games: - * a liquid effect demo ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-liquids)) - * a fog of wars demo ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-fog-of-war)) - * a platformer with destructible platforms ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-platforms-painter)) - * a QIX-like game that paint territories ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-qix)) - * a top-down relief with physics ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-terraforming)) - * an island generator ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-island-generator)) + * a liquid effect demo ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-liquids)) + * a fog of wars demo ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-fog-of-war)) + * a platformer with destructible platforms ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-platforms-painter)) + * a QIX-like game that paint territories ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-qix)) + * a top-down relief with physics ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-terraforming)) + * an island generator ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-island-generator)) ## Understand scalar fields diff --git a/docs/gdevelop5/extensions/marching-squares/index.md b/docs/gdevelop5/extensions/marching-squares/index.md index 0b9d0c31c00..722c61fa591 100644 --- a/docs/gdevelop5/extensions/marching-squares/index.md +++ b/docs/gdevelop5/extensions/marching-squares/index.md @@ -9,12 +9,12 @@ Draw dynamically changing shapes like a fog of war. It can be helpful for: - * Liquid effects like water, blobs or lava ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-liquids)) - * Fog of wars ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-fog-of-war)) - * Platformer with destructible platforms ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-platforms-painter)) - * Dynamically paint territories ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-qix)) - * Top-down relief with physics ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-terraforming)) - * Island generator ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-island-generator)) + * Liquid effects like water, blobs or lava ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-liquids)) + * Fog of wars ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-fog-of-war)) + * Platformer with destructible platforms ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-platforms-painter)) + * Dynamically paint territories ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-qix)) + * Top-down relief with physics ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-terraforming)) + * Island generator ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-island-generator)) [Read more...](/gdevelop5/extensions/marching-squares/details) diff --git a/docs/gdevelop5/extensions/mouse-pointer-lock/index.md b/docs/gdevelop5/extensions/mouse-pointer-lock/index.md index 041466c9dd2..5b80d423fef 100644 --- a/docs/gdevelop5/extensions/mouse-pointer-lock/index.md +++ b/docs/gdevelop5/extensions/mouse-pointer-lock/index.md @@ -9,7 +9,7 @@ Lock and hide mouse pointer for unlimited movement (e.g., FPS mouse look). This behavior removes the limit on the distance the mouse can move and hides the cursor. -For example, a user can rotate or continue to manipulate an object by moving the mouse endlessly ([open the project online](https://editor.gdevelop.io/?project=example://mouse-pointer-lock)). +For example, a user can rotate or continue to manipulate an object by moving the mouse endlessly ([open the project online](https://editor.gdevelop.io/?create-from-example=mouse-pointer-lock)). Without the pointer lock, the rotation or operation will stop the moment the pointer reaches the edge of the browser or screen. Game players don't have to worry about leaving the gameplay area or accidentally clicking on another application that moves the mouse focus away from the game. diff --git a/docs/gdevelop5/extensions/nav-mesh-pathfinding/index.md b/docs/gdevelop5/extensions/nav-mesh-pathfinding/index.md index 62f4e9a9b0a..97d9fa4533a 100644 --- a/docs/gdevelop5/extensions/nav-mesh-pathfinding/index.md +++ b/docs/gdevelop5/extensions/nav-mesh-pathfinding/index.md @@ -17,7 +17,7 @@ In comparison to the built-in pathfinding behavior, this one aims to: - better respect obstacle shapes - find paths faster if obstacles don't move -The isometric example shows how to use this extension to move a character to a destination ([open the project online](https://editor.gdevelop.io/?project=example://isometric-game)). +The isometric example shows how to use this extension to move a character to a destination ([open the project online](https://editor.gdevelop.io/?create-from-example=isometric-game)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/noise/index.md b/docs/gdevelop5/extensions/noise/index.md index b2f3fd13af6..5114653be8d 100644 --- a/docs/gdevelop5/extensions/noise/index.md +++ b/docs/gdevelop5/extensions/noise/index.md @@ -9,7 +9,7 @@ Generate noise values for procedural generation. Noise can be useful for many procedural generation cases such as: -- Terrain, top down or side view ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-island-generator)) +- Terrain, top down or side view ([open the project online](https://editor.gdevelop.io/?create-from-example=marching-squares-island-generator)) - Object positioning (tree, stars...) - Curves (roads, rivers...) - Textures (fog, milky way...) diff --git a/docs/gdevelop5/extensions/object-slicer/index.md b/docs/gdevelop5/extensions/object-slicer/index.md index 55437c83f42..32831f15eb0 100644 --- a/docs/gdevelop5/extensions/object-slicer/index.md +++ b/docs/gdevelop5/extensions/object-slicer/index.md @@ -15,7 +15,7 @@ Tips: - Adjust the collision mask to control where pieces will be created, - Pieces are linked to the original object which can be used in other events (i.e. explode away from the original object) -This example shows how to slice objects: [open the project online](https://editor.gdevelop.io/?project=example://object-slicer.json). +This example shows how to slice objects: [open the project online](https://editor.gdevelop.io/?create-from-example=object-slicer.json). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/object-stack/index.md b/docs/gdevelop5/extensions/object-stack/index.md index 08a977b6fe5..dcc4e86db2a 100644 --- a/docs/gdevelop5/extensions/object-stack/index.md +++ b/docs/gdevelop5/extensions/object-stack/index.md @@ -20,9 +20,9 @@ It can be helpful for: 3 examples use it: -* a card system demonstration ([open the project online](https://editor.gdevelop.io/?project=example://card-system)) -* a Klondike solitaire ([open the project online](https://editor.gdevelop.io/?project=example://klondike-solitaire)) -* a Zuma-like ([open the project online](https://editor.gdevelop.io/?project=example://smoothy)) +* a card system demonstration ([open the project online](https://editor.gdevelop.io/?create-from-example=card-system)) +* a Klondike solitaire ([open the project online](https://editor.gdevelop.io/?create-from-example=klondike-solitaire)) +* a Zuma-like ([open the project online](https://editor.gdevelop.io/?create-from-example=smoothy)) !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/orbiting-objects/index.md b/docs/gdevelop5/extensions/orbiting-objects/index.md index 8bd23e0bd68..fda54eae49a 100644 --- a/docs/gdevelop5/extensions/orbiting-objects/index.md +++ b/docs/gdevelop5/extensions/orbiting-objects/index.md @@ -30,7 +30,7 @@ Example uses: - Interesting animations of stacked objects that can function as a single entity - Visual cue for an active character power-up, such as invincibility -An example shows how to use this extension ([open the project online](https://editor.gdevelop.io/?project=example://orbiting-objects)). +An example shows how to use this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=orbiting-objects)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/physics-character3danimator/index.md b/docs/gdevelop5/extensions/physics-character3danimator/index.md index a5522185288..7a08598a804 100644 --- a/docs/gdevelop5/extensions/physics-character3danimator/index.md +++ b/docs/gdevelop5/extensions/physics-character3danimator/index.md @@ -9,7 +9,7 @@ Change animations of 3D physics characters automatically. Automatically change the animationsof a 3D physics character based on movement and interaction with platform objects. -The 3D platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://3d-platformer)). +The 3D platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-platformer)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/physics-ellipse-movement3d/index.md b/docs/gdevelop5/extensions/physics-ellipse-movement3d/index.md index 7513303f7af..02de7f7362e 100644 --- a/docs/gdevelop5/extensions/physics-ellipse-movement3d/index.md +++ b/docs/gdevelop5/extensions/physics-ellipse-movement3d/index.md @@ -18,7 +18,7 @@ It can be used for: - Making objects float, such as powerups or coins - Moving platforms - Enemy movement patterns -- Making a player constantly turn right or left ([open the project online](https://editor.gdevelop.io/?project=example://star-seeker)) +- Making a player constantly turn right or left ([open the project online](https://editor.gdevelop.io/?create-from-example=star-seeker)) !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/pixel-perfect-movement/index.md b/docs/gdevelop5/extensions/pixel-perfect-movement/index.md index d4a42e841a9..1396d6324d0 100644 --- a/docs/gdevelop5/extensions/pixel-perfect-movement/index.md +++ b/docs/gdevelop5/extensions/pixel-perfect-movement/index.md @@ -13,8 +13,8 @@ This extension allows to seamlessly keep big pixels aligned when the object is s It can be used for: -* Pixel-perfect platformers ([open the project online](https://editor.gdevelop.io/?project=example://platformer-with-tilemap)) -* Align top-down characters on a grid ([open the project online](https://editor.gdevelop.io/?project=example://top-down-grid-movement)) +* Pixel-perfect platformers ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer-with-tilemap)) +* Align top-down characters on a grid ([open the project online](https://editor.gdevelop.io/?create-from-example=top-down-grid-movement)) !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/platformer-character-animator/index.md b/docs/gdevelop5/extensions/platformer-character-animator/index.md index 6608df66faf..565139fff20 100644 --- a/docs/gdevelop5/extensions/platformer-character-animator/index.md +++ b/docs/gdevelop5/extensions/platformer-character-animator/index.md @@ -9,7 +9,7 @@ Change animations and horizontal flipping of a platformer character automaticall Automatically change the animations and horizontal flipping of an object having the 2D platformer character behavior based on movement and interaction with platform objects. -The platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://platformer)). +The platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/platformer-trajectory/index.md b/docs/gdevelop5/extensions/platformer-trajectory/index.md index 47abf79ffc5..0f3523c6f12 100644 --- a/docs/gdevelop5/extensions/platformer-trajectory/index.md +++ b/docs/gdevelop5/extensions/platformer-trajectory/index.md @@ -9,7 +9,7 @@ Configure jumps by height/duration. AI tools for gap and ledge detection. For objects having the 2D platformer character behavior, this provides a behavior allowing to: -* Configure the height of a jump by automatically choosing the right jump speed ([open the project online](https://editor.gdevelop.io/?project=example://platformer-jump-evaluator)). +* Configure the height of a jump by automatically choosing the right jump speed ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer-jump-evaluator)). * Know when to jump to reach a platform (can be useful for AI). * Draw jump trajectories to check a level design. diff --git a/docs/gdevelop5/extensions/recolorizer/index.md b/docs/gdevelop5/extensions/recolorizer/index.md index 7a5e7e4d329..f3a9d0ad400 100644 --- a/docs/gdevelop5/extensions/recolorizer/index.md +++ b/docs/gdevelop5/extensions/recolorizer/index.md @@ -20,7 +20,7 @@ It can be used to: - Add small color variation to trees of a forest. - Restyle objects to match other assets. -An example shows how to change the 2 main colors of an object ([open the project online](https://editor.gdevelop.io/?project=example://recolorizer)). +An example shows how to change the 2 main colors of an object ([open the project online](https://editor.gdevelop.io/?create-from-example=recolorizer)). This extension is experimental and might no longer work in future version of GDevelop. The [color map effect](https://wiki.gdevelop.io/gdevelop5/interface/scene-editor/layer-effects/#color-map) is the prefered way to recolorize 2D objects. diff --git a/docs/gdevelop5/extensions/rectangle-movement/index.md b/docs/gdevelop5/extensions/rectangle-movement/index.md index 4427d2e556e..d7200595f8a 100644 --- a/docs/gdevelop5/extensions/rectangle-movement/index.md +++ b/docs/gdevelop5/extensions/rectangle-movement/index.md @@ -16,11 +16,11 @@ It can be used for: - Enemy movement patterns - Moving along the border of another object (inside, center, outside) -The platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://platformer)). +The platformer example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer)). -This game shows how to make objects move around the border of another object ([open the project online](https://editor.gdevelop.io/?project=example://moving-saw-platformer)). +This game shows how to make objects move around the border of another object ([open the project online](https://editor.gdevelop.io/?create-from-example=moving-saw-platformer)). -This example can be used to test different settings ([open the project online](https://editor.gdevelop.io/?project=example://rectangular-movement)). +This example can be used to test different settings ([open the project online](https://editor.gdevelop.io/?create-from-example=rectangular-movement)). !!! tip diff --git a/docs/gdevelop5/extensions/screen-wrap/index.md b/docs/gdevelop5/extensions/screen-wrap/index.md index 3aa2be47604..67f67483963 100644 --- a/docs/gdevelop5/extensions/screen-wrap/index.md +++ b/docs/gdevelop5/extensions/screen-wrap/index.md @@ -10,7 +10,7 @@ Teleport objects to opposite screen edge when exiting viewport. The teleport happens when the center point of the object crosses a border (this can be adjusted with an offset). By default, the borders of the wrapping area match the screen size, but they can also be changed. -The Asteroid-like example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://space-asteroids)). +The Asteroid-like example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=space-asteroids)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/scrollable-viewport/index.md b/docs/gdevelop5/extensions/scrollable-viewport/index.md index b34f8e22860..99a9d162676 100644 --- a/docs/gdevelop5/extensions/scrollable-viewport/index.md +++ b/docs/gdevelop5/extensions/scrollable-viewport/index.md @@ -11,7 +11,7 @@ Move a camera by dragging or with the scroll wheel. It can be used for -- Making a scroll view ([open the project online](https://editor.gdevelop.io/?project=example://scrollbar)) +- Making a scroll view ([open the project online](https://editor.gdevelop.io/?create-from-example=scrollbar)) - Dragging the camera on a top-down game !!! tip diff --git a/docs/gdevelop5/extensions/shake-object/index.md b/docs/gdevelop5/extensions/shake-object/index.md index e1bb31014f6..5424530bb9b 100644 --- a/docs/gdevelop5/extensions/shake-object/index.md +++ b/docs/gdevelop5/extensions/shake-object/index.md @@ -15,7 +15,7 @@ It can be used for: - Object slowly rocking back and forth (like a ship) - Simulate engine vibration, earthquake, or pulsing -The top-down RPG example uses this extension for damage animations ([open the project online](https://editor.gdevelop.io/?project=example://top-down-rpg)). +The top-down RPG example uses this extension for damage animations ([open the project online](https://editor.gdevelop.io/?create-from-example=top-down-rpg)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/shake-object3d/index.md b/docs/gdevelop5/extensions/shake-object3d/index.md index dc54489c4e7..4795e1f4c4f 100644 --- a/docs/gdevelop5/extensions/shake-object3d/index.md +++ b/docs/gdevelop5/extensions/shake-object3d/index.md @@ -9,7 +9,7 @@ Shake 3D objects. Shake 3D objects with translation and rotation. -The 3D racing game example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://3d-racing-game)). +The 3D racing game example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-racing-game)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/smooth-camera/index.md b/docs/gdevelop5/extensions/smooth-camera/index.md index 8db7ae4f2c5..560ef826531 100644 --- a/docs/gdevelop5/extensions/smooth-camera/index.md +++ b/docs/gdevelop5/extensions/smooth-camera/index.md @@ -10,7 +10,7 @@ Smoothly scroll to follow an object. The camera follows an object according to: - a frame rate independent catch-up speed to make the scrolling from smooth to strong -- a maximum speed to do linear following ([open the project online](https://editor.gdevelop.io/?project=example://platformer-with-tilemap)) or slow down the camera when teleporting the object +- a maximum speed to do linear following ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer-with-tilemap)) or slow down the camera when teleporting the object - a follow-free zone to avoid scrolling on small movements - an offset to see further in one direction - an extra delay and catch-up speed to give an impression of speed (useful for dash) diff --git a/docs/gdevelop5/extensions/snap-to-grid/index.md b/docs/gdevelop5/extensions/snap-to-grid/index.md index e77426a0a75..ca43b3f7603 100644 --- a/docs/gdevelop5/extensions/snap-to-grid/index.md +++ b/docs/gdevelop5/extensions/snap-to-grid/index.md @@ -14,7 +14,7 @@ It's useful for: - level editors - building systems -A [simple example](https://editor.gdevelop.io/?project=example://snap-object-to-grid) shows how to snap objects that are dragged with the mouse. +A [simple example](https://editor.gdevelop.io/?create-from-example=snap-object-to-grid) shows how to snap objects that are dragged with the mouse. !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/stay-on-screen/index.md b/docs/gdevelop5/extensions/stay-on-screen/index.md index 352a0cdef5e..7423aea29d5 100644 --- a/docs/gdevelop5/extensions/stay-on-screen/index.md +++ b/docs/gdevelop5/extensions/stay-on-screen/index.md @@ -9,7 +9,7 @@ Constrain object position to remain within the camera viewport boundaries. Force the object to stay visible on the screen by setting back its 2D position (X and Y coordinates) inside the viewport of the camera. -The shoot'em up example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://space-shooter)). +The shoot'em up example uses this extension ([open the project online](https://editor.gdevelop.io/?create-from-example=space-shooter)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/sticker/index.md b/docs/gdevelop5/extensions/sticker/index.md index 471317f79db..c4b4f6d4b00 100644 --- a/docs/gdevelop5/extensions/sticker/index.md +++ b/docs/gdevelop5/extensions/sticker/index.md @@ -13,7 +13,7 @@ This extension can be useful to: - Animate a skeleton - Delete an object with another one -An example allows to check it out ([open the project online](https://editor.gdevelop.io/?project=example://stick-objects)). +An example allows to check it out ([open the project online](https://editor.gdevelop.io/?create-from-example=stick-objects)). !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/third-person-camera/index.md b/docs/gdevelop5/extensions/third-person-camera/index.md index 867d8537972..a13c1ceb586 100644 --- a/docs/gdevelop5/extensions/third-person-camera/index.md +++ b/docs/gdevelop5/extensions/third-person-camera/index.md @@ -11,10 +11,10 @@ Move the camera to look at an object from a given distance with a rotation and It can be useful for: -- 3D platformer games ([open the project online](https://editor.gdevelop.io/?project=example://3d-platformer)) -- 3D racing games ([open the project online](https://editor.gdevelop.io/?project=example://3d-car-coin-hunt)) -- Orbit camera controls ([open the project online](https://editor.gdevelop.io/?project=example://3d-tile-based-city-builder)) -- Isometric-like point of view ([open the project online](https://editor.gdevelop.io/?project=example://3d-road-crosser)) +- 3D platformer games ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-platformer)) +- 3D racing games ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-car-coin-hunt)) +- Orbit camera controls ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-tile-based-city-builder)) +- Isometric-like point of view ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-road-crosser)) !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/top-down-corner-sliding/index.md b/docs/gdevelop5/extensions/top-down-corner-sliding/index.md index 2fb1b0f5471..eb511ff302b 100644 --- a/docs/gdevelop5/extensions/top-down-corner-sliding/index.md +++ b/docs/gdevelop5/extensions/top-down-corner-sliding/index.md @@ -16,8 +16,8 @@ In top-down games, players may have to go though gaps the same size as their ava It's used in these examples: -* a 3D Bomberman-like game ([open the project online](https://editor.gdevelop.io/?project=example://3d-bomber-bunny)) -* a 2D Bomberman-like game ([open the project online](https://editor.gdevelop.io/?project=example://goose-bomberman)) +* a 3D Bomberman-like game ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-bomber-bunny)) +* a 2D Bomberman-like game ([open the project online](https://editor.gdevelop.io/?create-from-example=goose-bomberman)) !!! tip diff --git a/docs/gdevelop5/extensions/tween3d/index.md b/docs/gdevelop5/extensions/tween3d/index.md index a1aa952ca07..560ab180570 100644 --- a/docs/gdevelop5/extensions/tween3d/index.md +++ b/docs/gdevelop5/extensions/tween3d/index.md @@ -16,7 +16,7 @@ Change 3D models proportions over time to make smooth animations like wobbling. It's used in this example: -* a 3D Bomberman-like game ([open the project online](https://editor.gdevelop.io/?project=example://3d-bomber-bunny)) +* a 3D Bomberman-like game ([open the project online](https://editor.gdevelop.io/?create-from-example=3d-bomber-bunny)) !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/extensions/ysort/index.md b/docs/gdevelop5/extensions/ysort/index.md index 821ffe178f4..1a9d602c5b2 100644 --- a/docs/gdevelop5/extensions/ysort/index.md +++ b/docs/gdevelop5/extensions/ysort/index.md @@ -11,8 +11,8 @@ Set the depth (Z-order) of the instance to the value of its Y position in the sc This is useful for: -- isometric games ([open the project online](https://editor.gdevelop.io/?project=example://isometric-game)) -- top-down games ([open the project online](https://editor.gdevelop.io/?project=example://top-down-grid-movement)) +- isometric games ([open the project online](https://editor.gdevelop.io/?create-from-example=isometric-game)) +- top-down games ([open the project online](https://editor.gdevelop.io/?create-from-example=top-down-grid-movement)) !!! tip Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide. diff --git a/docs/gdevelop5/objects/bbtext/index.md b/docs/gdevelop5/objects/bbtext/index.md index 87815abb97b..4e7f77e4d8b 100644 --- a/docs/gdevelop5/objects/bbtext/index.md +++ b/docs/gdevelop5/objects/bbtext/index.md @@ -59,9 +59,9 @@ All these properties can be modified using the actions and conditions of the obj Open these examples online. -[![](bbtext-example.jpg){ width="320" }](https://editor.gdevelop.io/?project=example://bbtext-object-demo) +[![](bbtext-example.jpg){ width="320" }](https://editor.gdevelop.io/?create-from-example=bbtext-object-demo) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://bbtext-object-demo){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=bbtext-object-demo){ .md-button .md-button--primary } ## Reference diff --git a/docs/gdevelop5/objects/light/index.md b/docs/gdevelop5/objects/light/index.md index 7d046e0a1c5..f149ab0d6f1 100644 --- a/docs/gdevelop5/objects/light/index.md +++ b/docs/gdevelop5/objects/light/index.md @@ -50,7 +50,7 @@ By providing a texture image, you can control the shape and pattern of the light ## Examples -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://lights){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=lights){ .md-button .md-button--primary } ## References diff --git a/docs/gdevelop5/objects/multitouch-joystick/index.md b/docs/gdevelop5/objects/multitouch-joystick/index.md index d01a14720aa..c811671e66a 100644 --- a/docs/gdevelop5/objects/multitouch-joystick/index.md +++ b/docs/gdevelop5/objects/multitouch-joystick/index.md @@ -35,9 +35,9 @@ The "Top-down multitouch controller mapper" behavior can be added to the charact Learn more about the [Top-Down Movement behavior](/gdevelop5/behaviors/topdown). -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://top-down-rpg){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=top-down-rpg){ .md-button .md-button--primary } -[![](top-down-rpg-multitouch-controls.png){ width="320" }](https://editor.gdevelop.io/?project=example://top-down-rpg) +[![](top-down-rpg-multitouch-controls.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=top-down-rpg) ### Move a platformer character @@ -59,25 +59,25 @@ The multitouch button behavior allows the developer to choose a button name. The Learn more about the [Platform Character behavior](/gdevelop5/behaviors/platformer). -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=platformer){ .md-button .md-button--primary } -[![](platformer-example-multitouch-controls.png){ width="320" }](https://editor.gdevelop.io/?project=example://platformer) +[![](platformer-example-multitouch-controls.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=platformer) ### Move a 3D platformer character The "3D platformer multitouch controller mapper" behavior can be added to a [3d physics character](/gdevelop5/behaviors/physics3d) to make the character move according to player touches automatically. -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-platformer){ .md-button .md-button--primary } -[![](/gdevelop5/behaviors/physics3d/platformer3d.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-platformer) +[![](/gdevelop5/behaviors/physics3d/platformer3d.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-platformer) ### Move a 3D shooter character The "3D shooter multitouch controller mapper" behavior can be added to a [3d physics character](/gdevelop5/behaviors/physics3d) to make the character move according to player touches automatically. -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://3d-first-person){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=3d-first-person){ .md-button .md-button--primary } -[![](/gdevelop5/behaviors/physics3d/first-person.png){ width="320" }](https://editor.gdevelop.io/?project=example://3d-first-person) +[![](/gdevelop5/behaviors/physics3d/first-person.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=3d-first-person) ### Move a character with a custom movement diff --git a/docs/gdevelop5/objects/particles_emitter/index.md b/docs/gdevelop5/objects/particles_emitter/index.md index 0497183c38a..8d3a59b18bf 100644 --- a/docs/gdevelop5/objects/particles_emitter/index.md +++ b/docs/gdevelop5/objects/particles_emitter/index.md @@ -47,9 +47,9 @@ You can also change the maximum number of particles rendered by the object on th Open these examples online. -[![](Examples1ParticleEmitterExplosions.png)](https://editor.gdevelop.io/?project=example://particles-explosions) +[![](Examples1ParticleEmitterExplosions.png)](https://editor.gdevelop.io/?create-from-example=particles-explosions) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://particles-explosions){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=particles-explosions){ .md-button .md-button--primary } [![](Examples2ParticleEmitterWishForge.png)](https://editor.gdevelop.io/?project=https://resources.gdevelop-app.com/examples/particle-effects-demo/particle-effects-demo.json) diff --git a/docs/gdevelop5/objects/resource-bar/index.md b/docs/gdevelop5/objects/resource-bar/index.md index 0fee915caac..52454f14b38 100644 --- a/docs/gdevelop5/objects/resource-bar/index.md +++ b/docs/gdevelop5/objects/resource-bar/index.md @@ -40,9 +40,9 @@ and without a background: Make sure to fill the "Unit width" with the dimension of the icon plus the margin (if any). -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://space-asteroids){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=space-asteroids){ .md-button .md-button--primary } -[![](/gdevelop5/objects/space-asteroids.png){ width="320" }](https://editor.gdevelop.io/?project=example://space-asteroids) +[![](/gdevelop5/objects/space-asteroids.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=space-asteroids) ## Create a continuous bar @@ -62,9 +62,9 @@ and without a buffer: ![](resource-bar-continuous-no-buffer.png) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://top-down-rpg){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=top-down-rpg){ .md-button .md-button--primary } -[![](../top-down-rpg-battle.png){ width="320" }](https://editor.gdevelop.io/?project=example://top-down-rpg) +[![](../top-down-rpg-battle.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=top-down-rpg) ## Update a bar according to a character life diff --git a/docs/gdevelop5/objects/shape_painter/index.md b/docs/gdevelop5/objects/shape_painter/index.md index ab2c2c87073..a79f489fea3 100644 --- a/docs/gdevelop5/objects/shape_painter/index.md +++ b/docs/gdevelop5/objects/shape_painter/index.md @@ -94,9 +94,9 @@ Like most objects, collisions can be detected by the shape painter object. Shap **See it in action!** 🎮 Open these examples online. -[![](shapepainterobject.png){ width="320" }](https://editor.gdevelop.io/?project=example://advanced-shape-based-painter) +[![](shapepainterobject.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=advanced-shape-based-painter) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://advanced-shape-based-painter){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=advanced-shape-based-painter){ .md-button .md-button--primary } ## Reference diff --git a/docs/gdevelop5/objects/sprite/index.md b/docs/gdevelop5/objects/sprite/index.md index 230c5b93492..c445608163c 100644 --- a/docs/gdevelop5/objects/sprite/index.md +++ b/docs/gdevelop5/objects/sprite/index.md @@ -160,19 +160,19 @@ Currently, the **Advanced options** button opens a window that allows you to tog **See it in action!** 🎮 Click on the images to open the examples online. -[![](./Examples1SquareSizeChange.png)](https://editor.gdevelop.io/?project=example://change-scale-of-sprites) +[![](./Examples1SquareSizeChange.png)](https://editor.gdevelop.io/?create-from-example=change-scale-of-sprites) ---- -[![](./Examples2ChangeAnimation.png)](https://editor.gdevelop.io/?project=example://change-sprite-animation) +[![](./Examples2ChangeAnimation.png)](https://editor.gdevelop.io/?create-from-example=change-sprite-animation) ---- -[![](./Examples3BallCreation.png)](https://editor.gdevelop.io/?project=example://change-sprite-color) +[![](./Examples3BallCreation.png)](https://editor.gdevelop.io/?create-from-example=change-sprite-color) ---- -[![](./Examples4PauseAnimation.png)](https://editor.gdevelop.io/?project=example://play-stop-sprite-animation) +[![](./Examples4PauseAnimation.png)](https://editor.gdevelop.io/?create-from-example=play-stop-sprite-animation) ## Reference diff --git a/docs/gdevelop5/objects/text/index.md b/docs/gdevelop5/objects/text/index.md index 0269415cb53..0ed262fac99 100644 --- a/docs/gdevelop5/objects/text/index.md +++ b/docs/gdevelop5/objects/text/index.md @@ -78,15 +78,15 @@ Text objects are efficient for displaying text, but keep these performance tips Manipulate a Text Object -[![](changetextexample1.png){ width="320" }](https://editor.gdevelop.io/?project=example://manipulate-text-object) +[![](changetextexample1.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=manipulate-text-object) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://manipulate-text-object){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=manipulate-text-object){ .md-button .md-button--primary } Typewriter effect from extension -[![](type-ontexteffectexample.png){ width="320" }](https://editor.gdevelop.io/?project=example://type-on-text-effect) +[![](type-ontexteffectexample.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=type-on-text-effect) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://type-on-text-effect){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=type-on-text-effect){ .md-button .md-button--primary } ## Reference diff --git a/docs/gdevelop5/objects/text_entry/index.md b/docs/gdevelop5/objects/text_entry/index.md index 69032879432..aa831db4e84 100644 --- a/docs/gdevelop5/objects/text_entry/index.md +++ b/docs/gdevelop5/objects/text_entry/index.md @@ -45,9 +45,9 @@ Using events, it is possible to enable or disable the "Text entry" object. Event Open these examples online. -[![](textexample.png){ width="320" }](https://editor.gdevelop.io/?project=example://text-entry-object) +[![](textexample.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=text-entry-object) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://text-entry-object){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=text-entry-object){ .md-button .md-button--primary } ## Reference diff --git a/docs/gdevelop5/objects/tiled_sprite/index.md b/docs/gdevelop5/objects/tiled_sprite/index.md index c96292dca01..acfefb428cc 100644 --- a/docs/gdevelop5/objects/tiled_sprite/index.md +++ b/docs/gdevelop5/objects/tiled_sprite/index.md @@ -54,9 +54,9 @@ You can use events to manipulate the scale and positioning of tiled sprite objec **See it in action!** 🎮 Open this example online. -[![](Examples1PlatformerTiledSprite.png)](https://editor.gdevelop.io/?project=example://old-platformer) +[![](Examples1PlatformerTiledSprite.png)](https://editor.gdevelop.io/?create-from-example=old-platformer) -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://old-platformer){ .md-button .md-button--primary } +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=old-platformer){ .md-button .md-button--primary } ## Reference diff --git a/docs/gdevelop5/objects/tilemap/index.md b/docs/gdevelop5/objects/tilemap/index.md index 02beefc74a6..e73405dfbd3 100644 --- a/docs/gdevelop5/objects/tilemap/index.md +++ b/docs/gdevelop5/objects/tilemap/index.md @@ -10,9 +10,9 @@ If you want to build **a Tilemap directly inside GDevelop**, prefer to use the [ 3 examples are using external tile maps: - * a platformer with ladders and jumpthrus ([open the project online](https://editor.gdevelop.io/?project=example://platformer-with-tilemap)) - * a more advanced platformer ([open the project online](https://editor.gdevelop.io/?project=example://not-a-vania)) - * various tile maps ([open the project online](https://editor.gdevelop.io/?project=example://tilemaps-made-with-tiled-editor)) + * a platformer with ladders and jumpthrus ([open the project online](https://editor.gdevelop.io/?create-from-example=platformer-with-tilemap)) + * a more advanced platformer ([open the project online](https://editor.gdevelop.io/?create-from-example=not-a-vania)) + * various tile maps ([open the project online](https://editor.gdevelop.io/?create-from-example=tilemaps-made-with-tiled-editor)) !!! note @@ -126,7 +126,7 @@ You can then click **Apply** and drag'n'drop the object on the scene if it's not ## Handle collisions -A platformer game often needs different kind of objects like platforms, jumpthru or ladders. One collision mask should be created for each kind. The example in the following screenshots can be opened in the online editor ([open the project](https://editor.gdevelop.io/?project=example://platformer-with-tilemap)). +A platformer game often needs different kind of objects like platforms, jumpthru or ladders. One collision mask should be created for each kind. The example in the following screenshots can be opened in the online editor ([open the project](https://editor.gdevelop.io/?create-from-example=platformer-with-tilemap)). ### Enable collisions directly on the Tilemap object diff --git a/docs/gdevelop5/objects/video/index.md b/docs/gdevelop5/objects/video/index.md index 00699daa05a..ff807d75067 100644 --- a/docs/gdevelop5/objects/video/index.md +++ b/docs/gdevelop5/objects/video/index.md @@ -111,7 +111,7 @@ To set the volume of a video, use the `Set volume` action. You can set it to any ## Example -[![](pasted/Examples1VideoPlayer.png)](https://editor.gdevelop.io/?project=example://video-player) +[![](pasted/Examples1VideoPlayer.png)](https://editor.gdevelop.io/?create-from-example=video-player) ## Reference diff --git a/docs/gdevelop5/publishing/publishing-to-facebook-instant-games/monetize.md b/docs/gdevelop5/publishing/publishing-to-facebook-instant-games/monetize.md index d1a7ac0d26c..2ac1ceb49a1 100644 --- a/docs/gdevelop5/publishing/publishing-to-facebook-instant-games/monetize.md +++ b/docs/gdevelop5/publishing/publishing-to-facebook-instant-games/monetize.md @@ -65,4 +65,4 @@ For showing a reward video ad, do the same as the interstitial but use the actio **See it in action!** 🎮 Open this example online. -[Open example in GDevelop](https://editor.gdevelop.io/?project=example://facebook-instant-game){ .md-button .md-button--primary } \ No newline at end of file +[Open example in GDevelop](https://editor.gdevelop.io/?create-from-example=facebook-instant-game){ .md-button .md-button--primary } \ No newline at end of file diff --git a/docs/gdevelop5/tutorials/asteroids/end_result.md b/docs/gdevelop5/tutorials/asteroids/end_result.md index ada8c08a4e8..7d2735ed56b 100644 --- a/docs/gdevelop5/tutorials/asteroids/end_result.md +++ b/docs/gdevelop5/tutorials/asteroids/end_result.md @@ -27,4 +27,4 @@ This step by step example was based off a video example that was originally crea The finished version of this game, with particle effects and mobile controls, can be found -[here](https://editor.gdevelop.io/?project=example://space-asteroids). \ No newline at end of file +[here](https://editor.gdevelop.io/?create-from-example=space-asteroids). \ No newline at end of file diff --git a/docs/gdevelop5/tutorials/basic-game-making-concepts/index.md b/docs/gdevelop5/tutorials/basic-game-making-concepts/index.md index 1d8088cb762..711cc13b4aa 100644 --- a/docs/gdevelop5/tutorials/basic-game-making-concepts/index.md +++ b/docs/gdevelop5/tutorials/basic-game-making-concepts/index.md @@ -82,7 +82,7 @@ The event below has a condition that checks the horizontal (X) position of the S !!! tip - **See it in action!** 🎮 [Open this example online](https://editor.gdevelop.io/?project=example://object-selection). + **See it in action!** 🎮 [Open this example online](https://editor.gdevelop.io/?create-from-example=object-selection). ![](pasted/20220124-171850.png) @@ -157,7 +157,7 @@ Some "behaviors", like the Physics engine or Pathfinding, may move the objects b !!! tip - **See it in action!** 🎮 [Open this example online](https://editor.gdevelop.io/?project=example://move-object-with-physics). + **See it in action!** 🎮 [Open this example online](https://editor.gdevelop.io/?create-from-example=move-object-with-physics). ![](pasted/20220124-153533.png) diff --git a/docs/gdevelop5/tutorials/geometry-monster/index.md b/docs/gdevelop5/tutorials/geometry-monster/index.md index 50d3388da76..8c968d5c62c 100644 --- a/docs/gdevelop5/tutorials/geometry-monster/index.md +++ b/docs/gdevelop5/tutorials/geometry-monster/index.md @@ -30,7 +30,7 @@ From creating the main character and animating it, through adding controls and c ## Get the sources -[Open the project online](https://editor.gdevelop.io/?project=example://geometry-monster) or get the [sources of the Geometry Monster game](/gdevelop5/tutorials/geometry-monster/geometry-monster-sources.zip) containing all the images you need to finish the game, and the old project's json file used to write this tutorial if you'd like to check everything yourself. +[Open the project online](https://editor.gdevelop.io/?create-from-example=geometry-monster) or get the [sources of the Geometry Monster game](/gdevelop5/tutorials/geometry-monster/geometry-monster-sources.zip) containing all the images you need to finish the game, and the old project's json file used to write this tutorial if you'd like to check everything yourself. diff --git a/docs/gdevelop5/tutorials/procedural-generation/implementing-procedural-generation.md b/docs/gdevelop5/tutorials/procedural-generation/implementing-procedural-generation.md index fbf00c48122..61eb0cbd572 100644 --- a/docs/gdevelop5/tutorials/procedural-generation/implementing-procedural-generation.md +++ b/docs/gdevelop5/tutorials/procedural-generation/implementing-procedural-generation.md @@ -6,7 +6,7 @@ title: Implementing Procedural Generation This article covers how to implement a simple top-down procedural generation system. This is a rather large topic so it is split into three sections: Creating a Grid, Adding Noise, and Colouring. Be aware that you need to have the Noise and the Extended Math extensions in your project. -The example is available online to play with before dinging in this step by step tutorial ([open the project online](https://editor.gdevelop.io/?project=example://procedural-generation)) +The example is available online to play with before dinging in this step by step tutorial ([open the project online](https://editor.gdevelop.io/?create-from-example=procedural-generation)) ## Part 1: Creating a Grid diff --git a/docs/gdevelop5/tutorials/randomness/index.md b/docs/gdevelop5/tutorials/randomness/index.md index 1028e5fb289..b038e719699 100644 --- a/docs/gdevelop5/tutorials/randomness/index.md +++ b/docs/gdevelop5/tutorials/randomness/index.md @@ -75,9 +75,9 @@ TODO Add a screenshot of the instruction editor showing the shuffle action. **Card system example** -[Open in GDevelop](https://editor.gdevelop.io/?project=example://card-system){ .md-button .md-button--primary } +[Open in GDevelop](https://editor.gdevelop.io/?create-from-example=card-system){ .md-button .md-button--primary } -[![](card-system-example.png){ width="320" }](https://editor.gdevelop.io/?project=example://card-system) +[![](card-system-example.png){ width="320" }](https://editor.gdevelop.io/?create-from-example=card-system) ## Make randomness feel fair