Skip to content

Instantly share code, notes, and snippets.

@Nek
Created August 26, 2013 08:43
Show Gist options
  • Select an option

  • Save Nek/6339314 to your computer and use it in GitHub Desktop.

Select an option

Save Nek/6339314 to your computer and use it in GitHub Desktop.
My neat level description format.
screens = [
Hint(["01mouse", "spike"],"aumloop"),
Level([HeadSpikes(.2,100,0)], 10), // 1
Level([HeadSpikes(.2,150,10)], 10), // 1
Level([HeadSpikes(.2,150,20)], 10), // 1
Hint(["csaw"],"aumloop"),
Level([CenterSaws(.4,100,5)],8.0), // 2
Level([CenterSaws(.3,100,5)],8.0), // 3
Level([SmartSaws(.3,100,10)],8.0), // 4
Hint(["asaw"],"aumloop"),
Level([AnnoSaws(.2,80,0)], 4.0), // 3
Level([AnnoSaws(.15,80,0)], 4.0), // 3
Level([AnnoSaws(.15,80,2)], 4.0), // 5
Hint(["death"],"aumloop"),
Level([HeadSpikes(.3,100,0), CenterSaws(.3,100,0), AnnoSaws(.3,80,0)], 2.0), // 5
GameWon
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment