SPWN
1 program
Added 2025-11-12T11:03:20Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 005558fac0 · authored 2025-11-12T12:03:20+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
SPWN Introductory Example
Provenance: commit 005558fac0 · authored 2025-11-12T12:03:20+01:00 · model google/gemini-2.5-pro · Temp 0.4
// SPWN is a programming language that compiles into Geometry Dash levels.
// This is a comment!
// Let's start by defining a group for our objects.
// Groups are a way to keep track of objects in your level.
g = group()
// Let's add some objects to the group.
// obj(id, x, y) creates an object.
// .add() adds the object to the group.
obj(1, 0, 0).add(g)
obj(1, 30, 0).add(g)
obj(1, 60, 0).add(g)
// Now, let's make the objects move!
// move(x, y, duration, target) creates a move trigger.
// The target is the group of objects we want to move.
move(0, 60, 0.5, g)
// Let's wait for the move to finish.
wait(0.5)
// Now, let's make the objects rotate.
// rotate(degrees, duration, target) creates a rotate trigger.
// The target is the group of objects we want to rotate.
rotate(360, 0.5, g)