Skip to content

Gdext‐Nim Tutorial

la.panon. edited this page Aug 10, 2024 · 3 revisions

Gdext-Nim Tutorial

In this section, you will learn how to develop with Nim, referring to Your first 2D game and actually developing a simple game.

The target readers:

  • Who know a full set of Nim grammars
  • Who have developed with Godot or have implemented Dodge the Creeps in GDScript

Pagination is based on the above mentioned document.
In addition, this tutorial will minimize the description of features specific to gdext-nim. Please refer to the linked documentation for details of that.

Completed project is in godot-nim/demo/dodge_the_creeps_2d.

Contents:

  • Setting up the project
  • Creating the player scene
  • Coding the player
  • Creating the enemy
  • The main game scene
  • Heads up display
  • Finishing up