Skip to content

Commit

Permalink
[Behaviors] Move files where they belong (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H authored Dec 30, 2024
1 parent 3109c9a commit ceeb293
Show file tree
Hide file tree
Showing 27 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/gdevelop5/behaviors/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ nav:
- Destroy outside screen behavior: destroyoutside
- Draggable Object Behavior: draggable
- pathfinding
- Physics behavior: physics
- Physics Engine: physics2
- 2D Physics Engine: physics2
- 3D Physics Engine: physics3d
- Platform and platformer character behaviors: platformer
- Top-Down Movement behavior: topdown
- Tween behavior: tween
Expand Down
2 changes: 1 addition & 1 deletion docs/gdevelop5/behaviors/draggable/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Using events, you can also check if an object is being dragged:

[Open example in GDevelop](https://editor.gdevelop.io/?project=example://save-load){ .md-button .md-button--primary }

[![](/gdevelop5/behaviors/saveandloadexample.png){ width="320" }](https://editor.gdevelop.io/?project=example://save-load)
[![](saveandloadexample.png){ width="320" }](https://editor.gdevelop.io/?project=example://save-load)



Expand Down
4 changes: 2 additions & 2 deletions docs/gdevelop5/behaviors/events-based-behaviors/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ You can run the game and see that the events in "doStepPreEvents" function (or "

To test this, we've added the "Destructible" behavior to object "Platform". Then, when using the debugger, we can inspect "Platform" instances and see that they have a "Damage" variable (set to 0). If we use the debugger (or an event) to set it to 100, the object is removed from the scene:

![](/gdevelop5/behaviors/example-test-destructible-behavior-debugger.png)
![](example-test-destructible-behavior-debugger.png)

### 2. Use actions, conditions and expressions

Expand All @@ -114,7 +114,7 @@ Like any other "built-in behavior", you can also use actions/conditions (or expr
![](pasted/20210907-000606.png)

It is displayed in the events sheet:
![](/gdevelop5/behaviors/custom-behavior-action-events-sheet.png)
![](custom-behavior-action-events-sheet.png)

As you can see, this allows creating very expressive and easy-to-read events. You can then make the behavior more complex or reuse it on other objects.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: 3D Physics Engine
---
# 3D Physics Engine

GDevelop provides a powerful 3D Physics Engine, allowing to create any kind of 3D games.
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified docs/gdevelop5/interface/games-dashboard/Game-Dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/gdevelop5/interface/games-dashboard/Playsection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Manage-Games-Dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ceeb293

Please sign in to comment.