You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gdevelop5/extensions/depth-effect/index.md
+4-25Lines changed: 4 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,10 @@ Tips:
20
20
- If you want speed to look constant, be sure to reduce the object's speed based on scale or Y value. If you don't do this, the object will appear to be moving faster when it is near the top of the screen. This matches how objects appear in the real world.
21
21
- This extension works well with the Y-sort extension, which changes Z order based on Y position.
- The behavior dedicated to text has been removed as the other behavior now work for any object.
26
+
24
27
25
28
!!! tip
26
29
Learn [how to install new extensions](/gdevelop5/extensions/search) by following a step-by-step guide.
@@ -51,30 +54,6 @@ Set max scale when the object is at the bottom of the screen (Default: 2).
51
54
|`Object.DepthEffect_Sprite::MaxScale()`| Max scale when the object is at the bottom of the screen. ||
52
55
|`Object.DepthEffect_Sprite::PercentAwayFromHorizon()`| Percent away from the horizon. This is "0" at the horizon, and "1" at the bottom of the screen. ||
53
56
54
-
## Depth effect
55
-
56
-
The scale of the object decreases the closer it is to the horizon, giving the illusion that the object is travelling away from the viewer.
57
-
58
-
### Behavior actions
59
-
60
-
**Set exponential rate of change**
61
-
Set Y exponential rate of change (Default: 2).
62
-
63
-
**Set Y position of horizon**
64
-
Set Y position of horizon, where objects are infinitely small (Default: 0).
65
-
66
-
**Set max scale**
67
-
Set max scale when the object is at the bottom of the screen (Default: 2).
68
-
69
-
### Behavior expressions
70
-
71
-
| Expression | Description ||
72
-
|-----|-----|-----|
73
-
|`Object.DepthEffect_Text::ExponentY()`| Exponential rate of change in scale based on the Y position. ||
74
-
|`Object.DepthEffect_Text::HorizonY()`| Y value of horizon. ||
75
-
|`Object.DepthEffect_Text::MaxScale()`| Max scale when the object is at the bottom of the screen. ||
76
-
|`Object.DepthEffect_Text::PercentAwayFromHorizon()`| Percent away from horizon. This is 0 at the horizon, and 1 at the bottom of the screen. ||
77
-
78
57
---
79
58
80
59
*This page is an auto-generated reference page about the **Depth effect** extension, made by the community of [GDevelop, the open-source, cross-platform game engine designed for everyone](https://gdevelop.io/).* Learn more about [all GDevelop community-made extensions here](/gdevelop5/extensions).
Behavior for shape painter allows you to paint a color all over the screen for period of time with an effect (useful for simulate flash and transition effect).
4
+
Paint a color all over the screen for period of time with an effect (useful for simulate flash and transition effect).
5
5
6
6
**Authors and contributors** to this community extension: (not specified).
Copy file name to clipboardExpand all lines: docs/gdevelop5/extensions/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,17 +198,17 @@ Here are listed all the extensions available in GDevelop. The list is divided in
198
198
||Name|Description||
199
199
|---|---|---|---|
200
200
|<imgsrc="https://asset-resources.gdevelop.io/public-resources/Icons/b46f9cf1fc6b0ef59a461c7831003d1fb091137cbedbae876774f40f8b7dea97_pine-tree.svg"class="extension-icon"></img>|**3D Billboard**|Rotate 3D objects to appear like 2D sprites.|[Read more...](/gdevelop5/extensions/billboard)|
201
-
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Virtual Reality/Virtual Reality_vr_computer_3d_cube_screen_tv.svg"class="extension-icon"></img>|**Depth effect**|Change scale based on Y position to simulate depth of field.|[Read more...](https://victrisgames.itch.io/extension-sinemovement-and-deptheffect) ([reference](/gdevelop5/extensions/depth-effect))|
201
+
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Virtual Reality/Virtual Reality_vr_computer_3d_cube_screen_tv.svg"class="extension-icon"></img>|**Depth effect**|Change scale based on Y position to simulate depth of field.|[Read more...](/gdevelop5/extensions/depth-effect)|
202
202
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/flash-outline.svg"class="extension-icon"></img>|**Flash object**|Make an object flash visibility (blink), color tint, object effect, or opacity (fade).|[Read more...](/gdevelop5/extensions/flash)|
203
203
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/flash-outline.svg"class="extension-icon"></img>|**Flash layer**|Make a layer visible for a specified duration, and then hide the layer.|[Read more...](/gdevelop5/extensions/flash-layer)|
204
-
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/movie-filter.svg"class="extension-icon"></img>|**Flash and transition painter**|Behavior for shape painter allows you to paint a color all over the screen for period of time with an effect (useful for simulate flash and transition effect).|[Read more...](/gdevelop5/extensions/flash-transition-painter)|
204
+
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/movie-filter.svg"class="extension-icon"></img>|**Flash and transition painter**|Paint a color all over the screen for period of time with an effect (useful for simulate flash and transition effect).|[Read more...](/gdevelop5/extensions/flash-transition-painter)|
205
205
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/peanut-outline.svg"class="extension-icon"></img>|**Marching Squares (experimental)**|Allow to build a "scalar field" and draw contour lines of it: useful for fog of wars, liquid effects, paint the ground, etc...|[Read more...](/gdevelop5/extensions/marching-squares/details) ([reference](/gdevelop5/extensions/marching-squares))|
206
206
|<imgsrc="https://asset-resources.gdevelop.io/public-resources/Icons/2ea979b9db9294f26b40687e214f26d7926682457113ccc6dca4174bce6033aa_knife.svg"class="extension-icon"></img>|**Slice an object into pieces**|Slice an object into smaller pieces that match the color of original object.|[Read more...](/gdevelop5/extensions/object-slicer)|
207
207
|<imgsrc="https://asset-resources.gdevelop.io/public-resources/Icons/f2e5a34bf465f781866677762d385d6c8e9e8d203383f2df9a3b7e0fad6a2cb5_fire.svg"class="extension-icon"></img>|**3D particle emitter**|Display a large number of particles to create visual effects.|[Read more...](/gdevelop5/extensions/particle-emitter3d)|
208
208
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Graphic Design/Graphic Design_color_colour_palette_paint_brush.svg"class="extension-icon"></img>|**Object recolorizer (experimental)**|Independently change the colors of a sprite, a tiled sprite or a panel sprite.|[Read more...](/gdevelop5/extensions/recolorizer)|
209
209
|<imgsrc="https://asset-resources.gdevelop.io/public-resources/Icons/e509cccd7fb426978c4a79b639670f624f773a886848d288a12be5c28dd7d380_sort-numeric-variant.svg"class="extension-icon"></img>|**Rolling counter**|Smoothly change a counter value in a text object.|[Read more...](/gdevelop5/extensions/rolling-counter)|
210
210
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/vector-arrange-above.svg"class="extension-icon"></img>|**Animate Shadow Clones**|Create and animate shadow clones that follow the path of a primary object.|[Read more...](https://www.youtube.com/watch?v=2t4ANYgrrak) ([reference](/gdevelop5/extensions/shadow-clones))|
211
-
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/arrow-all.svg"class="extension-icon"></img>|**Shake object**|Shake an object.|[Read more...](https://victrisgames.itch.io/gdevelop-camera-shake-example) ([reference](/gdevelop5/extensions/shake-object))|
211
+
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/arrow-all.svg"class="extension-icon"></img>|**Shake object**|Shake an object.|[Read more...](/gdevelop5/extensions/shake-object)|
212
212
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/vector-difference-ab.svg"class="extension-icon"></img>|**3D object shake**|Shake 3D objects.|[Read more...](/gdevelop5/extensions/shake-object3d)|
|<imgsrc="https://resources.gdevelop-app.com/assets/Icons/transition-masked.svg"class="extension-icon"></img>|**Object Masking**|Use a sprite or a shape painter to mask another object.|[Read more...](/gdevelop5/extensions/sprite-masking)|
Copy file name to clipboardExpand all lines: docs/gdevelop5/extensions/shake-object/index.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,17 +17,14 @@ It can be used for:
17
17
18
18
The top-down RPG example uses this extension for damage animations ([open the project online](https://editor.gdevelop.io/?project=example://top-down-rpg)).
0 commit comments