Creating a delay in Godot

In our last tutorial, we learnt how to destroy a node during runtime. In this tutorial, we will include a delay timer to the script and destroy the object after the delay The simplest way is to create a variable and subtract it with delta in the _process(). When the variable hits zero, destroy the … Read more

How to make a button in Godot

In our earlier tutorial we learned how to move an object in Godot. In this tutorial, we will create a button to increase the speed of the object. What you will learn Creating a new button. Adding text to the button Linking the button to the object script. Let’s get started Creating a new Button … Read more

How to move a player in Godot

Moving a player based on keyboard input is the simplest script that is needed for a game. In this tutorial, we will see how to move a player based on keyboard input in Godot in both 2D and 3D. I am using Godot version 3.4.2 for this tutorial. Mapping the input Before you can take … Read more