Skip to content

Commit 555a6b6

Browse files
authored
[Debugger, Monetization] Add a video link (#269)
* [Debugger, Monetization] Add a video link * Organize screenshots. * Fix video link * Fix video location
1 parent 7b7ae92 commit 555a6b6

File tree

7 files changed

+19
-12
lines changed

7 files changed

+19
-12
lines changed

docs/gdevelop5/interface/debugger/index.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,33 @@ The *Profiler* is a tool that measures the time spent on different aspects of yo
1212

1313
This is an advanced feature of GDevelop. If you use it, we would like you to show your support for GDevelop by [getting a subscription](/gdevelop5/interface/profile)!
1414

15+
![](pasted/20230304-171835.png)
1516

16-
![](/gdevelop5/interface/debugger/pasted/20230304-171835.png)
17+
<div class="video-container">
18+
<iframe src="https://www.youtube.com/embed/8krGoBuQpBI" frameborder="0" allowfullscreen></iframe>
19+
</div>
1720

1821
## Launch the debugger
1922

2023
To launch the debugger, in the toolbar of a scene editor, click on the arrow beside the preview button to bring up a drop-down menu. In that menu, choose "Preview with debugger and performance profiler".
2124

22-
![](/gdevelop5/interface/debugger/pasted/20230314-003437.png)
25+
![](pasted/20230314-003437.png)
2326

2427
This will open a new tab called "Debugger" and will also launch a preview of your game as usual.
2528

2629
Note that even if you close the preview, you can let the debugger tab stay unclosed. This way, any preview that you launch (with the usual Preview button) will be connected to the debugger.
2730

2831
When the game is first launched, the debugger is empty:
2932

30-
![](/gdevelop5/interface/debugger/pasted/20230304-172007.png)
33+
![](pasted/20230304-172007.png)
3134

3235
Click on **"Refresh"** at any time to fetch the data of the game:
3336

34-
![](/gdevelop5/interface/debugger/pasted/20230314-003719.png)
37+
![](pasted/20230314-003719.png)
3538

3639
You can also use the **Pause** button in the toolbar:
3740

38-
![](/gdevelop5/interface/debugger/pasted/20230314-003327.png)
41+
![](pasted/20230314-003327.png)
3942

4043
## Inspect the scenes of the game
4144

@@ -47,7 +50,7 @@ If you click on the name of a scene, it will be displayed in the inspector on th
4750
To create a new instance, click on the name of the scene where you want to create the instance.
4851
Write the name of the object and click on Create:
4952

50-
![](/gdevelop5/interface/debugger-create-instance.gif)
53+
![](debugger-create-instance.gif)
5154

5255
The instance will be created at position 0;0, on the base layer with a Z-order of 0.
5356
You can then find it in the list of instances and change its position, angle, layer, etc.
@@ -57,11 +60,11 @@ You can then find it in the list of instances and change its position, angle, la
5760
In the list, you can find **Instances** of every running scene.
5861
Instances are grouped by objects name. Click on an object name to see the list of instances of this object living on the scene. Click on an instance number (each instance has a unique number) to inspect it:
5962

60-
![](/gdevelop5/interface/debugger/pasted/20230304-172210.png)
63+
![](pasted/20230304-172210.png)
6164

6265
The inspector shows general properties of the instance, for example, position, angle, layer, etc. For each of these properties, you can **edit them by clicking on the value**:
6366

64-
![](/gdevelop5/interface/debugger-edit-instance-properties.gif)
67+
![](debugger-edit-instance-properties.gif)
6568

6669
Validate your changes by clicking on the small **validate button** (the one with the tick icon).
6770

@@ -74,15 +77,15 @@ You can inspect variables of the game (global variables), of a scene (scene vari
7477
To do this, in the list, click on **Global Variables**, **Scene variables**, or the instance number that you want to inspect.
7578

7679
Variables will be shown in a list showing variable names and values (either a number or a text). Here is an example of an instance of an object having a "Life" variable:
77-
![](/gdevelop5/interface/instance-variables.png)
80+
![](instance-variables.png)
7881

7982
Like other fields, you can **click on the value of the variable** to change it. It's a good way to see how your game is behaving according to the value of variables and test that your events are working properly.
8083

8184
Variables can also be **structures**, meaning that they hold other variables. In this case, instead of seeing the value (number or text) of the variable, you will see a sub-list containing the children variables:
8285

8386

8487
Here is an example of a variable named "Options", containing children variables to store the options of a game:
85-
![](/gdevelop5/interface/structure-variable-inspector.png)
88+
![](structure-variable-inspector.png)
8689

8790
You can also change the value of the children variables like any other.
8891

docs/gdevelop5/interface/debugger/profile-your-game.md renamed to docs/gdevelop5/interface/debugger/profile-your-game/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ The profiler is part of the [Debugger](/gdevelop5/interface/debugger). [Read her
99

1010
When the **Debugger** is opened, the profiler is shown on the bottom part of the screen.
1111

12-
![](/gdevelop5/interface/debugger/profile-your-game/pasted/20230314-195529.png)
12+
![](pasted/20230314-195529.png)
1313

1414
While the game is running, click on the **Start Profiling** button to launch the profiler.
1515
After a few seconds, click **Stop Profiling** to end the process. The game will only store up to 600 frames worth of information, which is approximately 10 seconds of running the profiler. If you record more than 600 frames with the profiler, only the last 600 frames of information will be displayed.
1616

1717
When you stop running the profiler, the new results will be displayed.
1818

19-
![](/gdevelop5/interface/debugger/profile-your-game/pasted/20230304-172426.png)
19+
![](pasted/20230304-172426.png)
2020

2121
The time spent on different aspects of your game is displayed in sections:
2222

docs/gdevelop5/monetization/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ title: Monetizing Your Games
66

77
Monetizing your game is an exciting opportunity, but it's important to note that it is entirely optional when using GDevelop. Whether you choose to monetize or not, GDevelop provides multiple ways to do so, allowing you to find the best fit for your game's audience and platform.
88

9+
<div class="video-container">
10+
<iframe src="https://www.youtube.com/embed/zY5kv50XNnE" frameborder="0" allowfullscreen></iframe>
11+
</div>
12+
913
## Different Ways to Monetize
1014

1115
There are several methods to monetize your game:

0 commit comments

Comments
 (0)