Full Code of Alzter/TuxBuilder for AI

master 571d323d18ad cached
380 files
667.1 KB
239.0k tokens
1 requests
Download .txt
Showing preview only (761K chars total). Download the full file or copy to clipboard to get everything.
Repository: Alzter/TuxBuilder
Branch: master
Commit: 571d323d18ad
Files: 380
Total size: 667.1 KB

Directory structure:
gitextract_fb5tcs7q/

├── .gitignore
├── LICENSE
├── README.md
└── src/
    ├── Audio/
    │   ├── Music/
    │   │   ├── invincible.ogg
    │   │   ├── invincible.ogg.import
    │   │   ├── theme.ogg
    │   │   └── theme.ogg.import
    │   └── SoundEffects/
    │       ├── Bonus/
    │       │   ├── brick.wav.import
    │       │   ├── coin.wav.import
    │       │   ├── fire-flower.wav.import
    │       │   ├── grow.ogg
    │       │   ├── grow.ogg.import
    │       │   ├── invincible_start.ogg
    │       │   ├── invincible_start.ogg.import
    │       │   ├── lifeup.wav.import
    │       │   └── upgrade.wav.import
    │       ├── Enemy/
    │       │   ├── beep.wav.import
    │       │   ├── beepfast.wav.import
    │       │   ├── cracking.wav.import
    │       │   ├── explode.wav.import
    │       │   ├── extinguish.wav.import
    │       │   ├── fall.wav.import
    │       │   ├── hiss.wav.import
    │       │   ├── humming.wav.import
    │       │   ├── iceblock_bump.wav.import
    │       │   ├── icecrash.ogg
    │       │   ├── icecrash.ogg.import
    │       │   ├── kick.wav.import
    │       │   ├── splash.ogg
    │       │   ├── splash.ogg.import
    │       │   ├── squish.wav.import
    │       │   └── stomp.wav.import
    │       ├── Objects/
    │       │   └── trampoline.wav.import
    │       └── Player/
    │           ├── bigjump.wav.import
    │           ├── flip.wav.import
    │           ├── hurt.wav.import
    │           ├── jump.wav.import
    │           ├── kill.wav.import
    │           ├── shoot.wav.import
    │           ├── skid.wav.import
    │           ├── thud.ogg
    │           └── thud.ogg.import
    ├── AutoLoad/
    │   └── Settings.gd
    ├── Scenes/
    │   ├── Editor/
    │   │   ├── Category.gd
    │   │   ├── Category.tscn
    │   │   ├── FileSelectButton.gd
    │   │   ├── FileSelectButton.tscn
    │   │   ├── Layer.gd
    │   │   ├── Layer.tscn
    │   │   ├── LayerMenu.gd
    │   │   ├── LayerMenu.tscn
    │   │   ├── Layers/
    │   │   │   ├── Background.gd
    │   │   │   ├── Background.tscn
    │   │   │   ├── Backgrounds/
    │   │   │   │   ├── Background.gd
    │   │   │   │   └── Snow.tscn
    │   │   │   ├── Layer.gd
    │   │   │   ├── LayerSelect.gd
    │   │   │   ├── TileMap.gd
    │   │   │   ├── TileMap.tscn
    │   │   │   └── Worldmap/
    │   │   │       └── TileMap.tscn
    │   │   ├── LevelTemplates/
    │   │   │   ├── Level.tscn
    │   │   │   └── Worldmap.tscn
    │   │   ├── Object.gd
    │   │   ├── Object.tscn
    │   │   ├── Tile.gd
    │   │   └── Tile.tscn
    │   ├── Levels/
    │   │   ├── SlopesThatDontWork.tscn
    │   │   └── TEST.tscn
    │   ├── Master/
    │   │   ├── Gameplay.gd
    │   │   └── Gameplay.tscn
    │   ├── Objects/
    │   │   ├── BadGuys/
    │   │   │   ├── BadGuy.gd
    │   │   │   ├── Bomb.gd
    │   │   │   ├── Bomb.tscn
    │   │   │   ├── Iceblock.gd
    │   │   │   ├── Iceblock.tscn
    │   │   │   ├── Iceblock_Smart.tscn
    │   │   │   ├── Jumpy.gd
    │   │   │   ├── Jumpy.tscn
    │   │   │   ├── Sawblade.gd
    │   │   │   ├── Sawblade.tscn
    │   │   │   ├── Snowball.gd
    │   │   │   ├── Snowball.tscn
    │   │   │   ├── Snowball_Smart.tscn
    │   │   │   ├── Spiky.gd
    │   │   │   ├── Spiky.tscn
    │   │   │   ├── Stalactite.gd
    │   │   │   ├── Stalactite.tscn
    │   │   │   ├── _1Down.gd
    │   │   │   └── _1Down.tscn
    │   │   ├── Bonus/
    │   │   │   ├── 1Up.tscn
    │   │   │   ├── BlockContainer.gd
    │   │   │   ├── BonusBlock.gd
    │   │   │   ├── BonusBlock.tscn
    │   │   │   ├── Brick.gd
    │   │   │   ├── Brick.tscn
    │   │   │   ├── Coin.tscn
    │   │   │   ├── Egg.tscn
    │   │   │   ├── FireFlower.tscn
    │   │   │   ├── Powerup.gd
    │   │   │   ├── Star.tscn
    │   │   │   ├── Trampoline.gd
    │   │   │   ├── Trampoline_Portable.gd
    │   │   │   ├── Trampoline_Portable.tscn
    │   │   │   ├── Trampoline_Static.gd
    │   │   │   └── Trampoline_Static.tscn
    │   │   ├── Map/
    │   │   │   ├── LevelDot.gd
    │   │   │   ├── LevelDot.tscn
    │   │   │   ├── SpawnPoint.gd
    │   │   │   └── SpawnPoint.tscn
    │   │   └── Misc/
    │   │       ├── CameraZoom.gd
    │   │       ├── CameraZoom.tscn
    │   │       ├── Expandable.gd
    │   │       ├── SpawnPoint.gd
    │   │       ├── SpawnPoint.tscn
    │   │       ├── Wind.gd
    │   │       └── Wind.tscn
    │   ├── Player/
    │   │   ├── Animation.gd
    │   │   ├── Objects/
    │   │   │   ├── Fireball.gd
    │   │   │   ├── Fireball.tres
    │   │   │   └── Fireball.tscn
    │   │   ├── Player.gd
    │   │   ├── Player.tscn
    │   │   ├── Worldmap.gd
    │   │   └── Worldmap.tscn
    │   ├── UI/
    │   │   ├── CoinCounter.gd
    │   │   ├── FileSelect.gd
    │   │   ├── FileSelect.tscn
    │   │   ├── Helpers.gd
    │   │   ├── Level.gd
    │   │   ├── LevelEditor.gd
    │   │   ├── LevelEditor.tscn
    │   │   ├── LevelUI.tscn
    │   │   ├── MainMenu.gd
    │   │   ├── MainMenu.tscn
    │   │   ├── Options.gd
    │   │   ├── Options.tscn
    │   │   ├── PauseMenu.gd
    │   │   ├── PauseMenu.tscn
    │   │   └── UITheme.tres
    │   └── Worldmaps/
    │       └── Main.tscn
    ├── Sprites/
    │   ├── Backgrounds/
    │   │   └── Snow/
    │   │       ├── arcticmountains-bg.png.import
    │   │       ├── arcticmountains-fg.png.import
    │   │       └── arcticmountains-sky.png.import
    │   ├── Creatures/
    │   │   ├── Bomb/
    │   │   │   ├── bomb-0.png.import
    │   │   │   ├── bomb-1.png.import
    │   │   │   ├── bomb-2.png.import
    │   │   │   ├── explosion.png.import
    │   │   │   ├── redglow.png.import
    │   │   │   ├── triggered.png.import
    │   │   │   └── whiteflash.png.import
    │   │   ├── Iceblock/
    │   │   │   ├── iceblock-0.png.import
    │   │   │   ├── iceblock-1.png.import
    │   │   │   ├── iceblock-2.png.import
    │   │   │   ├── iceblock-3.png.import
    │   │   │   ├── iceblock-4.png.import
    │   │   │   ├── iceblock-5.png.import
    │   │   │   ├── iceblock-6.png.import
    │   │   │   ├── iceblock-7.png.import
    │   │   │   ├── shard.png.import
    │   │   │   └── stomped-0.png.import
    │   │   ├── IceblockSmart/
    │   │   │   ├── shard.png.import
    │   │   │   ├── smartblock-0.png.import
    │   │   │   ├── smartblock-1.png.import
    │   │   │   ├── smartblock-2.png.import
    │   │   │   ├── smartblock-3.png.import
    │   │   │   ├── smartblock-4.png.import
    │   │   │   ├── smartblock-5.png.import
    │   │   │   ├── smartblock-6.png.import
    │   │   │   ├── smartblock-7.png.import
    │   │   │   └── stomped-0.png.import
    │   │   ├── Jumpy/
    │   │   │   ├── left-down.png.import
    │   │   │   ├── left-middle.png.import
    │   │   │   └── left-up.png.import
    │   │   ├── Snowball/
    │   │   │   ├── droplet.png.import
    │   │   │   ├── particle.png.import
    │   │   │   ├── snowball-0.png.import
    │   │   │   ├── snowball-1.png.import
    │   │   │   ├── snowball-2.png.import
    │   │   │   ├── snowball-3.png.import
    │   │   │   ├── snowball-4.png.import
    │   │   │   ├── snowball-5.png.import
    │   │   │   ├── snowball-6.png.import
    │   │   │   ├── snowball-7.png.import
    │   │   │   └── squished-0.png.import
    │   │   ├── SnowballSmart/
    │   │   │   ├── droplet.png.import
    │   │   │   ├── particle.png.import
    │   │   │   ├── smartball-0.png.import
    │   │   │   ├── smartball-1.png.import
    │   │   │   ├── smartball-2.png.import
    │   │   │   ├── smartball-3.png.import
    │   │   │   ├── smartball-4.png.import
    │   │   │   ├── smartball-5.png.import
    │   │   │   ├── smartball-6.png.import
    │   │   │   ├── smartball-7.png.import
    │   │   │   └── squished-0.png.import
    │   │   ├── Spiky/
    │   │   │   ├── melting-0.png.import
    │   │   │   ├── melting-1.png.import
    │   │   │   ├── melting-2.png.import
    │   │   │   ├── melting-3.png.import
    │   │   │   ├── melting-4.png.import
    │   │   │   ├── melting-5.png.import
    │   │   │   ├── melting-6.png.import
    │   │   │   ├── melting-7.png.import
    │   │   │   ├── spiky-0.png.import
    │   │   │   ├── spiky-1.png.import
    │   │   │   ├── spiky-2.png.import
    │   │   │   ├── spiky-3.png.import
    │   │   │   ├── spiky-4.png.import
    │   │   │   ├── spiky-5.png.import
    │   │   │   ├── spiky-6.png.import
    │   │   │   └── spiky-7.png.import
    │   │   ├── Stalactite/
    │   │   │   ├── broken.png.import
    │   │   │   ├── falling.png.import
    │   │   │   └── stalactiteshard.png.import
    │   │   └── Tux/
    │   │       ├── Big/
    │   │       │   ├── Bigtuxwalk1.png.import
    │   │       │   ├── Bigtuxwalk2.png.import
    │   │       │   ├── Bigtuxwalk3.png.import
    │   │       │   ├── Bigtuxwalk4.png.import
    │   │       │   ├── Bigtuxwalk5.png.import
    │   │       │   ├── Bigtuxwalk6.png.import
    │   │       │   ├── Bigtuxwalk7.png.import
    │   │       │   ├── Bigtuxwalk8.png.import
    │   │       │   ├── Fall1.png.import
    │   │       │   ├── Fall2.png.import
    │   │       │   ├── Fall3.png.import
    │   │       │   ├── Fall4.png.import
    │   │       │   ├── Jump1.png.import
    │   │       │   ├── Jump2.png.import
    │   │       │   ├── Jump3.png.import
    │   │       │   ├── Slideplaceholder.png.import
    │   │       │   ├── Stand.png.import
    │   │       │   ├── backflip.png.import
    │   │       │   ├── buttjump-0.png.import
    │   │       │   ├── buttjump-1.png.import
    │   │       │   ├── buttjump-2.png.import
    │   │       │   ├── buttjump-3.png.import
    │   │       │   ├── buttjump-4.png.import
    │   │       │   ├── buttjump-5.png.import
    │   │       │   ├── buttjump-6.png.import
    │   │       │   ├── duck-0.png.import
    │   │       │   ├── skid-0.png.import
    │   │       │   └── stand-0.png.import
    │   │       └── Small/
    │   │           ├── Fall1.png.import
    │   │           ├── Fall2.png.import
    │   │           ├── Fall3.png.import
    │   │           ├── Fall4.png.import
    │   │           ├── Jump1.png.import
    │   │           ├── Jump2.png.import
    │   │           ├── Jump3.png.import
    │   │           ├── Smalltuxwalk1.png.import
    │   │           ├── Smalltuxwalk2.png.import
    │   │           ├── Smalltuxwalk3.png.import
    │   │           ├── Smalltuxwalk4.png.import
    │   │           ├── Smalltuxwalk5.png.import
    │   │           ├── Smalltuxwalk6.png.import
    │   │           ├── Smalltuxwalk7.png.import
    │   │           ├── Smalltuxwalk8.png.import
    │   │           ├── gameover-0.png.import
    │   │           ├── gameover-1.png.import
    │   │           ├── jump-0.png.import
    │   │           ├── skid-0.png.import
    │   │           └── stand-0.png.import
    │   ├── Editor/
    │   │   ├── Arrow.png.import
    │   │   ├── Equals.png.import
    │   │   ├── EraseSelect.png.import
    │   │   ├── Eraser.png.import
    │   │   ├── Grab.png.import
    │   │   ├── GrabPoint.png.import
    │   │   ├── GrabPointHover.png.import
    │   │   ├── GrabSide.png.import
    │   │   ├── GrabSideHover.png.import
    │   │   ├── Grid.png.import
    │   │   ├── LayerIcons/
    │   │   │   ├── Background.png.import
    │   │   │   └── TileMap.png.import
    │   │   ├── Line.png.import
    │   │   ├── Minus.png.import
    │   │   ├── Plus.png.import
    │   │   ├── Rectangle.png.import
    │   │   ├── Save.png.import
    │   │   └── Wrench.png.import
    │   ├── Objects/
    │   │   ├── 1Down/
    │   │   │   └── 1down.png.import
    │   │   ├── 1Up/
    │   │   │   ├── 1up.png.import
    │   │   │   ├── glimmer.png.import
    │   │   │   └── glow.png.import
    │   │   ├── BonusBlock/
    │   │   │   ├── block-0.png.import
    │   │   │   ├── block-1.png.import
    │   │   │   ├── block-2.png.import
    │   │   │   ├── block-3.png.import
    │   │   │   ├── block.png.import
    │   │   │   └── empty.png.import
    │   │   ├── Brick/
    │   │   │   └── brick.png.import
    │   │   ├── Coin/
    │   │   │   ├── coin-0.png.import
    │   │   │   ├── coin-1.png.import
    │   │   │   ├── coin-10.png.import
    │   │   │   ├── coin-11.png.import
    │   │   │   ├── coin-12.png.import
    │   │   │   ├── coin-13.png.import
    │   │   │   ├── coin-14.png.import
    │   │   │   ├── coin-15.png.import
    │   │   │   ├── coin-2.png.import
    │   │   │   ├── coin-3.png.import
    │   │   │   ├── coin-4.png.import
    │   │   │   ├── coin-5.png.import
    │   │   │   ├── coin-6.png.import
    │   │   │   ├── coin-7.png.import
    │   │   │   ├── coin-8.png.import
    │   │   │   ├── coin-9.png.import
    │   │   │   ├── glimmer.png.import
    │   │   │   └── glow.png.import
    │   │   ├── Egg/
    │   │   │   └── egg-merged.png.import
    │   │   ├── FireFlower/
    │   │   │   ├── fire_flower-0.png.import
    │   │   │   ├── fire_flower-1.png.import
    │   │   │   ├── fire_flower-2.png.import
    │   │   │   └── fire_flower-3.png.import
    │   │   ├── Fireball/
    │   │   │   ├── fireball.png.import
    │   │   │   └── fireballambient.png.import
    │   │   ├── Misc/
    │   │   │   ├── spawnpoint.png.import
    │   │   │   ├── wind.png.import
    │   │   │   └── zoom.png.import
    │   │   ├── Sawblade/
    │   │   │   ├── sawblade-0.png.import
    │   │   │   ├── sawblade-1.png.import
    │   │   │   └── sawblade-2.png.import
    │   │   ├── Star/
    │   │   │   ├── star-0.png.import
    │   │   │   ├── star-1.png.import
    │   │   │   ├── star-2.png.import
    │   │   │   ├── star-3.png.import
    │   │   │   └── star-4.png.import
    │   │   ├── Trampoline/
    │   │   │   ├── trampoline_portable-0.png.import
    │   │   │   ├── trampoline_portable-1.png.import
    │   │   │   ├── trampoline_portable-2.png.import
    │   │   │   ├── trampoline_portable-3.png.import
    │   │   │   ├── trampoline_portable-4.png.import
    │   │   │   ├── trampoline_portable-5.png.import
    │   │   │   ├── trampoline_portable-6.png.import
    │   │   │   ├── trampoline_static-0.png.import
    │   │   │   ├── trampoline_static-1.png.import
    │   │   │   ├── trampoline_static-2.png.import
    │   │   │   ├── trampoline_static-3.png.import
    │   │   │   ├── trampoline_static-4.png.import
    │   │   │   └── trampoline_static-5.png.import
    │   │   └── Wind/
    │   │       └── Wind.png.import
    │   ├── Tiles/
    │   │   └── Level/
    │   │       └── Snow.png.import
    │   ├── Transitions/
    │   │   └── Circle.png.import
    │   ├── UI/
    │   │   ├── FileDialog/
    │   │   │   ├── FileBack.png.import
    │   │   │   ├── FileReload.png.import
    │   │   │   └── Icons.xcf
    │   │   └── SuperTuxLogo.png.import
    │   └── Worldmap/
    │       ├── LevelDot/
    │       │   ├── leveldot_green.png.import
    │       │   ├── leveldot_invisible.png.import
    │       │   └── leveldot_red.png.import
    │       ├── Player/
    │       │   ├── Big/
    │       │   │   ├── tux.png.import
    │       │   │   ├── tuxwalk1.png.import
    │       │   │   ├── tuxwalk2.png.import
    │       │   │   ├── tuxwalk3.png.import
    │       │   │   ├── tuxwalk4.png.import
    │       │   │   ├── tuxwalk5.png.import
    │       │   │   ├── tuxwalk6.png.import
    │       │   │   ├── tuxwalk7.png.import
    │       │   │   └── tuxwalk8.png.import
    │       │   └── Small/
    │       │       ├── smalltux.png.import
    │       │       ├── smalltuxwalk1.png.import
    │       │       ├── smalltuxwalk2.png.import
    │       │       ├── smalltuxwalk3.png.import
    │       │       ├── smalltuxwalk4.png.import
    │       │       ├── smalltuxwalk5.png.import
    │       │       ├── smalltuxwalk6.png.import
    │       │       ├── smalltuxwalk7.png.import
    │       │       └── smalltuxwalk8.png.import
    │       └── Tiles/
    │           ├── Crystals.png.import
    │           ├── Pathing.png.import
    │           ├── Snow.png.import
    │           ├── SnowOverlay.png.import
    │           └── SnowTrees.png.import
    ├── TEST.tscn
    ├── Tilesets/
    │   ├── LevelTiles.tres
    │   └── MapTiles.tres
    ├── default_bus_layout.tres
    ├── default_env.tres
    ├── icon.png.import
    └── project.godot

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitignore
================================================
# General
.DS_Store

# Godot-specific ignores
.import/
export.cfg
export_presets.cfg

# Mono-specific ignores
.mono/
src/Scenes/Levels/EditedLevel/EditedLevel.tscn


================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.


================================================
FILE: README.md
================================================
# Tux Builder

![Screenshot of the editor](https://raw.githubusercontent.com/Alzter/TuxBuilder/master/EditorScreenshot.png)

A re-implementation of the jump'n'run game SuperTux, coded from the ground up in Godot.
Some of SuperTux's art, sound and music assets are used or modified here.

To play this game you will need Godot 3.2 and the source code. Once you have those unzip
the source code and open src/project.godot with Godot.

To learn how to use Godot you can read the official documentation [here](https://docs.godotengine.org/en/3.1/).
If you prefer learning with videos you can find a list of Godot youtubers [here](https://docs.godotengine.org/en/3.2/community/tutorials.html).

# SuperTux Classic

![image](https://github.com/Alzter/TuxBuilder/assets/22513909/d35dd701-5054-44e5-802f-89ffb27804d9)

TuxBuilder has been succeeded by SuperTux Classic, another reimplementation of SuperTux in Godot which is more fully featured, robust, and bug-free.
https://github.com/Alzter/SuperTux-Classic



================================================
FILE: src/Audio/Music/invincible.ogg.import
================================================
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/invincible.ogg-08f44bab3757c34ad0119dc98a0e341a.oggstr"

[deps]

source_file="res://Audio/Music/invincible.ogg"
dest_files=[ "res://.import/invincible.ogg-08f44bab3757c34ad0119dc98a0e341a.oggstr" ]

[params]

loop=true
loop_offset=0


================================================
FILE: src/Audio/Music/theme.ogg.import
================================================
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/theme.ogg-36cbbb8b1e2c81962e7a5588b2760b2d.oggstr"

[deps]

source_file="res://Audio/Music/theme.ogg"
dest_files=[ "res://.import/theme.ogg-36cbbb8b1e2c81962e7a5588b2760b2d.oggstr" ]

[params]

loop=true
loop_offset=0


================================================
FILE: src/Audio/SoundEffects/Bonus/brick.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/brick.wav-473d4e693c9956d26914b7ad98289275.sample"

[deps]

source_file="res://Audio/SoundEffects/Bonus/brick.wav"
dest_files=[ "res://.import/brick.wav-473d4e693c9956d26914b7ad98289275.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Bonus/coin.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/coin.wav-2d9c1689547b08974ca7ceac0668a4fb.sample"

[deps]

source_file="res://Audio/SoundEffects/Bonus/coin.wav"
dest_files=[ "res://.import/coin.wav-2d9c1689547b08974ca7ceac0668a4fb.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Bonus/fire-flower.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/fire-flower.wav-9e32c9b4fcacc929d79bf394cda75483.sample"

[deps]

source_file="res://Audio/SoundEffects/Bonus/fire-flower.wav"
dest_files=[ "res://.import/fire-flower.wav-9e32c9b4fcacc929d79bf394cda75483.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Bonus/grow.ogg.import
================================================
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/grow.ogg-73ee356a458ea040059a5ce80b5c9e44.oggstr"

[deps]

source_file="res://Audio/SoundEffects/Bonus/grow.ogg"
dest_files=[ "res://.import/grow.ogg-73ee356a458ea040059a5ce80b5c9e44.oggstr" ]

[params]

loop=false
loop_offset=0


================================================
FILE: src/Audio/SoundEffects/Bonus/invincible_start.ogg.import
================================================
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/invincible_start.ogg-341c3b1b6d62e1dfd07c010f04cbb981.oggstr"

[deps]

source_file="res://Audio/SoundEffects/Bonus/invincible_start.ogg"
dest_files=[ "res://.import/invincible_start.ogg-341c3b1b6d62e1dfd07c010f04cbb981.oggstr" ]

[params]

loop=false
loop_offset=0


================================================
FILE: src/Audio/SoundEffects/Bonus/lifeup.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/lifeup.wav-e027107df5afe75305b7f216b288711d.sample"

[deps]

source_file="res://Audio/SoundEffects/Bonus/lifeup.wav"
dest_files=[ "res://.import/lifeup.wav-e027107df5afe75305b7f216b288711d.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Bonus/upgrade.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/upgrade.wav-1080a24083cf63936a1aeeedd3decf5e.sample"

[deps]

source_file="res://Audio/SoundEffects/Bonus/upgrade.wav"
dest_files=[ "res://.import/upgrade.wav-1080a24083cf63936a1aeeedd3decf5e.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/beep.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/beep.wav-f86d4f11b3ab6ff0dcd768406ffbcd69.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/beep.wav"
dest_files=[ "res://.import/beep.wav-f86d4f11b3ab6ff0dcd768406ffbcd69.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/beepfast.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/beepfast.wav-1b370ac99498bf4f034e1d8a91822cd1.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/beepfast.wav"
dest_files=[ "res://.import/beepfast.wav-1b370ac99498bf4f034e1d8a91822cd1.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/cracking.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/cracking.wav-b172e4889806970f47d26cb763ac1b8c.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/cracking.wav"
dest_files=[ "res://.import/cracking.wav-b172e4889806970f47d26cb763ac1b8c.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/explode.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/explode.wav-9b9f178d16939738f18e26eff30c0995.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/explode.wav"
dest_files=[ "res://.import/explode.wav-9b9f178d16939738f18e26eff30c0995.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/extinguish.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/extinguish.wav-1530e513f400f4b5127fb20a513d66dc.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/extinguish.wav"
dest_files=[ "res://.import/extinguish.wav-1530e513f400f4b5127fb20a513d66dc.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/fall.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/fall.wav-f0dfade9562eb2ff430b511f123fc564.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/fall.wav"
dest_files=[ "res://.import/fall.wav-f0dfade9562eb2ff430b511f123fc564.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/hiss.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/hiss.wav-1ceef7d8a4a1e26bc35af975042aa449.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/hiss.wav"
dest_files=[ "res://.import/hiss.wav-1ceef7d8a4a1e26bc35af975042aa449.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=true
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/humming.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/humming.wav-c00ee340c1044d423a55b5f6a132002a.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/humming.wav"
dest_files=[ "res://.import/humming.wav-c00ee340c1044d423a55b5f6a132002a.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=true
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/iceblock_bump.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/iceblock_bump.wav-8d4dfc586c0dd6ee2fbc8c8bbfc427cd.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/iceblock_bump.wav"
dest_files=[ "res://.import/iceblock_bump.wav-8d4dfc586c0dd6ee2fbc8c8bbfc427cd.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/icecrash.ogg.import
================================================
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/icecrash.ogg-da84fa5731f91abf013c917f65c1a1b2.oggstr"

[deps]

source_file="res://Audio/SoundEffects/Enemy/icecrash.ogg"
dest_files=[ "res://.import/icecrash.ogg-da84fa5731f91abf013c917f65c1a1b2.oggstr" ]

[params]

loop=false
loop_offset=0


================================================
FILE: src/Audio/SoundEffects/Enemy/kick.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/kick.wav-0a6a9a193b8423daaa4fa8e993a79c65.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/kick.wav"
dest_files=[ "res://.import/kick.wav-0a6a9a193b8423daaa4fa8e993a79c65.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/splash.ogg.import
================================================
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/splash.ogg-b131ec1b6cf9f1dd5aece921c421da49.oggstr"

[deps]

source_file="res://Audio/SoundEffects/Enemy/splash.ogg"
dest_files=[ "res://.import/splash.ogg-b131ec1b6cf9f1dd5aece921c421da49.oggstr" ]

[params]

loop=false
loop_offset=0


================================================
FILE: src/Audio/SoundEffects/Enemy/squish.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/squish.wav-99db692a08a95eb7fc2f94653c22b225.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/squish.wav"
dest_files=[ "res://.import/squish.wav-99db692a08a95eb7fc2f94653c22b225.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Enemy/stomp.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/stomp.wav-b1022596026d18791e57b523abf0fadd.sample"

[deps]

source_file="res://Audio/SoundEffects/Enemy/stomp.wav"
dest_files=[ "res://.import/stomp.wav-b1022596026d18791e57b523abf0fadd.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Objects/trampoline.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/trampoline.wav-2b0c12249e14d757297d279e5e8c9c3e.sample"

[deps]

source_file="res://Audio/SoundEffects/Objects/trampoline.wav"
dest_files=[ "res://.import/trampoline.wav-2b0c12249e14d757297d279e5e8c9c3e.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/bigjump.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/bigjump.wav-aef86937f6d2cf081a01e20652be09ec.sample"

[deps]

source_file="res://Audio/SoundEffects/Player/bigjump.wav"
dest_files=[ "res://.import/bigjump.wav-aef86937f6d2cf081a01e20652be09ec.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/flip.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/flip.wav-7f2cd2042e13ff26bab74ea42710a9a2.sample"

[deps]

source_file="res://Audio/SoundEffects/Player/flip.wav"
dest_files=[ "res://.import/flip.wav-7f2cd2042e13ff26bab74ea42710a9a2.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/hurt.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/hurt.wav-0af4c0e4fa08de2bce8c3ded6f99705b.sample"

[deps]

source_file="res://Audio/SoundEffects/Player/hurt.wav"
dest_files=[ "res://.import/hurt.wav-0af4c0e4fa08de2bce8c3ded6f99705b.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/jump.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/jump.wav-c7c538f41296dad82990104a6b4fe580.sample"

[deps]

source_file="res://Audio/SoundEffects/Player/jump.wav"
dest_files=[ "res://.import/jump.wav-c7c538f41296dad82990104a6b4fe580.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/kill.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/kill.wav-4e09583a4cb5e83a9959b4d5465c5cdf.sample"

[deps]

source_file="res://Audio/SoundEffects/Player/kill.wav"
dest_files=[ "res://.import/kill.wav-4e09583a4cb5e83a9959b4d5465c5cdf.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/shoot.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/shoot.wav-f5a3f5182edff725c24da6c38bf1c007.sample"

[deps]

source_file="res://Audio/SoundEffects/Player/shoot.wav"
dest_files=[ "res://.import/shoot.wav-f5a3f5182edff725c24da6c38bf1c007.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/skid.wav.import
================================================
[remap]

importer="wav"
type="AudioStreamSample"
path="res://.import/skid.wav-35a696278c4961d97ef70be662260789.sample"

[deps]

source_file="res://Audio/SoundEffects/Player/skid.wav"
dest_files=[ "res://.import/skid.wav-35a696278c4961d97ef70be662260789.sample" ]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0


================================================
FILE: src/Audio/SoundEffects/Player/thud.ogg.import
================================================
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/thud.ogg-a29f9241b3b21edf10dce71983d9c8c9.oggstr"

[deps]

source_file="res://Audio/SoundEffects/Player/thud.ogg"
dest_files=[ "res://.import/thud.ogg-a29f9241b3b21edf10dce71983d9c8c9.oggstr" ]

[params]

loop=false
loop_offset=0


================================================
FILE: src/AutoLoad/Settings.gd
================================================
# A persistent settings manager using the ConfigFile class. Settings are saved
# automatically when the project exits.
extends Node

const CONFIG_PATH = "user://settings.ini"

var config := ConfigFile.new()

func _ready() -> void:
	config.load(CONFIG_PATH)

	OS.window_fullscreen = Settings.config.get_value("video", "fullscreen", false)
	OS.vsync_enabled = Settings.config.get_value("video", "vsync", true)

func _exit_tree() -> void:
	config.save(CONFIG_PATH)


================================================
FILE: src/Scenes/Editor/Category.gd
================================================
extends Control

var item = ""

# Called when the node enters the scene tree for the first time.
func _ready():
	$VBoxContainer/Button/Label.text = str(item)
	$VBoxContainer/Button.pressed = true

func _process(_delta):
	if $VBoxContainer/Button.pressed == true:
		$VBoxContainer/Button/Arrow.rect_rotation = 90
		$VBoxContainer/Content.visible = true
		rect_min_size.y = 32 + (floor(($VBoxContainer/Content.get_child_count() - 1) / 3) + 1) * 41
	else:
		$VBoxContainer/Button/Arrow.rect_rotation = 0
		$VBoxContainer/Content.visible = false
		rect_min_size.y = 32
	rect_size.y = rect_min_size.y


================================================
FILE: src/Scenes/Editor/Category.tscn
================================================
[gd_scene load_steps=4 format=2]

[ext_resource path="res://Scenes/Editor/Category.gd" type="Script" id=1]
[ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=2]
[ext_resource path="res://Sprites/Editor/Arrow.png" type="Texture" id=3]

[node name="Category" type="Control"]
anchor_right = 1.0
margin_right = -512.0
margin_bottom = 32.0
rect_min_size = Vector2( 0, 32 )
script = ExtResource( 1 )

[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
margin_bottom = 64.0
rect_min_size = Vector2( 0, 32 )

[node name="Button" type="Button" parent="VBoxContainer"]
margin_right = 128.0
margin_bottom = 23.0
rect_min_size = Vector2( 0, 23 )
focus_mode = 1
theme = ExtResource( 2 )
toggle_mode = true
flat = true

[node name="Arrow" type="TextureRect" parent="VBoxContainer/Button"]
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = -14.0
margin_top = -6.5
margin_right = -2.0
margin_bottom = 5.5
rect_pivot_offset = Vector2( 6, 6 )
mouse_filter = 2
texture = ExtResource( 3 )
expand = true

[node name="Label" type="Label" parent="VBoxContainer/Button"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -23.0
margin_right = -14.0
margin_bottom = 9.0
rect_min_size = Vector2( 0, 32 )
rect_clip_content = true
theme = ExtResource( 2 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Category"
clip_text = true

[node name="Content" type="GridContainer" parent="VBoxContainer"]
margin_top = 27.0
margin_right = 128.0
margin_bottom = 59.0
rect_min_size = Vector2( 0, 32 )
custom_constants/vseparation = 41
custom_constants/hseparation = 41
columns = 3


================================================
FILE: src/Scenes/Editor/FileSelectButton.gd
================================================
extends Button

func _on_Button_pressed():
	var fileselect = UIHelpers._get_scene().get_node("FileSelect")
	if not "." in text:
		if fileselect.selectedfile == text:
			fileselect.directory = str(fileselect.directory, "/", text)
			fileselect.reload()
	fileselect.selectedfile = text


================================================
FILE: src/Scenes/Editor/FileSelectButton.tscn
================================================
[gd_scene load_steps=6 format=2]

[ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=1]
[ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Scenes/Editor/FileSelectButton.gd" type="Script" id=3]

[sub_resource type="StyleBoxEmpty" id=2]

[sub_resource type="DynamicFont" id=1]
size = 17
outline_size = 1
outline_color = Color( 0, 0, 0, 1 )
use_mipmaps = true
use_filter = true
extra_spacing_top = 2
extra_spacing_char = -1
font_data = ExtResource( 2 )

[node name="Button" type="Button"]
margin_right = 374.0
margin_bottom = 24.0
rect_min_size = Vector2( 0, 24 )
focus_mode = 1
theme = ExtResource( 1 )
custom_styles/hover = SubResource( 2 )
custom_fonts/font = SubResource( 1 )
custom_colors/font_color_hover = Color( 1, 1, 1, 1 )
toggle_mode = true
shortcut_in_tooltip = false
action_mode = 0
enabled_focus_mode = 1
text = "File"
script = ExtResource( 3 )
[connection signal="pressed" from="." to="." method="_on_Button_pressed"]


================================================
FILE: src/Scenes/Editor/Layer.gd
================================================
extends Control

var type = ""
var layername = ""
var z_axis = 0
var original_name = ""

func _ready():
	$Panel/Label.text = str(layername)
	$Panel/Panel/Zaxis.text = str(z_axis)
	$Panel/Icon.texture = load(str("res://Sprites/Editor/LayerIcons/", original_name, ".png"))
	print(original_name)
	if layername == UIHelpers.get_editor().layer_selected and get_tree().current_scene.get_node(str("Level/",layername)).filepath != "":
		settings()

func _process(_delta):
	# Update text
	$Panel/Label.text = str(layername)
	$Panel/Panel/Zaxis.text = str(z_axis)
	set_name(str(layername))

	# Highlight if selected
	$Panel.modulate = Color(0.5,0.5,0.5,1)
	if layername == UIHelpers.get_editor().layer_selected:
		$Panel.modulate = Color(1,1,1,1)

func _on_Button_pressed():
	UIHelpers.get_editor().layer_selected = layername
	UIHelpers.get_editor().layer_selected_type = type
	UIHelpers.get_editor().layerfile = get_tree().current_scene.get_node(str("Level/", layername))

func _on_LayerSettings_pressed():
	settings()

func settings():
	var popup = load("res://Scenes/Editor/LayerMenu.tscn").instance()
	add_child(popup)


================================================
FILE: src/Scenes/Editor/Layer.tscn
================================================
[gd_scene load_steps=13 format=2]

[ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=1]
[ext_resource path="res://Scenes/Editor/Layer.gd" type="Script" id=2]
[ext_resource path="res://Sprites/Editor/Wrench.png" type="Texture" id=3]
[ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=4]

[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.870588, 0.870588, 0.870588, 1 )
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
anti_aliasing = false

[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.454902, 0.454902, 0.454902, 1 )
corner_radius_bottom_left = 4
anti_aliasing = false

[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.243137, 0.243137, 0.243137, 1 )
corner_radius_top_right = 4
anti_aliasing = false

[sub_resource type="DynamicFont" id=4]
size = 13
outline_size = 1
outline_color = Color( 0, 0, 0, 1 )
use_mipmaps = true
use_filter = true
extra_spacing_top = 2
font_data = ExtResource( 4 )

[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 1, 0, 0, 1 )
corner_radius_bottom_right = 4
anti_aliasing = false

[sub_resource type="StyleBoxFlat" id=6]
bg_color = Color( 1, 1, 1, 0.509804 )
corner_radius_top_right = 4
anti_aliasing = false

[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 1, 1, 1, 0.862745 )
corner_radius_top_right = 4
anti_aliasing = false

[sub_resource type="StyleBoxEmpty" id=8]

[node name="Layer" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -480.0
margin_bottom = -416.0
rect_min_size = Vector2( 160, 0 )
theme = ExtResource( 1 )
script = ExtResource( 2 )

[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 2.0
margin_top = 2.0
margin_right = -2.0
margin_bottom = -2.0
rect_clip_content = true
mouse_filter = 2
custom_styles/panel = SubResource( 1 )

[node name="Panel3" type="Panel" parent="Panel"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -16.0
margin_right = -50.0
mouse_filter = 2
custom_styles/panel = SubResource( 2 )

[node name="Panel2" type="Panel" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 106.0
margin_bottom = -16.0
mouse_filter = 2
custom_styles/panel = SubResource( 3 )

[node name="TextureRect" type="TextureRect" parent="Panel/Panel2"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 3.0
margin_top = 3.0
margin_right = -3.0
margin_bottom = -3.0
mouse_filter = 2
texture = ExtResource( 3 )
expand = true
stretch_mode = 6

[node name="Label" type="Label" parent="Panel"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -16.0
margin_right = -50.0
rect_clip_content = true
custom_fonts/font = SubResource( 4 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Layer"
align = 1
clip_text = true

[node name="Panel" type="Panel" parent="Panel"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -50.0
margin_top = -16.0
mouse_filter = 2
custom_styles/panel = SubResource( 5 )
__meta__ = {
"_edit_group_": true
}

[node name="Zaxis" type="Label" parent="Panel/Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = SubResource( 4 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "0"
align = 1
clip_text = true

[node name="Button" type="Button" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
focus_mode = 1
action_mode = 0
button_mask = 3
flat = true

[node name="Icon" type="TextureRect" parent="Panel"]
self_modulate = Color( 1, 1, 1, 0.75 )
anchor_top = 1.0
anchor_bottom = 1.0
margin_top = -60.0
margin_right = 106.0
margin_bottom = -16.0
rect_clip_content = true
mouse_filter = 2

[node name="LayerSettings" type="Button" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 108.0
margin_top = 2.0
margin_right = -2.0
margin_bottom = -18.0
focus_mode = 0
custom_styles/hover = SubResource( 6 )
custom_styles/pressed = SubResource( 7 )
custom_styles/focus = SubResource( 8 )
custom_styles/disabled = SubResource( 8 )
custom_styles/normal = SubResource( 8 )
[connection signal="pressed" from="Panel/Button" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="LayerSettings" to="." method="_on_LayerSettings_pressed"]


================================================
FILE: src/Scenes/Editor/LayerMenu.gd
================================================
extends Control

var layername2 = ""
var hide = false
var layer = null # Where to get the layer from
var files = []
var dir = Directory.new()
var filepathold = 0

# Called when the node enters the scene tree for the first time.
func _ready():
	# Stop editor doing stuff
	UIHelpers.get_editor().stop = true

	# Get the layer
	layer = get_tree().current_scene.get_node(str("Level/", get_parent().layername))

	# Set name
	$Popup/Panel/VBoxContainer/Name/LineEdit.text = get_parent().layername

	if get_parent().original_name == "Background":
		$Popup/Panel/VBoxContainer/Zaxis.hide()
	else:
		$Popup/Panel/VBoxContainer/Zaxis/SpinBox.value = get_parent().z_axis
		$Popup/Panel/VBoxContainer/Zaxis.show()

	# Set solid checkbox
	if get_parent().original_name == "TileMap":
		if layer.get_collision_layer() != 0:
			$Popup/Panel/VBoxContainer/Solid/CheckBox.pressed = true
		else: $Popup/Panel/VBoxContainer/Solid/CheckBox.pressed = false
		$Popup/Panel/VBoxContainer/Solid.show()
	else:
		$Popup/Panel/VBoxContainer/Solid/CheckBox.disabled = true
		$Popup/Panel/VBoxContainer/Solid/CheckBox.pressed = false
		$Popup/Panel/VBoxContainer/Solid.hide()

	# Set tint box
	if get_parent().original_name == "Background":
		$Popup/Panel/VBoxContainer/Tint.hide()
	else:
		$Popup/Panel/VBoxContainer/Tint/ColorPickerButton.color = layer.tint
		$Popup/Panel/VBoxContainer/Tint.show()

	# Set scroll and move speed
	$Popup/Panel/VBoxContainer/ScrollX/SpinBox.value = layer.scroll_speed.x
	$Popup/Panel/VBoxContainer/ScrollY/SpinBox.value = layer.scroll_speed.y
	$Popup/Panel/VBoxContainer/MoveX/SpinBox.value = layer.move_speed.x
	$Popup/Panel/VBoxContainer/MoveY/SpinBox.value = layer.move_speed.y
	$Popup/Panel/VBoxContainer/Moving/CheckBox.pressed = layer.moving

	$Popup/Panel/VBoxContainer/CustomProperties.hide()
	for child in $Popup/Panel/VBoxContainer/CustomProperties.get_children():
		hide()
	$Popup/Panel/VBoxContainer/CustomProperties/TextureRect.show()

	# File selecting for things like backgrounds or particles
	if layer.filepath != "":
		$Popup/Panel/VBoxContainer/CustomProperties.show()
		$Popup/Panel/VBoxContainer/CustomProperties/Filelist/OptionButton.clear()
		list_files_in_directory(layer.filepath)
		for i in files.size():
			if ".tscn" in files[i]:
				var item = files[i]
				item.erase(item.length() - 5,5)
				$Popup/Panel/VBoxContainer/CustomProperties/Filelist/OptionButton.add_item(item)

	$Popup.popup()

func _process(_delta):

	# Change layer name
	if get_parent().layername != $Popup/Panel/VBoxContainer/Name/LineEdit.text:
		if UIHelpers.get_editor().layer_selected == get_parent().layername:
			UIHelpers.get_editor().layer_selected = $Popup/Panel/VBoxContainer/Name/LineEdit.text
		get_tree().current_scene.get_node(str("Level/", get_parent().layername)).name = $Popup/Panel/VBoxContainer/Name/LineEdit.text
		get_parent().layername = $Popup/Panel/VBoxContainer/Name/LineEdit.text
		layer = get_tree().current_scene.get_node(str("Level/", get_parent().layername))

	# Change layer z axis
	get_parent().z_axis = $Popup/Panel/VBoxContainer/Zaxis/SpinBox.value
	layer.z_index = get_parent().z_axis

	# Change layer solidity
	if not (get_parent().type == "TileMap"):
		$Popup/Panel/VBoxContainer/Solid/CheckBox.disabled = true
		$Popup/Panel/VBoxContainer/Solid/CheckBox.pressed = false
	elif $Popup/Panel/VBoxContainer/Solid/CheckBox.pressed == true:
		layer.set_collision_layer(31)
		layer.set_collision_mask(31)
	else:
		layer.set_collision_layer(0)
		layer.set_collision_mask(0)

	# Change layer tint
	layer.tint = $Popup/Panel/VBoxContainer/Tint/ColorPickerButton.color

	# Change layer scroll and move speed
	layer.scroll_speed.x = $Popup/Panel/VBoxContainer/ScrollX/SpinBox.value
	layer.scroll_speed.y = $Popup/Panel/VBoxContainer/ScrollY/SpinBox.value
	layer.move_speed.x = $Popup/Panel/VBoxContainer/MoveX/SpinBox.value
	layer.move_speed.y = $Popup/Panel/VBoxContainer/MoveY/SpinBox.value
	layer.moving = $Popup/Panel/VBoxContainer/Moving/CheckBox.pressed

	# Change background/particle
	if layer.filepath != "":
		for child in layer.get_children():
			child.queue_free()
		var selected = $Popup/Panel/VBoxContainer/CustomProperties/Filelist/OptionButton.get_item_text($Popup/Panel/VBoxContainer/CustomProperties/Filelist/OptionButton.selected)
		var child = load(str(layer.filepath, "/", selected, ".tscn")).instance()
		layer.add_child(child)
		child.set_owner(get_tree().current_scene.get_node("Level"))
	filepathold = $Popup/Panel/VBoxContainer/CustomProperties/Filelist/OptionButton.selected

	# Delete if not in edit mode
	if get_tree().current_scene.editmode == false:
		UIHelpers.get_editor().stop = false
		queue_free()

func _on_OK_pressed():
	UIHelpers.get_editor().stop = false
	queue_free()

func _on_Popup_popup_hide():
	if hide == false:
		UIHelpers.get_editor().stop = false
		queue_free()

func _on_DeleteButton_pressed():
	hide = true
	$Popup.hide()
	$DeleteConfirmation.show()

func _on_DeleteYes_pressed():
	if UIHelpers.get_editor().layer_selected == get_parent().layername:
		UIHelpers.get_editor().layer_selected = ""
		UIHelpers.get_editor().layer_selected_type = ""
	get_parent().queue_free()
	layer.queue_free()
	UIHelpers.get_editor().stop = false
	queue_free()

func _on_DeleteNo_pressed():
	$Popup.popup()
	$DeleteConfirmation.hide()
	hide = false

func list_files_in_directory(path):
	files = []
	dir = Directory.new()
	dir.open(path)
	dir.list_dir_begin()

	while true:
		var file = dir.get_next()
		if file == "":
			break
		elif not file.begins_with("."):
			files.append(file)

	dir.list_dir_end()

	return files


================================================
FILE: src/Scenes/Editor/LayerMenu.tscn
================================================
[gd_scene load_steps=4 format=2]

[ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=1]
[ext_resource path="res://Scenes/Editor/LayerMenu.gd" type="Script" id=2]
[ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=3]

[node name="Node2D" type="Control" groups=[
"layermenu",
]]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 2 )

[node name="Popup" type="Popup" parent="."]
visible = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -132.0
margin_top = -170.5
margin_right = 132.0
margin_bottom = 170.5

[node name="Panel" type="Panel" parent="Popup"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -129.0
margin_top = -162.5
margin_right = 130.0
margin_bottom = 161.5

[node name="Title" type="VBoxContainer" parent="Popup/Panel"]
editor/display_folded = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -30.0

[node name="Label" type="Label" parent="Popup/Panel/Title"]
margin_right = 243.0
margin_bottom = 20.0
custom_colors/font_color = Color( 0, 1, 1, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Layer Settings"
align = 1

[node name="Line" type="TextureRect" parent="Popup/Panel/Title"]
margin_top = 24.0
margin_right = 243.0
margin_bottom = 26.0
rect_min_size = Vector2( 0, 2 )
texture = ExtResource( 3 )
expand = true

[node name="VBoxContainer" type="VBoxContainer" parent="Popup/Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 34.0
margin_right = -8.0
margin_bottom = -34.0
rect_clip_content = true
alignment = 1

[node name="CustomProperties" type="VBoxContainer" parent="Popup/Panel/VBoxContainer"]
editor/display_folded = true
visible = false
margin_top = 24.0
margin_right = 243.0
margin_bottom = 50.0

[node name="Filelist" type="HBoxContainer" parent="Popup/Panel/VBoxContainer/CustomProperties"]
editor/display_folded = true
margin_right = 243.0
margin_bottom = 20.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/CustomProperties/Filelist"]
margin_left = 87.0
margin_right = 149.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Type:"
align = 1

[node name="OptionButton" type="OptionButton" parent="Popup/Panel/VBoxContainer/CustomProperties/Filelist"]
margin_left = 153.0
margin_right = 155.0
margin_bottom = 20.0

[node name="TextureRect" type="TextureRect" parent="Popup/Panel/VBoxContainer/CustomProperties"]
margin_top = 24.0
margin_right = 243.0
margin_bottom = 26.0
rect_min_size = Vector2( 0, 2 )
texture = ExtResource( 3 )
expand = true

[node name="Name" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
editor/display_folded = true
margin_top = 10.0
margin_right = 243.0
margin_bottom = 30.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/Name"]
margin_left = 33.0
margin_right = 98.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Name:"
align = 1

[node name="LineEdit" type="LineEdit" parent="Popup/Panel/VBoxContainer/Name"]
margin_left = 102.0
margin_right = 210.0
margin_bottom = 20.0
focus_mode = 1
align = 2
expand_to_text_length = true
focus_mode = 1

[node name="Zaxis" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
editor/display_folded = true
margin_top = 34.0
margin_right = 243.0
margin_bottom = 54.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/Zaxis"]
margin_left = 28.0
margin_right = 103.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Z-pos:"
align = 1

[node name="SpinBox" type="SpinBox" parent="Popup/Panel/VBoxContainer/Zaxis"]
margin_left = 107.0
margin_right = 215.0
margin_bottom = 20.0
min_value = -4096.0
max_value = 4096.0
rounded = true
align = 2

[node name="Solid" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
editor/display_folded = true
margin_top = 58.0
margin_right = 243.0
margin_bottom = 78.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/Solid"]
margin_left = 80.0
margin_right = 142.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Solid:"
align = 1

[node name="CheckBox" type="CheckBox" parent="Popup/Panel/VBoxContainer/Solid"]
margin_left = 146.0
margin_right = 162.0
margin_bottom = 20.0

[node name="ScrollX" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
margin_top = 82.0
margin_right = 243.0
margin_bottom = 102.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/ScrollX"]
margin_left = 17.0
margin_right = 114.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Speed X:"
align = 1

[node name="SpinBox" type="SpinBox" parent="Popup/Panel/VBoxContainer/ScrollX"]
margin_left = 118.0
margin_right = 226.0
margin_bottom = 20.0
step = 0.01
allow_greater = true
align = 2

[node name="ScrollY" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
margin_top = 106.0
margin_right = 243.0
margin_bottom = 126.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/ScrollY"]
margin_left = 17.0
margin_right = 113.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Speed Y:"
align = 1

[node name="SpinBox" type="SpinBox" parent="Popup/Panel/VBoxContainer/ScrollY"]
margin_left = 117.0
margin_right = 225.0
margin_bottom = 20.0
step = 0.01
allow_greater = true
align = 2

[node name="MoveX" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
margin_top = 130.0
margin_right = 243.0
margin_bottom = 150.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/MoveX"]
margin_left = 23.0
margin_right = 108.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Move X:"
align = 1

[node name="SpinBox" type="SpinBox" parent="Popup/Panel/VBoxContainer/MoveX"]
margin_left = 112.0
margin_right = 220.0
margin_bottom = 20.0
step = 0.01
allow_greater = true
allow_lesser = true
align = 2

[node name="MoveY" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
margin_top = 154.0
margin_right = 243.0
margin_bottom = 174.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/MoveY"]
margin_left = 23.0
margin_right = 107.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Move Y:"
align = 1

[node name="SpinBox" type="SpinBox" parent="Popup/Panel/VBoxContainer/MoveY"]
margin_left = 111.0
margin_right = 219.0
margin_bottom = 20.0
step = 0.01
allow_greater = true
allow_lesser = true
align = 2

[node name="Moving" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
editor/display_folded = true
margin_top = 178.0
margin_right = 243.0
margin_bottom = 198.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/Moving"]
margin_left = 71.0
margin_right = 152.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Moving:"
align = 1

[node name="CheckBox" type="CheckBox" parent="Popup/Panel/VBoxContainer/Moving"]
margin_left = 156.0
margin_right = 172.0
margin_bottom = 20.0

[node name="Tint" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
editor/display_folded = true
margin_top = 202.0
margin_right = 243.0
margin_bottom = 222.0
alignment = 1

[node name="Label2" type="Label" parent="Popup/Panel/VBoxContainer/Tint"]
margin_left = 60.0
margin_right = 114.0
margin_bottom = 20.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Tint:"
align = 1

[node name="ColorPickerButton" type="ColorPickerButton" parent="Popup/Panel/VBoxContainer/Tint"]
margin_left = 118.0
margin_right = 182.0
margin_bottom = 20.0
rect_min_size = Vector2( 64, 0 )

[node name="Delete" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"]
editor/display_folded = true
margin_top = 226.0
margin_right = 243.0
margin_bottom = 246.0
alignment = 1

[node name="DeleteButton" type="Button" parent="Popup/Panel/VBoxContainer/Delete"]
margin_left = 47.0
margin_right = 196.0
margin_bottom = 20.0
custom_colors/font_color = Color( 1, 0, 0, 1 )
custom_colors/font_color_hover = Color( 1, 0, 0, 1 )
text = "Delete Layer"

[node name="OK" type="VBoxContainer" parent="Popup/Panel"]
editor/display_folded = true
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -34.0
margin_bottom = -8.0
alignment = 2

[node name="Line" type="TextureRect" parent="Popup/Panel/OK"]
margin_right = 259.0
margin_bottom = 2.0
rect_min_size = Vector2( 0, 2 )
texture = ExtResource( 3 )
expand = true

[node name="OK" type="Button" parent="Popup/Panel/OK"]
margin_top = 6.0
margin_right = 259.0
margin_bottom = 26.0
focus_mode = 1
text = "OK"

[node name="DeleteConfirmation" type="Popup" parent="."]
editor/display_folded = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -125.0
margin_top = -125.0
margin_right = 125.0
margin_bottom = 125.0

[node name="Panel" type="Panel" parent="DeleteConfirmation"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -125.0
margin_top = -50.0
margin_right = 125.0
margin_bottom = 50.0

[node name="VBoxContainer" type="VBoxContainer" parent="DeleteConfirmation/Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -8.0
alignment = 1

[node name="Label" type="Label" parent="DeleteConfirmation/Panel/VBoxContainer"]
margin_top = 17.0
margin_right = 234.0
margin_bottom = 37.0
custom_colors/font_color = Color( 1, 0, 0, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 2
text = "Delete this layer?"
align = 1

[node name="Line2" type="TextureRect" parent="DeleteConfirmation/Panel/VBoxContainer"]
margin_top = 41.0
margin_right = 234.0
margin_bottom = 43.0
rect_min_size = Vector2( 0, 2 )
texture = ExtResource( 3 )
expand = true

[node name="HBoxContainer" type="HBoxContainer" parent="DeleteConfirmation/Panel/VBoxContainer"]
margin_top = 47.0
margin_right = 234.0
margin_bottom = 67.0
custom_constants/separation = 32
alignment = 1

[node name="DeleteYes" type="Button" parent="DeleteConfirmation/Panel/VBoxContainer/HBoxContainer"]
margin_left = 68.0
margin_right = 106.0
margin_bottom = 20.0
text = "Yes"

[node name="DeleteNo" type="Button" parent="DeleteConfirmation/Panel/VBoxContainer/HBoxContainer"]
margin_left = 138.0
margin_right = 166.0
margin_bottom = 20.0
text = "No"
[connection signal="popup_hide" from="Popup" to="." method="_on_Popup_popup_hide"]
[connection signal="pressed" from="Popup/Panel/VBoxContainer/Delete/DeleteButton" to="." method="_on_DeleteButton_pressed"]
[connection signal="pressed" from="Popup/Panel/OK/OK" to="." method="_on_OK_pressed"]
[connection signal="pressed" from="DeleteConfirmation/Panel/VBoxContainer/HBoxContainer/DeleteYes" to="." method="_on_DeleteYes_pressed"]
[connection signal="pressed" from="DeleteConfirmation/Panel/VBoxContainer/HBoxContainer/DeleteNo" to="." method="_on_DeleteNo_pressed"]


================================================
FILE: src/Scenes/Editor/Layers/Background.gd
================================================
extends "Layer.gd"


================================================
FILE: src/Scenes/Editor/Layers/Background.tscn
================================================
[gd_scene load_steps=2 format=2]

[ext_resource path="res://Scenes/Editor/Layers/Background.gd" type="Script" id=1]

[node name="Background" type="Node2D" groups=[
"layers",
]]
script = ExtResource( 1 )
filepath = "res://Scenes/Editor/Layers/Backgrounds"


================================================
FILE: src/Scenes/Editor/Layers/Backgrounds/Background.gd
================================================
extends ParallaxBackground

func _process(delta):
	scroll_base_scale = get_parent().scroll_speed
	scroll_base_offset = get_parent().move_pos


================================================
FILE: src/Scenes/Editor/Layers/Backgrounds/Snow.tscn
================================================
[gd_scene load_steps=5 format=2]

[ext_resource path="res://Scenes/Editor/Layers/Backgrounds/Background.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Backgrounds/Snow/arcticmountains-sky.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Backgrounds/Snow/arcticmountains-bg.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Backgrounds/Snow/arcticmountains-fg.png" type="Texture" id=4]

[node name="ParallaxBackground" type="ParallaxBackground"]
script = ExtResource( 1 )

[node name="Sky" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0, 0 )
motion_offset = Vector2( 0, -600 )
motion_mirroring = Vector2( 1700, 0 )

[node name="Sprite" type="Sprite" parent="Sky"]
texture = ExtResource( 2 )
centered = false

[node name="BG" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.18, 0.2 )
motion_offset = Vector2( 0, -350 )
motion_mirroring = Vector2( 1530, 0 )

[node name="Sprite" type="Sprite" parent="BG"]
scale = Vector2( 1, 0.5 )
texture = ExtResource( 3 )
centered = false

[node name="FG" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.2, 0.2 )
motion_offset = Vector2( 0, -400 )
motion_mirroring = Vector2( 1700, 0 )

[node name="Sprite" type="Sprite" parent="FG"]
scale = Vector2( 1, 0.5 )
texture = ExtResource( 4 )
centered = false


================================================
FILE: src/Scenes/Editor/Layers/Layer.gd
================================================
extends Node2D

export var scroll_speed = Vector2(1,1)
export var move_speed = Vector2()
export var moving = false
export var tint = Color(1,1,1,1)
export var filepath = ""
var move_pos = Vector2()
export var original_name = ""

# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.

func _process(delta):
	position = Vector2(0,0)

	modulate = tint

	# Hide unselected TileMaps if a TileMap is selected
	if get_tree().current_scene.editmode == true and get_class() == "TileMap":
		if UIHelpers.get_editor().layer_selected_type == "TileMap":
			if UIHelpers.get_editor().layer_selected != name:
				modulate *= Color(1,1,1,0.25)

	# Scrolling
	if scroll_speed.x != 1:
		position.x = UIHelpers.get_camera().position.x * (1 - scroll_speed.x)
	if scroll_speed.y != 1:
		position.y = UIHelpers.get_camera().position.y * (1 - scroll_speed.y)

	# Moving
	if moving and get_tree().current_scene.editmode == false:
		if move_speed.x != 0:
			move_pos.x += move_speed.x
		if move_speed.y != 0:
			move_pos.y += move_speed.y

	position += move_pos


================================================
FILE: src/Scenes/Editor/Layers/LayerSelect.gd
================================================
extends "Layer.gd"

export var location = ""

# Declare member variables here. Examples:
# var a = 2
# var b = "text"

# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.

# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
#	pass


================================================
FILE: src/Scenes/Editor/Layers/TileMap.gd
================================================
# Level Tilemap
extends "Layer.gd"

# Declare member variables here. Examples:
# var a = 2
# var b = "text"

# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.

# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
#	pass


================================================
FILE: src/Scenes/Editor/Layers/TileMap.tscn
================================================
[gd_scene load_steps=3 format=2]

[ext_resource path="res://Tilesets/LevelTiles.tres" type="TileSet" id=1]
[ext_resource path="res://Scenes/Editor/Layers/TileMap.gd" type="Script" id=2]

[node name="TileMap" type="TileMap" groups=[
"layers",
"tilemap",
]]
tile_set = ExtResource( 1 )
cell_size = Vector2( 32, 32 )
collision_layer = 31
collision_mask = 31
format = 1
script = ExtResource( 2 )


================================================
FILE: src/Scenes/Editor/Layers/Worldmap/TileMap.tscn
================================================
[gd_scene load_steps=3 format=2]

[ext_resource path="res://Scenes/Editor/Layers/TileMap.tscn" type="PackedScene" id=1]
[ext_resource path="res://Tilesets/MapTiles.tres" type="TileSet" id=2]

[node name="TileMap" instance=ExtResource( 1 )]
tile_set = ExtResource( 2 )


================================================
FILE: src/Scenes/Editor/LevelTemplates/Level.tscn
================================================
[gd_scene load_steps=6 format=2]

[ext_resource path="res://Scenes/UI/Level.gd" type="Script" id=1]
[ext_resource path="res://Scenes/Objects/Misc/SpawnPoint.tscn" type="PackedScene" id=2]
[ext_resource path="res://Scenes/Editor/Layers/TileMap.tscn" type="PackedScene" id=3]
[ext_resource path="res://Scenes/Editor/Layers/Background.tscn" type="PackedScene" id=4]
[ext_resource path="res://Scenes/Editor/Layers/Backgrounds/Snow.tscn" type="PackedScene" id=5]

[node name="Level" type="Node2D"]
script = ExtResource( 1 )

[node name="SpawnPoint" parent="." instance=ExtResource( 2 )]
position = Vector2( 16, 16 )

[node name="Interactive" parent="." instance=ExtResource( 3 )]
original_name = "TileMap"

[node name="Background" parent="." instance=ExtResource( 4 )]
modulate = Color( 0, 0, 0, 1 )
tint = Color( 0, 0, 0, 1 )
original_name = "Background"

[node name="ParallaxBackground" parent="Background" instance=ExtResource( 5 )]
scroll_offset = Vector2( 587, 160.5 )


================================================
FILE: src/Scenes/Editor/LevelTemplates/Worldmap.tscn
================================================
[gd_scene load_steps=3 format=2]

[ext_resource path="res://Scenes/UI/Level.gd" type="Script" id=1]
[ext_resource path="res://Scenes/Editor/Layers/Worldmap/TileMap.tscn" type="PackedScene" id=2]

[node name="Level" type="Node2D"]
script = ExtResource( 1 )
worldmap = true

[node name="TileMap" parent="." instance=ExtResource( 2 )]


================================================
FILE: src/Scenes/Editor/Object.gd
================================================
extends Control

var object_type = ""
var object_category = ""
var object_location = ""

# Called when the node enters the scene tree for the first time.
func _ready():
	get_object_texture(str("res://Scenes/Objects/", object_category, "/", object_type))

func _on_Button_pressed():
	UIHelpers.get_editor().object_type = object_type
	UIHelpers.get_editor().object_category = object_category
	get_tree().current_scene.get_node("Editor/UI/SideBar/VBoxContainer/HBoxContainer/EraserButton").pressed = false

func get_object_texture(object_location):
	$Control/Sprite.scale = Vector2(0.25,0.25)
	$Control/Sprite.position = Vector2(16,16)

	# If the object has an animated sprite, set the thumbnail to that
	if load(object_location).instance().has_node("Control/AnimatedSprite"):
		var selected_texture = load(object_location).instance().get_node("Control/AnimatedSprite").get_sprite_frames().get_frame("default",0)
		$Control/Sprite.scale = load(object_location).instance().get_node("Control").rect_scale
		$Control/Sprite.position += load(object_location).instance().get_node("Control/AnimatedSprite").offset
		$Control/Sprite.position += load(object_location).instance().get_node("Control/AnimatedSprite").position
		$Control/Sprite.texture = (selected_texture)

	# If the object has an animated sprite, set the thumbnail to that
	elif load(object_location).instance().has_node("AnimatedSprite"):
		var selected_texture = load(object_location).instance().get_node("AnimatedSprite").get_sprite_frames().get_frame("default",0)
		$Control/Sprite.scale = load(object_location).instance().get_node("AnimatedSprite").scale
		$Control/Sprite.position += load(object_location).instance().get_node("AnimatedSprite").offset
		$Control/Sprite.position += load(object_location).instance().get_node("AnimatedSprite").position
		$Control/Sprite.texture = (selected_texture)

	# Otherwise if it has a sprite, set the thumbnail to that
	elif load(object_location).instance().has_node("Sprite"):
		var selected_texture = load(object_location).instance().get_node("Sprite").texture
		$Control/Sprite.scale = load(object_location).instance().get_node("Sprite").scale
		$Control/Sprite.position += load(object_location).instance().get_node("Sprite").offset
		$Control/Sprite.position += load(object_location).instance().get_node("Sprite").position
		$Control/Sprite.texture = (selected_texture)


================================================
FILE: src/Scenes/Editor/Object.tscn
================================================
[gd_scene load_steps=5 format=2]

[ext_resource path="res://Scenes/Editor/Object.gd" type="Script" id=1]
[ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=2]

[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 1, 1, 1, 0.5 )
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4

[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0, 0.67, 1, 0.5 )
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4

[node name="Tile" type="Control"]
margin_right = 32.0
margin_bottom = 32.0
script = ExtResource( 1 )

[node name="Control" type="Control" parent="."]
margin_right = 32.0
margin_bottom = 32.0

[node name="Sprite" type="Sprite" parent="Control"]
position = Vector2( 16, 16 )
scale = Vector2( 0.25, 0.25 )
region_rect = Rect2( 0, 0, 128, 128 )

[node name="Button" type="Button" parent="Control"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -16.0
margin_top = -16.0
margin_right = 16.0
margin_bottom = 16.0
focus_mode = 0
theme = ExtResource( 2 )
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
action_mode = 0
enabled_focus_mode = 0
[connection signal="pressed" from="Control/Button" to="." method="_on_Button_pressed"]


================================================
FILE: src/Scenes/Editor/Tile.gd
================================================
extends Control

var tile_type = ""
var tileset = null

# Called when the node enters the scene tree for the first time.
func _ready():
	if UIHelpers.get_level().worldmap:
		tileset = UIHelpers.get_editor().get_node("WorldMap")
	else:
		tileset = UIHelpers.get_editor().get_node("TileMap")

	# Get the tile from the TileMap
	tile_type = tileset.get_tileset().find_tile_by_name(str(tile_type))

	# Then set the texture to the tile
	var selected_texture = tileset.get_tileset().tile_get_texture(tile_type)
	$Control/Sprite.texture = (selected_texture)
	if tileset.get_tileset().tile_get_tile_mode(tile_type) == 1:
		$Control/Sprite.region_rect.position = tileset.get_tileset().autotile_get_icon_coordinate(tile_type) * 32
	else: $Control/Sprite.region_rect.position = tileset.get_tileset().tile_get_region(tile_type).position

func _on_Button_pressed():
	UIHelpers.get_editor().tile_type = tile_type
	UIHelpers.get_editor().get_node("UI/SideBar/VBoxContainer/HBoxContainer/EraserButton").pressed = false


================================================
FILE: src/Scenes/Editor/Tile.tscn
================================================
[gd_scene load_steps=5 format=2]

[ext_resource path="res://Scenes/Editor/Tile.gd" type="Script" id=1]
[ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=2]

[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 1, 1, 1, 0.5 )
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4

[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0, 0.67, 1, 0.5 )
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4

[node name="Tile" type="Control"]
margin_right = 32.0
margin_bottom = 32.0
script = ExtResource( 1 )

[node name="Control" type="Control" parent="."]
margin_right = 32.0
margin_bottom = 32.0

[node name="Sprite" type="Sprite" parent="Control"]
position = Vector2( 16, 16 )
region_enabled = true
region_rect = Rect2( 0, 0, 32, 32 )

[node name="Button" type="Button" parent="Control"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -16.0
margin_top = -16.0
margin_right = 16.0
margin_bottom = 16.0
focus_mode = 0
theme = ExtResource( 2 )
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
action_mode = 0
enabled_focus_mode = 0
[connection signal="pressed" from="Control/Button" to="." method="_on_Button_pressed"]


================================================
FILE: src/Scenes/Levels/SlopesThatDontWork.tscn
================================================
[gd_scene load_steps=5 format=2]

[ext_resource path="res://Scenes/Objects/Misc/SpawnPoint.tscn" type="PackedScene" id=1]
[ext_resource path="res://Scenes/Editor/Layers/TileMap.tscn" type="PackedScene" id=2]
[ext_resource path="res://Scenes/Editor/Layers/Background.tscn" type="PackedScene" id=3]
[ext_resource path="res://Scenes/Editor/Layers/Backgrounds/Snow.tscn" type="PackedScene" id=4]

[node name="Level" type="Node2D"]

[node name="SpawnPoint" parent="." instance=ExtResource( 1 )]
position = Vector2( 16, 16 )

[node name="Interactive" parent="." instance=ExtResource( 2 )]
tile_data = PoolIntArray( 655360, 0, 0, 655361, 0, 1, 655362, 0, 1, 655363, 0, 1, 655364, 0, 1, 655365, 0, 1, 655366, 0, 1, 655367, 0, 1, 655368, 0, 1, 655369, 0, 1, 655370, 0, 1, 655371, 0, 1, 655372, 0, 1, 655373, 0, 1, 655374, 0, 1, 655375, 0, 1, 655376, 0, 1, 655377, 0, 1, 655378, 0, 1, 655379, 0, 2, 720896, 0, 65536, 720897, 0, 65537, 720898, 0, 65537, 720899, 0, 65537, 720900, 0, 65537, 720901, 0, 65537, 720902, 0, 65537, 720903, 0, 65537, 720904, 0, 65537, 720905, 0, 65537, 720906, 0, 65537, 720907, 0, 65537, 720908, 0, 65537, 720909, 0, 65537, 720910, 0, 65537, 720911, 0, 15, 720912, 0, 65537, 720913, 0, 65537, 720914, 0, 65537, 720915, 0, 65538, 786432, 0, 65536, 786433, 0, 65537, 786434, 0, 65537, 786435, 0, 65537, 786436, 0, 65537, 786437, 0, 65537, 786438, 0, 65537, 786439, 0, 65537, 786440, 0, 65537, 786441, 0, 65537, 786442, 0, 65537, 786443, 0, 65537, 786444, 0, 65537, 786445, 0, 65537, 786446, 0, 65537, 786447, 0, 65537, 786448, 0, 65537, 786449, 0, 65537, 786450, 0, 65537, 786451, 0, 65538, 851968, 0, 65536, 851969, 0, 65537, 851970, 0, 65537, 851971, 0, 65537, 851972, 0, 65537, 851973, 0, 65537, 851974, 0, 65537, 851975, 0, 65537, 851976, 0, 65537, 851977, 0, 65537, 851978, 0, 65537, 851979, 0, 65537, 851980, 0, 65537, 851981, 0, 65537, 851982, 0, 65537, 851983, 0, 65537, 851984, 0, 65537, 851985, 0, 65537, 851986, 0, 65537, 851987, 0, 65538, 917504, 0, 65536, 917505, 0, 65537, 917506, 0, 65537, 917507, 0, 65537, 917508, 0, 65537, 917509, 0, 15, 917510, 0, 65537, 917511, 0, 65537, 917512, 0, 65537, 917513, 0, 65537, 917514, 0, 65537, 917515, 0, 65537, 917516, 0, 65537, 917517, 0, 65537, 917518, 0, 65537, 917519, 0, 65537, 917520, 0, 65537, 917521, 0, 65537, 917522, 0, 65537, 917523, 0, 65538, 983040, 0, 65536, 983041, 0, 65537, 983042, 0, 65537, 983043, 0, 65537, 983044, 0, 65537, 983045, 0, 65537, 983046, 0, 65537, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983052, 0, 65537, 983053, 0, 65537, 983054, 0, 65537, 983055, 0, 65537, 983056, 0, 65537, 983057, 0, 65537, 983058, 0, 65537, 983059, 0, 65538, 1048576, 0, 131072, 1048577, 0, 131073, 1048578, 0, 131073, 1048579, 0, 131073, 1048580, 0, 131073, 1048581, 0, 131073, 1048582, 0, 131073, 1048583, 0, 131073, 1048584, 0, 131073, 1048585, 0, 131073, 1048586, 0, 131073, 1048587, 0, 131073, 1048588, 0, 131073, 1048589, 0, 131073, 1048590, 0, 131073, 1048591, 0, 131073, 1048592, 0, 131073, 1048593, 0, 131073, 1048594, 0, 131073, 1048595, 0, 131074, 2490424, 0, 8 )
original_name = "TileMap"

[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2( 400, 100 )

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D"]
polygon = PoolVector2Array( 235.727, 210.618, 312.589, 210.547, 423.656, 224.827, 534.43, 257.925, 623.577, 300.988, 701.324, 362.868, 760.031, 415.228, 819.037, 497.09, 858.405, 570.722, 894.898, 643.709, 926.632, 677.029, 967.885, 697.656, 1012.31, 708.763, 1063.09, 708.763, 1094.82, 700.829, 1124.97, 677.029, 1148.77, 627.842, 1161.46, 550.095, 1161.46, 373.975, 1348.69, 373.975, 1348.69, 829.35, 237.962, 830.372 )

[node name="Background" parent="." instance=ExtResource( 3 )]
modulate = Color( 0, 0, 0, 1 )
tint = Color( 0, 0, 0, 1 )
original_name = "Background"

[node name="ParallaxBackground" parent="Background" instance=ExtResource( 4 )]
scroll_offset = Vector2( 443, 78.5 )


================================================
FILE: src/Scenes/Levels/TEST.tscn
================================================
[gd_scene load_steps=11 format=2]

[ext_resource path="res://Scenes/UI/Level.gd" type="Script" id=1]
[ext_resource path="res://Scenes/Objects/Misc/SpawnPoint.tscn" type="PackedScene" id=2]
[ext_resource path="res://Scenes/Objects/Misc/SpawnPoint.gd" type="Script" id=3]
[ext_resource path="res://Scenes/Editor/Layers/TileMap.tscn" type="PackedScene" id=4]
[ext_resource path="res://Tilesets/LevelTiles.tres" type="TileSet" id=5]
[ext_resource path="res://Scenes/Editor/Layers/TileMap.gd" type="Script" id=6]
[ext_resource path="res://Scenes/Editor/Layers/Background.tscn" type="PackedScene" id=7]
[ext_resource path="res://Scenes/Editor/Layers/Background.gd" type="Script" id=8]
[ext_resource path="res://Scenes/Editor/Layers/Backgrounds/Snow.tscn" type="PackedScene" id=9]
[ext_resource path="res://Scenes/Editor/Layers/Backgrounds/Background.gd" type="Script" id=10]

[node name="Level" type="Node2D"]
script = ExtResource( 1 )
level_name = "The Test Level"
level_creator = "Alzter"
music = "res://Audio/Music//theme.ogg"
worldmap = false

[node name="SpawnPoint" type="Position2D" parent="." groups=[
"oneonly",
"spawnpoint",
] instance=ExtResource( 2 )]
position = Vector2( 16, 16 )
script = ExtResource( 3 )

[node name="Interactive" type="TileMap" parent="." groups=[
"layers",
"tilemap",
] instance=ExtResource( 4 )]
tile_set = ExtResource( 5 )
cell_size = Vector2( 32, 32 )
collision_layer = 31
collision_mask = 31
format = 1
tile_data = PoolIntArray( 655360, 0, 0, 655361, 0, 1, 655362, 0, 1, 655363, 0, 1, 655364, 0, 1, 655365, 0, 1, 655366, 0, 1, 655367, 0, 1, 655368, 0, 1, 655369, 0, 1, 655370, 0, 1, 655371, 0, 1, 655372, 0, 1, 655373, 0, 1, 655374, 0, 1, 655375, 0, 1, 655376, 0, 1, 655377, 0, 1, 655378, 0, 1, 655379, 0, 1, 655380, 0, 1, 655381, 0, 1, 655382, 0, 1, 655383, 0, 1, 655384, 0, 1, 655385, 0, 1, 655386, 0, 1, 655387, 0, 1, 655388, 0, 1, 655389, 0, 2, 720896, 0, 65536, 720897, 0, 65537, 720898, 0, 65537, 720899, 0, 65537, 720900, 0, 65537, 720901, 0, 65537, 720902, 0, 65537, 720903, 0, 65537, 720904, 0, 65537, 720905, 0, 65537, 720906, 0, 65537, 720907, 0, 65537, 720908, 0, 65537, 720909, 0, 65537, 720910, 0, 65537, 720911, 0, 15, 720912, 0, 65537, 720913, 0, 65537, 720914, 0, 65537, 720915, 0, 65537, 720916, 0, 65537, 720917, 0, 65537, 720918, 0, 65537, 720919, 0, 65537, 720920, 0, 65537, 720921, 0, 65537, 720922, 0, 65537, 720923, 0, 65537, 720924, 0, 65537, 720925, 0, 65538, 786432, 0, 65536, 786433, 0, 65537, 786434, 0, 65537, 786435, 0, 65537, 786436, 0, 65537, 786437, 0, 65537, 786438, 0, 65537, 786439, 0, 65537, 786440, 0, 65537, 786441, 0, 65537, 786442, 0, 65537, 786443, 0, 65537, 786444, 0, 65537, 786445, 0, 65537, 786446, 0, 65537, 786447, 0, 65537, 786448, 0, 65537, 786449, 0, 65537, 786450, 0, 65537, 786451, 0, 65537, 786452, 0, 65537, 786453, 0, 65537, 786454, 0, 65537, 786455, 0, 65537, 786456, 0, 65537, 786457, 0, 65537, 786458, 0, 65537, 786459, 0, 65537, 786460, 0, 65537, 786461, 0, 65538, 851968, 0, 65536, 851969, 0, 65537, 851970, 0, 65537, 851971, 0, 65537, 851972, 0, 65537, 851973, 0, 65537, 851974, 0, 65537, 851975, 0, 65537, 851976, 0, 65537, 851977, 0, 65537, 851978, 0, 65537, 851979, 0, 65537, 851980, 0, 65537, 851981, 0, 65537, 851982, 0, 65537, 851983, 0, 65537, 851984, 0, 65537, 851985, 0, 65537, 851986, 0, 65537, 851987, 0, 65537, 851988, 0, 65537, 851989, 0, 65537, 851990, 0, 65537, 851991, 0, 65537, 851992, 0, 65537, 851993, 0, 65537, 851994, 0, 65537, 851995, 0, 65537, 851996, 0, 15, 851997, 0, 65538, 917504, 0, 65536, 917505, 0, 65537, 917506, 0, 65537, 917507, 0, 65537, 917508, 0, 65537, 917509, 0, 15, 917510, 0, 65537, 917511, 0, 65537, 917512, 0, 65537, 917513, 0, 65537, 917514, 0, 65537, 917515, 0, 65537, 917516, 0, 65537, 917517, 0, 65537, 917518, 0, 65537, 917519, 0, 65537, 917520, 0, 65537, 917521, 0, 65537, 917522, 0, 65537, 917523, 0, 65537, 917524, 0, 65537, 917525, 0, 65537, 917526, 0, 65537, 917527, 0, 65537, 917528, 0, 65537, 917529, 0, 65537, 917530, 0, 65537, 917531, 0, 65537, 917532, 0, 65537, 917533, 0, 65538, 983040, 0, 65536, 983041, 0, 65537, 983042, 0, 65537, 983043, 0, 65537, 983044, 0, 65537, 983045, 0, 65537, 983046, 0, 65537, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983052, 0, 65537, 983053, 0, 65537, 983054, 0, 65537, 983055, 0, 65537, 983056, 0, 65537, 983057, 0, 65537, 983058, 0, 65537, 983059, 0, 65537, 983060, 0, 65537, 983061, 0, 65537, 983062, 0, 65537, 983063, 0, 65537, 983064, 0, 65537, 983065, 0, 65537, 983066, 0, 65537, 983067, 0, 65537, 983068, 0, 65537, 983069, 0, 65538, 1048576, 0, 131072, 1048577, 0, 131073, 1048578, 0, 131073, 1048579, 0, 131073, 1048580, 0, 131073, 1048581, 0, 131073, 1048582, 0, 131073, 1048583, 0, 131073, 1048584, 0, 131073, 1048585, 0, 131073, 1048586, 0, 131073, 1048587, 0, 131073, 1048588, 0, 131073, 1048589, 0, 131073, 1048590, 0, 131073, 1048591, 0, 131073, 1048592, 0, 131073, 1048593, 0, 131073, 1048594, 0, 131073, 1048595, 0, 131073, 1048596, 0, 131073, 1048597, 0, 131073, 1048598, 0, 131073, 1048599, 0, 131073, 1048600, 0, 131073, 1048601, 0, 131073, 1048602, 0, 131073, 1048603, 0, 131073, 1048604, 0, 131073, 1048605, 0, 131074 )
script = ExtResource( 6 )
scroll_speed = Vector2( 1, 1 )
move_speed = Vector2( 0, 0 )
moving = false
tint = Color( 1, 1, 1, 1 )
filepath = ""
original_name = "TileMap"

[node name="Background" type="Node2D" parent="." groups=[
"layers",
] instance=ExtResource( 7 )]
modulate = Color( 0, 0, 0, 1 )
script = ExtResource( 8 )
scroll_speed = Vector2( 1, 1 )
move_speed = Vector2( 0, 0 )
moving = false
tint = Color( 0, 0, 0, 1 )
filepath = "res://Scenes/Editor/Layers/Backgrounds"
original_name = "Background"

[node name="ParallaxBackground" type="ParallaxBackground" parent="Background" instance=ExtResource( 9 )]
scroll_offset = Vector2( 683, 352.5 )
script = ExtResource( 10 )


================================================
FILE: src/Scenes/Master/Gameplay.gd
================================================
extends Node2D

onready var editmode = true
onready var editsaved = false # Using an edited version of a level
var current_level = ""
var can_edit = true
var player_position = Vector2()
var level_bound_left = 0
var level_bound_right = 0
var level_bound_bottom = 0
var level_bound_top = 0
var camera_smooth_time = 0
var camera_zoom = 1
var camera_zoom_speed = 20
onready var worldmap = "" # The worldmap you started in

func _ready():
	load_editor()
	UIHelpers.get_editor().set_process(false)

func _process(_delta):
	if UIHelpers.get_level() == null or UIHelpers.get_editor() == null or UIHelpers.get_player() == null:
		return

	if camera_zoom_speed < 1: camera_zoom_speed = 1
	if camera_zoom < 0.25: camera_zoom = 0.25
	if camera_zoom > 1.5: camera_zoom = 1.5
	$Camera2D.zoom.x = $Camera2D.zoom.x + (camera_zoom - $Camera2D.zoom.x) / camera_zoom_speed
	$Camera2D.zoom.y = $Camera2D.zoom.x

	if get_viewport().size.x > get_viewport().size.y:
		$CanvasLayer/CircleTransition.rect_size.x = get_viewport().size.x
		$CanvasLayer/CircleTransition.rect_size.y = get_viewport().size.x
		$CanvasLayer/CircleTransition.rect_position.y = 0.5 * (get_viewport().size.y - get_viewport().size.x)
	else:
		$CanvasLayer/CircleTransition.rect_size.x = get_viewport().size.y
		$CanvasLayer/CircleTransition.rect_size.y = get_viewport().size.y
		$CanvasLayer/CircleTransition.rect_position.x = 0.5 * (get_viewport().size.x - get_viewport().size.y)

	if editmode == false:
		level_bounds()
		camera_to_level_bounds()
		if camera_smooth_time == 0 and !get_node("Level").worldmap:
			$Camera2D.drag_margin_v_enabled = true
	else:
		camera_bounds_remove()
		$Camera2D.drag_margin_h_enabled = false
		$Camera2D.drag_margin_v_enabled = false

	if camera_smooth_time > 0:
		$Camera2D.smoothing_enabled = true
		camera_smooth_time -= 1
		if camera_smooth_time < 10:
			$Camera2D.smoothing_speed += 3
		else: $Camera2D.smoothing_speed = 10
	else:
		$Camera2D.smoothing_enabled = false
		$Camera2D.smoothing_speed = 10
		camera_smooth_time = 0

func load_level_from_map(level):
	worldmap = current_level
	editmode = false
	$CanvasLayer/AnimationPlayer.play("Circle Out")
	yield(get_node("CanvasLayer/AnimationPlayer"), "animation_finished")
	camera_zoom = 1
	camera_zoom_speed = 1
	clear_player()
	clear_level()
	clear_editor()
	clear_ui()

	current_level = level
	load_level(level)
	load_player()
	load_ui()
	load_editor()
	$CanvasLayer/AnimationPlayer.play("Circle In")

func return_to_map():
	if worldmap != "":
		enter_level(worldmap)

func restart_level():
	editmode = false
	$CanvasLayer/AnimationPlayer.play("Circle Out")
	yield(get_node("CanvasLayer/AnimationPlayer"), "animation_finished")
	camera_zoom = 1
	camera_zoom_speed = 1
	clear_ui()
	clear_player()
	clear_level()
	if !editsaved or (worldmap != "" and current_level != worldmap):
		load_level(current_level)
	else: load_edited_level()
	load_ui()
	load_player()
	$CanvasLayer/AnimationPlayer.play("Circle In")

func open_level():
	UIHelpers.file_dialog("user://Scenes//Levels/", ".tscn", false) # Bring up file select

	yield(get_node("FileSelect"), "tree_exiting")

	if UIHelpers._get_scene().get_node("FileSelect").cancel == false:
		var level = get_node("FileSelect").selectdir
		var dir = get_node("FileSelect").directory
		if check_level_valid(level) == true:
			if UIHelpers.get_level() != null:
				enter_level(level)
			else:
				enter_level_init(level, false)
		else:
			UIHelpers._get_scene().get_node("FileSelect").cancel = true

func enter_level_init(level, properties):
	$CanvasLayer/AnimationPlayer.play("Circle Out")
	yield(get_node("CanvasLayer/AnimationPlayer"), "animation_finished")
	editsaved = false
	worldmap = ""
	camera_zoom = 1
	camera_zoom_speed = 1
	UIHelpers.get_editor().set_process(true)
	clear_editor()

	editmode = false

	load_level(level)
	load_player()
	load_ui()
	load_editor()
	editmode_toggle()
	$CanvasLayer/AnimationPlayer.play("Circle In")
	if properties:
		UIHelpers.get_editor().get_node("Menu/Settings").show()

func enter_level(level):
	$CanvasLayer/AnimationPlayer.play("Circle Out")
	yield(get_node("CanvasLayer/AnimationPlayer"), "animation_finished")
	var edit = editmode
	if editmode == true:
		editmode_toggle()
	editsaved = false
	worldmap = ""
	camera_zoom = 1
	camera_zoom_speed = 1
	clear_player()
	clear_level()
	UIHelpers.get_editor().set_process(true)
	clear_editor()
	clear_ui()

	editmode = false

	load_level(level)
	load_player()
	load_ui()
	load_editor()
	if edit:
		editmode_toggle()
	$CanvasLayer/AnimationPlayer.play("Circle In")

func save_level():
	var packed_scene = PackedScene.new()
	packed_scene.pack(get_tree().get_current_scene().get_node("Level"))
	ResourceSaver.save(current_level, packed_scene)

func save_level_as():
	if get_node("Level").worldmap:
		UIHelpers.file_dialog("res://Scenes//Worldmaps/", ".tscn", true) # Bring up file select
	else:
		UIHelpers.file_dialog("user://Scenes//Levels/", ".tscn", true) # Bring up file select

	yield(get_node("FileSelect"), "tree_exiting")

	if UIHelpers._get_scene().get_node("FileSelect").cancel == false:
		var selectdir = str(get_node("FileSelect").directory, "/", get_node("FileSelect").savename, ".tscn")
		var packed_scene = PackedScene.new()
		packed_scene.pack(get_tree().get_current_scene().get_node("Level"))
		ResourceSaver.save(selectdir, packed_scene)
		current_level = selectdir

func save_edited_level():
	var packed_scene = PackedScene.new()
	var directory = Directory.new()
	packed_scene.pack(get_tree().get_current_scene().get_node("Level"))

	if not directory.dir_exists("user://Scenes/Levels/EditedLevel"):
		directory.make_dir_recursive("user://Scenes/Levels/EditedLevel")

	ResourceSaver.save("user://Scenes/Levels/EditedLevel/EditedLevel.tscn", packed_scene)
	editsaved = true

func load_edited_level():
	load_level("user://Scenes/Levels/EditedLevel/EditedLevel.tscn")

func load_level(level):
	current_level = level
	var directory = Directory.new()
	if directory.file_exists(level):
		var levelinstance = load(level).instance()
		if levelinstance.worldmap:
			worldmap = level
		levelinstance.set_name("Level")
		add_child(levelinstance)
		level_to_grid()

func level_to_grid():
	for child in get_tree().current_scene.get_node("Level").get_children():
		if not child.is_in_group("tilemap"):
			child.position.x = floor(child.position.x / 32) * 32
			child.position.y = floor(child.position.y / 32) * 32
			child.position.x += 16
			child.position.y += 16

func clear_level():
	var scene = get_node("Level")
	remove_child(scene)
	scene.call_deferred("free")

func load_editor():
	_load_node("res://Scenes/UI/LevelEditor.tscn", "Editor")

func clear_editor():
	var scene = get_node("Editor")
	remove_child(scene)

func load_ui():
	_load_node("res://Scenes/UI/LevelUI.tscn", "LevelUI")

func _load_node(scene_path, node_name):
	var scene = load(scene_path).instance()
	scene.set_name(node_name)
	add_child(scene)

func _clear_node(node_name):
	var node = get_node(node_name)
	for i in node.get_children():
		i.queue_free()
	remove_child(node)
	node.call_deferred("free")

func clear_ui():
	_clear_node("LevelUI")

func load_player():
	if get_node("Level").worldmap:
		_load_node("res://Scenes/Player/Worldmap.tscn", "Player")
	else:
		_load_node("res://Scenes/Player/Player.tscn", "Player")

func clear_player():
	_clear_node("Player")

func level_bounds():
	level_bound_left = 0
	level_bound_right = 0
	level_bound_top = 0
	level_bound_bottom = 0

	for child in get_tree().get_nodes_in_group("tilemap"):
		var child_name = child.get_name()
		var level = get_tree().current_scene.get_node(str("Level/", child_name))
		var rect = level.get_used_rect()
		var cell_size = level.get_cell_size()

		var bound_left = rect.position.x * ((cell_size.x * level.scale.x) / level.scroll_speed.x)
		var bound_right = rect.end.x * ((cell_size.x * level.scale.x) / level.scroll_speed.x)
		var bound_top = rect.position.y * ((cell_size.y * level.scale.y) / level.scroll_speed.y)
		var bound_bottom = rect.end.y * ((cell_size.y * level.scale.y) / level.scroll_speed.y)

		if bound_left < level_bound_left:
			level_bound_left = bound_left

		if bound_right > level_bound_right:
			level_bound_right = bound_right

		if bound_top < level_bound_top:
			level_bound_top = bound_top

		if  bound_bottom > level_bound_bottom:
			level_bound_bottom = bound_bottom

func camera_bounds_remove():
	$Camera2D.limit_left = -10000000
	$Camera2D.limit_right = 10000000
	$Camera2D.limit_top = -10000000
	$Camera2D.limit_bottom = 10000000

func camera_to_level_bounds():
	$Camera2D.limit_left = level_bound_left + 32
	$Camera2D.limit_right = level_bound_right - 32
	if $Camera2D.limit_right < get_viewport().size.x: # If the tilemap is thinner than the window, align the camera to the left
		$Camera2D.limit_right = get_viewport().size.x
	$Camera2D.limit_top = level_bound_top + 32
	print(str($Camera2D.limit_top , " ", -get_viewport().size.y * 0.5))
	if $Camera2D.limit_top > -get_viewport().size.y * 0.5: # If the tilemap is thinner than the window, align the camera to the left
		$Camera2D.limit_top = -get_viewport().size.y * 0.5
	$Camera2D.limit_bottom = level_bound_bottom - 32

func play_music(music):
	$Music.stop()
	$Music.play()

func editmode_toggle():
	if $CanvasLayer/AnimationPlayer.is_playing() == false and can_edit == true:
		if editmode == false:
			editmode = true
			# Store if the previous level was a worldmap
			var prevworldmap = get_node("Level").worldmap
			player_position = get_node("Player").position
			clear_ui()
			clear_player()
			clear_level()

			if editsaved == false:
				if worldmap == "":
					load_level(current_level)
				else: load_level(worldmap)
			else: load_edited_level()
			load_player()

			# Only move the player if the current level is the same type as the previous
			if get_node("Level").worldmap == prevworldmap:
				get_node("Player").position = player_position
			else:
				get_node("Camera2D").position = get_node("Player").position
				clear_editor()
				load_editor()

		elif get_node("Editor").dragging_object == false:
			editmode = false
			camera_smooth_time = 20
			save_edited_level()
			clear_level()
			if editsaved == false:
				load_level(current_level)
			else: load_edited_level()
			load_ui()

# Make sure a level is valid by checking its filetype and if it has a level name (utterly foolproof)
func check_level_valid(dir):
	if ".tscn" in dir:
		if load(dir).instance().get("level_name") != null:
			return true
		else: return false
	else: return false


================================================
FILE: src/Scenes/Master/Gameplay.tscn
================================================
[gd_scene load_steps=8 format=2]

[ext_resource path="res://Scenes/Master/Gameplay.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Transitions/Circle.png" type="Texture" id=2]

[sub_resource type="AudioStreamSample" id=1]

[sub_resource type="Animation" id=2]
length = 0.6
tracks/0/type = "value"
tracks/0/path = NodePath("CircleTransition:material:shader_param/cutoff")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 1.0 ]
}

[sub_resource type="Animation" id=3]
length = 0.6
tracks/0/type = "value"
tracks/0/path = NodePath("CircleTransition:material:shader_param/cutoff")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 1.0, 0.0 ]
}

[sub_resource type="Shader" id=4]
code = "shader_type canvas_item;
render_mode unshaded;

uniform float cutoff : hint_range(0.0, 1.0);
uniform float smooth_size : hint_range(0.0, 1.0);
uniform sampler2D mask : hint_albedo;

uniform vec4 color : hint_color;

void fragment()
{
	float value = texture(mask, UV).r;
	float alpha = smoothstep(cutoff, cutoff + smooth_size, value * (1.0 - smooth_size) + smooth_size);
	COLOR = vec4(color.rgb, alpha);
}"

[sub_resource type="ShaderMaterial" id=5]
shader = SubResource( 4 )
shader_param/cutoff = 1.0
shader_param/smooth_size = 0.03
shader_param/color = null
shader_param/mask = ExtResource( 2 )

[node name="Gameplay" type="Node2D"]
script = ExtResource( 1 )

[node name="Music" type="AudioStreamPlayer" parent="."]
stream = SubResource( 1 )

[node name="Camera2D" type="Camera2D" parent="."]
pause_mode = 2
current = true
smoothing_speed = 15.0

[node name="CanvasLayer" type="CanvasLayer" parent="."]
pause_mode = 2
layer = 2

[node name="AnimationPlayer" type="AnimationPlayer" parent="CanvasLayer"]
"anims/Circle In" = SubResource( 2 )
"anims/Circle Out" = SubResource( 3 )

[node name="CircleTransition" type="ColorRect" parent="CanvasLayer"]
material = SubResource( 5 )
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )


================================================
FILE: src/Scenes/Objects/BadGuys/BadGuy.gd
================================================
extends KinematicBody2D

const FLOOR = Vector2(0, -1)

var velocity = Vector2(0,0)
var startpos = Vector2(0,0)
var state = "active"
var direction = 1
var rotate = 0
var invincible_time = 0
var areastored = null
export var smart = false
export var squishable = true

const WALK_SPEED = 80
var SQUISHED_ANIMATION = "squished"

# These methods are here to be overridden in the badguy sub-classes
func on_ready():
	pass

func on_kill(delta):
	pass

func on_move(delta):
	pass

func on_squish(delta):
	pass

func on_fireball_kill():
	pass

func on_buttjump_kill():
	pass

func on_physics_process(delta):
	pass

func _ready():
	startpos = position
	direction = $Control/AnimatedSprite.scale.x
	if smart == true:
		var child = RayCast2D.new()
		child.enabled = true
		child.cast_to = Vector2(0,32)
		child.collision_mask = 4
		add_child(child)
		child.set_name("Smart")
		child.set_owner(self)
	on_ready()

func disable():
	remove_from_group("badguys")
	$CollisionShape2D.call_deferred("set_disabled", true)
	$Area2D/CollisionShape2D.call_deferred("set_disabled", true)

func _physics_process(delta):
	if get_tree().current_scene.editmode == true:
		return

	if invincible_time > 0:
		invincible_time -= 1
	else: invincible_time = 0

	# Movement
	if state == "active":
		_move(delta)

	# Kill states
	if state == "kill":
		_kill(delta)

	if state == "squished":
		_squish(delta)

	on_physics_process(delta);

# If hit by bullet or invincible player
func kill():
	if invincible_time > 0: return
	disable()
	$AnimationPlayer.stop()
	state = "kill"

	if velocity.x == 0:
		velocity.x = 1

	velocity = Vector2(300 * (velocity.x / abs(velocity.x)), -350)
	rotate = 30 * (velocity.x / abs(velocity.x))
	$SFX/Fall.play()

func _move(delta):
	if velocity.x != 0:
		if smart == true and is_on_floor():
			if not $Smart.is_colliding():
				$Control/AnimatedSprite.scale.x *= -1
				velocity.x *= -1

		if (velocity.x / abs(velocity.x)) == $Control/AnimatedSprite.scale.x:
			$Control/AnimatedSprite.scale.x *= -1

	if abs(velocity.x) <= WALK_SPEED: velocity.x = -WALK_SPEED * $Control/AnimatedSprite.scale.x
	elif is_on_floor(): velocity.x *= 0.95
	velocity.y += 20
	velocity = move_and_slide(velocity, FLOOR)
	if is_on_wall():
		$Control/AnimatedSprite.scale.x *= -1
	on_move(delta)

func _squish(delta):
	velocity.x = 0
	velocity.y += 20
	velocity = move_and_slide(velocity, FLOOR)
	collision_layer = 4
	collision_mask = 0
	$CollisionShape2D.disabled = false
	on_squish(delta)

func _kill(delta):
	position += velocity * delta
	velocity.y += 20
	$Control/AnimatedSprite.rotation_degrees += rotate
	on_kill(delta)

# Buttjump detection
func _on_Area2D_area_entered(area):
	if area.get_parent().is_in_group("player") and squishable == true and state == "active":
		if area.get_parent().buttjump == true:
			area.get_parent().velocity.y *= 0.9
			buttjump_kill()

# Hit player / Squished
func _on_Area2D_body_entered(body):
	if not body.is_in_group("player"): return
	if body.position.y + 20 < position.y and squishable == true:
		if state == "active" and invincible_time == 0:

			# Squished
			if body.sliding == true:
				kill()
				return
			if body.buttjump == true:
				body.velocity.y *= 0.9
				buttjump_kill()
			disable()
			state = "squished"
			$AnimationPlayer.play(SQUISHED_ANIMATION)
			$SFX/Squish.play()
			body.bounce(300, body.JUMP_POWER, true)
			velocity = Vector2(0,0)
	else:
		# Hit player
		if body.invincible == true:
			kill()
		if state == "active" and body.has_method("hurt"):
			body.hurt()
		return


# Die when knocked off stage
func _on_VisibilityEnabler2D_screen_exited():
	if state == "kill" or state == "":
		queue_free()

func appear(dir, hitdown):
	invincible_time = 5
	$Control/AnimatedSprite.scale.x = -dir
	if abs($Control/AnimatedSprite.scale.x) != 1: $Control/AnimatedSprite.scale.x = -1

# Fireball death animation
func fireball_kill():
	disable()
	state = ""
	on_fireball_kill()

# Buttjump death animation
func buttjump_kill():
	disable()
	state = ""
	on_buttjump_kill()
	return


================================================
FILE: src/Scenes/Objects/BadGuys/Bomb.gd
================================================
extends "BadGuy.gd"
var hurt_player = true
var exploding = false

func on_ready():
	SQUISHED_ANIMATION = "triggered"

# Fireball death animation
func fireball_kill():
	explode()

# Buttjump death animation
func on_buttjump_kill():
	hurt_player = false
	explode()

func explode():
	exploding = true
	var bodies = $Area2D.get_overlapping_bodies()
	for body in bodies:
		if body.is_in_group("player"):
			if body.holding_object == true:
				if body.object_held == name:
					body.holding_object = false
	disable()
	state = ""
	$AnimationPlayer.play("explode")

func _squish(delta):
	velocity.x = 0
	velocity.y += 20
	velocity = move_and_slide(velocity, FLOOR)
	$CollisionShape2D.disabled = false
	on_squish(delta)

func _on_ExplosionRadius_body_entered(body):
	if body.get_name() != name and exploding == true:
		if body.is_in_group("player"):
			if hurt_player == true: body.hurt()
			else: body.velocity.y = -1000
		if body.is_in_group("bonusblock") or body.is_in_group("brick"):
			if body.position.x < position.x:
				body.hit(-1,body.position.y > position.y)
			else: body.hit(1,body.position.y > position.y)

func _on_ExplosionRadius_area_entered(area):
	if area.get_parent().get_name() != name and exploding == true:
		if area.get_parent().is_in_group("badguys"):
			area.get_parent().kill()

# Hit player / Squished
func _on_Area2D_body_entered(body):
	if not body.is_in_group("player"): return
	if body.position.y + 20 < position.y and squishable == true:
		if state == "active" and invincible_time == 0:

			# Squished
			if body.sliding == true:
				kill()
				return
			if body.buttjump == true:
				body.velocity.y *= 0.9
				buttjump_kill()
			disable()
			state = "squished"
			$AnimationPlayer.play(SQUISHED_ANIMATION)
			$SFX/Squish.play()
			body.bounce(300, body.JUMP_POWER, true)
			velocity = Vector2(0,0)
		elif state == "triggered":
			if Input.is_action_pressed("action") and body.holding_object == false:
				body.holding_object = true
				body.object_held = name
	else:
		# Hit player
		if body.invincible == true:
			kill()
		if state == "active" and body.has_method("hurt"):
			body.hurt()
		return


================================================
FILE: src/Scenes/Objects/BadGuys/Bomb.tscn
================================================
[gd_scene load_steps=27 format=2]

[ext_resource path="res://Scenes/Objects/BadGuys/Bomb.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Creatures/Bomb/bomb-0.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Creatures/Bomb/bomb-1.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Creatures/Bomb/bomb-2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Creatures/Bomb/triggered.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Creatures/Bomb/redglow.png" type="Texture" id=6]
[ext_resource path="res://Sprites/Creatures/Bomb/whiteflash.png" type="Texture" id=7]
[ext_resource path="res://Sprites/Objects/Fireball/fireballambient.png" type="Texture" id=8]
[ext_resource path="res://Audio/SoundEffects/Enemy/fall.wav" type="AudioStream" id=9]
[ext_resource path="res://Audio/SoundEffects/Enemy/squish.wav" type="AudioStream" id=10]
[ext_resource path="res://Audio/SoundEffects/Enemy/splash.ogg" type="AudioStream" id=11]
[ext_resource path="res://Audio/SoundEffects/Enemy/hiss.wav" type="AudioStream" id=12]
[ext_resource path="res://Audio/SoundEffects/Enemy/beep.wav" type="AudioStream" id=13]
[ext_resource path="res://Audio/SoundEffects/Enemy/beepfast.wav" type="AudioStream" id=14]
[ext_resource path="res://Audio/SoundEffects/Enemy/explode.wav" type="AudioStream" id=15]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 8.0
}, {
"frames": [ ExtResource( 5 ) ],
"loop": false,
"name": "triggered",
"speed": 2.0
} ]

[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 6 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]

[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 7 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]

[sub_resource type="Gradient" id=4]
offsets = PoolRealArray( 0, 0.470588, 1 )
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 )

[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 15, 15 )

[sub_resource type="RectangleShape2D" id=6]
extents = Vector2( 0, 0 )

[sub_resource type="RectangleShape2D" id=7]
extents = Vector2( 15, 15 )

[sub_resource type="Animation" id=8]
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 0 ),
"update": 1,
"values": [ "default" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control/AnimatedSprite:rotation_degrees")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Control/AnimatedSprite/RedGlow:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/6/type = "value"
tracks/6/path = NodePath("Control/AnimatedSprite/WhiteFlash:visible")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/7/type = "value"
tracks/7/path = NodePath("Control/AnimatedSprite/Sparks:emitting")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/8/type = "value"
tracks/8/path = NodePath("SFX/Hiss:playing")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/9/type = "value"
tracks/9/path = NodePath("ExplosionRadius/CollisionShape2D:disabled")
tracks/9/interp = 1
tracks/9/loop_wrap = true
tracks/9/imported = false
tracks/9/enabled = true
tracks/9/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/10/type = "value"
tracks/10/path = NodePath("ExplosionRadius/CollisionShape2D:shape")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ SubResource( 6 ) ]
}

[sub_resource type="CircleShape2D" id=9]
radius = 80.0

[sub_resource type="Animation" id=10]
length = 1.2
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite/Sparks:emitting")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("SFX/Hiss:playing")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("SFX/Explode:playing")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("ExplosionRadius/CollisionShape2D:disabled")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ false, true ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("ExplosionRadius/CollisionShape2D:shape")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ SubResource( 9 ) ]
}
tracks/6/type = "method"
tracks/6/path = NodePath(".")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 1.2 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}

[sub_resource type="Animation" id=11]
length = 2.6
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "triggered" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite/RedGlow:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite/RedGlow:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1.9 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 0.2, 1.3, 2.25, 2.5 ),
"transitions": PoolRealArray( 1, 2, 2, 2, 1 ),
"update": 0,
"values": [ Vector2( 1.6, 0.5 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1.25, 1.25 ), Vector2( 1.5, 1.5 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control/AnimatedSprite/WhiteFlash:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Control/AnimatedSprite/WhiteFlash:self_modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0, 1.35, 1.4, 1.5, 1.65, 1.7, 1.8, 1.95, 2, 2.1, 2.25, 2.3, 2.35, 2.4, 2.45, 2.5 ),
"transitions": PoolRealArray( 1, 2, 0.5, 1, 2, 0.5, 1, 2, 0.5, 1, 2, 0.5, 2, 0.5, 2, 0.5 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
tracks/6/type = "method"
tracks/6/path = NodePath(".")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 2.52 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "explode"
} ]
}
tracks/7/type = "value"
tracks/7/path = NodePath("Control/AnimatedSprite/Sparks:emitting")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/8/type = "value"
tracks/8/path = NodePath("SFX/Hiss:playing")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/9/type = "value"
tracks/9/path = NodePath("SFX/Hiss:volume_db")
tracks/9/interp = 1
tracks/9/loop_wrap = true
tracks/9/imported = false
tracks/9/enabled = true
tracks/9/keys = {
"times": PoolRealArray( 0, 0.4 ),
"transitions": PoolRealArray( 0.5, 1 ),
"update": 0,
"values": [ -80.0, -20.0 ]
}
tracks/10/type = "value"
tracks/10/path = NodePath("SFX/Beep:playing")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/keys = {
"times": PoolRealArray( 1.4, 1.7, 2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ true, true, true ]
}
tracks/11/type = "value"
tracks/11/path = NodePath("SFX/Beepfast:playing")
tracks/11/interp = 1
tracks/11/loop_wrap = true
tracks/11/imported = false
tracks/11/enabled = true
tracks/11/keys = {
"times": PoolRealArray( 2.3 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}

[node name="Bomb" type="KinematicBody2D" groups=[
"badguys",
]]
collision_layer = 2
collision_mask = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
smart = true

[node name="Control" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
rect_pivot_offset = Vector2( 0, 14 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Control"]
position = Vector2( 0, 6.31594e-013 )
frames = SubResource( 1 )
playing = true
offset = Vector2( 0, -2 )

[node name="RedGlow" type="AnimatedSprite" parent="Control/AnimatedSprite"]
visible = false
frames = SubResource( 2 )
offset = Vector2( 0, -2 )

[node name="WhiteFlash" type="AnimatedSprite" parent="Control/AnimatedSprite"]
visible = false
frames = SubResource( 3 )
offset = Vector2( 0, -2 )

[node name="Sparks" type="CPUParticles2D" parent="Control/AnimatedSprite"]
position = Vector2( 18, -14 )
rotation = -0.785398
emitting = false
lifetime = 0.5
speed_scale = 3.0
local_coords = false
texture = ExtResource( 8 )
spread = 50.0
gravity = Vector2( 0, 0 )
initial_velocity = 150.0
initial_velocity_random = 0.5
damping = 100.0
angle = 360.0
angle_random = 1.0
scale_amount = 0.25
scale_amount_random = 1.0
color_ramp = SubResource( 4 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 5 )

[node name="ExplosionRadius" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="ExplosionRadius"]
shape = SubResource( 6 )
disabled = true

[node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."]
rect = Rect2( -64, -512, 128, 1024 )
physics_process_parent = true

[node name="Area2D" type="Area2D" parent="."]
collision_mask = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 7 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "active"
anims/active = SubResource( 8 )
anims/explode = SubResource( 10 )
anims/triggered = SubResource( 11 )

[node name="SFX" type="Node" parent="."]

[node name="Fall" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 9 )

[node name="Squish" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 10 )

[node name="Melt" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 11 )

[node name="Hiss" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 12 )
volume_db = -20.0

[node name="Beep" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 13 )
volume_db = -5.0

[node name="Beepfast" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 14 )
volume_db = -5.0

[node name="Explode" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 15 )
[connection signal="area_entered" from="ExplosionRadius" to="." method="_on_ExplosionRadius_area_entered"]
[connection signal="body_entered" from="ExplosionRadius" to="." method="_on_ExplosionRadius_body_entered"]
[connection signal="screen_exited" from="VisibilityEnabler2D" to="." method="_on_VisibilityEnabler2D_screen_exited"]
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]


================================================
FILE: src/Scenes/Objects/BadGuys/Iceblock.gd
================================================
extends "BadGuy.gd"

const INVINCIBLE_TIME = 10
const KICK_SPEED = 500

func on_ready():
	collision_mask = 2

func _squish(delta):
	velocity.y += 20
	velocity = move_and_slide(velocity, FLOOR)

# Physics
func on_physics_process(delta):
	if state == "grabbed":
		collision_mask = 0
		collision_layer = 0
	elif state == "kicked":
		collision_mask = 0
		collision_layer = 8
	else:
		collision_mask = 2
		collision_layer = 2

	if state == "kicked":
		velocity.x = KICK_SPEED * -$Control/AnimatedSprite.scale.x
		velocity.y += 20
		velocity = move_and_slide(velocity, FLOOR)
		if is_on_wall():
			for body in $BlockBreaker.get_overlapping_bodies():
				if body.is_in_group("bonusblock") or body.is_in_group("brick"):
					body.hit($Control/AnimatedSprite.scale.x, false)
			$Control/AnimatedSprite.scale.x *= -1
			velocity.x *= -1
			$SFX/Bump.play()


# Fireball death animation
func on_fireball_kill():
	$SFX/Melt.play()
	$AnimationPlayer.play("explode")

# Buttjump death animation
func on_buttjump_kill():
	$SFX/Shatter.play()
	$AnimationPlayer.play("explode")

# Hit player / Squished
func _on_Area2D_body_entered(body):
	if body.is_in_group("badguys") and state == "kicked" and body.name != name:
		body.kill()
		return
	elif not body.is_in_group("player"): return
	if body.position.y + 20 < position.y and squishable == true:
		if (state == "active" or state == "kicked"):

			# Squished
			if body.sliding == true:
				kill()
				return
			if body.buttjump == true:
				body.velocity.y *= 0.9
				buttjump_kill()
			state = "squished"
			$AnimationPlayer.play(SQUISHED_ANIMATION)
			$SFX/Squish.play()
			body.bounce(300, body.JUMP_POWER, true)
			velocity = Vector2(0,0)

		# Kicked
		elif state == "squished":
			if body.sliding == true:
				kill()
				return
			if body.buttjump == true:
				body.velocity.y *= 0.9
				buttjump_kill()
			state = "kicked"
			$AnimationPlayer.play(SQUISHED_ANIMATION)
			$SFX/Kick.play()
			body.bounce(300, body.JUMP_POWER, true)
			velocity = Vector2(0,0)
			if body.position.x > position.x:
				velocity.x = -KICK_SPEED
				$Control/AnimatedSprite.scale.x = 1

			else:
				velocity.x = KICK_SPEED
				$Control/AnimatedSprite.scale.x = -1
	else:
		# Hit player
		if body.invincible == true:
			kill()
		if (state == "active" or state == "kicked") and body.has_method("hurt"):
			body.hurt()

		# Kick / Grab Iceblock
		elif state == "squished":
			$AnimationPlayer.stop()
			$AnimationPlayer.play("stop")
			if Input.is_action_pressed("action") and body.holding_object == false:
				body.holding_object = true
				body.object_held = name
				state = "grabbed"
			elif invincible_time == 0:
				invincible_time = INVINCIBLE_TIME
				$Control/AnimatedSprite.play("squished")
				$SFX/Kick.play()

				if body.position.x > position.x:
					velocity.x = -KICK_SPEED
					$Control/AnimatedSprite.scale.x = 1

				else:
					velocity.x = KICK_SPEED
					$Control/AnimatedSprite.scale.x = -1
				state = "kicked"
		return

# When thrown by player
func throw():
	state = "kicked"
	$Control/AnimatedSprite.play("squished")
	$SFX/Kick.play()

func _on_WakeupTimer_timeout():
	$WakeupTimer.stop()
	if state == "squished":
		$AnimationPlayer.stop()
		$AnimationPlayer.play("shake")
		$ShakeTimer.start(1)

func _on_ShakeTimer_timeout():
	$ShakeTimer.stop()
	$WakeupTimer.stop()
	if state == "squished":
		$AnimationPlayer.play("wakeup")
		state = "active"


================================================
FILE: src/Scenes/Objects/BadGuys/Iceblock.tscn
================================================
[gd_scene load_steps=31 format=2]

[ext_resource path="res://Scenes/Objects/BadGuys/Iceblock.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-0.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-1.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-3.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-4.png" type="Texture" id=6]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-5.png" type="Texture" id=7]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-6.png" type="Texture" id=8]
[ext_resource path="res://Sprites/Creatures/Iceblock/iceblock-7.png" type="Texture" id=9]
[ext_resource path="res://Sprites/Creatures/Iceblock/stomped-0.png" type="Texture" id=10]
[ext_resource path="res://Audio/SoundEffects/Enemy/fall.wav" type="AudioStream" id=11]
[ext_resource path="res://Audio/SoundEffects/Enemy/stomp.wav" type="AudioStream" id=12]
[ext_resource path="res://Audio/SoundEffects/Enemy/kick.wav" type="AudioStream" id=13]
[ext_resource path="res://Audio/SoundEffects/Enemy/iceblock_bump.wav" type="AudioStream" id=14]
[ext_resource path="res://Audio/SoundEffects/Enemy/splash.ogg" type="AudioStream" id=15]
[ext_resource path="res://Audio/SoundEffects/Enemy/icecrash.ogg" type="AudioStream" id=16]
[ext_resource path="res://Sprites/Creatures/Iceblock/shard.png" type="Texture" id=17]
[ext_resource path="res://Sprites/Creatures/Snowball/droplet.png" type="Texture" id=18]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ) ],
"loop": true,
"name": "default",
"speed": 15.0
}, {
"frames": [ ExtResource( 10 ) ],
"loop": true,
"name": "squished",
"speed": 5.0
} ]

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 15, 15 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 15, 15 )

[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 25, 15 )

[sub_resource type="Animation" id=5]
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 0 ),
"update": 1,
"values": [ "default" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:rotation_degrees")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control:rect_rotation")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Control:rect_position")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}

[sub_resource type="Animation" id=6]
length = 2.0
tracks/0/type = "method"
tracks/0/path = NodePath(".")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 2 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("ExplodeDroplets:emitting")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("IceShards:emitting")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}

[sub_resource type="Animation" id=7]
length = 0.1
loop = true
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Control:rect_rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.05, 0.1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ -10.0, 10.0, -10.0 ]
}

[sub_resource type="Animation" id=8]
length = 0.3
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "squished" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control:rect_scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 1.6, 0.5 ), Vector2( 1, 1 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("IceShards:emitting")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_rotation")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control:rect_position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}

[sub_resource type="Animation" id=9]
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control:rect_scale")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_rotation")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control:rect_position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}

[sub_resource type="Animation" id=10]
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Control:rect_scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.05, 0.15, 0.25, 0.45, 0.5, 0.6 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 0.5, 2, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 0.6, 1.5 ), Vector2( 0.9, 1.1 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1.252, 0.752 ), Vector2( 1, 1 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control:rect_rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control:rect_position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 0.05, 0.15, 0.25, 0.35, 0.45 ),
"transitions": PoolRealArray( 2, 1, 2, 2, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -8 ), Vector2( 0, -20 ), Vector2( 0, -19 ), Vector2( 0, -12 ), Vector2( 0, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("AnimationPlayer:current_animation")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0.6 ),
"transitions": PoolRealArray( 1 ),
"update": 2,
"values": [ "active" ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control/AnimatedSprite:animation")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "default" ]
}

[sub_resource type="Gradient" id=11]
offsets = PoolRealArray( 0, 0.646552, 1 )
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0.941176, 0.339844, 0.922334, 1, 0 )

[sub_resource type="Gradient" id=12]
offsets = PoolRealArray( 0, 0.467949, 1 )
colors = PoolColorArray( 1, 1, 1, 0.847059, 0.625, 0.936279, 1, 0.556863, 0, 0.478516, 1, 0 )

[node name="Iceblock" type="KinematicBody2D" groups=[
"badguys",
]]
collision_layer = 2
collision_mask = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}

[node name="Control" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
rect_pivot_offset = Vector2( 0, 14 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Control"]
frames = SubResource( 1 )
frame = 3
playing = true
offset = Vector2( 0, -2 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )

[node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."]
rect = Rect2( -64, -512, 128, 1024 )
physics_process_parent = true

[node name="Area2D" type="Area2D" parent="."]
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 3 )

[node name="BlockBreaker" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="BlockBreaker"]
shape = SubResource( 4 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "active"
anims/active = SubResource( 5 )
anims/explode = SubResource( 6 )
anims/shake = SubResource( 7 )
anims/squished = SubResource( 8 )
anims/stop = SubResource( 9 )
anims/wakeup = SubResource( 10 )

[node name="SFX" type="Node" parent="."]

[node name="Fall" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 11 )

[node name="Squish" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 12 )

[node name="Kick" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 13 )

[node name="Bump" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 14 )

[node name="Melt" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 15 )

[node name="Shatter" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 16 )

[node name="IceShards" type="CPUParticles2D" parent="."]
rotation = -1.5708
emitting = false
amount = 4
lifetime = 0.6
one_shot = true
explosiveness = 1.0
local_coords = false
texture = ExtResource( 17 )
spread = 60.0
gravity = Vector2( 0, 500 )
initial_velocity = 250.0
angular_velocity = 1000.0
angular_velocity_random = 0.75
damping = 50.0
angle = 720.0
angle_random = 1.0
scale_amount = 0.1
scale_amount_random = 0.5
color_ramp = SubResource( 11 )

[node name="ExplodeDroplets" type="CPUParticles2D" parent="."]
emitting = false
amount = 16
one_shot = true
explosiveness = 1.0
local_coords = false
texture = ExtResource( 18 )
spread = 180.0
gravity = Vector2( 0, 500 )
initial_velocity = 300.0
initial_velocity_random = 0.75
angular_velocity = 720.0
angular_velocity_random = 1.0
damping = 25.0
damping_random = 0.75
angle = 360.0
angle_random = 1.0
scale_amount = 0.1
scale_amount_random = 0.3
color_ramp = SubResource( 12 )

[node name="WakeupTimer" type="Timer" parent="."]

[node name="ShakeTimer" type="Timer" parent="."]
[connection signal="screen_exited" from="VisibilityEnabler2D" to="." method="_on_VisibilityEnabler2D_screen_exited"]
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="area_entered" from="BlockBreaker" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="BlockBreaker" to="." method="_on_Area2D_body_entered"]
[connection signal="timeout" from="WakeupTimer" to="." method="_on_WakeupTimer_timeout"]
[connection signal="timeout" from="ShakeTimer" to="." method="_on_ShakeTimer_timeout"]


================================================
FILE: src/Scenes/Objects/BadGuys/Iceblock_Smart.tscn
================================================
[gd_scene load_steps=31 format=2]

[ext_resource path="res://Scenes/Objects/BadGuys/Iceblock.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-0.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-1.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/stomped-0.png" type="Texture" id=5]
[ext_resource path="res://Audio/SoundEffects/Enemy/fall.wav" type="AudioStream" id=6]
[ext_resource path="res://Audio/SoundEffects/Enemy/stomp.wav" type="AudioStream" id=7]
[ext_resource path="res://Audio/SoundEffects/Enemy/kick.wav" type="AudioStream" id=8]
[ext_resource path="res://Audio/SoundEffects/Enemy/iceblock_bump.wav" type="AudioStream" id=9]
[ext_resource path="res://Audio/SoundEffects/Enemy/splash.ogg" type="AudioStream" id=10]
[ext_resource path="res://Audio/SoundEffects/Enemy/icecrash.ogg" type="AudioStream" id=11]
[ext_resource path="res://Sprites/Creatures/SnowballSmart/droplet.png" type="Texture" id=12]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/shard.png" type="Texture" id=13]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-7.png" type="Texture" id=14]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-5.png" type="Texture" id=15]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-3.png" type="Texture" id=16]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-4.png" type="Texture" id=17]
[ext_resource path="res://Sprites/Creatures/IceblockSmart/smartblock-6.png" type="Texture" id=18]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 15 ), ExtResource( 18 ), ExtResource( 14 ) ],
"loop": true,
"name": "default",
"speed": 15.0
}, {
"frames": [ ExtResource( 5 ) ],
"loop": true,
"name": "squished",
"speed": 5.0
} ]

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 15, 15 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 15, 15 )

[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 25, 15 )

[sub_resource type="Animation" id=5]
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 0 ),
"update": 1,
"values": [ "default" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:rotation_degrees")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control:rect_rotation")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Control:rect_position")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}

[sub_resource type="Animation" id=6]
length = 2.0
tracks/0/type = "method"
tracks/0/path = NodePath(".")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 2 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("ExplodeDroplets:emitting")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("IceShards:emitting")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}

[sub_resource type="Animation" id=7]
length = 0.1
loop = true
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Control:rect_rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.05, 0.1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ -10.0, 10.0, -10.0 ]
}

[sub_resource type="Animation" id=8]
length = 0.3
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "squished" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control:rect_scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 1.6, 0.5 ), Vector2( 1, 1 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("IceShards:emitting")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_rotation")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control:rect_position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}

[sub_resource type="Animation" id=9]
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control:rect_scale")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_rotation")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control:rect_position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}

[sub_resource type="Animation" id=10]
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Control:rect_scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.05, 0.15, 0.25, 0.45, 0.5, 0.6 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 0.5, 2, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 0.6, 1.5 ), Vector2( 0.9, 1.1 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1.252, 0.752 ), Vector2( 1, 1 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control:rect_rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control:rect_position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 0.05, 0.15, 0.25, 0.35, 0.45 ),
"transitions": PoolRealArray( 2, 1, 2, 2, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -8 ), Vector2( 0, -20 ), Vector2( 0, -19 ), Vector2( 0, -12 ), Vector2( 0, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("AnimationPlayer:current_animation")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0.6 ),
"transitions": PoolRealArray( 1 ),
"update": 2,
"values": [ "active" ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control/AnimatedSprite:animation")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "default" ]
}

[sub_resource type="Gradient" id=11]
offsets = PoolRealArray( 0, 0.646552, 1 )
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0.941176, 0.339844, 0.922334, 1, 0 )

[sub_resource type="Gradient" id=12]
offsets = PoolRealArray( 0, 0.467949, 1 )
colors = PoolColorArray( 1, 1, 1, 0.847059, 0.625, 0.936279, 1, 0.556863, 0, 0.478516, 1, 0 )

[node name="Iceblock" type="KinematicBody2D" groups=[
"badguys",
]]
collision_layer = 2
collision_mask = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
smart = true

[node name="Control" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
rect_pivot_offset = Vector2( 0, 14 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Control"]
frames = SubResource( 1 )
frame = 3
playing = true
offset = Vector2( 0, -2 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )

[node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."]
rect = Rect2( -64, -512, 128, 1024 )
physics_process_parent = true

[node name="Area2D" type="Area2D" parent="."]
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 3 )

[node name="BlockBreaker" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="BlockBreaker"]
shape = SubResource( 4 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "active"
anims/active = SubResource( 5 )
anims/explode = SubResource( 6 )
anims/shake = SubResource( 7 )
anims/squished = SubResource( 8 )
anims/stop = SubResource( 9 )
anims/wakeup = SubResource( 10 )

[node name="SFX" type="Node" parent="."]

[node name="Fall" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 6 )

[node name="Squish" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 7 )

[node name="Kick" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 8 )

[node name="Bump" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 9 )

[node name="Melt" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 10 )

[node name="Shatter" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 11 )

[node name="IceShards" type="CPUParticles2D" parent="."]
rotation = -1.5708
emitting = false
amount = 4
lifetime = 0.6
one_shot = true
explosiveness = 1.0
local_coords = false
texture = ExtResource( 13 )
spread = 60.0
gravity = Vector2( 0, 500 )
initial_velocity = 250.0
angular_velocity = 1000.0
angular_velocity_random = 0.75
damping = 50.0
angle = 720.0
angle_random = 1.0
scale_amount = 0.1
scale_amount_random = 0.5
color_ramp = SubResource( 11 )

[node name="ExplodeDroplets" type="CPUParticles2D" parent="."]
emitting = false
amount = 16
one_shot = true
explosiveness = 1.0
local_coords = false
texture = ExtResource( 12 )
spread = 180.0
gravity = Vector2( 0, 500 )
initial_velocity = 300.0
initial_velocity_random = 0.75
angular_velocity = 720.0
angular_velocity_random = 1.0
damping = 25.0
damping_random = 0.75
angle = 360.0
angle_random = 1.0
scale_amount = 0.1
scale_amount_random = 0.3
color_ramp = SubResource( 12 )

[node name="WakeupTimer" type="Timer" parent="."]

[node name="ShakeTimer" type="Timer" parent="."]
[connection signal="screen_exited" from="VisibilityEnabler2D" to="." method="_on_VisibilityEnabler2D_screen_exited"]
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="area_entered" from="BlockBreaker" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="BlockBreaker" to="." method="_on_Area2D_body_entered"]
[connection signal="timeout" from="WakeupTimer" to="." method="_on_WakeupTimer_timeout"]
[connection signal="timeout" from="ShakeTimer" to="." method="_on_ShakeTimer_timeout"]


================================================
FILE: src/Scenes/Objects/BadGuys/Jumpy.gd
================================================
extends "BadGuy.gd"

const BOUNCE_HEIGHT = 600

func _move(delta):
	velocity.y += 20
	if is_on_floor():
		velocity.y = -BOUNCE_HEIGHT
		$Control/AnimatedSprite.play("bounce")
	velocity = move_and_slide(velocity, FLOOR)

# Fireball death animation
func on_fireball_kill():
	$SFX/Melt.play()
	$AnimationPlayer.play("explode")

# Buttjump death animation
func on_buttjump_kill():
	$SFX/Fall.play()
	$AnimationPlayer.play("explode")


================================================
FILE: src/Scenes/Objects/BadGuys/Jumpy.tscn
================================================
[gd_scene load_steps=18 format=2]

[ext_resource path="res://Scenes/Objects/BadGuys/Jumpy.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Creatures/Jumpy/left-down.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Creatures/Jumpy/left-middle.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Creatures/Jumpy/left-up.png" type="Texture" id=4]
[ext_resource path="res://Audio/SoundEffects/Enemy/fall.wav" type="AudioStream" id=5]
[ext_resource path="res://Audio/SoundEffects/Enemy/squish.wav" type="AudioStream" id=6]
[ext_resource path="res://Audio/SoundEffects/Enemy/splash.ogg" type="AudioStream" id=7]
[ext_resource path="res://Sprites/Creatures/Snowball/particle.png" type="Texture" id=8]
[ext_resource path="res://Sprites/Creatures/Snowball/droplet.png" type="Texture" id=9]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 3 ) ],
"loop": false,
"name": "bounce",
"speed": 15.0
}, {
"frames": [ ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 15, 15 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 15, 15 )

[sub_resource type="Animation" id=4]
resource_name = "active"
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 0 ),
"update": 1,
"values": [ "default" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control/AnimatedSprite:rotation_degrees")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}

[sub_resource type="Animation" id=5]
resource_name = "explode"
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath("ExplodeSnow:emitting")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 2 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("ExplodeDroplets:emitting")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control/AnimatedSprite:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}

[sub_resource type="Animation" id=6]
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "squished" ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 2 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1.3, 1.9 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 0.662745, 0.905882, 1, 0.580392 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 0.2, 1.3, 1.9 ),
"transitions": PoolRealArray( 0.5, 1, 2, 1 ),
"update": 0,
"values": [ Vector2( 1.6, 0.5 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 2, 0 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("ExplodeSnow:emitting")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}

[sub_resource type="Gradient" id=7]
offsets = PoolRealArray( 0, 0.762821, 1 )
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0.443137, 0, 1, 0.882813, 0 )

[sub_resource type="Gradient" id=8]
offsets = PoolRealArray( 0, 0.467949, 1 )
colors = PoolColorArray( 1, 1, 1, 0.847059, 0.625, 0.936279, 1, 0.556863, 0, 0.478516, 1, 0 )

[node name="Snowball" type="KinematicBody2D" groups=[
"badguys",
]]
collision_layer = 2
collision_mask = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
squishable = false

[node name="Control" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
rect_pivot_offset = Vector2( 0, 14 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Control"]
position = Vector2( 0, 6.31594e-013 )
frames = SubResource( 1 )
animation = "bounce"
frame = 3
playing = true
offset = Vector2( 0, -2 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )

[node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."]
rect = Rect2( -64, -512, 128, 1024 )
physics_process_parent = true

[node name="Area2D" type="Area2D" parent="."]
collision_mask = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 3 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "active"
anims/active = SubResource( 4 )
anims/explode = SubResource( 5 )
anims/squished = SubResource( 6 )

[node name="SFX" type="Node" parent="."]
editor/display_folded = true

[node name="Fall" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 5 )

[node name="Squish" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 6 )

[node name="Melt" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 7 )

[node name="ExplodeSnow" type="CPUParticles2D" parent="."]
rotation = -1.5708
emitting = false
amount = 4
one_shot = true
speed_scale = 1.5
explosiveness = 1.0
local_coords = false
texture = ExtResource( 8 )
spread = 60.0
flatness = 1.0
gravity = Vector2( 0, 500 )
initial_velocity = 250.0
angular_velocity = 720.0
angular_velocity_random = 1.0
damping = 80.0
damping_random = 0.25
angle = 360.0
angle_random = 1.0
scale_amount = 0.2
scale_amount_random = 0.75
color_ramp = SubResource( 7 )

[node name="ExplodeDroplets" type="CPUParticles2D" parent="."]
emitting = false
amount = 16
one_shot = true
explosiveness = 1.0
local_coords = false
texture = ExtResource( 9 )
spread = 180.0
flatness = 1.0
gravity = Vector2( 0, 500 )
initial_velocity = 300.0
initial_velocity_random = 0.75
angular_velocity = 720.0
angular_velocity_random = 1.0
damping = 25.0
damping_random = 0.75
angle = 360.0
angle_random = 1.0
scale_amount = 0.1
scale_amount_random = 0.3
color_ramp = SubResource( 8 )
[connection signal="screen_exited" from="VisibilityEnabler2D" to="." method="_on_VisibilityEnabler2D_screen_exited"]
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]


================================================
FILE: src/Scenes/Objects/BadGuys/Sawblade.gd
================================================
extends Node2D

export var clockwise = true
var direction = 90
var start = false
var moving = true

const MOVE_SPEED = 4

func _physics_process(delta):
	if get_tree().current_scene.editmode == true: return

	if start == false:
		start = true
		if $Left.is_colliding():
			if clockwise == true:
				direction = 0
			else: direction = 180
			position.x -= 16 - $Area2D/CollisionShape2D.shape.extents.x

		elif $Right.is_colliding():
			if clockwise == true:
				direction = 0
			else: direction = 180
			position.x += 16 - $Area2D/CollisionShape2D.shape.extents.x

		elif $Top.is_colliding():
			if clockwise == true:
				direction = 90
			else: direction = 270
			position.y -= 16 - $Area2D/CollisionShape2D.shape.extents.x

		elif $Bottom.is_colliding():
			if clockwise == true:
				direction = 270
			else: direction = 90
			position.y += 16 - $Area2D/CollisionShape2D.shape.extents.x

		else: moving = false

	if moving == false: return

	if $Area2D.get_overlapping_bodies().size() == 0:
		move(-MOVE_SPEED)
		if clockwise == true:
			direction += 90
		else: direction -= 90

	if $Wall.is_colliding():
		if clockwise == true:
			direction -= 90
		else: direction += 90

	$Wall.rotation_degrees = direction - 90
	$Sparks.emitting = true
	$Sparks.rotation_degrees = (direction - 90) + 110
	if clockwise == true: $Sparks.rotation_degrees = (direction - 90) - 110
	else: $Sparks.rotation_degrees = (direction - 90) + 110

	if $Left.is_colliding():
		$Sparks.position = Vector2(-12,0)

	elif $Right.is_colliding():
		$Sparks.position = Vector2(12,0)

	elif $Top.is_colliding():
		$Sparks.position = Vector2(0,-12)

	elif $Bottom.is_colliding():
		$Sparks.position = Vector2(0,12)

	move(MOVE_SPEED)

	if clockwise == true:
		$AnimatedSprite.scale.x = 1
	else: $AnimatedSprite.scale.x = -1

func move(speed):
	if direction < 0: direction = abs(direction) + 180
	direction %= 360
	if direction == 90:
		position.x += speed
	if direction == 270:
		position.x -= speed
	if direction == 0:
		position.y -= speed
	if direction == 180:
		position.y += speed

func _on_HitDetection_body_entered(body):
	if body.is_in_group("player"):
		body.hurt()


================================================
FILE: src/Scenes/Objects/BadGuys/Sawblade.tscn
================================================
[gd_scene load_steps=11 format=2]

[ext_resource path="res://Scenes/Objects/BadGuys/Sawblade.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Objects/Sawblade/sawblade-0.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Objects/Sawblade/sawblade-1.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Objects/Sawblade/sawblade-2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Objects/Fireball/fireballambient.png" type="Texture" id=5]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ) ],
"loop": true,
"name": "default",
"speed": 25.0
} ]

[sub_resource type="Curve" id=2]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.552409, 0.6232 ), -1.32867, -1.32867, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]

[sub_resource type="Gradient" id=3]
offsets = PoolRealArray( 0, 0.0816327, 0.122449, 1 )
colors = PoolColorArray( 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 )

[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 4, 4 )

[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 16, 16 )

[node name="Sawblade" type="Node2D"]
z_index = -2
script = ExtResource( 1 )
clockwise = false

[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 1 )
playing = true

[node name="Left" type="RayCast2D" parent="."]
enabled = true
cast_to = Vector2( -32, 0 )
collision_mask = 4

[node name="Right" type="RayCast2D" parent="."]
enabled = true
cast_to = Vector2( 32, 0 )
collision_mask = 4

[node name="Top" type="RayCast2D" parent="."]
enabled = true
cast_to = Vector2( 0, -32 )
collision_mask = 4

[node name="Bottom" type="RayCast2D" parent="."]
enabled = true
cast_to = Vector2( 0, 32 )
collision_mask = 4

[node name="Wall" type="RayCast2D" parent="."]
enabled = true
cast_to = Vector2( 4, 0 )
collision_mask = 4

[node name="Sparks" type="CPUParticles2D" parent="."]
emitting = false
amount = 12
lifetime = 0.75
preprocess = 4.0
speed_scale = 3.0
local_coords = false
texture = ExtResource( 5 )
spread = 20.0
gravity = Vector2( 0, 150 )
initial_velocity = 80.0
angle = 360.0
angle_random = 1.0
scale_amount = 0.5
scale_amount_random = 0.75
scale_amount_curve = SubResource( 2 )
color_ramp = SubResource( 3 )

[node name="Area2D" type="Area2D" parent="."]
editor/display_folded = true
collision_layer = 0
collision_mask = 4

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 4 )

[node name="HitDetection" type="Area2D" parent="."]
editor/display_folded = true
collision_layer = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="HitDetection"]
shape = SubResource( 5 )
[connection signal="body_entered" from="HitDetection" to="." method="_on_HitDetection_body_entered"]


================================================
FILE: src/Scenes/Objects/BadGuys/Snowball.gd
================================================
extends "BadGuy.gd"

# Fireball death animation
func on_fireball_kill():
	$SFX/Melt.play()
	$AnimationPlayer.play("explode")

# Buttjump death animation
func on_buttjump_kill():
	$SFX/Fall.play()
	$AnimationPlayer.play("explode")


================================================
FILE: src/Scenes/Objects/BadGuys/Snowball.tscn
================================================
[gd_scene load_steps=24 format=2]

[ext_resource path="res://Scenes/Objects/BadGuys/Snowball.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-0.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-1.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-3.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-4.png" type="Texture" id=6]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-5.png" type="Texture" id=7]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-6.png" type="Texture" id=8]
[ext_resource path="res://Sprites/Creatures/Snowball/snowball-7.png" type="Texture" id=9]
[ext_resource path="res://Sprites/Creatures/Snowball/squished-0.png" type="Texture" id=10]
[ext_resource path="res://Audio/SoundEffects/Enemy/fall.wav" type="AudioStream" id=11]
[ext_resource path="res://Audio/SoundEffects/Enemy/squish.wav" type="AudioStream" id=12]
[ext_resource path="res://Audio/SoundEffects/Enemy/splash.ogg" type="AudioStream" id=13]
[ext_resource path="res://Sprites/Creatures/Snowball/particle.png" type="Texture" id=14]
[ext_resource path="res://Sprites/Creatures/Snowball/droplet.png" type="Texture" id=15]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ) ],
"loop": true,
"name": "default",
"speed": 15.0
}, {
"frames": [ ExtResource( 10 ) ],
"loop": true,
"name": "squished",
"speed": 5.0
} ]

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 15, 15 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 15, 15 )

[sub_resource type="Animation" id=4]
resource_name = "active"
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 0 ),
"update": 1,
"values": [ "default" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control/AnimatedSprite:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Control/AnimatedSprite:rotation_degrees")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}

[sub_resource type="Animation" id=5]
resource_name = "explode"
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath("ExplodeSnow:emitting")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 2 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("ExplodeDroplets:emitting")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control/AnimatedSprite:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}

[sub_resource type="Animation" id=6]
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath("Control/AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "squished" ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 2 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Control/AnimatedSprite:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1.3, 1.9 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 0.662745, 0.905882, 1, 0.580392 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Control:rect_scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 0.2, 1.3, 1.9 ),
"transitions": PoolRealArray( 0.5, 1, 2, 1 ),
"update": 0,
"values": [ Vector2( 1.6, 0.5 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 2, 0 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("ExplodeSnow:emitting")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}

[sub_resource type="Gradient" id=7]
offsets = PoolRealArray( 0, 0.762821, 1 )
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0.443137, 0, 1, 0.882813, 0 )

[sub_resource type="Gradient" id=8]
offsets = PoolRealArray( 0, 0.467949, 1 )
colors = PoolColorArray( 1, 1, 1, 0.847059, 0.625, 0.936279, 1, 0.556863, 0, 0.478516, 1, 0 )

[node name="Snowball" type="KinematicBody2D" groups=[
"badguys",
]]
collision_layer = 2
collision_mask = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}

[node name="Control" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
rect_pivot_offset = Vector2( 0, 14 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Control"]
position = Vector2( 0, 6.31594e-13 )
frames = SubResource( 1 )
frame = 6
playing = true
offset = Vector2( 0, -2 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )

[node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."]
rect = Rect2( -64, -512, 128, 1024 )
physics_process_parent = true

[node name="Area2D" type="Area2D" parent="."]
collision_mask = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 3 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "active"
anims/active = SubResource( 4 )
anims/explode = SubResource( 5 )
anims/squished = SubResource( 6 )

[node name="SFX" type="Node" parent="."]

[node name="Fall" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 11 )

[node name="Squish" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 12 )

[node name="Melt" type="AudioStreamPlayer" parent="SFX"]
stream = ExtResource( 13 )

[node name="ExplodeSnow" type="CPUParticles2D" parent="."]
rotation = -1.5708
emitting = false
amount = 4
one_shot = true
speed_scale = 1.5
explosiveness = 1.0
local_coords = false
texture = ExtResource( 14 )
spread = 60.0
gravity = Vector2( 0, 500 )
initial_velocity = 250.0
angular_velocity = 720.0
angular_velocity_random = 1.0
damping = 80.0
damping_random = 0.25
angle = 360.0
angle_random = 1.0
scale_amount = 0.2
scale_amount_random = 0.75
color_ramp = SubResource( 7 )

[node name="ExplodeDroplets" type="CPUParticles2D" parent="."]
emitting = false
amount = 16
one_shot = true
explosiveness = 1.0
local_coords = false
texture = ExtResource( 15 )
spread = 180.0
gravity = Vector2( 0, 500 )
initial_velocity = 300.0
initial_velocity_random = 0.75
angular_velocity = 720.0
angular_velocity_random = 1.0
damping = 25.0
damping_random = 0.75
angle = 360.0
angle_random = 1.0
scale_amount = 0.1
scale_amount_random = 0.3
color_ramp = SubResource( 8 )
[connection signal="screen_exited" from="VisibilityEnabler2D" to="." method="_on_VisibilityEnabler2D_screen_exited"]
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]


================================================
FILE: src/Scenes/Objects/BadGuys/Snowball_Smart.tscn
================================================
[gd_scene load_steps=24 format=2]

[ext_resource path="res://Scenes/Objects/BadGuys/Snowball.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-0.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-1.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Creatures/SnowballSmart/squished-0.png" type="Texture" id=5]
[ext_resource path="res://Audio/SoundEffects/Enemy/fall.wav" type="AudioStream" id=6]
[ext_resource path="res://Audio/SoundEffects/Enemy/squish.wav" type="AudioStream" id=7]
[ext_resource path="res://Audio/SoundEffects/Enemy/splash.ogg" type="AudioStream" id=8]
[ext_resource path="res://Sprites/Creatures/SnowballSmart/particle.png"
Download .txt
gitextract_fb5tcs7q/

├── .gitignore
├── LICENSE
├── README.md
└── src/
    ├── Audio/
    │   ├── Music/
    │   │   ├── invincible.ogg
    │   │   ├── invincible.ogg.import
    │   │   ├── theme.ogg
    │   │   └── theme.ogg.import
    │   └── SoundEffects/
    │       ├── Bonus/
    │       │   ├── brick.wav.import
    │       │   ├── coin.wav.import
    │       │   ├── fire-flower.wav.import
    │       │   ├── grow.ogg
    │       │   ├── grow.ogg.import
    │       │   ├── invincible_start.ogg
    │       │   ├── invincible_start.ogg.import
    │       │   ├── lifeup.wav.import
    │       │   └── upgrade.wav.import
    │       ├── Enemy/
    │       │   ├── beep.wav.import
    │       │   ├── beepfast.wav.import
    │       │   ├── cracking.wav.import
    │       │   ├── explode.wav.import
    │       │   ├── extinguish.wav.import
    │       │   ├── fall.wav.import
    │       │   ├── hiss.wav.import
    │       │   ├── humming.wav.import
    │       │   ├── iceblock_bump.wav.import
    │       │   ├── icecrash.ogg
    │       │   ├── icecrash.ogg.import
    │       │   ├── kick.wav.import
    │       │   ├── splash.ogg
    │       │   ├── splash.ogg.import
    │       │   ├── squish.wav.import
    │       │   └── stomp.wav.import
    │       ├── Objects/
    │       │   └── trampoline.wav.import
    │       └── Player/
    │           ├── bigjump.wav.import
    │           ├── flip.wav.import
    │           ├── hurt.wav.import
    │           ├── jump.wav.import
    │           ├── kill.wav.import
    │           ├── shoot.wav.import
    │           ├── skid.wav.import
    │           ├── thud.ogg
    │           └── thud.ogg.import
    ├── AutoLoad/
    │   └── Settings.gd
    ├── Scenes/
    │   ├── Editor/
    │   │   ├── Category.gd
    │   │   ├── Category.tscn
    │   │   ├── FileSelectButton.gd
    │   │   ├── FileSelectButton.tscn
    │   │   ├── Layer.gd
    │   │   ├── Layer.tscn
    │   │   ├── LayerMenu.gd
    │   │   ├── LayerMenu.tscn
    │   │   ├── Layers/
    │   │   │   ├── Background.gd
    │   │   │   ├── Background.tscn
    │   │   │   ├── Backgrounds/
    │   │   │   │   ├── Background.gd
    │   │   │   │   └── Snow.tscn
    │   │   │   ├── Layer.gd
    │   │   │   ├── LayerSelect.gd
    │   │   │   ├── TileMap.gd
    │   │   │   ├── TileMap.tscn
    │   │   │   └── Worldmap/
    │   │   │       └── TileMap.tscn
    │   │   ├── LevelTemplates/
    │   │   │   ├── Level.tscn
    │   │   │   └── Worldmap.tscn
    │   │   ├── Object.gd
    │   │   ├── Object.tscn
    │   │   ├── Tile.gd
    │   │   └── Tile.tscn
    │   ├── Levels/
    │   │   ├── SlopesThatDontWork.tscn
    │   │   └── TEST.tscn
    │   ├── Master/
    │   │   ├── Gameplay.gd
    │   │   └── Gameplay.tscn
    │   ├── Objects/
    │   │   ├── BadGuys/
    │   │   │   ├── BadGuy.gd
    │   │   │   ├── Bomb.gd
    │   │   │   ├── Bomb.tscn
    │   │   │   ├── Iceblock.gd
    │   │   │   ├── Iceblock.tscn
    │   │   │   ├── Iceblock_Smart.tscn
    │   │   │   ├── Jumpy.gd
    │   │   │   ├── Jumpy.tscn
    │   │   │   ├── Sawblade.gd
    │   │   │   ├── Sawblade.tscn
    │   │   │   ├── Snowball.gd
    │   │   │   ├── Snowball.tscn
    │   │   │   ├── Snowball_Smart.tscn
    │   │   │   ├── Spiky.gd
    │   │   │   ├── Spiky.tscn
    │   │   │   ├── Stalactite.gd
    │   │   │   ├── Stalactite.tscn
    │   │   │   ├── _1Down.gd
    │   │   │   └── _1Down.tscn
    │   │   ├── Bonus/
    │   │   │   ├── 1Up.tscn
    │   │   │   ├── BlockContainer.gd
    │   │   │   ├── BonusBlock.gd
    │   │   │   ├── BonusBlock.tscn
    │   │   │   ├── Brick.gd
    │   │   │   ├── Brick.tscn
    │   │   │   ├── Coin.tscn
    │   │   │   ├── Egg.tscn
    │   │   │   ├── FireFlower.tscn
    │   │   │   ├── Powerup.gd
    │   │   │   ├── Star.tscn
    │   │   │   ├── Trampoline.gd
    │   │   │   ├── Trampoline_Portable.gd
    │   │   │   ├── Trampoline_Portable.tscn
    │   │   │   ├── Trampoline_Static.gd
    │   │   │   └── Trampoline_Static.tscn
    │   │   ├── Map/
    │   │   │   ├── LevelDot.gd
    │   │   │   ├── LevelDot.tscn
    │   │   │   ├── SpawnPoint.gd
    │   │   │   └── SpawnPoint.tscn
    │   │   └── Misc/
    │   │       ├── CameraZoom.gd
    │   │       ├── CameraZoom.tscn
    │   │       ├── Expandable.gd
    │   │       ├── SpawnPoint.gd
    │   │       ├── SpawnPoint.tscn
    │   │       ├── Wind.gd
    │   │       └── Wind.tscn
    │   ├── Player/
    │   │   ├── Animation.gd
    │   │   ├── Objects/
    │   │   │   ├── Fireball.gd
    │   │   │   ├── Fireball.tres
    │   │   │   └── Fireball.tscn
    │   │   ├── Player.gd
    │   │   ├── Player.tscn
    │   │   ├── Worldmap.gd
    │   │   └── Worldmap.tscn
    │   ├── UI/
    │   │   ├── CoinCounter.gd
    │   │   ├── FileSelect.gd
    │   │   ├── FileSelect.tscn
    │   │   ├── Helpers.gd
    │   │   ├── Level.gd
    │   │   ├── LevelEditor.gd
    │   │   ├── LevelEditor.tscn
    │   │   ├── LevelUI.tscn
    │   │   ├── MainMenu.gd
    │   │   ├── MainMenu.tscn
    │   │   ├── Options.gd
    │   │   ├── Options.tscn
    │   │   ├── PauseMenu.gd
    │   │   ├── PauseMenu.tscn
    │   │   └── UITheme.tres
    │   └── Worldmaps/
    │       └── Main.tscn
    ├── Sprites/
    │   ├── Backgrounds/
    │   │   └── Snow/
    │   │       ├── arcticmountains-bg.png.import
    │   │       ├── arcticmountains-fg.png.import
    │   │       └── arcticmountains-sky.png.import
    │   ├── Creatures/
    │   │   ├── Bomb/
    │   │   │   ├── bomb-0.png.import
    │   │   │   ├── bomb-1.png.import
    │   │   │   ├── bomb-2.png.import
    │   │   │   ├── explosion.png.import
    │   │   │   ├── redglow.png.import
    │   │   │   ├── triggered.png.import
    │   │   │   └── whiteflash.png.import
    │   │   ├── Iceblock/
    │   │   │   ├── iceblock-0.png.import
    │   │   │   ├── iceblock-1.png.import
    │   │   │   ├── iceblock-2.png.import
    │   │   │   ├── iceblock-3.png.import
    │   │   │   ├── iceblock-4.png.import
    │   │   │   ├── iceblock-5.png.import
    │   │   │   ├── iceblock-6.png.import
    │   │   │   ├── iceblock-7.png.import
    │   │   │   ├── shard.png.import
    │   │   │   └── stomped-0.png.import
    │   │   ├── IceblockSmart/
    │   │   │   ├── shard.png.import
    │   │   │   ├── smartblock-0.png.import
    │   │   │   ├── smartblock-1.png.import
    │   │   │   ├── smartblock-2.png.import
    │   │   │   ├── smartblock-3.png.import
    │   │   │   ├── smartblock-4.png.import
    │   │   │   ├── smartblock-5.png.import
    │   │   │   ├── smartblock-6.png.import
    │   │   │   ├── smartblock-7.png.import
    │   │   │   └── stomped-0.png.import
    │   │   ├── Jumpy/
    │   │   │   ├── left-down.png.import
    │   │   │   ├── left-middle.png.import
    │   │   │   └── left-up.png.import
    │   │   ├── Snowball/
    │   │   │   ├── droplet.png.import
    │   │   │   ├── particle.png.import
    │   │   │   ├── snowball-0.png.import
    │   │   │   ├── snowball-1.png.import
    │   │   │   ├── snowball-2.png.import
    │   │   │   ├── snowball-3.png.import
    │   │   │   ├── snowball-4.png.import
    │   │   │   ├── snowball-5.png.import
    │   │   │   ├── snowball-6.png.import
    │   │   │   ├── snowball-7.png.import
    │   │   │   └── squished-0.png.import
    │   │   ├── SnowballSmart/
    │   │   │   ├── droplet.png.import
    │   │   │   ├── particle.png.import
    │   │   │   ├── smartball-0.png.import
    │   │   │   ├── smartball-1.png.import
    │   │   │   ├── smartball-2.png.import
    │   │   │   ├── smartball-3.png.import
    │   │   │   ├── smartball-4.png.import
    │   │   │   ├── smartball-5.png.import
    │   │   │   ├── smartball-6.png.import
    │   │   │   ├── smartball-7.png.import
    │   │   │   └── squished-0.png.import
    │   │   ├── Spiky/
    │   │   │   ├── melting-0.png.import
    │   │   │   ├── melting-1.png.import
    │   │   │   ├── melting-2.png.import
    │   │   │   ├── melting-3.png.import
    │   │   │   ├── melting-4.png.import
    │   │   │   ├── melting-5.png.import
    │   │   │   ├── melting-6.png.import
    │   │   │   ├── melting-7.png.import
    │   │   │   ├── spiky-0.png.import
    │   │   │   ├── spiky-1.png.import
    │   │   │   ├── spiky-2.png.import
    │   │   │   ├── spiky-3.png.import
    │   │   │   ├── spiky-4.png.import
    │   │   │   ├── spiky-5.png.import
    │   │   │   ├── spiky-6.png.import
    │   │   │   └── spiky-7.png.import
    │   │   ├── Stalactite/
    │   │   │   ├── broken.png.import
    │   │   │   ├── falling.png.import
    │   │   │   └── stalactiteshard.png.import
    │   │   └── Tux/
    │   │       ├── Big/
    │   │       │   ├── Bigtuxwalk1.png.import
    │   │       │   ├── Bigtuxwalk2.png.import
    │   │       │   ├── Bigtuxwalk3.png.import
    │   │       │   ├── Bigtuxwalk4.png.import
    │   │       │   ├── Bigtuxwalk5.png.import
    │   │       │   ├── Bigtuxwalk6.png.import
    │   │       │   ├── Bigtuxwalk7.png.import
    │   │       │   ├── Bigtuxwalk8.png.import
    │   │       │   ├── Fall1.png.import
    │   │       │   ├── Fall2.png.import
    │   │       │   ├── Fall3.png.import
    │   │       │   ├── Fall4.png.import
    │   │       │   ├── Jump1.png.import
    │   │       │   ├── Jump2.png.import
    │   │       │   ├── Jump3.png.import
    │   │       │   ├── Slideplaceholder.png.import
    │   │       │   ├── Stand.png.import
    │   │       │   ├── backflip.png.import
    │   │       │   ├── buttjump-0.png.import
    │   │       │   ├── buttjump-1.png.import
    │   │       │   ├── buttjump-2.png.import
    │   │       │   ├── buttjump-3.png.import
    │   │       │   ├── buttjump-4.png.import
    │   │       │   ├── buttjump-5.png.import
    │   │       │   ├── buttjump-6.png.import
    │   │       │   ├── duck-0.png.import
    │   │       │   ├── skid-0.png.import
    │   │       │   └── stand-0.png.import
    │   │       └── Small/
    │   │           ├── Fall1.png.import
    │   │           ├── Fall2.png.import
    │   │           ├── Fall3.png.import
    │   │           ├── Fall4.png.import
    │   │           ├── Jump1.png.import
    │   │           ├── Jump2.png.import
    │   │           ├── Jump3.png.import
    │   │           ├── Smalltuxwalk1.png.import
    │   │           ├── Smalltuxwalk2.png.import
    │   │           ├── Smalltuxwalk3.png.import
    │   │           ├── Smalltuxwalk4.png.import
    │   │           ├── Smalltuxwalk5.png.import
    │   │           ├── Smalltuxwalk6.png.import
    │   │           ├── Smalltuxwalk7.png.import
    │   │           ├── Smalltuxwalk8.png.import
    │   │           ├── gameover-0.png.import
    │   │           ├── gameover-1.png.import
    │   │           ├── jump-0.png.import
    │   │           ├── skid-0.png.import
    │   │           └── stand-0.png.import
    │   ├── Editor/
    │   │   ├── Arrow.png.import
    │   │   ├── Equals.png.import
    │   │   ├── EraseSelect.png.import
    │   │   ├── Eraser.png.import
    │   │   ├── Grab.png.import
    │   │   ├── GrabPoint.png.import
    │   │   ├── GrabPointHover.png.import
    │   │   ├── GrabSide.png.import
    │   │   ├── GrabSideHover.png.import
    │   │   ├── Grid.png.import
    │   │   ├── LayerIcons/
    │   │   │   ├── Background.png.import
    │   │   │   └── TileMap.png.import
    │   │   ├── Line.png.import
    │   │   ├── Minus.png.import
    │   │   ├── Plus.png.import
    │   │   ├── Rectangle.png.import
    │   │   ├── Save.png.import
    │   │   └── Wrench.png.import
    │   ├── Objects/
    │   │   ├── 1Down/
    │   │   │   └── 1down.png.import
    │   │   ├── 1Up/
    │   │   │   ├── 1up.png.import
    │   │   │   ├── glimmer.png.import
    │   │   │   └── glow.png.import
    │   │   ├── BonusBlock/
    │   │   │   ├── block-0.png.import
    │   │   │   ├── block-1.png.import
    │   │   │   ├── block-2.png.import
    │   │   │   ├── block-3.png.import
    │   │   │   ├── block.png.import
    │   │   │   └── empty.png.import
    │   │   ├── Brick/
    │   │   │   └── brick.png.import
    │   │   ├── Coin/
    │   │   │   ├── coin-0.png.import
    │   │   │   ├── coin-1.png.import
    │   │   │   ├── coin-10.png.import
    │   │   │   ├── coin-11.png.import
    │   │   │   ├── coin-12.png.import
    │   │   │   ├── coin-13.png.import
    │   │   │   ├── coin-14.png.import
    │   │   │   ├── coin-15.png.import
    │   │   │   ├── coin-2.png.import
    │   │   │   ├── coin-3.png.import
    │   │   │   ├── coin-4.png.import
    │   │   │   ├── coin-5.png.import
    │   │   │   ├── coin-6.png.import
    │   │   │   ├── coin-7.png.import
    │   │   │   ├── coin-8.png.import
    │   │   │   ├── coin-9.png.import
    │   │   │   ├── glimmer.png.import
    │   │   │   └── glow.png.import
    │   │   ├── Egg/
    │   │   │   └── egg-merged.png.import
    │   │   ├── FireFlower/
    │   │   │   ├── fire_flower-0.png.import
    │   │   │   ├── fire_flower-1.png.import
    │   │   │   ├── fire_flower-2.png.import
    │   │   │   └── fire_flower-3.png.import
    │   │   ├── Fireball/
    │   │   │   ├── fireball.png.import
    │   │   │   └── fireballambient.png.import
    │   │   ├── Misc/
    │   │   │   ├── spawnpoint.png.import
    │   │   │   ├── wind.png.import
    │   │   │   └── zoom.png.import
    │   │   ├── Sawblade/
    │   │   │   ├── sawblade-0.png.import
    │   │   │   ├── sawblade-1.png.import
    │   │   │   └── sawblade-2.png.import
    │   │   ├── Star/
    │   │   │   ├── star-0.png.import
    │   │   │   ├── star-1.png.import
    │   │   │   ├── star-2.png.import
    │   │   │   ├── star-3.png.import
    │   │   │   └── star-4.png.import
    │   │   ├── Trampoline/
    │   │   │   ├── trampoline_portable-0.png.import
    │   │   │   ├── trampoline_portable-1.png.import
    │   │   │   ├── trampoline_portable-2.png.import
    │   │   │   ├── trampoline_portable-3.png.import
    │   │   │   ├── trampoline_portable-4.png.import
    │   │   │   ├── trampoline_portable-5.png.import
    │   │   │   ├── trampoline_portable-6.png.import
    │   │   │   ├── trampoline_static-0.png.import
    │   │   │   ├── trampoline_static-1.png.import
    │   │   │   ├── trampoline_static-2.png.import
    │   │   │   ├── trampoline_static-3.png.import
    │   │   │   ├── trampoline_static-4.png.import
    │   │   │   └── trampoline_static-5.png.import
    │   │   └── Wind/
    │   │       └── Wind.png.import
    │   ├── Tiles/
    │   │   └── Level/
    │   │       └── Snow.png.import
    │   ├── Transitions/
    │   │   └── Circle.png.import
    │   ├── UI/
    │   │   ├── FileDialog/
    │   │   │   ├── FileBack.png.import
    │   │   │   ├── FileReload.png.import
    │   │   │   └── Icons.xcf
    │   │   └── SuperTuxLogo.png.import
    │   └── Worldmap/
    │       ├── LevelDot/
    │       │   ├── leveldot_green.png.import
    │       │   ├── leveldot_invisible.png.import
    │       │   └── leveldot_red.png.import
    │       ├── Player/
    │       │   ├── Big/
    │       │   │   ├── tux.png.import
    │       │   │   ├── tuxwalk1.png.import
    │       │   │   ├── tuxwalk2.png.import
    │       │   │   ├── tuxwalk3.png.import
    │       │   │   ├── tuxwalk4.png.import
    │       │   │   ├── tuxwalk5.png.import
    │       │   │   ├── tuxwalk6.png.import
    │       │   │   ├── tuxwalk7.png.import
    │       │   │   └── tuxwalk8.png.import
    │       │   └── Small/
    │       │       ├── smalltux.png.import
    │       │       ├── smalltuxwalk1.png.import
    │       │       ├── smalltuxwalk2.png.import
    │       │       ├── smalltuxwalk3.png.import
    │       │       ├── smalltuxwalk4.png.import
    │       │       ├── smalltuxwalk5.png.import
    │       │       ├── smalltuxwalk6.png.import
    │       │       ├── smalltuxwalk7.png.import
    │       │       └── smalltuxwalk8.png.import
    │       └── Tiles/
    │           ├── Crystals.png.import
    │           ├── Pathing.png.import
    │           ├── Snow.png.import
    │           ├── SnowOverlay.png.import
    │           └── SnowTrees.png.import
    ├── TEST.tscn
    ├── Tilesets/
    │   ├── LevelTiles.tres
    │   └── MapTiles.tres
    ├── default_bus_layout.tres
    ├── default_env.tres
    ├── icon.png.import
    └── project.godot
Condensed preview — 380 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (759K chars).
[
  {
    "path": ".gitignore",
    "chars": 164,
    "preview": "# General\n.DS_Store\n\n# Godot-specific ignores\n.import/\nexport.cfg\nexport_presets.cfg\n\n# Mono-specific ignores\n.mono/\nsrc"
  },
  {
    "path": "LICENSE",
    "chars": 35149,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "README.md",
    "chars": 1004,
    "preview": "# Tux Builder\n\n![Screenshot of the editor](https://raw.githubusercontent.com/Alzter/TuxBuilder/master/EditorScreenshot.p"
  },
  {
    "path": "src/Audio/Music/invincible.ogg.import",
    "chars": 312,
    "preview": "[remap]\n\nimporter=\"ogg_vorbis\"\ntype=\"AudioStreamOGGVorbis\"\npath=\"res://.import/invincible.ogg-08f44bab3757c34ad0119dc98a"
  },
  {
    "path": "src/Audio/Music/theme.ogg.import",
    "chars": 297,
    "preview": "[remap]\n\nimporter=\"ogg_vorbis\"\ntype=\"AudioStreamOGGVorbis\"\npath=\"res://.import/theme.ogg-36cbbb8b1e2c81962e7a5588b2760b2"
  },
  {
    "path": "src/Audio/SoundEffects/Bonus/brick.wav.import",
    "chars": 423,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/brick.wav-473d4e693c9956d26914b7ad98289275.sample\"\n"
  },
  {
    "path": "src/Audio/SoundEffects/Bonus/coin.wav.import",
    "chars": 420,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/coin.wav-2d9c1689547b08974ca7ceac0668a4fb.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Bonus/fire-flower.wav.import",
    "chars": 441,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/fire-flower.wav-9e32c9b4fcacc929d79bf394cda75483.sa"
  },
  {
    "path": "src/Audio/SoundEffects/Bonus/grow.ogg.import",
    "chars": 308,
    "preview": "[remap]\n\nimporter=\"ogg_vorbis\"\ntype=\"AudioStreamOGGVorbis\"\npath=\"res://.import/grow.ogg-73ee356a458ea040059a5ce80b5c9e44"
  },
  {
    "path": "src/Audio/SoundEffects/Bonus/invincible_start.ogg.import",
    "chars": 344,
    "preview": "[remap]\n\nimporter=\"ogg_vorbis\"\ntype=\"AudioStreamOGGVorbis\"\npath=\"res://.import/invincible_start.ogg-341c3b1b6d62e1dfd07c"
  },
  {
    "path": "src/Audio/SoundEffects/Bonus/lifeup.wav.import",
    "chars": 426,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/lifeup.wav-e027107df5afe75305b7f216b288711d.sample\""
  },
  {
    "path": "src/Audio/SoundEffects/Bonus/upgrade.wav.import",
    "chars": 429,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/upgrade.wav-1080a24083cf63936a1aeeedd3decf5e.sample"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/beep.wav.import",
    "chars": 420,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/beep.wav-f86d4f11b3ab6ff0dcd768406ffbcd69.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/beepfast.wav.import",
    "chars": 432,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/beepfast.wav-1b370ac99498bf4f034e1d8a91822cd1.sampl"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/cracking.wav.import",
    "chars": 432,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/cracking.wav-b172e4889806970f47d26cb763ac1b8c.sampl"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/explode.wav.import",
    "chars": 429,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/explode.wav-9b9f178d16939738f18e26eff30c0995.sample"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/extinguish.wav.import",
    "chars": 438,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/extinguish.wav-1530e513f400f4b5127fb20a513d66dc.sam"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/fall.wav.import",
    "chars": 420,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/fall.wav-f0dfade9562eb2ff430b511f123fc564.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/hiss.wav.import",
    "chars": 419,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/hiss.wav-1ceef7d8a4a1e26bc35af975042aa449.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/humming.wav.import",
    "chars": 428,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/humming.wav-c00ee340c1044d423a55b5f6a132002a.sample"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/iceblock_bump.wav.import",
    "chars": 447,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/iceblock_bump.wav-8d4dfc586c0dd6ee2fbc8c8bbfc427cd."
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/icecrash.ogg.import",
    "chars": 320,
    "preview": "[remap]\n\nimporter=\"ogg_vorbis\"\ntype=\"AudioStreamOGGVorbis\"\npath=\"res://.import/icecrash.ogg-da84fa5731f91abf013c917f65c1"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/kick.wav.import",
    "chars": 420,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/kick.wav-0a6a9a193b8423daaa4fa8e993a79c65.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/splash.ogg.import",
    "chars": 314,
    "preview": "[remap]\n\nimporter=\"ogg_vorbis\"\ntype=\"AudioStreamOGGVorbis\"\npath=\"res://.import/splash.ogg-b131ec1b6cf9f1dd5aece921c421da"
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/squish.wav.import",
    "chars": 426,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/squish.wav-99db692a08a95eb7fc2f94653c22b225.sample\""
  },
  {
    "path": "src/Audio/SoundEffects/Enemy/stomp.wav.import",
    "chars": 423,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/stomp.wav-b1022596026d18791e57b523abf0fadd.sample\"\n"
  },
  {
    "path": "src/Audio/SoundEffects/Objects/trampoline.wav.import",
    "chars": 440,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/trampoline.wav-2b0c12249e14d757297d279e5e8c9c3e.sam"
  },
  {
    "path": "src/Audio/SoundEffects/Player/bigjump.wav.import",
    "chars": 430,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/bigjump.wav-aef86937f6d2cf081a01e20652be09ec.sample"
  },
  {
    "path": "src/Audio/SoundEffects/Player/flip.wav.import",
    "chars": 421,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/flip.wav-7f2cd2042e13ff26bab74ea42710a9a2.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Player/hurt.wav.import",
    "chars": 421,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/hurt.wav-0af4c0e4fa08de2bce8c3ded6f99705b.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Player/jump.wav.import",
    "chars": 421,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/jump.wav-c7c538f41296dad82990104a6b4fe580.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Player/kill.wav.import",
    "chars": 421,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/kill.wav-4e09583a4cb5e83a9959b4d5465c5cdf.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Player/shoot.wav.import",
    "chars": 424,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/shoot.wav-f5a3f5182edff725c24da6c38bf1c007.sample\"\n"
  },
  {
    "path": "src/Audio/SoundEffects/Player/skid.wav.import",
    "chars": 421,
    "preview": "[remap]\n\nimporter=\"wav\"\ntype=\"AudioStreamSample\"\npath=\"res://.import/skid.wav-35a696278c4961d97ef70be662260789.sample\"\n\n"
  },
  {
    "path": "src/Audio/SoundEffects/Player/thud.ogg.import",
    "chars": 309,
    "preview": "[remap]\n\nimporter=\"ogg_vorbis\"\ntype=\"AudioStreamOGGVorbis\"\npath=\"res://.import/thud.ogg-a29f9241b3b21edf10dce71983d9c8c9"
  },
  {
    "path": "src/AutoLoad/Settings.gd",
    "chars": 462,
    "preview": "# A persistent settings manager using the ConfigFile class. Settings are saved\n# automatically when the project exits.\ne"
  },
  {
    "path": "src/Scenes/Editor/Category.gd",
    "chars": 596,
    "preview": "extends Control\n\nvar item = \"\"\n\n# Called when the node enters the scene tree for the first time.\nfunc _ready():\n\t$VBoxCo"
  },
  {
    "path": "src/Scenes/Editor/Category.tscn",
    "chars": 1730,
    "preview": "[gd_scene load_steps=4 format=2]\n\n[ext_resource path=\"res://Scenes/Editor/Category.gd\" type=\"Script\" id=1]\n[ext_resource"
  },
  {
    "path": "src/Scenes/Editor/FileSelectButton.gd",
    "chars": 284,
    "preview": "extends Button\n\nfunc _on_Button_pressed():\n\tvar fileselect = UIHelpers._get_scene().get_node(\"FileSelect\")\n\tif not \".\" i"
  },
  {
    "path": "src/Scenes/Editor/FileSelectButton.tscn",
    "chars": 1003,
    "preview": "[gd_scene load_steps=6 format=2]\n\n[ext_resource path=\"res://Scenes/UI/UITheme.tres\" type=\"Theme\" id=1]\n[ext_resource pat"
  },
  {
    "path": "src/Scenes/Editor/Layer.gd",
    "chars": 1113,
    "preview": "extends Control\n\nvar type = \"\"\nvar layername = \"\"\nvar z_axis = 0\nvar original_name = \"\"\n\nfunc _ready():\n\t$Panel/Label.te"
  },
  {
    "path": "src/Scenes/Editor/Layer.tscn",
    "chars": 4435,
    "preview": "[gd_scene load_steps=13 format=2]\n\n[ext_resource path=\"res://Scenes/UI/UITheme.tres\" type=\"Theme\" id=1]\n[ext_resource pa"
  },
  {
    "path": "src/Scenes/Editor/LayerMenu.gd",
    "chars": 5577,
    "preview": "extends Control\n\nvar layername2 = \"\"\nvar hide = false\nvar layer = null # Where to get the layer from\nvar files = []\nvar "
  },
  {
    "path": "src/Scenes/Editor/LayerMenu.tscn",
    "chars": 12019,
    "preview": "[gd_scene load_steps=4 format=2]\n\n[ext_resource path=\"res://Scenes/UI/UITheme.tres\" type=\"Theme\" id=1]\n[ext_resource pat"
  },
  {
    "path": "src/Scenes/Editor/Layers/Background.gd",
    "chars": 19,
    "preview": "extends \"Layer.gd\"\n"
  },
  {
    "path": "src/Scenes/Editor/Layers/Background.tscn",
    "chars": 255,
    "preview": "[gd_scene load_steps=2 format=2]\n\n[ext_resource path=\"res://Scenes/Editor/Layers/Background.gd\" type=\"Script\" id=1]\n\n[no"
  },
  {
    "path": "src/Scenes/Editor/Layers/Backgrounds/Background.gd",
    "chars": 141,
    "preview": "extends ParallaxBackground\n\nfunc _process(delta):\n\tscroll_base_scale = get_parent().scroll_speed\n\tscroll_base_offset = g"
  },
  {
    "path": "src/Scenes/Editor/Layers/Backgrounds/Snow.tscn",
    "chars": 1304,
    "preview": "[gd_scene load_steps=5 format=2]\n\n[ext_resource path=\"res://Scenes/Editor/Layers/Backgrounds/Background.gd\" type=\"Script"
  },
  {
    "path": "src/Scenes/Editor/Layers/Layer.gd",
    "chars": 1099,
    "preview": "extends Node2D\n\nexport var scroll_speed = Vector2(1,1)\nexport var move_speed = Vector2()\nexport var moving = false\nexpor"
  },
  {
    "path": "src/Scenes/Editor/Layers/LayerSelect.gd",
    "chars": 342,
    "preview": "extends \"Layer.gd\"\n\nexport var location = \"\"\n\n# Declare member variables here. Examples:\n# var a = 2\n# var b = \"text\"\n\n#"
  },
  {
    "path": "src/Scenes/Editor/Layers/TileMap.gd",
    "chars": 332,
    "preview": "# Level Tilemap\nextends \"Layer.gd\"\n\n# Declare member variables here. Examples:\n# var a = 2\n# var b = \"text\"\n\n# Called wh"
  },
  {
    "path": "src/Scenes/Editor/Layers/TileMap.tscn",
    "chars": 392,
    "preview": "[gd_scene load_steps=3 format=2]\n\n[ext_resource path=\"res://Tilesets/LevelTiles.tres\" type=\"TileSet\" id=1]\n[ext_resource"
  },
  {
    "path": "src/Scenes/Editor/Layers/Worldmap/TileMap.tscn",
    "chars": 268,
    "preview": "[gd_scene load_steps=3 format=2]\n\n[ext_resource path=\"res://Scenes/Editor/Layers/TileMap.tscn\" type=\"PackedScene\" id=1]\n"
  },
  {
    "path": "src/Scenes/Editor/LevelTemplates/Level.tscn",
    "chars": 969,
    "preview": "[gd_scene load_steps=6 format=2]\n\n[ext_resource path=\"res://Scenes/UI/Level.gd\" type=\"Script\" id=1]\n[ext_resource path=\""
  },
  {
    "path": "src/Scenes/Editor/LevelTemplates/Worldmap.tscn",
    "chars": 332,
    "preview": "[gd_scene load_steps=3 format=2]\n\n[ext_resource path=\"res://Scenes/UI/Level.gd\" type=\"Script\" id=1]\n[ext_resource path=\""
  },
  {
    "path": "src/Scenes/Editor/Object.gd",
    "chars": 2372,
    "preview": "extends Control\n\nvar object_type = \"\"\nvar object_category = \"\"\nvar object_location = \"\"\n\n# Called when the node enters t"
  },
  {
    "path": "src/Scenes/Editor/Object.tscn",
    "chars": 1352,
    "preview": "[gd_scene load_steps=5 format=2]\n\n[ext_resource path=\"res://Scenes/Editor/Object.gd\" type=\"Script\" id=1]\n[ext_resource p"
  },
  {
    "path": "src/Scenes/Editor/Tile.gd",
    "chars": 1002,
    "preview": "extends Control\n\nvar tile_type = \"\"\nvar tileset = null\n\n# Called when the node enters the scene tree for the first time."
  },
  {
    "path": "src/Scenes/Editor/Tile.tscn",
    "chars": 1340,
    "preview": "[gd_scene load_steps=5 format=2]\n\n[ext_resource path=\"res://Scenes/Editor/Tile.gd\" type=\"Script\" id=1]\n[ext_resource pat"
  },
  {
    "path": "src/Scenes/Levels/SlopesThatDontWork.tscn",
    "chars": 3986,
    "preview": "[gd_scene load_steps=5 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Misc/SpawnPoint.tscn\" type=\"PackedScene\" id=1"
  },
  {
    "path": "src/Scenes/Levels/TEST.tscn",
    "chars": 5849,
    "preview": "[gd_scene load_steps=11 format=2]\n\n[ext_resource path=\"res://Scenes/UI/Level.gd\" type=\"Script\" id=1]\n[ext_resource path="
  },
  {
    "path": "src/Scenes/Master/Gameplay.gd",
    "chars": 10475,
    "preview": "extends Node2D\n\nonready var editmode = true\nonready var editsaved = false # Using an edited version of a level\nvar curre"
  },
  {
    "path": "src/Scenes/Master/Gameplay.tscn",
    "chars": 2265,
    "preview": "[gd_scene load_steps=8 format=2]\n\n[ext_resource path=\"res://Scenes/Master/Gameplay.gd\" type=\"Script\" id=1]\n[ext_resource"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/BadGuy.gd",
    "chars": 4006,
    "preview": "extends KinematicBody2D\n\nconst FLOOR = Vector2(0, -1)\n\nvar velocity = Vector2(0,0)\nvar startpos = Vector2(0,0)\nvar state"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Bomb.gd",
    "chars": 2124,
    "preview": "extends \"BadGuy.gd\"\nvar hurt_player = true\nvar exploding = false\n\nfunc on_ready():\n\tSQUISHED_ANIMATION = \"triggered\"\n\n# "
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Bomb.tscn",
    "chars": 15325,
    "preview": "[gd_scene load_steps=27 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Bomb.gd\" type=\"Script\" id=1]\n[ext_re"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Iceblock.gd",
    "chars": 3386,
    "preview": "extends \"BadGuy.gd\"\n\nconst INVINCIBLE_TIME = 10\nconst KICK_SPEED = 500\n\nfunc on_ready():\n\tcollision_mask = 2\n\nfunc _squi"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Iceblock.tscn",
    "chars": 14452,
    "preview": "[gd_scene load_steps=31 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Iceblock.gd\" type=\"Script\" id=1]\n[ex"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Iceblock_Smart.tscn",
    "chars": 14536,
    "preview": "[gd_scene load_steps=31 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Iceblock.gd\" type=\"Script\" id=1]\n[ex"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Jumpy.gd",
    "chars": 429,
    "preview": "extends \"BadGuy.gd\"\n\nconst BOUNCE_HEIGHT = 600\n\nfunc _move(delta):\n\tvelocity.y += 20\n\tif is_on_floor():\n\t\tvelocity.y = -"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Jumpy.tscn",
    "chars": 8806,
    "preview": "[gd_scene load_steps=18 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Jumpy.gd\" type=\"Script\" id=1]\n[ext_r"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Sawblade.gd",
    "chars": 2138,
    "preview": "extends Node2D\n\nexport var clockwise = true\nvar direction = 90\nvar start = false\nvar moving = true\n\nconst MOVE_SPEED = 4"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Sawblade.tscn",
    "chars": 2786,
    "preview": "[gd_scene load_steps=11 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Sawblade.gd\" type=\"Script\" id=1]\n[ex"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Snowball.gd",
    "chars": 230,
    "preview": "extends \"BadGuy.gd\"\n\n# Fireball death animation\nfunc on_fireball_kill():\n\t$SFX/Melt.play()\n\t$AnimationPlayer.play(\"explo"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Snowball.tscn",
    "chars": 9346,
    "preview": "[gd_scene load_steps=24 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Snowball.gd\" type=\"Script\" id=1]\n[ex"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Snowball_Smart.tscn",
    "chars": 9423,
    "preview": "[gd_scene load_steps=24 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Snowball.gd\" type=\"Script\" id=1]\n[ex"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Spiky.gd",
    "chars": 125,
    "preview": "extends \"BadGuy.gd\"\n\n# Fireball death animation\nfunc on_fireball_kill():\n\t$SFX/Melt.play()\n\t$AnimationPlayer.play(\"explo"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Spiky.tscn",
    "chars": 7664,
    "preview": "[gd_scene load_steps=28 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Spiky.gd\" type=\"Script\" id=1]\n[ext_r"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Stalactite.gd",
    "chars": 981,
    "preview": "extends \"BadGuy.gd\"\n\nonready var iciclestate = \"\"\nonready var trigger_ray = get_node('trigger_ray')\n\nfunc _process(delta"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/Stalactite.tscn",
    "chars": 7519,
    "preview": "[gd_scene load_steps=16 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/Stalactite.gd\" type=\"Script\" id=1]\n["
  },
  {
    "path": "src/Scenes/Objects/BadGuys/_1Down.gd",
    "chars": 808,
    "preview": "extends Area2D\n\nvar collected = false\nvar active = false\nvar velocity = Vector2(0,0)\nvar volume = -40\n\nfunc _physics_pro"
  },
  {
    "path": "src/Scenes/Objects/BadGuys/_1Down.tscn",
    "chars": 9889,
    "preview": "[gd_scene load_steps=15 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/BadGuys/_1Down.gd\" type=\"Script\" id=1]\n[ext_"
  },
  {
    "path": "src/Scenes/Objects/Bonus/1Up.tscn",
    "chars": 7635,
    "preview": "[gd_scene load_steps=16 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Powerup.gd\" type=\"Script\" id=1]\n[ext_r"
  },
  {
    "path": "src/Scenes/Objects/Bonus/BlockContainer.gd",
    "chars": 2470,
    "preview": "extends KinematicBody2D\n\nvar hit = false\nvar hitdirection = 0\nvar stored = \"\" # Whatever is inside the bonus block\nvar c"
  },
  {
    "path": "src/Scenes/Objects/Bonus/BonusBlock.gd",
    "chars": 180,
    "preview": "extends \"BlockContainer.gd\"\n\nfunc on_empty_hit():\n\t$AnimatedSprite.play(\"empty\")\n\n\tif hitdownstored == true:\n\t\t$Animatio"
  },
  {
    "path": "src/Scenes/Objects/Bonus/BonusBlock.tscn",
    "chars": 8515,
    "preview": "[gd_scene load_steps=18 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/BonusBlock.gd\" type=\"Script\" id=1]\n[ex"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Brick.gd",
    "chars": 1103,
    "preview": "extends \"BlockContainer.gd\"\n\nfunc on_empty_hit():\n\tif hitbyplayer == true:\n\t\t\tif player.state == \"small\":\n\t\t\t\t$Animation"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Brick.tscn",
    "chars": 18362,
    "preview": "[gd_scene load_steps=22 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Brick.gd\" type=\"Script\" id=1]\n[ext_res"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Coin.tscn",
    "chars": 6098,
    "preview": "[gd_scene load_steps=27 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Powerup.gd\" type=\"Script\" id=1]\n[ext_r"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Egg.tscn",
    "chars": 3636,
    "preview": "[gd_scene load_steps=10 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Powerup.gd\" type=\"Script\" id=1]\n[ext_r"
  },
  {
    "path": "src/Scenes/Objects/Bonus/FireFlower.tscn",
    "chars": 3550,
    "preview": "[gd_scene load_steps=13 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Powerup.gd\" type=\"Script\" id=1]\n[ext_r"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Powerup.gd",
    "chars": 2204,
    "preview": "extends KinematicBody2D\n\nexport var physics = false\nexport var gravity_when_static = false\nexport var gravity_when_appea"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Star.tscn",
    "chars": 6993,
    "preview": "[gd_scene load_steps=20 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Powerup.gd\" type=\"Script\" id=1]\n[ext_r"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Trampoline.gd",
    "chars": 5296,
    "preview": "extends KinematicBody2D\n\nconst BOUNCE_LOW = 530\nconst BOUNCE_HIGH = 1000\nconst FLOOR = Vector2(0, -1)\n\nvar velocity = Ve"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Trampoline_Portable.gd",
    "chars": 57,
    "preview": "extends \"Trampoline.gd\"\n\nfunc _ready():\n\tportable = true\n"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Trampoline_Portable.tscn",
    "chars": 2988,
    "preview": "[gd_scene load_steps=15 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Trampoline_Portable.gd\" type=\"Script\" "
  },
  {
    "path": "src/Scenes/Objects/Bonus/Trampoline_Static.gd",
    "chars": 63,
    "preview": "extends \"Trampoline.gd\"\n\nfunc _ready():\n\tcling_to_walls = true\n"
  },
  {
    "path": "src/Scenes/Objects/Bonus/Trampoline_Static.tscn",
    "chars": 2937,
    "preview": "[gd_scene load_steps=13 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Bonus/Trampoline_Static.gd\" type=\"Script\" id"
  },
  {
    "path": "src/Scenes/Objects/Map/LevelDot.gd",
    "chars": 2383,
    "preview": "extends Node2D\n\nexport var level = \"\"\nexport var invisible = false\nexport var autoplay = false\nexport var cleared = fals"
  },
  {
    "path": "src/Scenes/Objects/Map/LevelDot.tscn",
    "chars": 6950,
    "preview": "[gd_scene load_steps=11 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Map/LevelDot.gd\" type=\"Script\" id=1]\n[ext_re"
  },
  {
    "path": "src/Scenes/Objects/Map/SpawnPoint.gd",
    "chars": 88,
    "preview": "extends Position2D\n\nfunc _process(_delta):\n\tvisible = get_tree().current_scene.editmode\n"
  },
  {
    "path": "src/Scenes/Objects/Map/SpawnPoint.tscn",
    "chars": 379,
    "preview": "[gd_scene load_steps=3 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Misc/SpawnPoint.gd\" type=\"Script\" id=1]\n[ext_"
  },
  {
    "path": "src/Scenes/Objects/Misc/CameraZoom.gd",
    "chars": 582,
    "preview": "extends \"Expandable.gd\"\n\nexport var camera_zoom = 1\nexport var camera_zoom_speed = 1\n\nfunc activate():\n\tget_tree().curre"
  },
  {
    "path": "src/Scenes/Objects/Misc/CameraZoom.tscn",
    "chars": 4144,
    "preview": "[gd_scene load_steps=5 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Misc/CameraZoom.gd\" type=\"Script\" id=1]\n[ext_"
  },
  {
    "path": "src/Scenes/Objects/Misc/Expandable.gd",
    "chars": 904,
    "preview": "extends Node2D\n\nexport var boxsize = Vector2(1,1)\nexport var min_size = Vector2(1,1)\nexport var scale_h = true\nexport va"
  },
  {
    "path": "src/Scenes/Objects/Misc/SpawnPoint.gd",
    "chars": 88,
    "preview": "extends Position2D\n\nfunc _process(_delta):\n\tvisible = get_tree().current_scene.editmode\n"
  },
  {
    "path": "src/Scenes/Objects/Misc/SpawnPoint.tscn",
    "chars": 379,
    "preview": "[gd_scene load_steps=3 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Misc/SpawnPoint.gd\" type=\"Script\" id=1]\n[ext_"
  },
  {
    "path": "src/Scenes/Objects/Misc/Wind.gd",
    "chars": 988,
    "preview": "extends \"Expandable.gd\"\n\nexport var speed_x = 0\nexport var speed_y = 0\n\nfunc activate():\n\tbody.velocity.x += speed_x\n\tbo"
  },
  {
    "path": "src/Scenes/Objects/Misc/Wind.tscn",
    "chars": 4598,
    "preview": "[gd_scene load_steps=7 format=2]\n\n[ext_resource path=\"res://Scenes/Objects/Misc/Wind.gd\" type=\"Script\" id=1]\n[ext_resour"
  },
  {
    "path": "src/Scenes/Player/Animation.gd",
    "chars": 320,
    "preview": "extends AnimatedSprite\n\n# Declare member variables here. Examples:\n# var a = 2\n# var b = \"text\"\n\n# Called when the node "
  },
  {
    "path": "src/Scenes/Player/Objects/Fireball.gd",
    "chars": 1083,
    "preview": "extends KinematicBody2D\n\nvar velocity = Vector2(0,0)\nvar oldvelocity\nvar hit = false\n\nfunc explode():\n\tremove_from_group"
  },
  {
    "path": "src/Scenes/Player/Objects/Fireball.tres",
    "chars": 198,
    "preview": "[gd_resource type=\"Gradient\" format=2]\n\n[resource]\noffsets = PoolRealArray( 0, 0.253333, 0.733333, 1 )\ncolors = PoolColo"
  },
  {
    "path": "src/Scenes/Player/Objects/Fireball.tscn",
    "chars": 8211,
    "preview": "[gd_scene load_steps=16 format=2]\n\n[ext_resource path=\"res://Scenes/Player/Objects/Fireball.gd\" type=\"Script\" id=1]\n[ext"
  },
  {
    "path": "src/Scenes/Player/Player.gd",
    "chars": 16176,
    "preview": "extends KinematicBody2D\n\nconst FLOOR = Vector2(0, -1)\n# Instant speed when starting walk\nconst WALK_ADD = 120.0\n# Speed "
  },
  {
    "path": "src/Scenes/Player/Player.tscn",
    "chars": 13489,
    "preview": "[gd_scene load_steps=69 format=2]\n\n[ext_resource path=\"res://Scenes/Player/Player.gd\" type=\"Script\" id=1]\n[ext_resource "
  },
  {
    "path": "src/Scenes/Player/Worldmap.gd",
    "chars": 5238,
    "preview": "extends Node2D\n\nvar dead = false\nvar state = \"big\"\nvar moving = false\nvar direction = null\nvar newdirection = null\nvar d"
  },
  {
    "path": "src/Scenes/Player/Worldmap.tscn",
    "chars": 2867,
    "preview": "[gd_scene load_steps=21 format=2]\n\n[ext_resource path=\"res://Scenes/Player/Worldmap.gd\" type=\"Script\" id=1]\n[ext_resourc"
  },
  {
    "path": "src/Scenes/UI/CoinCounter.gd",
    "chars": 443,
    "preview": "extends Node\n\nvar coins = 0\nvar offset = 0\n\nconst SMOOTH_FACTOR = 5\n\nfunc _ready():\n\toffset = 100\n\t$CoinCounter/CoinCoun"
  },
  {
    "path": "src/Scenes/UI/FileSelect.gd",
    "chars": 2892,
    "preview": "extends CanvasLayer\n\nvar directory = null\nvar dir = Directory.new()\nvar selectedfile = null\nvar selectdir = null\nvar can"
  },
  {
    "path": "src/Scenes/UI/FileSelect.tscn",
    "chars": 8421,
    "preview": "[gd_scene load_steps=9 format=2]\n\n[ext_resource path=\"res://Scenes/UI/FileSelect.gd\" type=\"Script\" id=1]\n[ext_resource p"
  },
  {
    "path": "src/Scenes/UI/Helpers.gd",
    "chars": 558,
    "preview": "extends Node\n\nfunc _get_scene():\n\treturn get_tree().current_scene\n\nfunc get_camera():\n\treturn _get_scene().get_node(\"Cam"
  },
  {
    "path": "src/Scenes/UI/Level.gd",
    "chars": 121,
    "preview": "extends Node\n\nexport var level_name = \"\"\nexport var level_creator = \"\"\nexport var music = \"\"\nexport var worldmap = false"
  },
  {
    "path": "src/Scenes/UI/LevelEditor.gd",
    "chars": 36187,
    "preview": "extends Node2D\n\nconst CAMERA_MOVE_SPEED = 32\nvar category_selected = \"Tiles\"\nvar layer_selected = \"\"\nvar layer_selected_"
  },
  {
    "path": "src/Scenes/UI/LevelEditor.tscn",
    "chars": 40563,
    "preview": "[gd_scene load_steps=32 format=2]\n\n[ext_resource path=\"res://Scenes/UI/LevelEditor.gd\" type=\"Script\" id=1]\n[ext_resource"
  },
  {
    "path": "src/Scenes/UI/LevelUI.tscn",
    "chars": 2180,
    "preview": "[gd_scene load_steps=7 format=2]\n\n[ext_resource path=\"res://Scenes/UI/CoinCounter.gd\" type=\"Script\" id=1]\n[ext_resource "
  },
  {
    "path": "src/Scenes/UI/MainMenu.gd",
    "chars": 547,
    "preview": "extends Control\n\nfunc _ready():\n\t$Panel/VBoxContainer/StartGame.grab_focus()\n\t$FadeIn.show()\n\t$AnimationPlayer.play(\"App"
  },
  {
    "path": "src/Scenes/UI/MainMenu.tscn",
    "chars": 4683,
    "preview": "[gd_scene load_steps=9 format=2]\n\n[ext_resource path=\"res://Scenes/UI/MainMenu.gd\" type=\"Script\" id=1]\n[ext_resource pat"
  },
  {
    "path": "src/Scenes/UI/Options.gd",
    "chars": 637,
    "preview": "extends Control\n\nfunc _ready():\n\t$VBoxContainer/HBoxContainer/FullscreenCheck.pressed = Settings.config.get_value(\"video"
  },
  {
    "path": "src/Scenes/UI/Options.tscn",
    "chars": 3547,
    "preview": "[gd_scene load_steps=4 format=2]\n\n[ext_resource path=\"res://Scenes/UI/UITheme.tres\" type=\"Theme\" id=1]\n[ext_resource pat"
  },
  {
    "path": "src/Scenes/UI/PauseMenu.gd",
    "chars": 2369,
    "preview": "extends Control\n\nvar background_opacity = 0\nvar panel_sizemult = 1\nvar panel_size = Vector2(0,0)\n\nfunc _ready():\n\thide()"
  },
  {
    "path": "src/Scenes/UI/PauseMenu.tscn",
    "chars": 3782,
    "preview": "[gd_scene load_steps=7 format=2]\n\n[ext_resource path=\"res://Scenes/UI/UITheme.tres\" type=\"Theme\" id=1]\n[ext_resource pat"
  },
  {
    "path": "src/Scenes/UI/UITheme.tres",
    "chars": 5982,
    "preview": "[gd_resource type=\"Theme\" load_steps=22 format=2]\n\n[ext_resource path=\"res://Sprites/Editor/Line.png\" type=\"Texture\" id="
  },
  {
    "path": "src/Scenes/Worldmaps/Main.tscn",
    "chars": 8012,
    "preview": "[gd_scene load_steps=9 format=2]\n\n[ext_resource path=\"res://Scenes/UI/Level.gd\" type=\"Script\" id=1]\n[ext_resource path=\""
  },
  {
    "path": "src/Sprites/Backgrounds/Snow/arcticmountains-bg.png.import",
    "chars": 706,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/arcticmountains-bg.png-29f30fc31d318d980ed437e9d366"
  },
  {
    "path": "src/Sprites/Backgrounds/Snow/arcticmountains-fg.png.import",
    "chars": 706,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/arcticmountains-fg.png-35ca989779ba9ee991d43a3c1e11"
  },
  {
    "path": "src/Sprites/Backgrounds/Snow/arcticmountains-sky.png.import",
    "chars": 709,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/arcticmountains-sky.png-e3c64433bfa7ff20579673d458d"
  },
  {
    "path": "src/Sprites/Creatures/Bomb/bomb-0.png.import",
    "chars": 668,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/bomb-0.png-d1c8fefbfe35ebafe745d1517f93d617.stex\"\nm"
  },
  {
    "path": "src/Sprites/Creatures/Bomb/bomb-1.png.import",
    "chars": 668,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/bomb-1.png-67a0349e3204cd23bbfad125ca89ca6c.stex\"\nm"
  },
  {
    "path": "src/Sprites/Creatures/Bomb/bomb-2.png.import",
    "chars": 668,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/bomb-2.png-63da7955cfeef6a73865e1fe769f64ff.stex\"\nm"
  },
  {
    "path": "src/Sprites/Creatures/Bomb/explosion.png.import",
    "chars": 677,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/explosion.png-9c475e44b3b657a30cdabf5937b90e63.stex"
  },
  {
    "path": "src/Sprites/Creatures/Bomb/redglow.png.import",
    "chars": 671,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/redglow.png-6823fcdce6119207d779d36dcd01b25e.stex\"\n"
  },
  {
    "path": "src/Sprites/Creatures/Bomb/triggered.png.import",
    "chars": 677,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/triggered.png-c9f13191bafb1c8763f91f265ff02c58.stex"
  },
  {
    "path": "src/Sprites/Creatures/Bomb/whiteflash.png.import",
    "chars": 680,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/whiteflash.png-cacadcbfb6ebbc2063b0153953c99528.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-0.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-0.png-7a6f75958968d0630637dfa30a297d38.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-1.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-1.png-9ce16f3c7e8d3ff03542ee39ac701d31.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-2.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-2.png-901d73bb138ed3db9eb18ba92ca9484b.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-3.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-3.png-6b4b8835fbb7c992ef912a6feb614af8.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-4.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-4.png-d61a7b4a72c5e61a60585c553db2003e.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-5.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-5.png-2ba805d3595353b7874e8511c8466fc2.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-6.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-6.png-4194e759f53f586331dd1d79b90170cd.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/iceblock-7.png.import",
    "chars": 685,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/iceblock-7.png-0e488cdc470d431c9dbe8e632e108541.ste"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/shard.png.import",
    "chars": 670,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/shard.png-aab6b9cf4b192184524572d0c4113320.stex\"\nme"
  },
  {
    "path": "src/Sprites/Creatures/Iceblock/stomped-0.png.import",
    "chars": 682,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/stomped-0.png-481f3e0266fbc6426af5978d42633865.stex"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/shard.png.import",
    "chars": 674,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/shard.png-a60225dfab620aa974cb994890b742b5.stex\"\nme"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-0.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-0.png-0ea610c04ce7dd3783e97dca1ce6b371.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-1.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-1.png-58304e8aca08c965ca81ab7ff103bdd4.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-2.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-2.png-74fc0935ced9246e0df95de932af0a6c.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-3.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-3.png-c2859c4f87a8c2e768e421e57514e981.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-4.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-4.png-5317f9f5e34f327af21ba9c579bf5407.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-5.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-5.png-7e2cb8cddbe607cb525d3748f338a69d.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-6.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-6.png-ca7a6b440a88a164c28cdd505da0dcce.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/smartblock-7.png.import",
    "chars": 695,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartblock-7.png-19d83a2f34c628bde2dded537b64a50e.s"
  },
  {
    "path": "src/Sprites/Creatures/IceblockSmart/stomped-0.png.import",
    "chars": 686,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/stomped-0.png-a231ae91cf3730333ab7a7cf7706826b.stex"
  },
  {
    "path": "src/Sprites/Creatures/Jumpy/left-down.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/left-down.png-d125189843859a4247a36884f57fcb5a.stex"
  },
  {
    "path": "src/Sprites/Creatures/Jumpy/left-middle.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/left-middle.png-a6e5dfdfdce146f91e9cc69a0928cc2a.st"
  },
  {
    "path": "src/Sprites/Creatures/Jumpy/left-up.png.import",
    "chars": 672,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/left-up.png-d7a1e3f644813727c3b3c48989b5aec3.stex\"\n"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/droplet.png.import",
    "chars": 675,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/droplet.png-46377a9cfdf39702e8e89663bcda13bd.stex\"\n"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/particle.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/particle.png-aa6d58ca36e5a5b516bfb198c6d25835.stex\""
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-0.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-0.png-b9fa97f6d583c0146116da5750668891.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-1.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-1.png-6f71d1c82f1f872ca337f93b59695aaf.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-2.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-2.png-3d7a6bdf1bfd065cb513c872864db261.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-3.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-3.png-a3e538d8b8645fdcb0fae419905abc96.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-4.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-4.png-324206c3205c3024a9b3cf5867599b78.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-5.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-5.png-91c785d6e52552a082afcc0901355718.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-6.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-6.png-18870fcd59338596a9941906dfb20c95.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/snowball-7.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/snowball-7.png-070a8766926f804c8a24282d863ce9ae.ste"
  },
  {
    "path": "src/Sprites/Creatures/Snowball/squished-0.png.import",
    "chars": 684,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/squished-0.png-9e9116caa016083f39aad7e5e2cadc7c.ste"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/droplet.png.import",
    "chars": 680,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/droplet.png-761f7bd770dff2eabcc55c13ec4a3e45.stex\"\n"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/particle.png.import",
    "chars": 683,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/particle.png-054196a4953b60063916b3dec2469a79.stex\""
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-0.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-0.png-61b841a04eb0948705200655cc5898b7.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-1.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-1.png-c46a816b6639f5bb448e7af499a8c18a.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-2.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-2.png-2065bc087c5159eaf794327929155d21.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-3.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-3.png-5f048ab36bd6519c3f2495d325733226.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-4.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-4.png-dcf5c579d8e9a8cb895f1300ebc90c09.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-5.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-5.png-8e146995690b7dfb6f76d46a875f6f5b.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-6.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-6.png-492f3f73c5340c978ff15e638b31f6f8.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/smartball-7.png.import",
    "chars": 692,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/smartball-7.png-74965d44785f9ab556a5c31e8bbfbf73.st"
  },
  {
    "path": "src/Sprites/Creatures/SnowballSmart/squished-0.png.import",
    "chars": 689,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/squished-0.png-054b8cf25096eab31ce3d5a31d1cc34f.ste"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-0.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-0.png-6299d17d2385357b17c3e1d9ae166281.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-1.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-1.png-b334eeaeebd15efea23dab49014db370.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-2.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-2.png-63e7b3d7fbf459de6bdf4e944927d0f6.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-3.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-3.png-d4f2e323d4ea01ee569111d1c14048ce.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-4.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-4.png-f73387567507a514b0c1fad851954d38.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-5.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-5.png-c5ad03c1ba189740d54b6a0cd9cc91bb.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-6.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-6.png-8c3f5624b0e3d1b158688daa5408f06f.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/melting-7.png.import",
    "chars": 678,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/melting-7.png-6418ee62b33b740b604a1373da453660.stex"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/spiky-0.png.import",
    "chars": 672,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/spiky-0.png-27c13563344d16e0bb315b0c6e79cb00.stex\"\n"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/spiky-1.png.import",
    "chars": 672,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/spiky-1.png-61c379f35e0cb4b2210179fdc2935917.stex\"\n"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/spiky-2.png.import",
    "chars": 672,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/spiky-2.png-c55d44453cca64d14adc5a49740b93b7.stex\"\n"
  },
  {
    "path": "src/Sprites/Creatures/Spiky/spiky-3.png.import",
    "chars": 672,
    "preview": "[remap]\n\nimporter=\"texture\"\ntype=\"StreamTexture\"\npath=\"res://.import/spiky-3.png-23ceaf46e269d3688b6320081063904d.stex\"\n"
  }
]

// ... and 180 more files (download for full content)

About this extraction

This page contains the full source code of the Alzter/TuxBuilder GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 380 files (667.1 KB), approximately 239.0k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!