Hello World

A “Hello, World!” program is basically the most basic program you can write in any programming language. Its purpose is simple, it prints the text "Hello, World!" to the screen. But it’s actually more than just printing, it’s often the first step to understand how a language works, well in this case, GD Lua.

Creating a script

When GD Lua is installed, it creates a folder inside your Geometry Dash game files at:

GeometryDash/gd-lua/scripts/

To find the directory to your Geometry Dash game files, go to the game's Steam page and click the following button:

This will lead you directly to the game files where the gd-lua folder is found.

Inside gd-lua, the game may have automatically generated subfolders named after internal game classes such as PlayLayer or GJBaseGameLayer.

GeometryDash
└── gd-lua
    ├── PlayerObject
    ├── GJBaseGameLayer
    └── other folders...

If you found none, you may create them instead. List of all folders

Each of these folders represents a class where you can define hooks and behaviors. GD Lua executes these scripts depending on the class and the functions you’ve overridden or added within them.

bvlah blah explain more (to-do)

List of folders

  • CCScheduler

  • PlayerObject