Skip to content

Instantly share code, notes, and snippets.

@lee2sman
Created September 22, 2024 22:00
Show Gist options
  • Save lee2sman/b512ae589a366493d28b5236ec6fc96a to your computer and use it in GitHub Desktop.
Save lee2sman/b512ae589a366493d28b5236ec6fc96a to your computer and use it in GitHub Desktop.
island adrift (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title island adrift
author not a pipe
homepage notapipe.itch.io
color_palette atari
realtime_interval 0.5
norepeat_action
throttle_movement
noundo
run_rules_on_level_start
(
WORKSHOP STARTER FILE
Press Run to compile, X or Spacebar to start
Alter sprites, edit "level", add sound and hit Rebuild to live-reload
)
========
OBJECTS
========
Background
lightblue
Player
white brown
0....
00...
0000.
..0..
..111
building
gray
hotel
green
land
yellow
=======
LEGEND
=======
. = background
p = player
l = land
b = building
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
land
building, hotel
player
======
RULES
======
random [ player | background ] -> [ | player background ]
random horizontal [ hotel | hotel | background] -> [ hotel | background | background ]
[ action player building land ] -> [ player hotel ]
[ action player land ] -> [ player land building ]
random [ land | ] -> [ land | land ]
random [ building | land ] -> [ hotel | land ]
random [ land | ... | land ] -> [ land | ... | building ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
............lll.........................
..............l....................ll...
........................................
............................l...........
...........................lll..........
....l..l...................lll..........
....llll....................l...........
....llll..............................ll
.....ll...........ll...................l
............p......l....................
........................................
...........................l............
..........................ll.......ll...
..ll......................ll......llll..
.ll......................lll......lll...
lll.......................ll.......l....
ll...........ll............l............
lll.........lll.........................
........................................
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment