Skip to content

Instantly share code, notes, and snippets.

@Shane-Lester
Shane-Lester / SpaceInvaders.py
Created May 6, 2019 12:19
SpaceInvaders.py
from scene import *
import levelData as ld
import sound
import random
import math
import time
import ui
A = Action
POSITION=0
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,