-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,3 @@ src/tools/.DS_Store | |
/bin/ | ||
|
||
debugLog | ||
|
||
examples/gridphysics/aliens.txt | ||
|
||
debugLog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |