Skip to content

Instantly share code, notes, and snippets.

@variousauthors
Created January 21, 2025 20:52
Show Gist options
  • Select an option

  • Save variousauthors/1f797c8bcbc7399ef46200d30ab0a504 to your computer and use it in GitHub Desktop.

Select an option

Save variousauthors/1f797c8bcbc7399ef46200d30ab0a504 to your computer and use it in GitHub Desktop.

Revisions

  1. variousauthors created this gist Jan 21, 2025.
    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
    242 changes: 242 additions & 0 deletions script.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,242 @@
    title Kit's Cookies
    author John Thyer
    noaction

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

    (Main Game Assets)

    Background
    gray
    00000
    00000
    00000
    00000
    00000

    PanLeft
    darkbrown
    ...00
    ...00
    ...00
    ...00
    ...00

    PanRight
    darkbrown
    00...
    00...
    00...
    00...
    00...

    Wall
    orange brown
    00000
    00111
    00000
    00000
    11001

    PlayerL
    pink lightblue white brown
    311.2
    33122
    0012.
    000..
    .33..

    PlayerR
    pink lightblue white brown
    2.113
    22133
    .2100
    ..000
    ..33.

    Cookie1
    yellow brown
    .000.
    01000
    00010
    00100
    .000.

    Cookie2
    yellow brown
    .000.
    00000
    00000
    00000
    .000.



    Baked1
    brown darkbrown
    .000.
    01000
    00010
    00100
    .000.

    Baked2
    brown
    .000.
    00000
    00000
    00000
    .000.

    (Ending Assets)

    Kit
    pink lightblue white brown
    2.113
    22133
    .2100
    ..000
    ..33.

    Kat
    blue green white #ebcb99
    311.2
    33122
    0012.
    000..
    .33..

    KatEnd
    blue green white #ebcb99
    311.2
    33122
    0012.
    000..
    .33..

    Black
    orange
    00000
    00000
    00000
    00000
    00000

    BlackWall
    orange
    00000
    00000
    00000
    00000
    00000

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

    (Main Game Assets)
    . = Background
    # = Wall
    P = PlayerL
    * = Cookie1
    & = Cookie2
    q = Baked1
    w = Baked2
    L = Wall and PanLeft
    R = Wall and PanRight

    (Ending Assets)
    , = Black
    n = Baked1 and Black
    m = Baked2 and Black
    t = Kit and Black
    y = Kat and Black
    u = KatEnd and Black
    i = BlackWall

    (Aliases)
    Cookie = Cookie1 or Cookie2
    Baked = Baked1 or Baked2
    Player = PlayerL or PlayerR or KatEnd
    MainPlayer = PlayerL or PlayerR

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

    Cookie MOVE 36772507
    Baked CREATE 20422303
    startgame 63795503
    Kat MOVE 79750703

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

    Background
    Black
    Player, Wall, BlackWall, Cookie, Baked
    PanLeft,PanRight,Kit,Kat

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

    [Left PlayerR ] -> [Left PlayerL]
    [Right PlayerL ] -> [Right PlayerR]

    [ > Player | Cookie ] -> [ > Player | > Cookie ]

    [ Left KatEnd ] -> [Left Kat]

    late [ Cookie1 | Cookie1 | Cookie1 | Cookie1 | Cookie1] -> [ Baked1 | Baked1 | Baked1 | Baked1 | Baked1]
    late [ Cookie2 | Cookie2 | Cookie2 | Cookie2 | Cookie2] -> [ Baked2 | Baked2 | Baked2 | Baked2 | Baked2]

    late [ Cookie1 | Cookie1 | Cookie1 | Cookie1 ] -> [ Baked1 | Baked1 | Baked1 | Baked1]
    late [ Cookie2 | Cookie2 | Cookie2 | Cookie2 ] -> [ Baked2 | Baked2 | Baked2 | Baked2]

    late [ Cookie1 | Cookie1 | Cookie1 ] -> [ Baked1 | Baked1 | Baked1 ]
    late [ Cookie2 | Cookie2 | Cookie2 ] -> [ Baked2 | Baked2 | Baked2 ]

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

    no Cookie
    no KatEnd

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

    ############
    #Lqq.qqqqqR#
    #Lq...&.qqR#
    #L.p.&..*.R#
    #L.*q.&...R#
    #L.*.....qR#
    ############

    message "and then"

    ############
    #Lqq.qqqqqR#
    #Lq...&.qqR#
    #L.p.&..*.R#
    #L.*q.&...R#
    #L.*....qqR#
    ############

    message "and finally"

    ############
    #LqqqqqqqqR#
    #Lq...&qqqR#
    #L.p.&..*.R#
    #L.*q.&...R#
    #L.*....qqR#
    ############