Skip to content

Instantly share code, notes, and snippets.

@10c8
Forked from anonymous/readme.txt
Last active April 5, 2016 04:25
Show Gist options
  • Save 10c8/b120dd1b9daddea408dcfe5e4fda03ea to your computer and use it in GitHub Desktop.
Save 10c8/b120dd1b9daddea408dcfe5e4fda03ea to your computer and use it in GitHub Desktop.
Of Will and Blood
Play at http://sfiera.github.io/PuzzleScript/play.html?p=b120dd1b9daddea408dcfe5e4fda03ea
(-
- Of Will and Blood
- version 0.17
-)
title [0.17] Of Will and Blood
author 0x77
homepage 0x77.bit
background_color #777
text_color #FFF
realtime_interval .1
( Disable while editing )
zoomscreen 13x13
run_rules_on_level_start
========
OBJECTS
========
( Background )
BACKGROUND .
BLACK
( Cursor )
PLAYER @
#9C9C9C #757575 #F7E26B #000 #A29446
.001.
10001
12323
42222
10001
( HUD )
BAR_L
#D6D6D6
00000
0....
0....
0....
00000
BAR_M
#D6D6D6
00000
.....
.....
.....
00000
BAR_R
#D6D6D6
00000
....0
....0
....0
00000
STAT_HP 0
#A81E1E
STAT_ST 1
#2270A8
( Menu )
CURSOR +
#333
00.00
0...0
.....
0...0
00.00
M_BG *
#777
M_ITEM_BG :
#AAA
M_ITEM_CARRY ;
#AAA
M_MAIN0
#333
.....
.000.
.000.
.0.0.
.....
M_MAIN1
#333
.....
000.0
0.0.0
00..0
.....
M_MAIN2
#333
.....
00.0.
.0.0.
.0.00
.....
M_MAIN3
#333
.....
0....
0....
0....
.....
( Tiles )
EMPTY0
TRANSPARENT
EMPTY1
TRANSPARENT
EMPTY2
TRANSPARENT
EMPTY3
TRANSPARENT
EMPTY4
TRANSPARENT
EMPTY5
TRANSPARENT
GRASS ,
#577a48
GRASS_A0
#658C55 #45603A
.....
.0...
.1...
...0.
...1.
GRASS_A1
#658C55 #45603A
.....
..0..
.01.0
.1..1
.....
GRASS_A2
#658C55 #45603A
..0.0
..101
...1.
.0...
.1...
GRASS_A3
#658C55 #45603A
.....
.....
...0.
...1.
.....
GRASS_A4
#658C55 #45603A
....0
....1
..0..
..1..
.....
( Items )
COOKIE
BROWN DARKBROWN
.....
.001.
01000
00010
.000.
HEART
LIGHTRED RED DARKRED
.1.1.
10112
11112
.112.
..2..
( Entities )
DEMON0
#66534D
.....
.....
....0
.....
.....
DEMON1
#66534D
.....
.....
..0..
0..0.
0..0.
DEMON2
#662C46 #913247 #543A54
.....
...11
....0
2..00
2.000
DEMON3
#662C46 #913247 #543A54 #CFD769
.....
.....
.....
.....
.....
DEMON4
#662C46
DEMON5
#662C46
( Tokens )
R_TICK '
TRANSPARENT
M_TICK "
TRANSPARENT
X
TRANSPARENT
Y
TRANSPARENT
Z
TRANSPARENT
U RED
TRANSPARENT
D BLUE
TRANSPARENT
L
TRANSPARENT
R
TRANSPARENT
M_ON £
TRANSPARENT
M_TP
TRANSPARENT
T_MENU ¢
TRANSPARENT
T_HUD -
TRANSPARENT
( Special )
BLOCK #
TRANSPARENT
=======
LEGEND
=======
( HUD )
STAT = STAT_HP or STAT_ST
BAR = BAR_L or BAR_M or BAR_R
HUD = STAT or BAR
( Menu )
MENU = M_BG or M_ITEM_BG or M_ITEM_CARRY
M_MAIN = M_MAIN0 or M_MAIN1 or M_MAIN2 or M_MAIN3
$ = M_BG and M_TP
( Tiles )
EMPTY = EMPTY0 or EMPTY1 or EMPTY2 or EMPTY3 or EMPTY4 or EMPTY5
GRASS_A = EMPTY0 or EMPTY1 or EMPTY2 or GRASS_A0 or GRASS_A1 or GRASS_A2 or GRASS_A3 or GRASS_A4
( Entities )
DEMON = DEMON0 or DEMON1 or DEMON2 or DEMON3 or DEMON4 or DEMON5
( Items )
ITEM = COOKIE or HEART
I_BLOCK = M_BG or ITEM
Q = GRASS and COOKIE
W = GRASS and HEART
( Tokens )
TOKEN = X or Y or Z or U or D or L or R
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
( BG )
BACKGROUND
( Tiles )
GRASS
EMPTY GRASS_A
( Items )
M_ITEM_BG M_ITEM_CARRY
ITEM
( Entities )
PLAYER DEMON
( HUD )
STAT
BAR
( Menu )
M_BG
CURSOR
M_MAIN
( Tokens )
X
Y
Z
U D L R
R_TICK M_TICK M_ON M_TP T_HUD T_MENU
( Special )
BLOCK
======
RULES
======
( Realtime fix )
[ STATIONARY @ ] ["] -> [ @ ] [']
[ MOVING @ ] ['] -> [ MOVING @ ] ["]
( Camera fix )
UP [ # | # || # ] -> [ ||| # U X ]
DOWN [ # | # || # ] -> [ ||| # D ]
LEFT [ # | # || # ] -> [ ||| # L ]
RIGHT [ # | # || # ] -> [ ||| # R ]
RIGHT [ # U X ||||||| ] -> [ # U ||||||| @ ]
( Player )
[ @ X ] -> [ @ ]
[ ACTION @ NO X ] [ £ U X ] -> [ @ X ] [ £ U ]
[ ACTION @ NO X ] [ £ U ] -> [ @ X ] [ £ U X ]
[ £ U X ] [ > @ ] [ + ] -> [ £ U X ] [ @ ] [ > + ]
[ # U | ... | UP @ ] -> [ # U | ... | @ ]
[ # D | ... | DOWN @ ] -> [ # D | ... | @ ]
[ # L | ... | LEFT @ ] -> [ # L | ... | @ ]
[ # R | ... | RIGHT @ ] -> [ # R | ... | @ ]
( HUD )
RIGHT [ - ||||| ] -> [ - | BAR_L 0 | BAR_M 0 | BAR_M 0 | BAR_M 0 | BAR_R 0 ]
RIGHT [ - ||||||||||||| ] -> [ ||||||||| BAR_L 1 | BAR_M 1 | BAR_M 1 | BAR_M 1 | BAR_R 1 ]
[ > @ ] [ HUD ] -> [ > @ ] [ > HUD ]
( Menu )
DOWN [ £ NO TOKEN | X | ] -> [ £ U Y || ¢ X ]
DOWN [ £ NO TOKEN | Y | ] -> [ £ D Y || ¢ Y ]
( Main menu )
RIGHT [ ¢ X ||||| ] -> [ || M_MAIN0 | M_MAIN1 | M_MAIN2 | M_MAIN3 ]
RIGHT [ £ U Y ||||||| ] -> [ £ U ||||||| $ U Y ]
DOWN [ $ U Y ||||||| ] -> [ ||||||| $ U ]
[ £ U X ] [ $ U ] [ @ X ] -> [ £ U X ] [ @ M_BG + ] [ M_TP ]
[ £ U NO X ] [ M_TP ] [ @ X ] [+] -> [ £ U ] [ @ ] [ $ U ] []
( Tiles )
[ GRASS NO GRASS_A ] -> [ GRASS RANDOM GRASS_A ]
( Items )
[ @ ITEM ] [ ; NO ITEM ] -> [@] [ ; ITEM X ]
UP ['][ ITEM X | NO I_BLOCK ] -> ['][ | ITEM X ]
UP ['][ ITEM X | I_BLOCK ] -> ['][ ITEM Y | I_BLOCK ]
LEFT ['][ ITEM Y | NO I_BLOCK ] -> ['][ | ITEM Y ]
LEFT ['][ ITEM Y | I_BLOCK ] -> ['][ ITEM | I_BLOCK ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
£.............."......#.##..............................
x*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************.#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*:::::::::::*..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*:::::::::::*.#,,,,,,,,,q,,,,,,,,ww,,w,,,,,,,,,,,,,,,,.
.*:::::::::::*.#,,,,,,,,,,,,,,w,,,,q,,q,,q,,q,q,,,,,,,,.
.*:::::::::::*..,,,,,,,,,,qw,,,,,,,q,,w,w,w,,,,,,,,,,,,.
.*::::::::::;*..,,,,,,,,,w,q,,wqw,,,,qq,w,,,q,,,,,,,,,,.
.*************.-,,,,,,,,,q,,,q,,,,,wq,w,,,qw,w,,,,,,,,,.
£...............,,,,,,,,,,,w,,,ww,,q,,,,,,w,,,,,,,,,,,,.
y*************..,,,,,,,,,,q,,,q,,,q,qqwq,,,w,,,,,,,,,,,.
.*************..,,,,,,,,,q,w,,,qw,q,q,,q,q,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,qq,wq,,q,,,,,ww,,w,,,,,,,,,,#
.*************..,,,,,,,,qqqq,wq,w,,,w,,,,,,w,,,,,,,,,,,#
.*************..,,,,,,,,,,,,,q,wq,,q,,,q,,w,,,q,,,,,,,,.
.*************..,,,,,,,,,w,q,,w,,q,ww,,,qw,,qq,,,,,,,,,#
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..............................##.#........
£.............."......#.##..............................
X*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************.#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*:::::::::::*..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*:::::::::::*.#,,,,,,,,,Q,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*:::::::::::*.#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*:::::::::::*..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*::::::::::;*..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************.-,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
£...............,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
Y*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
.*************..............................##.#........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment