Play & Render Scene
Learn how to play and render your Scene
Player your Scene
Inside the Toolbar, you have four buttons ( Play, Pause, Step, and Reset ) that allow you to test your Scene in real-time. Let’s look at these four actions in detail.
- Play Scene
You can play your Scene by clicking on the button Play or by using the Enter key. You have to be in the Editor Object Mode first. When you play your Scene, the Editor creates a new instance of your Scene Class and let it run inside the Editor. Once in Play Mode, you can perform the actions Pause, Step and Reset
- Pause Scene
Pause your Scene will stop your Scene Game Loop at the current frame. When your Scene is paused, pressing again on the button Pause will resume your Scene. You can also use CTRL + Arrow UP to pause your Scene.
- Step Scene
Step your Scene, means run your Scene for exactly one (1) Frame. You can press repeatedly on the button Step to advance your Scene frame by frame. You can also use CTRL + Arrow Right to step your Scene.
- Reset Scene
Reset your Scene will cause the Editor to destroy the current instance of your Scene and then recreate a new one. You can also use CTRL + Arrow Left to reset your Scene.
Render your Scene
If you click on the button Render inside the Toolbar, a new window will open up and your Scene will be rendered as if you were using the Render Engine. You can also use CTRL + Enter to render your Scene.
There is a big difference between play your Scene and render it. Your Scene is made of two parts : the Game World and the Game Screens.
- When you play your Scene, the Editor only runs your Game World because it cannot run the Game Screens on its Canvas.
- When you render your Scene, the Editor will run you Game World and your Game Screens inside the new window. So the main purpose of the Render feature is to allow you to test your Game Screens from the Engine Editor.