Skip to content

Instantly share code, notes, and snippets.

@Ragzouken
Forked from anonymous/readme.txt
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save Ragzouken/9124406 to your computer and use it in GitHub Desktop.

Select an option

Save Ragzouken/9124406 to your computer and use it in GitHub Desktop.
chaos wizard source
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title chaos wizard
author mark wonnacott
homepage http://twitter.com/ragzouken
youtube JDIj3zPwEvw
(run_rules_on_level_start)
realtime_interval 0.2
========
OBJECTS
========
Space
black darkblue
00010
00000
00000
01000
00000
Background
darkblue darkgreen
00000
01000
00010
00001
00100
Dirt
black darkbrown darkblue
01112
21212
02121
20021
00010
Wall
darkgreen grey darkgrey
01112
21212
02121
20021
00010
Red
red lightred darkred
..0..
.010.
22110
.220.
..2..
Blue
blue lightblue purple
..0..
.010.
22110
.220.
..2..
Green
green lightgreen darkgreen
..0..
.010.
22110
.220.
..2..
Orange
orange yellow red
..0..
.010.
22110
.220.
..2..
Silver
grey lightgrey darkgrey
..0..
.010.
22110
.220.
..2..
Sigil
red darkred
1.0.1
..0..
00000
..0..
1.0.1
Prism
white lightblue grey
..0..
.000.
00000
.000.
..0..
MoveUp
white
MoveDown
white
MoveLeft
white
MoveRight
white
Expand
white
Inhibit
white
Hold
blue lightblue
.1.1.
1.0.1
.0.0.
1.0.1
.1.1.
Burn
red orange yellow white
.010.
01210
12321
01210
.010.
Build
orange yellow red
10.01
00000
.0.0.
00000
10.01
Player
black darkgrey yellow
..1..
.111.
.212.
00100
00000
Rival
black darkgrey red
..1..
.111.
.212.
00100
00000
Goal
black
0.0.0
.0.0.
0.0.0
.0.0.
0.0.0
=======
LEGEND
=======
, = Space
. = Background
+ = Prism
# = Dirt
X = Wall
@ = Player and Inhibit
R = Red
G = Green
B = Blue
O = Orange
S = Silver
? = Goal
$ = Sigil
% = Rival
[ = Space and Hold and MoveLeft
] = Space and Hold and MoveRight
£ = Space and Sigil
Wizard = Player or Rival
Mana = Red or Blue or Green or Orange or Silver
Barrier = Dirt or Wall
Command = MoveUp or MoveDown or MoveLeft or MoveRight or Expand
Whisp = Hold or Burn or Build
Holdable = Wizard or Mana
Destructable = Wizard or Mana or Dirt
=======
SOUNDS
=======
sfx1 68148303 (cast)
sfx2 24680901 (fall)
sfx3 17088108 (burn)
sfx4 44666101 (build)
================
COLLISIONLAYERS
================
Command, Inhibit
Background
Space
Sigil, Goal
Wizard, Mana, Prism, Barrier
Whisp
======
RULES
======
(pause game until first move)
[ Inhibit ] [ moving Player ] -> [ ] [ moving Player ]
[ Inhibit ] -> cancel
(PHYSICS)
==========
(player cannot move whilst teleporting)
[ moving Player Hold ] -> [ Player Hold ]
(player cannot walk off the edge)
[ > Player no Hold | Space ] -> [ Player | Space ]
(objects fall into pits when not held)
[ stationary Player ] [ Holdable no Hold Space ] -> [ stationary Player ] [ Space ] sfx2
(mana can be pushed or pulled)
[ parallel Wizard | Mana ] -> [ parallel Wizard | parallel Mana ]
(mana cannot be moved onto a sigil)
[ > Mana | Sigil ] -> [ Mana | Sigil ]
(mana pushes mana)
[ > Mana | Mana ] -> [ > Mana | > Mana ]
(WIZARDS)
==========
(action places/erases sigils)
[ action Wizard Sigil ] -> [ Wizard ]
[ action Wizard ] -> [ Wizard Sigil ]
(rival ai)
[ stationary Rival | Goal ] -> [ > Rival | Goal ]
[ Rival Goal ] -> [ Goal ]
(MAGIC)
========
(spells recipes)
[ stationary Player ] [ Sigil no Wizard ] -> [ Player ] [ action Sigil ]
(casting sound)
random [ action Sigil | Mana ] -> [ action Sigil | Mana ] sfx1
[ Blue | action Sigil ] -> [ | > Hold ]
[ Orange | action Sigil ] -> [ | > Build ]
[ Red | action Sigil ] -> [ | > Burn ]
[ Blue | Green | action Sigil ] -> [ Blue | Blue | Blue ]
[ Orange | Green | action Sigil ] -> [ Orange | Orange | Orange ]
[ Red | Green | action Sigil ] -> [ Red | Red | Red ]
[ Green | action Sigil ] -> [ Red | Blue ]
[ Silver | action Sigil ] -> [ Prism | ]
[ Prism | action Sigil ] -> [ Silver | ]
(prism expands a spell)
[ stationary Player ] [ Whisp Prism ] -> [ Player ] [ Expand Whisp Prism ]
(shortcut to create directional mediators)
[ up Whisp ] -> [ Whisp MoveUp ]
[ down Whisp ] -> [ Whisp MoveDown ]
[ left Whisp ] -> [ Whisp MoveLeft ]
[ right Whisp ] -> [ Whisp MoveRight ]
(apply movement to mediators)
[ stationary Player ] [ Whisp MoveUp ] -> [ Player ] [ up Whisp up MoveUp ]
[ stationary Player ] [ Whisp MoveDown ] -> [ Player ] [ down Whisp down MoveDown ]
[ stationary Player ] [ Whisp MoveLeft ] -> [ Player ] [ left Whisp left MoveLeft ]
[ stationary Player ] [ Whisp MoveRight ] -> [ Player ] [ right Whisp right MoveRight ]
(expand multiplies the spell in all directions)
up [ Whisp Expand | no Command no Barrier ] -> [ Whisp Expand | Whisp MoveUp ]
down [ Whisp Expand | no Command no Barrier ] -> [ Whisp Expand | Whisp MoveDown ]
left [ Whisp Expand | no Command no Barrier ] -> [ Whisp Expand | Whisp MoveLeft ]
right [ Whisp Expand | no Command no Barrier ] -> [ Whisp Expand | Whisp MoveRight ]
[ stationary Player ] [ > Whisp > Command | Prism ] -> [ Player ] [ > Whisp Command | Prism ]
[ stationary Player ] [ Whisp Expand ] -> [ Player ] [ ]
(whisps fizzle on barriers or goal)
[ Whisp Barrier ] -> [ action Whisp Barrier ]
[ Whisp Goal ] -> [ action Whisp Goal ]
(teleport moves objects)
[ > Hold Holdable ] -> [ > Hold > Holdable ]
(burn destroys wizards, dirt, mana)
[ Burn Destructable ] -> [ Burn ]
(build builds floor)
[ Build Space ] -> [ Build ] sfx4
(spells cancel out)
[ > Whisp Command | Whisp Command ] -> [ action Whisp | action Whisp ]
[ action Burn ] -> [ ] sfx3
[ action Whisp ] -> [ ]
(clean up whispless move commands - stationary due to prism mechanics)
[ stationary Player ] [ Command no Whisp ] -> [ Player ] [ ]
==============
WINCONDITIONS
==============
some Player on Goal
no Rival
=======
LEVELS
=======
message you are a chaos wizard - heir of an ancient sigil - a sigil with the power to free magick from its mineral slumber
message cast spells by placing your sigil next to mana ores. escape this tomb
(rival wizard, introduce teleport, teach pulling)
x##xxxxxxx##x
xxxxxbbbxxxxx
x,,xx...xx,,x
,,,,#...#,,,,
,,,,#...#,,,,
,,,,#...#,,,,
,,,,#...#,,,,
,,,,#.@.#,,,,
,,,,#...#,,,,
,,,,#...#,,,,
,,,,#...#,,,,
,,,,#$$$#,,,,
x,,xxbbbxx,,x
xxxxx.%.xxxxx
x##xx???xx##x
(move demo, teach teleport)
x,,xxxxxxx,,x
xxxxx...xxxxx
x##xx.@.xx##x
####x...x####
##xxx...xxx##
##xb......x##
##x.x...x.x##
##x...b.b.x##
##x...$...x##
##x.x.%.x.x##
##x,,.....x##
##x,,,,,..x##
##x,x,,,xbx##
##x,,..,,,x##
##xxx...xxx##
####x???x####
(teach that mana can be teleported)
##xxxxxx#####
##x.....x####
##x.@...,x###
##.....,,,x##
##....,,...x#
#.b##x,b...x#
#.####x..b.x#
#..###.$.$.x#
##.....b.%.x#
#######x.,,x#
#######x,,,x#
#######x,,,x#
#######x,..x#
#######x???x#
(introduce fireball, teach fireball)
###xxxxxxx###
###xx...xx###
###xx.@.xx###
###xx...xx###
###xx...xx###
###xx...xx###
#rr#x...xx###
rrrr..$.xx###
rr####R.xx###
r#######xx###
r#######xx###
######..xx###
###xx...xx###
###xx.%.xx###
###xx???xx###
(puzzle: teleport, fireball, teleporting mana)
###############
#####xxxxx#####
#xxxxxbrbxxxxx#
#x,,,,...,,,,x#
#x,....@....,x#
#x,.,,...,,.,x#
#x,.,,,,,,,.,x#
#xr..,x#x,..bx#
#xr..,#.#,..rx#
#xr$.,x#x,.$bx#
#x,,,,,,,,,,,x#
#x,.,,rrr,,.,x#
#x,.........,x#
#x,,,,$$$,,,,x#
#xxx#.bbbxxxxx#
#####x.%.x#####
#####x???x#####
(introduce & teach pre-sigil)
###xxxxxxx###
###xx...xx###
###x..@..x###
##x.....##x##
#x.r....###x#
#x$#r#x..##x#
#x###x.b.$bx#
#x###x$x..,x#
#x.##x%x..,x#
#x..#,...,,x#
#x...,,,,,,x#
##x...,,,,x##
###x....,x###
###xx...xx###
###xx???xx###
(puzzle: fireball, pre-sigil)
#################
#####xxxxxxx#####
#xxxxxx...xxxxxx#
#xr...x.@.xr###x#
#xr.....#...###x#
#xrr..x...x..##x#
#xxxx..,,,.#xxxx#
####x.x,,,x.x####
####x..,,,.#x####
####x.x,,,x#x####
####x..,,,.#x####
####x.x,,,x.x####
####x..,,,.#x####
####xx#$.$.xx####
#####xxr%rxx#####
#####xx???xx#####
(introduce split, teach split)
###xxxxxxx###
###xx...xx###
###xx.@.xx###
###xx...xx###
###xx...xx###
###xx.g.xx###
####x...xx###
#####...xx###
#######.xx###
########xx###
######,,xx###
#####,,,xx###
####x,..xx###
###xx.%.xx###
###xx???xx###
(puzzle: teleport, fireball, split)
#######xxxxx#
#xxxxxxx...x#
#x###b...@.x#
#x####r$...x#
#x##r$...,.##
#x#.gxx.,,,,#
#x...x##,,,,#
#x###x##,,,,#
#xg##x##,,,,#
#x...xxx,,,.#
#x.......,,.#
#x.....###,b#
#x....###.#x#
#xxxxxxx.%.x#
#######x???x#
(introduce multiply, teach multiply)
x###xxxxx###x
xx#xx...xx#xx
,x#x.@...x#x,
xxxxx...xxxxx
xbg$x.$#x$grx
xbg$x.r#x$grx
xxxxx$##xxxxx
,x#x.r...x#x,
xxxxx##.xxxxx
xbg$###...grx
xbg$x..,x.,,x
xxxxx.,,xxxxx
,x#x.,,,.x#x,
xx#xx,,%xx#xx
x###x???x###x
(puzzle: fireball, teleport mana, multiply)
####xxxxxxx####
####xx...xx####
###xxx.@.xxx###
###x.xr.rx.x###
###x...r...x###
xxxx.......xxxx
x..x,.$$$.,x.rx
x.g.,.rrr.,...x
x.#...x#x.....x
x...,#####,...x
xb.x,##.##,x..x
xxxx#...#..xxxx
###x.##..##x###
###x.x.%#x#x###
###xxx???xxx###
(puzzle: fireball, teleport, teleport mana, split, multiply)
####xxxxxxx####
####xx.@.xx####
#####r...g#####
####r.,,,.#####
####r.,,,.#g###
####..,,,..####
###b.....$.#g##
###....,,r..###
###...,,,,..###
####.$,,,,,,###
####$r,,,#...##
####r,,###....#
###,,,####....#
####xx#%#xx.r##
####xx???xx####
(introduce amplification, teach amplification)
###xxxxxxx###
#xxxx...xxxx#
#xrxx.@.xx,x#
#x.........x#
#x,,.xxxxxgx#
#x+,#x###x.x#
#x,,.xxxxx.x#
#x.r..#...rx#
#xgxxxxx.,,x#
#x#x###x#,+x#
#x#xxxxx.,,x#
#x.###....$x#
#x,xx...xxbx#
#xxxx.%.xxxx#
###xx???xx###
(amplified teleport)
,,xxxxxxx,,
,#xx...xx#,
,#xx.@.xx#,
#+.,$b.,.+#
,..#...,..#
,,,#,,###,#
,..#...#..#
#+.,.+r£.+#
#..,##.,..,
,,,,,,,,,,,
,.#,##.,..#
#x.,.x.,.+#
##xx...xx##
#,xx.%.xx,#
,,xx???xx#,
(puzzle: fireball, amplified fireball)
###xxxxxxx###
#xxxx...xxxx#
#xrxx.@.xxrx#
#xr.......rx#
#x..##.#...x#
#x..,,,,,##x#
#x#.,,,,#.#x#
#x###,+,###x#
#x..#,,,##.x#
#x..,,,,,##x#
#x.######..x#
#x.#####...x#
#xrxx#.#xxrx#
#xxxx.%.xxxx#
###xx???xx###
(puzzle: fireball, split, amplified teleport)
###xxxxxxx###
#xxxx...xxxx#
#xbxx.@.xx.x#
#x..x...x...#
#x...,.,...,#
#x...,.,...,#
#x..,...,..,#
#x.#...r.#.##
#x.x,,,,,x.x#
#xgx+,+,+x.x#
#x#xxx,xxx.x#
#x##..$...#x#
#x#xx.r.xx#x#
#xxxx.%.xxxx#
###xx???xx###
(puzzle: fireball, sigil-first, split, multiply, amplified teleport)
###xxxxxxx###
#xxxx...xxxx#
#x#xx.@.xx.x#
#x........gx#
#xgx..x..x.x#
#x.x.....x.x#
#x,,x...x,,x#
#x+,..,..,+x#
#x,,x$.$x,,x#
#x.x.r.r.x.x#
#x.x.#x#.x.x#
#x...###...x#
#x.xx#.#xx.x#
#xxxx.%.xxxx#
###xx???xx###
(introduce mobile amplify, teach mobile amplify)
(puzzle: teleport, amplified teleport)
###xxxxxxxx,,
#xxxx...xxx,,
#x.xx.@.xx,,,
#xbbs...,,,,#
#xx.,,.,,,+##
#xx.,,.,,,,,#
#xx,,x.x,,,,,
#x,,,r$,,,+##
#xx,,x,x,,,##
#xx.,,,,,,,,#
#xx.,##,,,,,,
#x....##,,,,,
#x.xx..#xx,,,
#xxxx.%.xxx,,
###xx???xxx,,
(puzzle: teleport, fireball, mobile amplify)
#################
#####xxxxxxx#####
#xxxxxx.@.xxxxxx#
#x.bbx.+++.x+.+x#
#x...x.....x.xrx#
#x#.....b....x$x#
#x..$x..$..x.x.x#
#x..rx.....x+.+x#
#xx$xx#.%..xxxxx#
#x#r..##.....##x#
#x#...#,,,.###.x#
#x##...,,,.#.##x#
#x##...,,,.##.bx#
#xxxxxx...xxxxxx#
#####xx...xx#####
#####xx???xx#####
message i cannot allow you to proceed
(gauntlet i: fireball dodging)
,,xxxxxxxxx,,
,,xxx...xxx,,
,,,xx.@.xx,,,
x,,,,...,,,,,
+.,,,.b.,,,,x
..x,,.$.,,,.+
+.+.,.%.,,x..
...x,...,.+.+
+.+.,...,x...
$.x,,...,.+.+
rx,,,...,,x.$
x,,,,...,,,xr
,,,,,...,,,,x
,,,xx...xx,,,
,,xxx...xxx,,
,,xxx???xxx,,
message your power waxes and thus mine wanes
(gauntlet ii: impending fireball doom)
####xxxxx####
#xxxxbbbxxxx#
#x.,..@..,.x#
#x.,.....,.x#
#x.,.....,.x#
#x.,#####,.x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,#######,x#
#x,,#####,,x#
#x,,,,,,,,,x#
#x,x+++++x,x#
#x.xxx$xxx.x#
#x....r....x#
#xxxx.%.xxxx#
####x???x####
(message it seems you cannot be stopped
(gauntlet iii: interference pattern)
#######xxxxx#######
###xxxxx...xxxxx###
###x...s.@.s...x###
###x...s...s...x###
#xxx,,,,sbs,,,,xxx#
#x+,,,,,...,,,,,,x#
#x+,,,,,$r.,,,,,,x#
#x+,,,,,...,,,,,,x#
#x+,,,,,$$$,,,,,,x#
#xxx,,,,bbb,,,,xxx#
###x...$...$...x###
###x...r...r...x###
###xxxxx.%.xxxxx###
#######x???x#######)
message there isn't enough mana in the cosmos to stop fate
message ...but you shall not leave whilst i live
(boss)
,,x###xxxxx###x,,
,,xrrrxb.bxrrrx,,
,,,.....@.....,,,
,,,,,,,...,,,,,,,
,,,,,,,,,,,,,,,,,
,+x,,,,,,,,,,,x+,
+x+,,,,,[,,,,,+x+
x+%,,,,,,,,,,,.+x
,,,,,,x,x,x,,,,,,
,,,,,,,???,,,,,,,
,,,,,,x???x,,,,,,
,,,,,,,???,,,,,,,
,,,,,,x,x,x,,,,,,
x+.,,,,,],,,,,.+x
+x+,,,,,,,,,,,+x+
,+x,,,,,,,,,,,x+,
,,,,,,,,,,,,,,,,,
message all of this has happened before, and all of this will happen again, my son
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment