Last active
March 28, 2023 19:36
-
-
Save Francis-McKee/5514e6165059d624f9bdf2f2007501b2 to your computer and use it in GitHub Desktop.
Color Rush
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
title Color Rush | |
author FrankzeeTank | |
level_select | |
continue_is_level_select | |
sprite_size 8 | |
font_size 8 | |
verbose_logging | |
mouse_left MouseClick | |
mouse_drag MouseDrag | |
======== | |
OBJECTS | |
======== | |
Background | |
white | |
Wall | |
black | |
Player | |
white | |
Cursor | |
gray | |
000..000 | |
0......0 | |
0......0 | |
...00... | |
...00... | |
0......0 | |
0......0 | |
000..000 | |
DragTarget | |
pink | |
........ | |
........ | |
........ | |
...00... | |
...00... | |
........ | |
........ | |
........ | |
MouseClick | |
pink | |
0......0 | |
.0....0. | |
..0..0.. | |
...00... | |
...00... | |
..0..0.. | |
.0....0. | |
0......0 | |
MouseDrag | |
pink | |
0......0 | |
.0.....0 | |
..0....0 | |
...0...0 | |
....0..0 | |
.....0.0 | |
......00 | |
00000000 | |
RedBlock | |
red | |
BlueBlock | |
blue | |
GreenBlock | |
green | |
YellowBlock | |
yellow | |
OrangeBlock | |
orange | |
PurpleBlock | |
purple | |
DarkGrayBlock | |
darkgray | |
RedGoal | |
red | |
00000000 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
00000000 | |
BlueGoal | |
blue | |
00000000 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
00000000 | |
GreenGoal | |
green | |
00000000 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
00000000 | |
YellowGoal | |
yellow | |
00000000 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
00000000 | |
OrangeGoal | |
orange | |
00000000 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
00000000 | |
PurpleGoal | |
purple | |
00000000 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
0......0 | |
00000000 | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
r = RedBlock | |
b = BlueBlock | |
g = GreenBlock | |
y = YellowBlock | |
o = OrangeBlock | |
p = PurpleBlock | |
l = DarkGrayBlock | |
T = RedGoal | |
@ = BlueGoal | |
$ = GreenGoal | |
% = YellowGoal | |
^ = OrangeGoal | |
& = PurpleGoal | |
DragBlock = RedBlock or BlueBlock or GreenBlock or YellowBlock or OrangeBlock or PurpleBlock or DarkGrayBlock | |
DragGoal = RedGoal or BlueGoal or GreenGoal or YellowGoal or OrangeGoal or PurpleGoal | |
======= | |
SOUNDS | |
======= | |
startgame 123413 | |
undo 123414 | |
restart 123414 | |
endlevel 123413 | |
endgame 123413 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
MouseClick, MouseDrag | |
DragGoal | |
Player, Wall, DragBlock | |
DragTarget | |
Cursor | |
====== | |
RULES | |
====== | |
(Whenever mouse is clicked, create cursor at that position) | |
[MouseClick] [Cursor] -> [MouseClick] [] | |
[MouseClick] [DragTarget] -> [MouseClick] [] | |
[MouseClick] -> [Cursor DragTarget] | |
(When mouse is dragged, actually add movement to cursor in this direction) | |
[Cursor] [DragTarget | MouseDrag] -> [> Cursor ] [ | DragTarget] | |
(When cursor is moved, add movement to the block being dragged in this direction) | |
rigid [> Cursor DragBlock] -> [> Cursor > DragBlock] | |
(Clean up for the start of the next turn, in case these were not cleaned up by the other rules) | |
[MouseClick] -> [] | |
[MouseDrag] -> [] | |
============== | |
WINCONDITIONS | |
============== | |
All RedGoal on RedBlock | |
All BlueGoal on BlueBlock | |
All GreenGoal on GreenBlock | |
All YellowGoal on YellowBlock | |
All OrangeGoal on OrangeBlock | |
All PurpleGoal on PurpleBlock | |
======= | |
LEVELS | |
======= | |
message Slide the correct solid colored block over its matching color goal! | |
section Level 1 | |
message Level 1 | |
####### | |
###r### | |
###l### | |
###..## | |
###l### | |
###T### | |
####### | |
section Level 2 | |
message Level 2 | |
###### | |
#...## | |
#.#.## | |
#.#..# | |
#.##.# | |
#.r#.# | |
####T# | |
section Level 3 | |
message Level 3 | |
####### | |
##...## | |
##.#.## | |
##.#b.# | |
@..##.# | |
##.r#.# | |
#####T# | |
section Level 4 | |
message Level 4 | |
####### | |
##....$ | |
##.#.## | |
##.#b.# | |
@g.##.# | |
##.r#.# | |
#####T# | |
section Level 5 | |
message Level 5 | |
####### | |
y.....$ | |
##.#.## | |
##.#b.# | |
@g.##.% | |
##.r#.# | |
#####T# | |
section Level 6 | |
message Level 6 | |
####### | |
y....o$ | |
##.#.## | |
##.#b.# | |
@g.##.% | |
##.r#.# | |
##^##T# | |
section Level 7 | |
message level 7 | |
####### | |
y&...o$ | |
##.#.## | |
##.#b.# | |
@g.##.% | |
##.r#p# | |
##^##T# | |
section Level 8 | |
message Level 8 | |
####### | |
#.....# | |
#$#y#%# | |
#r#T#g# | |
#$#g#%# | |
#y#T#r# | |
####### | |
message THE END | |
message Thanks for playing this microgame! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment