Skip to content

Instantly share code, notes, and snippets.

@BaseCase
Created September 12, 2018 21:09
Show Gist options
  • Select an option

  • Save BaseCase/b24cd78f29e384df9f1310e213642cf1 to your computer and use it in GitHub Desktop.

Select an option

Save BaseCase/b24cd78f29e384df9f1310e213642cf1 to your computer and use it in GitHub Desktop.

Revisions

  1. BaseCase created this gist Sep 12, 2018.
    1 change: 1 addition & 0 deletions readme.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Play this game by pasting the script in http://www.puzzlescript.net/editor.html
    104 changes: 104 additions & 0 deletions script.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,104 @@
    title Simple Block Pushing Game
    author Stephen Lavelle
    homepage www.puzzlescript.net

    ========
    OBJECTS
    ========

    Background
    Black


    Target
    BLUE
    .....
    .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 Yellow
    00000
    0...0
    0...0
    0...0
    00000


    =======
    LEGEND
    =======

    . = Background
    # = Wall
    P = Player
    * = Crate
    @ = Crate and Target
    O = Target


    =======
    SOUNDS
    =======

    Crate MOVE 36772507

    ================
    COLLISIONLAYERS
    ================

    Background
    Target
    Player, Wall, Crate

    ======
    RULES
    ======

    [ > Player | Crate ] -> [ > Player | > Crate ]

    ==============
    WINCONDITIONS
    ==============

    All Target on Crate

    =======
    LEVELS
    =======


    ######
    #.O..#
    #....#
    #@P..#
    #..*.#
    #....#
    ######


    ######
    #....#
    #.#P.#
    #.*@.#
    #.O@.#
    #....#
    ######