What is the difference between gui scripts and render scripts?

Title

A GUI script is used to control a GUI file, like for example showing the current score as a text node, or sending a message to another object when an icon is clicked. You only need those if you use GUI files.

The render script is what creates the image you see on the screen, taking all active objects and letting the GPU draw all sprites to a texture. There is a default render script (plus a render file) in the builtin folder that is used automatically, but you can also copy that, edit it, and set it as new render file in game.project. But for a basic game you don’t need to.

3 Likes