Skip to content

Commit

Permalink
giving you aliens back
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgreentn committed Dec 11, 2016
1 parent bf677f0 commit 536a1cc
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,3 @@ src/tools/.DS_Store
/bin/

debugLog

examples/gridphysics/aliens.txt

debugLog
38 changes: 38 additions & 0 deletions examples/gridphysics/aliens.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
BasicGame square_size=32
SpriteSet
background > Immovable img=oryx/space1 hidden=True
base > Immovable color=WHITE img=oryx/planet
avatar > FlakAvatar stype=sam img=oryx/spaceship1
missile > Missile
sam > orientation=UP color=BLUE singleton=True img=oryx/bullet1
bomb > orientation=DOWN color=RED speed=0.5 img=oryx/bullet2
alien > Bomber stype=bomb prob=0.01 cooldown=3 speed=0.8
alienGreen > img=oryx/alien3
alienBlue > img=oryx/alien1
portal > invisible=True hidden=True
portalSlow > SpawnPoint stype=alienBlue cooldown=16 total=20 img=portal
portalFast > SpawnPoint stype=alienGreen cooldown=12 total=20 img=portal

LevelMapping
. > background
0 > background base
1 > background portalSlow
2 > background portalFast
A > background avatar

TerminationSet
SpriteCounter stype=avatar limit=0 win=False
MultiSpriteCounter stype1=portal stype2=alien limit=0 win=True

InteractionSet
avatar EOS > stepBack
alien EOS > turnAround
missile EOS > killSprite

base bomb > killBoth
base sam > killBoth scoreChange=1

base alien > killSprite
avatar alien > killSprite scoreChange=-1
avatar bomb > killSprite scoreChange=-1
alien sam > killSprite scoreChange=2

0 comments on commit 536a1cc

Please sign in to comment.