Skip to content

Instantly share code, notes, and snippets.

View 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,
View SpaceInvaders.py
from scene import *
import levelData as ld
import sound
import random
import math
import time
import ui
A = Action
POSITION=0
You can’t perform that action at this time.