Skip to content

Instantly share code, notes, and snippets.

@Shane-Lester
Created May 6, 2019 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shane-Lester/07f3d500b5d177ea41c8394e0dfb073c to your computer and use it in GitHub Desktop.
Save Shane-Lester/07f3d500b5d177ea41c8394e0dfb073c to your computer and use it in GitHub Desktop.
levelData.py
levels = {
"1": [{
"circuit": [(30, -20), (40, 20), (0, 30), (-40, 20), (-30, 20), (-30, -20),
(-40, -20), (0, -30), (40, -20), (30, -20)],
"health":
5,
"texture":
'spc:EnemyGreen1',
"speed":
10,
"scale":
1,
"rot":
0,
"rate":
5,
"x":
0
}],
"2": [{
"circuit": [(30, -20), (40, 20), (0, 30), (-40, 20), (-30, 20), (-30, -20),
(-40, -20), (0, -30), (40, -20), (30, -20)],
"health":
7,
"texture":
'spc:EnemyBlue1',
"speed":
12,
"scale":
1,
"rot":
0,
"rate":
5,
"x":
-75
}, {
"circuit": [(30, -20), (40, 20), (0, 30), (-40, 20), (-30, 20), (-30, -20),
(-40, -20), (0, -30), (40, -20), (30, -20)],
"health":
7,
"texture":
'spc:EnemyBlue1',
"speed":
14,
"scale":
1,
"rot":
0,
"rate":
7,
"x":
75
}],
"3": [{
"circuit": [(30, -20), (40, 20), (0, 30), (-40, 20), (-30, 20), (-30, -20),
(-40, -20), (0, -30), (40, -20), (30, -20)],
"health":
7,
"texture":
'spc:EnemyRed1',
"speed":
15,
"scale":
1,
"rot":
0,
"rate":
3,
"x":
-50
}, {
"circuit": [(30, -20), (40, 20), (0, 30), (-40, 20), (-30, 20), (-30, -20),
(-40, -20), (0, -30), (40, -20), (30, -20)],
"health":
7,
"texture":
'spc:EnemyRed5',
"speed":
16,
"scale":
0.8,
"rot":
0,
"rate":
9,
"x":
80
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment