Skip to content

Commit e8a113a

Browse files
author
GDevelop documentation CI
committed
Automatic update of the reference pages [skip ci]
1 parent 6187dd4 commit e8a113a

2 files changed

Lines changed: 38 additions & 5 deletions

File tree

docs/gdevelop5/extensions/fire-bullet/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Fire bullets, manage ammo, reloading and overheating.
77

88
---
99

10-
This extension allows objects to fire bullets.
10+
This extension allows objects to fire bullets. To use it, add the behavior to the object that will shoot, then use the provided action to launch another object as the bullet.
1111

12-
It handles:
12+
The properties of the behavior can be used to customize:
1313

1414
- Cooldown between shots
1515
- Firing multiple bullets at a time ([open the project online](https://editor.gdevelop.io/?project=example://fire-bullet))
@@ -32,7 +32,7 @@ A simple example shows how to make firing patterns ([open the project online](ht
3232

3333
## Fire bullets
3434

35-
Fire bullets, manage ammo, reloading, and overheating.
35+
Fire bullets, manage ammo, reloading, and overheating. Once added to your object that must shoot, use the behavior action in your events to fire another object as a bullet.
3636

3737
### Behavior actions
3838

docs/gdevelop5/extensions/linear-movement/index.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,48 @@ It can be used for simple enemies or bullets. It's usually not adapted for playe
2020

2121
Move objects on a straight line.
2222

23-
_No expressions for this behavior._
23+
### Behavior actions
2424

25+
**Speed on X axis**
26+
Change the speed on X axis of the object.
27+
28+
**Speed on Y axis**
29+
Change the speed on Y axis of the object.
30+
31+
### Behavior conditions
32+
33+
**Speed on X axis**
34+
Compare the speed on X axis of the object.
35+
36+
**Speed on Y axis**
37+
Compare the speed on Y axis of the object.
38+
39+
### Behavior expressions
40+
41+
| Expression | Description | |
42+
|-----|-----|-----|
43+
| `Object.LinearMovement::SpeedX()` | Return the speed on X axis of the object. ||
44+
| `Object.LinearMovement::SpeedY()` | Return the speed on Y axis of the object. ||
2545

2646
## Linear movement by angle
2747

2848
Move objects ahead according to their angle.
2949

30-
_No expressions for this behavior._
50+
### Behavior actions
51+
52+
**Speed**
53+
Change the speed of the object.
54+
55+
### Behavior conditions
56+
57+
**Speed**
58+
Compare the speed of the object.
59+
60+
### Behavior expressions
3161

62+
| Expression | Description | |
63+
|-----|-----|-----|
64+
| `Object.LinearMovementByAngle::Speed()` | Return the speed of the object. ||
3265

3366
---
3467

0 commit comments

Comments
 (0)