Testing your Game
Thanks to Godot’s ability to run any scene at any time without long waiting times, you are able to easily and incrementally test your changes.
You will find all the necessary tools to test your game in the upper part of Godot’s interface, at the middle (here highlighted in the screenshot).
Each button of this panel is about testing your game. There is also key bindings defined for each of them.
- The first one (play button), also accessible via the F5 key, will run the game’s default scene, effectively running the game as if it were started by a regular user. The default scene is the one defined in Project settings (Scene > Project settingsmenu), in the Application section, main_scene properties.
- The second button (pause button) is to pause the scene while you’re testing it, you can press F7 to get the same effect.
- The square button is to stop testing the scene and resume editing it, use F8 inside the game or the editor to achieve the same effect.
- The fourth one, looking like a clapperboard with a play symbol inside, that you can also use with the F6 key, is similar to the previous play but it runs the scene you’re currently editing instead of the default game scene. It’s really useful as you don’t want to start the whole game each time you want to test a level.
- The fifth one is about running a scene chosen from a menu listing all the scenes of your project.
- The last one is a menu containing various advanced debugging options.
The whole point of these tools is to enable you to quickly see your changes in game.
If you’re a graphical artist on the project, you can integrate the assets yourself, compose the scene to your liking, and see the result in game without ever needing to ask a developer.