Last active
June 8, 2022 22:18
-
-
Save pancelor/a4cd79393efe4c5cf76b10669e553c08 to your computer and use it in GitHub Desktop.
Timing test (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 timing test | |
homepage www.puzzlescript.net | |
( realtime_interval 0.016666 (60fps)) | |
realtime_interval 0.0001 (10,000 fps) | |
======== | |
objects | |
======== | |
background | |
lightgreen green | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
target | |
darkblue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
wall | |
brown darkbrown | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
player | |
black orange white blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
crate | |
orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
movl | |
red | |
movr | |
red | |
movu | |
red | |
movd | |
red | |
======= | |
legend | |
======= | |
. = background | |
# = wall | |
p = player | |
* = crate | |
@ = crate and target | |
o = target | |
mov=movl or movr or movu or movd | |
stopper=crate or wall | |
======= | |
sounds | |
======= | |
crate move 36772507 | |
sfx0 7425304 | |
================ | |
collisionlayers | |
================ | |
background | |
target | |
mov | |
player, wall, crate | |
====== | |
rules | |
====== | |
(read movement) | |
left [> player] -> [movl > player] | |
right [> player] -> [movr > player] | |
up [> player] -> [movu > player] | |
down [> player] -> [movd > player] | |
(turn) | |
left [ movl player | stopper ] -> [ movu player | stopper ] sfx0 | |
up [ movu player | stopper ] -> [ movr player | stopper ] | |
right [ movr player | stopper ] -> [ movd player | stopper ] | |
down [ movd player | stopper ] -> [ movl player | stopper ] | |
(move) | |
left [movl player] -> [> movl > player] | |
right [movr player] -> [> movr > player] | |
up [movu player] -> [> movu > player] | |
down [movd player] -> [> movd > player] | |
============== | |
winconditions | |
============== | |
all target on crate | |
======= | |
levels | |
======= | |
###### | |
#....# | |
#....# | |
#...p# | |
#....# | |
#####o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment