Created
November 7, 2021 10:02
-
-
Save octoConnors/8d57c0fe5bbd9868152c4d5ed375c1dd to your computer and use it in GitHub Desktop.
0H Game (PuzzleScript Script)
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
title 0H Game | |
author Connorses | |
homepage https://twitter.com/ConnorsMcH | |
realtime_interval 0.07 | |
======== | |
OBJECTS | |
======== | |
Background | |
yellow black | |
11111 | |
11111 | |
11111 | |
11111 | |
11111 | |
Player | |
white | |
000.. | |
.000. | |
..000 | |
.000. | |
000.. | |
bomb | |
red | |
.0.0. | |
00000 | |
.000. | |
00000 | |
.0.0. | |
bullet | |
white | |
..... | |
..00. | |
.000. | |
..00. | |
..... | |
ebU | |
red | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
ebD | |
red | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
ebL | |
red | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
ebR | |
red | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
timerStart | |
white | |
..... | |
..... | |
..... | |
..... | |
..0.. | |
timer | |
white | |
..... | |
..... | |
..... | |
..0.. | |
..0.. | |
moveEnemy | |
green | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
timerEnd | |
red | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
P = Player | |
# = bomb | |
T = timer and timerStart | |
M = moveEnemy | |
E = timerEnd | |
enemy = bomb | |
eb = ebU or ebD or ebL or ebR | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Player, bomb | |
bullet | |
ebU | |
ebD | |
ebL | |
ebR | |
timer | |
timerStart, moveEnemy, timerEnd | |
====== | |
RULES | |
====== | |
[timerStart] [timerEnd timer] -> [timerStart timer] [timerEnd] | |
[horizontal player] -> cancel | |
right [bullet|bomb]->[ |bullet bomb] | |
down [ |bullet bomb| ] -> [ebU|bullet bomb|ebD] | |
right [ |bullet bomb| ] -> [ebL|bullet bomb|ebR] | |
[ebU] [stationary player] -> [up ebU ] [stationary player] | |
[ebD] [stationary player] -> [down ebD ] [stationary player] | |
[ebL] [stationary player] -> [left ebL ] [stationary player] | |
[ebR] [stationary player] -> [right ebR] [stationary player] | |
[bullet] [stationary player] -> [right bullet] [stationary player] | |
[stationary enemy] [stationary player] [timer moveEnemy] -> [left enemy] [player] [timer moveEnemy] | |
[bullet enemy] -> [ ] | |
right [bullet|enemy] -> [bullet|enemy] | |
right [action player| ]->[stationary player|bullet] | |
[timer] -> [right timer] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
TME...............................#............................................. | |
..................................#............................................. | |
..................................#............................................. | |
..................................#............................................. | |
..................................#............................................. | |
...p..............................#............................................. | |
..................................#............................................. | |
..................................#............................................. | |
..................................#............................................. | |
..................................#............................................. | |
..................................#............................................. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment