Last active
February 16, 2021 05:43
-
-
Save sfiera/72649bfb7b72f42306261e6211841b57 to your computer and use it in GitHub Desktop.
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
(Bug report? | |
When moving into the green square, the restart is triggered. | |
When moving into the red square, it doesn’t restart. | |
That’s because the red square is on the same layer as the player. | |
The move into the red square doesn’t succeed, so the whole turn is cancelled. | |
But the move into the green square succeeds, so the game restarts.) | |
title No Restart | |
author Chris Pickel | |
homepage www.puzzlescript.net | |
require_player_movement | |
======== | |
OBJECTS | |
======== | |
Background . | |
Black | |
Player P | |
White | |
Green G | |
Green | |
Red R | |
Red | |
======= | |
LEGEND | |
======= | |
Color = Red or Green | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Player, Red | |
Green | |
====== | |
RULES | |
====== | |
[> Player | Color] -> restart | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
P... | |
..GR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment