We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

GeometryDash

From Esolang
Jump to navigation Jump to search
Not to be confused with Geometry Dash.
This is still a work in progress. It may be changed in the future.

Geometry Dash is a incredibly stupid esoteric programming language made by User:GozzieGoober. It's made to simulate gameplay of GD in a coding language and also do logic somehow? It's main inspiration is Maze. This language has potential for very complicated programs so please if you think you can, try to program something cool and add it onto this page.

Syntax

Here is a table of the gameplay stuff in this esolang.

Object Definition
■ The cube. Where the program starts.
Ʌ A spike. Ends the program if touched.
# A block. Continues the program.
⦿ An orb. Propels the cube upwards on click.
_ A jump pad. Propels the cube upwards on touch.

Orbs and pads both launch the cube 2 blocks in the air for a duration of 4 blocks. Clicking launches the cube 2 blocks up for a duration of 3 blocks. The player moves down one block and forward one block per tick while falling.

Here is a table of the trigger commands in this esolang. Triggers go above the gameplay.

Trigger Definition
CLK Forces a player click.
VAR Sets a variable.
+ or - Increment or decrement a variable.
PRT Prints a variable.
IF Triggers other triggers with condition.
SPN Spawns other triggers based off of their group.
& Teleport the cube to the start.
[] Loops the code in between the square brackets.
% Starts and ends a comment.

Example Programs

Simple Gameplay Program
.        CLK                     ###
.                                vvv
.            CLK    ######                  
.            ⦿            ⦿      
.                          CLK    
.      ###           ɅɅɅ         ɅɅɅ
■  _ɅɅɅɅɅɅɅɅɅɅɅɅɅɅɅɅɅ###         ###
#######################################
Simple Variable Program
.       %Sets the variable%
.       VAR a 10 
.               %Prints the variable%   
.               PRT a                       
■ 
#######################################
Simple Looping Program
. VAR a 0
.            %Loops loop everything in between them%
.            %The starting number is how many lines below it will loop.%
.            %The ending number is how many times it will loop.%
.            %This loops incrementing "a" 10 times.%
.            %Loops trigger once per tick.%
.               CLK       
.          1[              ]10   
.                     a+       
■               Ʌ
#####################################################
Simple IF Program
. VAR a 0
.            %If "a" is more than 3, trigger the loop%
.            IF a > 3;1[      a+     ]10     
.          
.                           
■               
#####################################################
Looping Course
. %Variable%
. VAR score 0
. PRT score                       score+
.                                 
.                  CLK             %Loops if you haven't reached 5 points%
.             CLK                  IF score !> 4; &
.    CLK           ⦿              
.                          ###
■     ###         ɅɅɅɅɅɅɅɅɅ###
#####################################

See also