Skip to content

Instantly share code, notes, and snippets.

@masalt0
Created June 10, 2022 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masalt0/74ed840e1601de9210f1f403525f3bf1 to your computer and use it in GitHub Desktop.
Save masalt0/74ed840e1601de9210f1f403525f3bf1 to your computer and use it in GitHub Desktop.
De:Snakebird (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
title De:Snakebird
author masalt
sprite_size 9
smoothscreen 7x5 3x2
run_rules_on_level_start
========
OBJECTS
========
background .
lightblue lightblue lightblue lightblue
000000000
001100000
000000220
000022200
000000000
000003300
003333000
000000000
000000000
cloud1 copy:background
transparent white transparent transparent
cloud2 copy:background
transparent transparent white transparent
cloud3 copy:background
transparent transparent transparent white
player p
lightgreen black white
000000000
000000000
000000000
022202220
021202120
022202220
000000000
000000000
000000000
tail1 1
lightgreen
tail2 2
lightgreen
tail3 3
lightgreen
wall #
darkbrown
floor
darkbrown brown orange
221111222
111022201
100000000
000000000
000000000
000000000
000000000
000000000
000000000
noplayer
transparent
notail1
transparent
notail2
transparent
=======
LEGEND
=======
cloud = cloud1 or cloud2 or cloud3
snake = player or tail1 or tail2 or tail3
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
background
cloud1 cloud2 cloud3
noplayer notail1 notail2
player wall floor tail1 tail2 tail3
======
RULES
======
[background no cloud1 no cloud2 no cloud3] -> [ background random cloud]
up [wall|no wall no floor] -> [floor|]
[> player] -> [> player noplayer]
late [tail1][no tail1 noplayer|player] ->[notail1][tail1|player]
late [tail2][no tail2 notail1|tail1] ->[notail2][tail2|tail1]
late [tail3][no tail3 notail2|tail2] ->[][tail3|tail2]
late down[tail1|no floor no snake][tail2|no floor no snake][tail3|no floor no snake][player|no floor no snake]->[|tail1][|tail2][|tail3][|player]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
..........................
..........................
..........................
.21p......................
.3#########...............
#########.................
#####.....................
#.........................
..........................
..........................
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment