Last active
April 13, 2020 19:15
-
-
Save jjmajava/4174eb5f989508ff901faa61ba584a97 to your computer and use it in GitHub Desktop.
NOOAN JA ISIN ROGUELIKE
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
run_rules_on_level_start | |
======== | |
OBJECTS | |
======== | |
background . | |
#000000 #55415f | |
00000 | |
00000 | |
00000 | |
00100 | |
00000 | |
Build B | |
transparent | |
Uncharted | |
#000000 | |
Sight | |
transparent | |
Temp1 | |
transparent | |
Temp2 | |
transparent | |
Temp3 | |
transparent | |
NextToHero | |
transparent | |
rubble , | |
#000000 #55415f | |
10000 | |
00010 | |
01000 | |
00001 | |
00100 | |
tiles - | |
#000000 #55415f | |
00000 | |
01010 | |
10100 | |
01010 | |
10100 | |
Wall # | |
#000000 | |
WallL | |
#000000 #646964 | |
1.... | |
1.... | |
1.... | |
1.... | |
1.... | |
WallR | |
#000000 #646964 | |
....1 | |
....1 | |
....1 | |
....1 | |
....1 | |
WallD | |
#000000 #646964 | |
..... | |
..... | |
..... | |
..... | |
11111 | |
WallU | |
#000000 #646964 | |
11111 | |
..... | |
..... | |
..... | |
..... | |
Facade | |
#000000 #646964 #55415f | |
21221 | |
12112 | |
00000 | |
..... | |
..... | |
Stairs + | |
#000000 #55415f | |
11111 | |
00000 | |
10000 | |
10100 | |
10101 | |
HeroR H | |
#000000 #d77355 #e6c86e #508cd7 | |
02222 | |
22323 | |
02222 | |
11110 | |
01110 | |
HeroL | |
#000000 #d77355 #e6c86e #508cd7 | |
22220 | |
32322 | |
22220 | |
01111 | |
01110 | |
GoblinL G | |
#000000 #d77355 #64b964 #e6c86e | |
20002 | |
22220 | |
32320 | |
11110 | |
01110 | |
GoblinR | |
#000000 #d77355 #64b964 #e6c86e | |
20002 | |
02222 | |
02323 | |
01111 | |
01110 | |
DemonL D | |
#000000 #d77355 #646964 #e6c86e | |
20002 | |
11122 | |
31310 | |
11110 | |
01110 | |
DemonR | |
#000000 #d77355 #646964 #e6c86e | |
20002 | |
22111 | |
01313 | |
11110 | |
01110 | |
GhostL P | |
#000000 #646964 #dcf5ff #e6c86e | |
22220 | |
32322 | |
22220 | |
01111 | |
01110 | |
GhostR | |
#000000 #646964 #dcf5ff #e6c86e | |
02222 | |
22323 | |
02222 | |
01111 | |
01110 | |
slimeL S | |
#000000 #64b964 #e6c86e | |
00000 | |
00000 | |
01110 | |
21121 | |
11111 | |
slimeR | |
#000000 #64b964 #e6c86e | |
00000 | |
00000 | |
01110 | |
12112 | |
11111 | |
======= | |
LEGEND | |
======= | |
Hero = HeroL or HeroR | |
Player = Hero | |
Goblin = GoblinL or GoblinR | |
Demon = DemonL or DemonR | |
Ghost = GhostL or GhostR | |
Slime = SlimeL or SlimeR | |
Mob = Goblin or Demon or Ghost or Slime | |
Obstacle = Hero or Mob or Wall | |
Temp = temp1 or Temp2 or temp3 | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
background | |
rubble tiles | |
NextToHero | |
facade | |
stairs | |
wall hero mob | |
wallu | |
walld | |
wallr | |
walll | |
uncharted | |
temp1 | |
temp2 | |
temp3 | |
build | |
sight | |
====== | |
RULES | |
====== | |
( Build ) | |
[ b ][ ] -> [ b ][ uncharted ] | |
[ b ] -> [ ] | |
( Hero moves ) | |
[ left Hero ] -> [ left HeroL ] | |
[ right Hero ] -> [ right HeroR ] | |
( Hero Attcks ) | |
[ > Hero | Mob ] -> [ Hero | ] | |
( PATHFINDING ) | |
[ Player Background ] -> [ Player up Background ] | |
[ > Player Background ] -> [ > Player > Background ] | |
[ stationary Background no Wall | moving Background ] -> [ > Background | moving Background ] | |
( !!! ) | |
([ moving Background | > Background ] -> [ > Background | > Background ]) | |
[ > Background Mob ] -> [ > Background > Mob ] | |
( Monsters move ) | |
[ left Goblin ] -> [ left GoblinL ] | |
[ right Goblin ] -> [ right GoblinR ] | |
[ left Demon ] -> [ left DemonL ] | |
[ right Demon ] -> [ right DemonR ] | |
[ left Slime ] -> [ left SlimeL ] | |
[ right Slime ] -> [ right SlimeR ] | |
[ left Ghost ] -> [ left GhostL ] | |
[ right Ghost ] -> [ right GhostR ] | |
( Next To Hero zone ) | |
late [ NextToHero ] -> [ ] | |
late [ Hero | ] -> [ Hero no Uncharted | NextToHero no Uncharted ] | |
late [ no Nexttohero no Hero | Nexttohero | no Nexttohero no Hero ] -> [ Nexttohero no Uncharted | Nexttohero no Uncharted | Nexttohero no Uncharted ] | |
( Sight ) | |
( Setting te furstest ine can see ) | |
late [ Hero | | | | | | ] -> [ Hero | | | | | | Temp3 ] | |
( Look all the way there ) | |
late [ Hero | no Wall ] -> [ Hero | Temp1 ] | |
late [ Hero | ... | Temp1 | no Wall no Temp3 ] -> [ Hero | ... | Temp1 | Temp1 ] | |
late [ Temp3 ] -> [ ] | |
( And to the sides ) | |
late [ Temp1 | no Wall ] -> [ Temp1 | Temp2 ] | |
late [ Temp2 | no Wall no Temp ] -> [ Temp2 | Temp3 ] | |
late [ Temp3 | no Wall no Temp ] -> [ Temp3 | Temp1 ] | |
late [ Temp ] -> [ no Uncharted ] | |
( Show walls ) | |
late up [ wall | no wall no uncharted ] -> [ wall wallu no uncharted | ] | |
late down [ wall | no wall no uncharted ] -> [ wall walld no uncharted | facade ] | |
late left [ wall | no wall no uncharted ] -> [ wall walll no uncharted | ] | |
late right [ wall | no wall no uncharted ] -> [ wall wallr no uncharted | ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
####################################B | |
##################################### | |
##################################### | |
##################################### | |
###################.G.....G..######## | |
###################.....####.##..#### | |
##############.......G..####.....#### | |
####....######.####....G####.##..#### | |
####.+..#...##.#####.######...####### | |
####........#...####.#####.....###### | |
####....#...#...####.#####.---.###### | |
####....##.................---...#### | |
####.S..##..#...#....#####.---.#.#### | |
####....###..........#####.....#.#### | |
###########.............###...##.#### | |
####################....########.#### | |
########....########....########.#### | |
########....,...####....####.....#### | |
########...,#...####..s.####.....#### | |
#####..s,,..#...##......####.....#### | |
#####.,.,#####.###.#....####.....#### | |
#####,,,.#####.#.....s..####..H..#### | |
#####..,,#####...#......####.....#### | |
##################################### | |
##################################### | |
##################################### | |
##################################### | |
################ | |
#,,,#######....# | |
#,#D###...G.##.# | |
#.,.###G,,,.#..# | |
##.####...P,#.P# | |
##.######.###.## | |
##,#,..##.###.## | |
##.#,H.##.##...# | |
##,#.,,#...#.+.# | |
##.S...s.#.#...# | |
#####.####.##### | |
###...#-----#### | |
#...###---G-#### | |
#...###-----#### | |
################ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment