-
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.
Validation games added to the framework
- Loading branch information
diegopliebana
authored and
diegopliebana
committed
Jul 5, 2018
1 parent
9f43fe4
commit a0e2674
Showing
64 changed files
with
1,443 additions
and
189 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,47 @@ | ||
BasicGame square_size=25 | ||
|
||
SpriteSet | ||
background > Immovable img=oryx/space1 hidden=True | ||
avatar > FlakAvatar stype=ballStart physicstype=CONT wMult=4 friction=0.2 mass=0.2 img=oryx/floor3 healthPoints=3 limitHealthPoints=3 | ||
|
||
balls > Missile orientation=UP speed=20 physicstype=CONT img=oryx/bullet2 shrinkfactor=2 singleton=True | ||
ballStart > | ||
ball > | ||
|
||
ballLost > Passive invisible=True hidden=True | ||
|
||
brick > Passive img=newset/blockG | ||
brick2 > wMult=2 | ||
brick1 > | ||
|
||
block > Passive img=newset/block2 | ||
longwall > wMult=2 | ||
wall > | ||
|
||
|
||
TerminationSet | ||
SpriteCounter stype=avatar limit=0 win=False | ||
SpriteCounter stype=brick limit=0 win=True | ||
|
||
InteractionSet | ||
|
||
ballStart brick block > transformToAll stype=ballStart stypeTo=ball | ||
|
||
brick ball > killSprite scoreChange=2 | ||
|
||
ball avatar > bounceDirection | ||
ball block > wallBounce | ||
avatar block > wallStop | ||
|
||
ball EOS > subtractHealthPoints stype=avatar value=1 | ||
ball EOS > transformTo stype=ballLost | ||
ball brick > wallBounce | ||
|
||
LevelMapping | ||
. > background | ||
o > background ball | ||
m > background brick2 | ||
n > background brick1 | ||
b > background longwall | ||
w > background wall | ||
A > background avatar |
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,20 @@ | ||
wwwwwwwwwwwwwwwwwwwwwww | ||
w.....................w | ||
w.....................w | ||
wnm.m.m.m.m.m.m.m.m.m.w | ||
wm.m.m.m.m.m.m.m.m.m.nw | ||
wnm.m.m.m.m.m.m.m.m.m.w | ||
wm.m.m.m.m.m.m.m.m.m.nw | ||
wnm.m.m.m.m.m.m.m.m.m.w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.........A...........w | ||
w.....................w |
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,20 @@ | ||
wwwwwwwwwwwwwwwwwwwwwww | ||
w.....................w | ||
w.....................w | ||
wnm.m.m.m.m.m.m.m.m.m.w | ||
wm.m.b.m.m.m.m.b.m.m.nw | ||
wnm.m.m.m.m.m.m.m.m.m.w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.....................w | ||
w.........A...........w | ||
w.....................w |
Oops, something went wrong.