Skip to main content

How to Install Godot Engine

      Hello again, today we are going to talk about the most simple thing to do with Godot Engine. How to Install Godot Engine ?    How to Install Godot Engine     Unlike any other game engines Godot Engine is so small, when you compared bytes. Other engines requires you to download gigabytes of content to start using them. Godot Engine is around 50 MBs (It was around 30 mbs for Godot Engine 3)     And installation process does not like any other game engines, it is as simple as just unzip and go. But still there are other options for installation, for instance you can install Godot Engine over Steam. How to Install Godot Engine Stable     You have two options to install the stable version of Godot Engine.        As first, you can navigate to https://godotengine.org/download   and download the  stable version to your computer. Unzip it to anywhere you want to use, double click ...

A Brief Introduction To Game Development

     Before diving into any game engine we should start with talking about game development. Game development itself is an interdisciplinary area which involves programming, graphic design, sound design, story telling, marketing and user experience. 

    A perfect mix of them and balanced presentation of those disciplines gives us a good game.

    Unfortunately, a brief introduction to game development will only cover programming side of those different disciplines. 

Introduction to Game Development

 

Introduction to Game Development

     I want to keep this article as simple as i can. I am not going to talk about complex rendering algorithms and their C++ implementations, and 1000 lines introductory code for drawing triangles in Vulkan. (Yes, we can do it later)

    Simply, game development is looping / updated a lot of resources inside of a loop. As you may remember, target FPS count is around 60 for most of the games. We have 16.6 ms to render each frame to catch up with 60 FPS.

What is a Game Loop

    A game loop is core of every game. Let me show a psuedo code for a simple game loop.

while (gameIsRunning):

    pollInput()

    update()

    render()

endWhile

     Everything we have in game happens inside this loop. As mentioned, we only have 16.6 ms to iterate on this loop. (A short time to do a lot of things)

What Happens in The Loop

    Engine (what runs the loop) receives user input and updates variables (according to the rules / codes). Then engine iterates over the game objects in the game loop and updates all object in the game. Position, speed, rotation, animation frame, everything is calculated according to these changes. 

    In the render method, engines render renderable object to screen. 

    After loop completes game quits. 

My Code is Compiling

       16.6 Ms is a very short time. That is why game engines are usually written in compiled languages like C/C++/Rust etc. Also, this is the reason of we are using shaders (a code which runs on graphics card instead of CPU), multiple cores on GPU can handle small calculations with higher parallelism than CPU.

    Of course Java can be also used to develop high performant code, so you can pick the language you are going to use according to your previous experience. 

Objects, Object, Objects

    When we are talking about game development we need to talk about some types of objects used in game development.

    Take particles for instance, shiny, reflecting, moving objects, and a lot of them is being spawned and managed simultaneously. Each particle and particle spawner are being updated in the update call. Particle system should be designed very performant.

    Or collision objects, on each frame collusion with other objects are being re-calculated. 

    As you can see, games are designed with OOP paradigm, in a very performant way.

    Godot Engine is also developed with C++ and OOP.

Comments

Popular posts from this blog

What is a Shader in Godot Engine?

      I remember the times i started to develop games in high school, (back in around 2017) shaders were not popular like they are now.      After i started to spend time in game development i needed to learn about shaders. I was asking the same question "What are the shaders?" as can be guessed easily, newbies are asking the same question, and trying to find answers.   What is a Shader in Godot Engine?       In this article we will be mostly looking in Godot Engine's perspective. But most of the information is applicable to other engines and libraries as well. The most important difference is Godot has it's own shading language, you need to learn coding in other languages for different engines / libraries.      Shaders are programs like a GDScript program. There are several differences between a regular C program and a shader. Shaders Run on GPU     Shaders run on GPU instead of CPU. Due...

How to Install Godot Engine

      Hello again, today we are going to talk about the most simple thing to do with Godot Engine. How to Install Godot Engine ?    How to Install Godot Engine     Unlike any other game engines Godot Engine is so small, when you compared bytes. Other engines requires you to download gigabytes of content to start using them. Godot Engine is around 50 MBs (It was around 30 mbs for Godot Engine 3)     And installation process does not like any other game engines, it is as simple as just unzip and go. But still there are other options for installation, for instance you can install Godot Engine over Steam. How to Install Godot Engine Stable     You have two options to install the stable version of Godot Engine.        As first, you can navigate to https://godotengine.org/download   and download the  stable version to your computer. Unzip it to anywhere you want to use, double click ...

What is New In Godot Engine 4

      Godot Engine 4 is almost ready for Beta Phase! In this article i'll try to sum up what is new in Godot Engine 4, and try to introduce you new features.          I am following Godot Engine and using it for my projects for almost 4 years. I started to use Godot Engine, because it's size was only around 30 Mbs and it help me to create whatever i would like to create in 2D universe. Also instead of Unity, Godot uses physical pixels as measurement, which looks more logical for me.  What is New In Godot Engine 4       After Godot Engine 3 released, it started become more popular everyday. New donators and contributors jumped in project and it is growing!     Godot Engine 4 is a completely different stage for Godot Engine project, and 4th version of the engine will be a real improvement for the community. Let's have a look what is new in Godot Engine 4.   Editor Improvements    ...