In this Post we will learn how to find distance between two objects in Gdevelop 5. Many times we are required to find distance between two objects Gdevelop provides inbuilt functionality for this purpose just let's get started. Creating A Project We will start by creating an empty project. So click on create a new project and name it distance between two objects. Let's quickly add a scene and a sprite. Let's add another sprite. I will also add text to display the distance between these two sprites. Let's add these objects to the scene.Now let's head over to the event sheet and Add an event.The condition will be empty and action will to display the distance. So choose the distance choose->modify text and operator be set to equal and click on then expression button. We first have to convert expression to string choose conversion and then number to text. Click on the expression button and then search square root. Click on expression button again and this t...
Welcome to DeeCoder here we discuss,learn and work on ideas ,languages,softwares....