Menu Share

C++

This category contains tutorials and code for creating games in C++.

Godot Logo

Godot Module using CMake

by | Last Updated:

In this article, I explore how to create a Godot module in C++ by wrapping up the compilation of Godot with the CMake build system.
Read More
Godot Logo

Godot Native using CMake

by | Last Updated:

In this article, you will learn how to create your own Godot Native (GDNative) project and compile it for any platform using CMake.
Read More
Math icon

Fast Square Root – Quake III

by | Last Updated:

The square root is usually a very slow operation. Learn how to write a fast square root function based on the engine used for Quake III.
Read More
Lua Logo

Introduction to Lua in C++ with Sol2

by | Last Updated:

This article explains how to easily embed Lua into your C++ project. Lua is an useful scripting language, it is fast and it is not compiled.
Read More

How to write unit tests with CMake

by | Last Updated:

Unit testing is an important part of every software project. Many people underestimate how powerful it is to spend some boring time to write unit tests but it will really save you some frustration time at a later point in time.
Read More

How to build & run custom tools with CMake

by | Last Updated:

This article will tackle the question how to build your own custom tools and why would you need them?
Read More

How to manage dependencies with CMake

by | Last Updated:

Lets say for example that you would like to build a custom game engine. This article will show you how to manage your CMake dependencies on a high-level examples.
Read More

CMake targets

by | Last Updated:

An article covering what are the main kind of targets you can have in CMake.
Read More

C/C++ Compilation process

by | Last Updated:

A short guide on what the compiler and linker is in the C/C++ language.
Read More

Programming a C++ game for the web (Emscripten)

by | Last Updated:

In this article I will share with you how I port and develop my games using C++ for the web.
Read More