Main Page: Difference between revisions

From C# Gamedev Wiki
No edit summary
No edit summary
Line 3: Line 3:
This is a place to gather explanations and examples of systems that are used in game development. The goal is to provide explanations and samples that are code-first and are not dependent on a specific platform or engine (such as Godot, Unity, Unreal, etc.). Pages will contain text, diagrams, and code samples in order to help explain concepts.
This is a place to gather explanations and examples of systems that are used in game development. The goal is to provide explanations and samples that are code-first and are not dependent on a specific platform or engine (such as Godot, Unity, Unreal, etc.). Pages will contain text, diagrams, and code samples in order to help explain concepts.


For the purposes of this wiki, a Game will be assumed to be a simple program that runs an Update() method and a Draw() method in a continuous loop:
For the purposes of this wiki, a Game will be assumed to be a simple program that runs an Update() method and a Draw() method in a continuous [[Game Loop|loop]]:


<syntaxhighlight lang="cs">
<syntaxhighlight lang="cs">

Revision as of 16:53, 9 June 2024

Welcome to C# Gamedev Wiki!

This is a place to gather explanations and examples of systems that are used in game development. The goal is to provide explanations and samples that are code-first and are not dependent on a specific platform or engine (such as Godot, Unity, Unreal, etc.). Pages will contain text, diagrams, and code samples in order to help explain concepts.

For the purposes of this wiki, a Game will be assumed to be a simple program that runs an Update() method and a Draw() method in a continuous loop:

void GameLoop()
{
    while (true)
    {
        Update();
        Draw();
    }
}