Spu7Nix / SPWN-language

A language for Geometry Dash triggers
MIT License
1.05k stars 61 forks source link

When compiling SPWN script, it doesn't add triggers to GD #316

Open Abelkrijgtalles opened 1 year ago

Abelkrijgtalles commented 1 year ago

I have seen someone with this issue in a tutorial. If I'm right, it has something to do with the backup of Geometry Dash.

The script: bob = 1g

bob.move(10, 0, 0.5)

The output of SPWN:

Parsing ...
Reading savefile...
Building script ...
———————————————————————————

———————————————————————————

Built in 1 seconds!
0 objects added

Level:
1 groups

Writing back to savefile...
Writing to level: hallo
Written to save. You can now open Geometry Dash again!

Geometry Dash editor: image

And bob is this block: image

rayzwastaken commented 1 year ago

i tried this and it worked, heres some theoretical fixes:

  1. make sure you saved your script
  2. make sure your whole script is bob = 1g bob.move(10, 0, 0.5)
  3. make sure the game is fully closed when running spwn b [your file name].spwn in cmd/terminal
  4. try running spwn b [your file name].spwn -n [your level name] in cmd/terminal
  5. try running cmd/terminal in administrator mode (if on windows)

if none of those worked then i dont know.