Skip to content

Instantly share code, notes, and snippets.

@pgrenon1
Created May 16, 2019 00:39
Show Gist options
  • Save pgrenon1/a6c7972b8b47dd4a75e91065fc94e3a0 to your computer and use it in GitHub Desktop.
Save pgrenon1/a6c7972b8b47dd4a75e91065fc94e3a0 to your computer and use it in GitHub Desktop.

Revisions

  1. pgrenon1 created this gist May 16, 2019.
    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
    187 changes: 187 additions & 0 deletions script.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,187 @@
    title Piew Piew
    author Phil
    homepage www.puzzlescript.net

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

    Background
    LIGHTGREEN GREEN
    11111
    01111
    11101
    11111
    10111


    Target1
    DarkBlue
    .....
    .000.
    .0.0.
    .000.
    .....

    Target2
    Darkred
    .....
    .000.
    .0.0.
    .000.
    .....

    Wall
    BROWN DARKBROWN
    00010
    11111
    01000
    11111
    00010

    Player
    Black Orange White Blue
    .000.
    00000
    .2.2.
    .....
    .....

    Crate1
    Orange Yellow
    ..0..
    ...0.
    00000
    ...0.
    ..0..

    Crate2
    Orange Yellow
    ..0..
    ..0..
    0.0.0
    .000.
    ..0..

    Ball1
    Blue

    Ball2
    red

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

    . = Background
    # = Wall
    P = Player
    * = Crate1
    & = Crate2
    O = Target1
    I = target2

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

    Crate1 36772507


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

    Background
    Target1, target2
    Crate1,Crate2, Ball1, Ball2, Wall, Player


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

    [ > Player | Crate1 ] -> [ Player | Ball1 ]
    [ Ball1 ] -> [ > Ball1]

    [ > Player | Crate2 ] -> [ Player | Ball2 ]
    [ Ball2 ] -> [ v Ball2]

    [ > Ball2 | Crate1 ] -> [ Ball2 | Ball1 ]
    [ > Ball1 | Crate2 ] -> [ Ball1 | Ball2 ]
    ==============
    WINCONDITIONS
    ==============

    All target1 on ball1
    All target2 on ball2

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

    message Level 1

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

    message Level 2

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

    message Level 3

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

    message Level 4

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

    message Level 5

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

    message Level 6

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

    message Level 7

    #########
    #.P*...O#
    #...&...#
    #.......#
    #.......#
    #.......#
    #...I...#
    #.......#
    #########

    message Level 8

    #########
    #.P.....#
    #..*...&#
    #.......#
    #.......#
    #.......#
    #.......#
    #......I#
    #########