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. 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. Copyright (C) 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 . 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: Copyright (C) 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 . 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 . ================================================ 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" type="Texture" id=9] [ext_resource path="res://Sprites/Creatures/SnowballSmart/droplet.png" type="Texture" id=10] [ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-3.png" type="Texture" id=11] [ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-6.png" type="Texture" id=12] [ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-4.png" type="Texture" id=13] [ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-5.png" type="Texture" id=14] [ext_resource path="res://Sprites/Creatures/SnowballSmart/smartball-7.png" type="Texture" id=15] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 11 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 12 ), ExtResource( 15 ) ], "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="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="Smartball" 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-13 ) frames = SubResource( 1 ) frame = 3 playing = true offset = Vector2( 0, -4 ) [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( 6 ) [node name="Squish" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 7 ) [node name="Melt" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 8 ) [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( 9 ) 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( 10 ) 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/Spiky.gd ================================================ extends "BadGuy.gd" # Fireball death animation func on_fireball_kill(): $SFX/Melt.play() $AnimationPlayer.play("explode") ================================================ FILE: src/Scenes/Objects/BadGuys/Spiky.tscn ================================================ [gd_scene load_steps=28 format=2] [ext_resource path="res://Scenes/Objects/BadGuys/Spiky.gd" type="Script" id=1] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-0.png" type="Texture" id=2] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-1.png" type="Texture" id=3] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-2.png" type="Texture" id=4] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-3.png" type="Texture" id=5] [ext_resource path="res://Sprites/Creatures/Snowball/droplet.png" type="Texture" id=7] [ext_resource path="res://Audio/SoundEffects/Enemy/fall.wav" type="AudioStream" id=8] [ext_resource path="res://Audio/SoundEffects/Enemy/squish.wav" type="AudioStream" id=9] [ext_resource path="res://Audio/SoundEffects/Enemy/splash.ogg" type="AudioStream" id=10] [ext_resource path="res://Sprites/Creatures/Spiky/melting-2.png" type="Texture" id=11] [ext_resource path="res://Sprites/Creatures/Spiky/melting-3.png" type="Texture" id=12] [ext_resource path="res://Sprites/Creatures/Spiky/melting-0.png" type="Texture" id=13] [ext_resource path="res://Sprites/Creatures/Spiky/melting-4.png" type="Texture" id=14] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-5.png" type="Texture" id=15] [ext_resource path="res://Sprites/Creatures/Spiky/melting-1.png" type="Texture" id=16] [ext_resource path="res://Sprites/Creatures/Spiky/melting-6.png" type="Texture" id=17] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-6.png" type="Texture" id=18] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-7.png" type="Texture" id=19] [ext_resource path="res://Sprites/Creatures/Spiky/melting-7.png" type="Texture" id=20] [ext_resource path="res://Sprites/Creatures/Spiky/melting-5.png" type="Texture" id=21] [ext_resource path="res://Sprites/Creatures/Spiky/spiky-4.png" type="Texture" id=22] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 22 ), ExtResource( 15 ), ExtResource( 18 ), ExtResource( 19 ) ], "loop": true, "name": "default", "speed": 15.0 }, { "frames": [ ExtResource( 13 ), ExtResource( 16 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 14 ), ExtResource( 21 ), ExtResource( 17 ), ExtResource( 20 ) ], "loop": false, "name": "melted", "speed": 20.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 = "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:animation") 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": [ "melted" ] } tracks/3/type = "value" tracks/3/path = NodePath("Control/AnimatedSprite:self_modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 1.6, 2 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } [sub_resource type="Gradient" id=7] 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="Spiky" type="KinematicBody2D" groups=[ "badguys", ]] collision_layer = 2 collision_mask = 2 script = ExtResource( 1 ) __meta__ = { "_edit_group_": true } smart = 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-13 ) frames = SubResource( 1 ) playing = true offset = Vector2( 0, -4 ) [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 ) [node name="ExplodeDroplets" type="CPUParticles2D" parent="."] emitting = false amount = 16 one_shot = true explosiveness = 1.0 local_coords = false texture = ExtResource( 7 ) spread = 180.0 gravity = Vector2( 0, 500 ) initial_velocity = 100.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( 7 ) [node name="SFX" type="Node" parent="."] [node name="Fall" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 8 ) [node name="Squish" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 9 ) [node name="Melt" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 10 ) [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/Stalactite.gd ================================================ extends "BadGuy.gd" onready var iciclestate = "" onready var trigger_ray = get_node('trigger_ray') func _process(delta): if iciclestate == "" and trigger_ray.is_colliding(): if trigger_ray.get_collider().is_in_group("player"): $Timer.start(0.5) iciclestate = "shaking" $SFX/Cracking.play() $AnimationPlayer.play("shake") func _move(delta): if iciclestate == "active": if is_on_floor(): iciclestate = "broken" $SFX/Icecrash.play() $AnimationPlayer.play("broken") collision_layer = 0 collision_mask = 0 return velocity.y += 20 velocity = move_and_slide(velocity, FLOOR) func _on_Timer_timeout(): if iciclestate == "shaking": $AnimationPlayer.play("default") iciclestate = "active" func _on_Area2D_body_entered(body): if iciclestate != "broken": if body.is_in_group('player'): body.hurt() elif body.is_in_group('badguys'): body.kill() func _on_VisibilityEnabler2D_screen_exited(): if iciclestate != "": queue_free() ================================================ FILE: src/Scenes/Objects/BadGuys/Stalactite.tscn ================================================ [gd_scene load_steps=16 format=2] [ext_resource path="res://Scenes/Objects/BadGuys/Stalactite.gd" type="Script" id=1] [ext_resource path="res://Sprites/Creatures/Stalactite/falling.png" type="Texture" id=2] [ext_resource path="res://Sprites/Creatures/Stalactite/broken.png" type="Texture" id=3] [ext_resource path="res://Audio/SoundEffects/Enemy/cracking.wav" type="AudioStream" id=4] [ext_resource path="res://Audio/SoundEffects/Enemy/icecrash.ogg" type="AudioStream" id=5] [ext_resource path="res://Sprites/Creatures/Stalactite/stalactiteshard.png" type="Texture" id=6] [sub_resource type="RectangleShape2D" id=1] [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": false, "name": "default", "speed": 5.0 }, { "frames": [ ExtResource( 3 ) ], "loop": false, "name": "broken", "speed": 5.0 } ] [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 14, 22 ) [sub_resource type="Animation" id=4] tracks/0/type = "value" tracks/0/path = NodePath("Control/AnimatedSprite:self_modulate") 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": 0, "values": [ Color( 1, 1, 1, 1 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("Control/AnimatedSprite:animation") 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": [ "broken" ] } 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, 0.9 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ true, false ] } tracks/3/type = "value" tracks/3/path = NodePath("Control/AnimatedSprite:self_modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.7, 0.9 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } tracks/4/type = "method" tracks/4/path = NodePath(".") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/imported = false tracks/4/enabled = true tracks/4/keys = { "times": PoolRealArray( 1 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/5/type = "value" tracks/5/path = NodePath("Control/AnimatedSprite:offset") 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, -4 ) ] } tracks/6/type = "value" tracks/6/path = NodePath("CPUParticles2D:emitting") 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": [ true ] } [sub_resource type="Animation" id=5] resource_name = "default" tracks/0/type = "value" tracks/0/path = NodePath("Control/AnimatedSprite:self_modulate") 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": 0, "values": [ Color( 1, 1, 1, 1 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("Control/AnimatedSprite:animation") 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": [ "default" ] } tracks/2/type = "value" tracks/2/path = NodePath("Control/AnimatedSprite:offset") 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( 0, 0 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("CPUParticles2D:emitting") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0.1 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ false ] } [sub_resource type="Animation" id=6] length = 0.08 loop = true step = 0.02 tracks/0/type = "value" tracks/0/path = NodePath("Control/AnimatedSprite:offset") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.02, 0.04, 0.06 ), "transitions": PoolRealArray( 1, 1, 1, 1 ), "update": 0, "values": [ Vector2( 0, 0 ), Vector2( 2, 0 ), Vector2( 0, 0 ), Vector2( -2, 0 ) ] } [sub_resource type="Curve" id=7] min_value = -360.0 max_value = 720.0 _data = [ Vector2( 0, 720 ), 0.0, -1630.36, 0, 0, Vector2( 1, -360 ), -467.115, 0.0, 0, 0 ] [sub_resource type="Curve" id=8] _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), -2.57309, 0.0, 0, 0 ] [sub_resource type="Gradient" id=9] offsets = PoolRealArray( 0, 0.739535, 1 ) colors = PoolColorArray( 1, 1, 1, 0.635294, 1, 1, 1, 0.737255, 1, 1, 1, 0 ) [node name="Stalactite" type="KinematicBody2D"] position = Vector2( 1, 0 ) collision_layer = 0 collision_mask = 4 script = ExtResource( 1 ) [node name="Timer" type="Timer" parent="."] one_shot = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, 8 ) shape = SubResource( 1 ) [node name="Control" type="Control" parent="."] [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] position = Vector2( 0, 4 ) z_index = -1 frames = SubResource( 2 ) [node name="Area2D" type="Area2D" parent="."] position = Vector2( -0.714695, -1.19116 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 0, 7 ) shape = SubResource( 3 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] position = Vector2( 0, 8 ) rect = Rect2( -24, -32, 48, 64 ) [node name="SFX" type="Node" parent="."] [node name="Cracking" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 4 ) [node name="Icecrash" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 5 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/broken = SubResource( 4 ) anims/default = SubResource( 5 ) anims/shake = SubResource( 6 ) [node name="trigger_ray" type="RayCast2D" parent="."] position = Vector2( 0, 22 ) enabled = true cast_to = Vector2( 0, 1000 ) [node name="CPUParticles2D" type="CPUParticles2D" parent="."] rotation = -1.5708 emitting = false amount = 6 lifetime = 0.75 one_shot = true explosiveness = 1.0 local_coords = false texture = ExtResource( 6 ) gravity = Vector2( 0, 550 ) initial_velocity = 250.0 damping = 20.0 angle = 360.0 angle_random = 1.0 angle_curve = SubResource( 7 ) scale_amount = 0.8 scale_amount_curve = SubResource( 8 ) color_ramp = SubResource( 9 ) [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] [connection signal="screen_exited" from="VisibilityEnabler2D" to="." method="_on_VisibilityEnabler2D_screen_exited"] [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"] ================================================ FILE: src/Scenes/Objects/BadGuys/_1Down.gd ================================================ extends Area2D var collected = false var active = false var velocity = Vector2(0,0) var volume = -40 func _physics_process(delta): if active == true: position += velocity * delta velocity.y += 40 func _process(_delta): if collected == false and get_tree().current_scene.editmode == false: $Humming.volume_db = volume if $Humming.playing == false: $Humming.play() if volume < -15: volume += 5 else: $Humming.stop() volume = -80 func _on_1Up_body_entered(body): if body.is_in_group("player") and collected == false: if body.invincible_damage == false: active = false collected = true $AnimationPlayer.play("collect") if body.invincible == false: body.call("kill") func appear(dir, hitdown): active = true velocity = Vector2(0, -750) if hitdown == true: velocity.y *= -1 ================================================ FILE: src/Scenes/Objects/BadGuys/_1Down.tscn ================================================ [gd_scene load_steps=15 format=2] [ext_resource path="res://Scenes/Objects/BadGuys/_1Down.gd" type="Script" id=1] [ext_resource path="res://Audio/SoundEffects/Enemy/humming.wav" type="AudioStream" id=2] [ext_resource path="res://Audio/SoundEffects/Enemy/explode.wav" type="AudioStream" id=3] [ext_resource path="res://Sprites/Objects/1Up/glow.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/1Down/1down.png" type="Texture" id=5] [ext_resource path="res://Sprites/Objects/1Up/glimmer.png" type="Texture" id=6] [sub_resource type="Animation" id=1] resource_name = "appear" [sub_resource type="Animation" id=2] resource_name = "collect" length = 1.54 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( 1 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/1/type = "value" tracks/1/path = NodePath("PickupSFX:playing") 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("Sprite/Sprite2: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("Sprite/Sprite3: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 ] } tracks/4/type = "value" tracks/4/path = NodePath("Sprite: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": [ false ] } tracks/5/type = "value" tracks/5/path = NodePath("CPUParticles2D2:emitting") 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("CPUParticles2D:emitting") 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("Humming:playing") 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("CPUParticles2D3:emitting") 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 ] } [sub_resource type="Animation" id=3] resource_name = "default" length = 0.6 loop = true tracks/0/type = "value" tracks/0/path = NodePath("Sprite:self_modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.3, 0.6 ), "transitions": PoolRealArray( 2, 0.5, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ), Color( 1, 0, 0, 1 ), Color( 1, 1, 1, 1 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("Sprite:position") 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": [ Vector2( 0, 0 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("Sprite/Sprite2: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, 0.6 ), "transitions": PoolRealArray( -2, 1 ), "update": 0, "values": [ 0.0, 360.0 ] } tracks/3/type = "value" tracks/3/path = NodePath("Sprite/Sprite3:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.6 ), "transitions": PoolRealArray( -2, 1 ), "update": 0, "values": [ 0.0, -360.0 ] } tracks/4/type = "value" tracks/4/path = NodePath("Sprite/Sprite2:scale") 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, 0.6 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Vector2( 0, 0 ), Vector2( 0.5, 0.5 ), Vector2( 0, 0 ) ] } tracks/5/type = "value" tracks/5/path = NodePath("Sprite/Sprite3:scale") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/imported = false tracks/5/enabled = true tracks/5/keys = { "times": PoolRealArray( 0, 0.3, 0.6 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Vector2( 0, 0 ), Vector2( 0.5, 0.5 ), Vector2( 0, 0 ) ] } tracks/6/type = "value" tracks/6/path = NodePath("Sprite/Sprite2: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": [ true ] } tracks/7/type = "value" tracks/7/path = NodePath("Sprite/Sprite3:visible") 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("Sprite:visible") 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("CPUParticles2D:emitting") 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("CPUParticles2D2:emitting") 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": [ true ] } tracks/11/type = "value" tracks/11/path = NodePath("CPUParticles2D3:emitting") tracks/11/interp = 1 tracks/11/loop_wrap = true tracks/11/imported = false tracks/11/enabled = true tracks/11/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } [sub_resource type="RectangleShape2D" id=4] extents = Vector2( 17, 17 ) [sub_resource type="Curve" id=5] _data = [ Vector2( 0.00295858, 1 ), 0.0, 0.642983, 0, 0, Vector2( 1, 0 ), -3.22841, 0.0, 0, 0 ] [sub_resource type="Gradient" id=6] colors = PoolColorArray( 0.662745, 0, 0, 1, 0, 0, 0, 0 ) [sub_resource type="Curve" id=7] _data = [ Vector2( 0.00295858, 1 ), 0.0, 0.642983, 0, 0, Vector2( 1, 0.00679398 ), -3.98978, 0.0, 0, 0 ] [sub_resource type="Gradient" id=8] offsets = PoolRealArray( 0.0206897, 0.558621, 1 ) colors = PoolColorArray( 1, 0, 0, 0.792157, 1, 0, 0.207843, 0.670588, 0.414063, 0, 0.35907, 0 ) [node name="1Down" type="Area2D"] collision_layer = 0 script = ExtResource( 1 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] rect = Rect2( -64, -512, 128, 1024 ) [node name="Humming" type="AudioStreamPlayer2D" parent="."] stream = ExtResource( 2 ) volume_db = -15.0 [node name="PickupSFX" type="AudioStreamPlayer" parent="."] stream = ExtResource( 3 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/appear = SubResource( 1 ) anims/collect = SubResource( 2 ) anims/default = SubResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 4 ) [node name="CPUParticles2D2" type="CPUParticles2D" parent="."] position = Vector2( 0, 5 ) amount = 16 preprocess = 16.0 local_coords = false texture = ExtResource( 4 ) spread = 180.0 gravity = Vector2( 0, -200 ) initial_velocity = 50.0 damping = 100.0 scale_amount = 2.75 scale_amount_curve = SubResource( 5 ) color_ramp = SubResource( 6 ) [node name="CPUParticles2D3" type="CPUParticles2D" parent="."] position = Vector2( 0, 10 ) amount = 32 preprocess = 16.0 speed_scale = 3.0 texture = ExtResource( 4 ) spread = 180.0 gravity = Vector2( 0, -175 ) initial_velocity = 50.0 damping = 100.0 scale_amount = 1.25 scale_amount_curve = SubResource( 7 ) color_ramp = SubResource( 8 ) [node name="Sprite" type="Sprite" parent="."] editor/display_folded = true texture = ExtResource( 5 ) [node name="Sprite2" type="Sprite" parent="Sprite"] self_modulate = Color( 1, 0, 0, 1 ) position = Vector2( -3, -9.5 ) scale = Vector2( 1e-005, 1e-005 ) texture = ExtResource( 6 ) [node name="Sprite3" type="Sprite" parent="Sprite"] self_modulate = Color( 1, 0, 0, 1 ) position = Vector2( 3, -9.5 ) scale = Vector2( 1e-005, 1e-005 ) texture = ExtResource( 6 ) [node name="CPUParticles2D" type="CPUParticles2D" parent="."] position = Vector2( 0, 10 ) amount = 16 speed_scale = 3.0 local_coords = false texture = ExtResource( 4 ) spread = 180.0 gravity = Vector2( 0, -175 ) initial_velocity = 50.0 damping = 100.0 scale_amount = 1.25 scale_amount_curve = SubResource( 7 ) color_ramp = SubResource( 8 ) [connection signal="body_entered" from="." to="." method="_on_1Up_body_entered"] ================================================ FILE: src/Scenes/Objects/Bonus/1Up.tscn ================================================ [gd_scene load_steps=16 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Powerup.gd" type="Script" id=1] [ext_resource path="res://Audio/SoundEffects/Bonus/lifeup.wav" type="AudioStream" id=2] [ext_resource path="res://Sprites/Objects/1Up/1up.png" type="Texture" id=3] [ext_resource path="res://Sprites/Objects/1Up/glimmer.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/1Up/glow.png" type="Texture" id=5] [sub_resource type="Animation" id=1] resource_name = "appear" tracks/0/type = "value" tracks/0/path = NodePath("AmbientSparkles: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": [ false ] } tracks/1/type = "value" tracks/1/path = NodePath("CollectSparkles: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("CollectGlow: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": [ false ] } [sub_resource type="Animation" id=2] resource_name = "collect" length = 1.54 tracks/0/type = "audio" tracks/0/path = NodePath("PickupSFX") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "clips": [ { "end_offset": 0.0, "start_offset": 0.0, "stream": ExtResource( 2 ) } ], "times": PoolRealArray( 0 ) } 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( 1.54 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/2/type = "value" tracks/2/path = NodePath("Sprite: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, 0.3 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("AmbientSparkles: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": [ false ] } tracks/4/type = "value" tracks/4/path = NodePath("CollectSparkles: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 ] } tracks/5/type = "value" tracks/5/path = NodePath("CollectGlow:emitting") 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": [ true ] } [sub_resource type="Animation" id=3] resource_name = "default" tracks/0/type = "value" tracks/0/path = NodePath("Sprite:self_modulate") 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": 0, "values": [ Color( 1, 1, 1, 1 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("Sprite:position") 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": [ Vector2( 0, 0 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("AmbientSparkles: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("CollectSparkles: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": [ false ] } tracks/4/type = "value" tracks/4/path = NodePath("CollectGlow: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": [ false ] } [sub_resource type="RectangleShape2D" id=4] extents = Vector2( 17, 17 ) [sub_resource type="Curve" id=5] min_value = -360.0 max_value = 360.0 _data = [ Vector2( 0, -6.336 ), 0.0, -735.835, 0, 0, Vector2( 1, -360 ), -14.9567, 0.0, 0, 0 ] [sub_resource type="Curve" id=6] _data = [ Vector2( 0, 0 ), 0.0, 6.536, 0, 0, Vector2( 0.367136, 0.742 ), -1.44154, -1.44154, 0, 0, Vector2( 0.726228, 0 ), 0.761179, 0.0, 0, 0 ] [sub_resource type="Gradient" id=7] colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0.301961 ) [sub_resource type="Curve" id=8] min_value = -360.0 max_value = 360.0 _data = [ Vector2( 0, -6.336 ), 0.0, -735.835, 0, 0, Vector2( 1, -360 ), -14.9567, 0.0, 0, 0 ] [sub_resource type="Curve" id=9] _data = [ Vector2( 0, 0 ), 0.0, 5.51816, 0, 0, Vector2( 0.661592, 0.7266 ), -1.44154, -1.44154, 0, 0, Vector2( 1, 0.0314 ), 0.761179, 0.0, 0, 0 ] [sub_resource type="Gradient" id=10] offsets = PoolRealArray( 0, 0.587719, 1 ) colors = PoolColorArray( 1, 1, 1, 0.517647, 1, 1, 1, 0, 1, 1, 1, 0 ) [node name="1Up" type="KinematicBody2D"] collision_layer = 0 script = ExtResource( 1 ) gravity_when_appeared = true initial_speed = Vector2( 200, -500 ) coins = 100 appear_animation = "appear" pickup_animation = "collect" [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] rect = Rect2( -64, -512, 128, 1024 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/appear = SubResource( 1 ) anims/collect = SubResource( 2 ) anims/default = SubResource( 3 ) [node name="Sprite" type="Sprite" parent="."] texture = ExtResource( 3 ) [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 4 ) [node name="PickupSFX" type="AudioStreamPlayer" parent="."] stream = ExtResource( 2 ) bus = "SFX" [node name="AmbientSparkles" type="CPUParticles2D" parent="."] local_coords = false texture = ExtResource( 4 ) emission_shape = 2 emission_rect_extents = Vector2( 16, 16 ) spread = 0.0 gravity = Vector2( 0, 0 ) initial_velocity = 0.0 angle_curve = SubResource( 5 ) scale_amount = 0.5 scale_amount_curve = SubResource( 6 ) color_ramp = SubResource( 7 ) [node name="CollectSparkles" type="CPUParticles2D" parent="."] emitting = false lifetime = 1.5 one_shot = true speed_scale = 2.0 explosiveness = 1.0 local_coords = false texture = ExtResource( 4 ) spread = 180.0 gravity = Vector2( 0, 0 ) initial_velocity = 80.0 damping = 50.0 angle_curve = SubResource( 8 ) scale_amount_curve = SubResource( 9 ) color_ramp = SubResource( 7 ) [node name="CollectGlow" type="CPUParticles2D" parent="."] emitting = false amount = 4 one_shot = true explosiveness = 1.0 local_coords = false texture = ExtResource( 5 ) spread = 180.0 gravity = Vector2( 0, 0 ) initial_velocity = 40.0 scale_amount = 3.0 scale_amount_curve = SubResource( 6 ) color_ramp = SubResource( 10 ) ================================================ FILE: src/Scenes/Objects/Bonus/BlockContainer.gd ================================================ extends KinematicBody2D var hit = false var hitdirection = 0 var stored = "" # Whatever is inside the bonus block var childstored = null var hitdirectionstored = 0 var hitdownstored = false var player = null var hitbyplayer = false # To be overridden by sub-classes func on_empty_hit(): pass func _ready(): if get_tree().current_scene.editmode == false: for child in get_tree().current_scene.get_node("Level").get_children(): if child.position == position and child.get_name() != self.get_name() and not child.is_in_group("layers") and not child.is_in_group("expandable") and not child.is_in_group("stackable"): stored = child.filename childstored = load(str(stored)).instance() childstored.position = position child.queue_free() func _on_Area2D_body_entered(body): if body.is_in_group("player"): player = body hitbyplayer = true if body.position.y > position.y: if body.position.x > self.position.x: hit(-1,false) else: hit(1,false) elif body.buttjump == true or body.get_node("ButtjumpLandTimer").time_left > 0: if body.position.x > self.position.x: hit(-1,true) else: hit(1,true) # Hit the block func hit(hitdirection, hitdown): if hit == true: return hitdirectionstored = hitdirection hitdownstored = hitdown hit = true # Spawn contents if stored != "": if childstored.get("player"): childstored.player = player $AnimatedSprite.play("empty") if hitdown == true: $AnimationPlayer.play("hitdown") else: $AnimationPlayer.play("hit") if childstored.get("collect_on_appear") == true: if childstored.collect_on_appear == false: $Upgrade.play() if hitdown == true: childstored.position.y += 32 else: childstored.position.y -= 32 else: $Brick.play() else: $Upgrade.play() if hitdown == true: childstored.position.y += 32 else: childstored.position.y -= 32 get_tree().current_scene.get_node("Level").add_child(childstored) if childstored.has_method("appear"): childstored.appear(hitdirection,hitdown) else: $Brick.play() on_empty_hit() # Kill enemies on top of block func _on_TopHitbox_area_entered(area): if area.get_parent().is_in_group("badguys"): area.get_parent().kill() if area.get("collect_on_appear"): if area.get_parent().collect_on_appear: area.get_parent().appear(0,false) func _on_TopHitbox_body_entered(body): if body.is_in_group("bonusblock") and body.name != name: body.hit(hitdirectionstored,hitdownstored) ================================================ FILE: src/Scenes/Objects/Bonus/BonusBlock.gd ================================================ extends "BlockContainer.gd" func on_empty_hit(): $AnimatedSprite.play("empty") if hitdownstored == true: $AnimationPlayer.play("hitdown") else: $AnimationPlayer.play("hit") ================================================ FILE: src/Scenes/Objects/Bonus/BonusBlock.tscn ================================================ [gd_scene load_steps=18 format=2] [ext_resource path="res://Scenes/Objects/Bonus/BonusBlock.gd" type="Script" id=1] [ext_resource path="res://Audio/SoundEffects/Bonus/brick.wav" type="AudioStream" id=2] [ext_resource path="res://Audio/SoundEffects/Bonus/upgrade.wav" type="AudioStream" id=3] [ext_resource path="res://Sprites/Objects/BonusBlock/empty.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/BonusBlock/block.png" type="Texture" id=5] [ext_resource path="res://Sprites/Objects/BonusBlock/block-0.png" type="Texture" id=6] [ext_resource path="res://Sprites/Objects/BonusBlock/block-1.png" type="Texture" id=7] [ext_resource path="res://Sprites/Objects/BonusBlock/block-2.png" type="Texture" id=8] [ext_resource path="res://Sprites/Objects/BonusBlock/block-3.png" type="Texture" id=9] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 0, 0 ) [sub_resource type="Animation" id=2] tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") 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": 0, "values": [ Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite:scale") 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": [ Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") 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": [ SubResource( 1 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") 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("Area2D/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 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ false ] } [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 8, 10 ) [sub_resource type="Animation" id=4] tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ Vector2( 0, -15 ), Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite: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( 0.5, 1 ), "update": 0, "values": [ Vector2( 1.25, 1.25 ), Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") 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": [ SubResource( 3 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } tracks/4/type = "value" tracks/4/path = NodePath("Area2D/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 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } tracks/5/type = "value" tracks/5/path = NodePath("TopHitbox/CollisionShape2D: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, -26 ) ] } [sub_resource type="Animation" id=5] resource_name = "hitdown" tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ Vector2( 0, 15 ), Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite: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( 0.5, 1 ), "update": 0, "values": [ Vector2( 1.25, 1.25 ), Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") 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": [ SubResource( 3 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } tracks/4/type = "value" tracks/4/path = NodePath("Area2D/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 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } tracks/5/type = "value" tracks/5/path = NodePath("TopHitbox/CollisionShape2D: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, 26 ) ] } [sub_resource type="SpriteFrames" id=6] animations = [ { "frames": [ ExtResource( 4 ) ], "loop": true, "name": "empty", "speed": 5.0 }, { "frames": [ ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 8 ), ExtResource( 7 ), ExtResource( 6 ) ], "loop": true, "name": "default", "speed": 15.0 } ] [sub_resource type="RectangleShape2D" id=7] extents = Vector2( 16, 16 ) [sub_resource type="RectangleShape2D" id=8] extents = Vector2( 12, 17 ) [node name="BonusBlock" type="KinematicBody2D" groups=[ "bonusblock", "stackable", ]] z_index = -1 collision_layer = 31 collision_mask = 31 script = ExtResource( 1 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] rect = Rect2( -32, -32, 64, 64 ) [node name="Brick" type="AudioStreamPlayer" parent="."] stream = ExtResource( 2 ) [node name="Upgrade" type="AudioStreamPlayer" parent="."] stream = ExtResource( 3 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/default = SubResource( 2 ) anims/hit = SubResource( 4 ) anims/hitdown = SubResource( 5 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 6 ) frame = 4 playing = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 7 ) [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 8 ) [node name="TopHitbox" type="Area2D" parent="."] collision_layer = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="TopHitbox"] position = Vector2( 0, 26 ) shape = SubResource( 1 ) disabled = true [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] [connection signal="area_entered" from="TopHitbox" to="." method="_on_TopHitbox_area_entered"] [connection signal="body_entered" from="TopHitbox" to="." method="_on_TopHitbox_body_entered"] ================================================ FILE: src/Scenes/Objects/Bonus/Brick.gd ================================================ extends "BlockContainer.gd" func on_empty_hit(): if hitbyplayer == true: if player.state == "small": $AnimationPlayer.stop() if hitdownstored == true: $AnimationPlayer.play("hitdown_small") else: $AnimationPlayer.play("hit_small") hit = false else: $AnimationPlayer.stop() if hitdownstored == true: $AnimationPlayer.play("breakdown") else: $AnimationPlayer.play("break") else: $AnimationPlayer.stop() if hitdownstored == true: $AnimationPlayer.play("breakdown") else: $AnimationPlayer.play("break") # Break on buttjump func _on_Area2D_area_entered(area): if area.get_parent().is_in_group("player"): if area.get_parent().buttjump == true and stored == "": # Prevent brick from breaking if Tux is outside its hitbox if area.get_parent().position.x > position.x - 31 and area.get_parent().position.x < position.x + 31: area.get_parent().velocity.y *= 0.9 # We need a special break animation for buttjumps # so the brick doesn't look like it breaks # before the player reaches it. $AnimationPlayer.play("buttjumpbreak") ================================================ FILE: src/Scenes/Objects/Bonus/Brick.tscn ================================================ [gd_scene load_steps=22 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Brick.gd" type="Script" id=1] [ext_resource path="res://Audio/SoundEffects/Bonus/brick.wav" type="AudioStream" id=2] [ext_resource path="res://Audio/SoundEffects/Bonus/upgrade.wav" type="AudioStream" id=3] [ext_resource path="res://Sprites/Objects/BonusBlock/empty.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/Brick/brick.png" type="Texture" id=5] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 0, 0 ) [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 8, 10 ) [sub_resource type="Animation" id=3] resource_name = "break" tracks/0/type = "value" tracks/0/path = NodePath("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 = "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( 1 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/2/type = "value" tracks/2/path = NodePath("CollisionShape2D:shape") 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": [ SubResource( 1 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("CollisionShape2D:disabled") 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("TopHitbox/CollisionShape2D:shape") 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": [ SubResource( 2 ) ] } tracks/5/type = "value" tracks/5/path = NodePath("TopHitbox/CollisionShape2D:disabled") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/imported = false tracks/5/enabled = true tracks/5/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } tracks/6/type = "value" tracks/6/path = NodePath("TopHitbox/CollisionShape2D:position") 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": 0, "values": [ Vector2( 0, -26 ) ] } tracks/7/type = "value" tracks/7/path = NodePath("Area2D/CollisionShape2D:disabled") 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 ] } [sub_resource type="Animation" id=4] resource_name = "breakdown" tracks/0/type = "value" tracks/0/path = NodePath("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 = "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( 1 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/2/type = "value" tracks/2/path = NodePath("CollisionShape2D:shape") 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": [ SubResource( 1 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("CollisionShape2D:disabled") 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("Area2D/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 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } [sub_resource type="Animation" id=5] resource_name = "buttjumpbreak" length = 2.0 tracks/0/type = "value" tracks/0/path = NodePath("CollisionShape2D:shape") 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": [ SubResource( 1 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("CollisionShape2D:disabled") 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("Area2D/CollisionShape2D:disabled") 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("Brick:playing") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0.03 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } tracks/4/type = "value" tracks/4/path = NodePath("AnimationPlayer:current_animation") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/imported = false tracks/4/enabled = true tracks/4/keys = { "times": PoolRealArray( 0.03 ), "transitions": PoolRealArray( 1 ), "update": 2, "values": [ "breakdown" ] } [sub_resource type="RectangleShape2D" id=6] extents = Vector2( 0, 0 ) [sub_resource type="RectangleShape2D" id=7] extents = Vector2( 16, 16 ) [sub_resource type="RectangleShape2D" id=8] extents = Vector2( 12, 17 ) [sub_resource type="Animation" id=9] tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") 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": 0, "values": [ Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite:scale") 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": [ Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") 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": [ SubResource( 6 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") 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("Area2D/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 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ false ] } tracks/5/type = "value" tracks/5/path = NodePath("AnimatedSprite: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": [ true ] } tracks/6/type = "value" tracks/6/path = NodePath("CollisionShape2D:shape") 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": [ SubResource( 7 ) ] } tracks/7/type = "value" tracks/7/path = NodePath("CollisionShape2D:disabled") 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("Area2D/CollisionShape2D:shape") 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": [ SubResource( 8 ) ] } [sub_resource type="Animation" id=10] tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ Vector2( 0, -15 ), Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite: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( 0.5, 1 ), "update": 0, "values": [ Vector2( 1.25, 1.25 ), Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") 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": [ SubResource( 2 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } tracks/4/type = "value" tracks/4/path = NodePath("Area2D/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 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } tracks/5/type = "value" tracks/5/path = NodePath("TopHitbox/CollisionShape2D: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, -26 ) ] } [sub_resource type="RectangleShape2D" id=11] extents = Vector2( 0, 0 ) [sub_resource type="Animation" id=12] resource_name = "hit_small" tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ Vector2( 0, -15 ), Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite: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( 0.5, 1 ), "update": 0, "values": [ Vector2( 1.25, 1.25 ), Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ SubResource( 2 ), SubResource( 11 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } tracks/4/type = "value" tracks/4/path = NodePath("TopHitbox/CollisionShape2D: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, -26 ) ] } [sub_resource type="Animation" id=13] tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ Vector2( 0, 15 ), Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite: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( 0.5, 1 ), "update": 0, "values": [ Vector2( 1.25, 1.25 ), Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") 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": [ SubResource( 2 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } tracks/4/type = "value" tracks/4/path = NodePath("Area2D/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 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } tracks/5/type = "value" tracks/5/path = NodePath("TopHitbox/CollisionShape2D: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, 26 ) ] } [sub_resource type="RectangleShape2D" id=14] extents = Vector2( 0, 0 ) [sub_resource type="Animation" id=15] tracks/0/type = "value" tracks/0/path = NodePath("AnimatedSprite:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ Vector2( 0, 15 ), Vector2( 0, 0 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("AnimatedSprite: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( 0.5, 1 ), "update": 0, "values": [ Vector2( 1.25, 1.25 ), Vector2( 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("TopHitbox/CollisionShape2D:shape") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ SubResource( 2 ), SubResource( 14 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("TopHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } tracks/4/type = "value" tracks/4/path = NodePath("TopHitbox/CollisionShape2D: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, 26 ) ] } [sub_resource type="SpriteFrames" id=16] animations = [ { "frames": [ ExtResource( 4 ) ], "loop": true, "name": "empty", "speed": 5.0 }, { "frames": [ ExtResource( 5 ) ], "loop": true, "name": "default", "speed": 15.0 } ] [node name="Brick" type="KinematicBody2D" groups=[ "stackable", "brick", ]] z_index = -1 collision_layer = 31 collision_mask = 31 script = ExtResource( 1 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] rect = Rect2( -32, -32, 64, 64 ) [node name="Brick" type="AudioStreamPlayer" parent="."] stream = ExtResource( 2 ) [node name="Upgrade" type="AudioStreamPlayer" parent="."] stream = ExtResource( 3 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/break = SubResource( 3 ) anims/breakdown = SubResource( 4 ) anims/buttjumpbreak = SubResource( 5 ) anims/default = SubResource( 9 ) anims/hit = SubResource( 10 ) anims/hit_small = SubResource( 12 ) anims/hitdown = SubResource( 13 ) anims/hitdown_small = SubResource( 15 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 16 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 7 ) [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 8 ) [node name="TopHitbox" type="Area2D" parent="."] collision_layer = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="TopHitbox"] position = Vector2( 0, -26 ) shape = SubResource( 6 ) disabled = true [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="TopHitbox" to="." method="_on_TopHitbox_area_entered"] [connection signal="body_entered" from="TopHitbox" to="." method="_on_TopHitbox_body_entered"] ================================================ FILE: src/Scenes/Objects/Bonus/Coin.tscn ================================================ [gd_scene load_steps=27 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Powerup.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Coin/coin-0.png" type="Texture" id=2] [ext_resource path="res://Sprites/Objects/Coin/coin-1.png" type="Texture" id=3] [ext_resource path="res://Sprites/Objects/Coin/coin-2.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/Coin/coin-3.png" type="Texture" id=5] [ext_resource path="res://Sprites/Objects/Coin/coin-4.png" type="Texture" id=6] [ext_resource path="res://Sprites/Objects/Coin/coin-5.png" type="Texture" id=7] [ext_resource path="res://Sprites/Objects/Coin/coin-6.png" type="Texture" id=8] [ext_resource path="res://Sprites/Objects/Coin/coin-7.png" type="Texture" id=9] [ext_resource path="res://Sprites/Objects/Coin/coin-8.png" type="Texture" id=10] [ext_resource path="res://Sprites/Objects/Coin/coin-9.png" type="Texture" id=11] [ext_resource path="res://Sprites/Objects/Coin/coin-10.png" type="Texture" id=12] [ext_resource path="res://Sprites/Objects/Coin/coin-11.png" type="Texture" id=13] [ext_resource path="res://Sprites/Objects/Coin/coin-12.png" type="Texture" id=14] [ext_resource path="res://Sprites/Objects/Coin/coin-13.png" type="Texture" id=15] [ext_resource path="res://Sprites/Objects/Coin/coin-14.png" type="Texture" id=16] [ext_resource path="res://Sprites/Objects/Coin/coin-15.png" type="Texture" id=17] [ext_resource path="res://Audio/SoundEffects/Bonus/coin.wav" type="AudioStream" id=18] [ext_resource path="res://Sprites/Objects/Coin/glow.png" type="Texture" id=19] [ext_resource path="res://Sprites/Objects/Coin/glimmer.png" type="Texture" id=20] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ) ], "loop": true, "name": "default", "speed": 15.0 } ] [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 17, 17 ) [sub_resource type="Gradient" id=3] offsets = PoolRealArray( 0, 0.160494, 1 ) colors = PoolColorArray( 1, 1, 1, 0, 1, 1, 1, 0.196078, 1, 1, 0, 0 ) [sub_resource type="Curve" id=4] _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.0127 ), 0.0, 0.0, 0, 0 ] [sub_resource type="Gradient" id=5] offsets = PoolRealArray( 0, 0.27193, 0.54386, 1 ) colors = PoolColorArray( 1, 1, 1, 0.898039, 1, 1, 1, 0.803922, 1, 1, 0.588235, 0.709804, 1, 1, 0, 0 ) [sub_resource type="Animation" id=6] tracks/0/type = "audio" tracks/0/path = NodePath("PickupSFX") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "clips": [ { "end_offset": 0.0, "start_offset": 0.0, "stream": ExtResource( 18 ) } ], "times": PoolRealArray( 0 ) } 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( 0.6 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/2/type = "value" tracks/2/path = NodePath("AnimatedSprite: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.6 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Vector2( 0, 0 ), Vector2( 0, -110 ) ] } tracks/3/type = "value" tracks/3/path = NodePath("AnimatedSprite:self_modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.6 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } tracks/4/type = "value" tracks/4/path = NodePath("CollectSparkles: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( 0 ), "update": 1, "values": [ true ] } tracks/5/type = "value" tracks/5/path = NodePath("CollectGlow:emitting") 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( 0 ), "update": 1, "values": [ true ] } [node name="Coin" type="KinematicBody2D"] script = ExtResource( 1 ) coins = 1 collect_on_appear = true pickup_animation = "Pickup" [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 1 ) frame = 1 playing = true [node name="PickupSFX" type="AudioStreamPlayer" parent="."] stream = ExtResource( 18 ) bus = "SFX" [node name="Area2D" type="Area2D" parent="."] position = Vector2( 0.440125, -3.96114 ) collision_layer = 0 [node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"] position = Vector2( -0.440125, 3.96114 ) shape = SubResource( 2 ) [node name="CollectGlow" type="CPUParticles2D" parent="."] position = Vector2( 0.440125, -3.96114 ) emitting = false one_shot = true speed_scale = 3.0 explosiveness = 0.75 texture = ExtResource( 19 ) spread = 180.0 flatness = 1.0 gravity = Vector2( 0, 0 ) initial_velocity = 50.0 damping = 100.0 scale_amount = 3.0 color_ramp = SubResource( 3 ) [node name="CollectSparkles" type="CPUParticles2D" parent="."] position = Vector2( 0.440125, -3.96114 ) emitting = false amount = 5 one_shot = true speed_scale = 2.5 explosiveness = 0.75 texture = ExtResource( 20 ) spread = 180.0 gravity = Vector2( 0, 0 ) initial_velocity = 45.0 damping = 20.0 angle = 180.0 angle_random = 1.0 scale_amount = 0.9 scale_amount_curve = SubResource( 4 ) color_ramp = SubResource( 5 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] anims/Pickup = SubResource( 6 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] position = Vector2( -0.174824, -0.0874083 ) scale = Vector2( 1.6993, 1.69056 ) rect = Rect2( -16, -16, 32, 32 ) ================================================ FILE: src/Scenes/Objects/Bonus/Egg.tscn ================================================ [gd_scene load_steps=10 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Powerup.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Egg/egg-merged.png" type="Texture" id=2] [ext_resource path="res://Audio/SoundEffects/Bonus/grow.ogg" type="AudioStream" id=3] [sub_resource type="Animation" id=1] resource_name = "appear" [sub_resource type="Animation" id=2] resource_name = "collect" length = 1.5 tracks/0/type = "value" tracks/0/path = NodePath("PickupSFX:playing") 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: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": [ false ] } tracks/2/type = "method" tracks/2/path = NodePath(".") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 1.3 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } [sub_resource type="Animation" id=3] resource_name = "default" length = 0.8 loop = true 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: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, 0.4, 0.6, 0.8 ), "transitions": PoolRealArray( 0.5, 2, 0.5, 2, 0.5 ), "update": 0, "values": [ Vector2( 1, 1 ), Vector2( 0.9, 1.1 ), Vector2( 1, 1 ), Vector2( 1.1, 0.9 ), Vector2( 1, 1 ) ] } [sub_resource type="SpriteFrames" id=4] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="RectangleShape2D" id=5] extents = Vector2( 15, 16 ) [sub_resource type="RectangleShape2D" id=6] extents = Vector2( 15, 15 ) [node name="Egg" type="KinematicBody2D"] collision_layer = 4 collision_mask = 0 script = ExtResource( 1 ) physics = true gravity_when_static = true gravity_when_appeared = true move_speed = 100 powerup_state = "big" ignore_small = true appear_animation = "appear" pickup_animation = "collect" [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/appear = SubResource( 1 ) anims/collect = SubResource( 2 ) anims/default = SubResource( 3 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] rect = Rect2( -64, -512, 128, 1024 ) process_parent = true physics_process_parent = 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, 16 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] frames = SubResource( 4 ) [node name="PickupSFX" type="AudioStreamPlayer" parent="."] stream = ExtResource( 3 ) [node name="Area2D" type="Area2D" parent="."] collision_layer = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 5 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, 1 ) shape = SubResource( 6 ) ================================================ FILE: src/Scenes/Objects/Bonus/FireFlower.tscn ================================================ [gd_scene load_steps=13 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Powerup.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/FireFlower/fire_flower-0.png" type="Texture" id=2] [ext_resource path="res://Sprites/Objects/FireFlower/fire_flower-1.png" type="Texture" id=3] [ext_resource path="res://Sprites/Objects/FireFlower/fire_flower-2.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/FireFlower/fire_flower-3.png" type="Texture" id=5] [ext_resource path="res://Audio/SoundEffects/Bonus/fire-flower.wav" type="AudioStream" id=6] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 4 ), ExtResource( 3 ) ], "loop": true, "name": "default", "speed": 20.0 } ] [sub_resource type="Animation" id=2] [sub_resource type="Animation" id=3] 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("PickupSFX:playing") 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 = "method" tracks/2/path = NodePath(".") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0.9 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } [sub_resource type="Animation" id=4] 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 ] } [sub_resource type="RectangleShape2D" id=5] extents = Vector2( 15, 16 ) [sub_resource type="RectangleShape2D" id=6] extents = Vector2( 15, 16 ) [node name="FireFlower" type="KinematicBody2D"] collision_layer = 4 collision_mask = 0 script = ExtResource( 1 ) physics = true gravity_when_static = true gravity_when_appeared = true powerup_state = "fire" appear_animation = "appear" pickup_animation = "collect" [node name="Control" type="Control" parent="."] editor/display_folded = true anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] frames = SubResource( 1 ) frame = 1 playing = true [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/appear = SubResource( 2 ) anims/collect = SubResource( 3 ) anims/default = SubResource( 4 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] rect = Rect2( -64, -512, 128, 1024 ) process_parent = true physics_process_parent = true [node name="PickupSFX" type="AudioStreamPlayer" parent="."] stream = ExtResource( 6 ) [node name="Area2D" type="Area2D" parent="."] collision_layer = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 5 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 6 ) [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] ================================================ FILE: src/Scenes/Objects/Bonus/Powerup.gd ================================================ extends KinematicBody2D export var physics = false export var gravity_when_static = false export var gravity_when_appeared = false export var move_speed = 0 export var bounce_height = 0 export var initial_speed = Vector2(0,0) export var coins = 0 export var powerup_state = "" export var ignore_small = false export var collect_on_appear = false export var appear_animation = "" export var pickup_animation = "" export var bounce_animation = "" var collected = false var direction = 1 var velocity = Vector2() var appeared = false var player = null var gravity = false func _physics_process(delta): gravity = false if appeared == true and gravity_when_appeared == true: gravity = true if appeared == false and gravity_when_static == true: gravity = true if get_tree().current_scene.editmode == false and collected == false: if physics: if move_speed != 0: velocity.x = move_speed * direction if not is_on_floor(): velocity.y += 20 if is_on_ceiling(): velocity.y = 0 move_and_slide(velocity,Vector2(0,-1)) if is_on_wall(): direction *= -1 if is_on_floor(): if bounce_height != 0: velocity.y = bounce_height if bounce_animation != "": $AnimationPlayer.stop() $AnimationPlayer.play(bounce_animation) else: if move_speed != 0: velocity.x = move_speed * direction if gravity: velocity.y += 20 position += velocity * delta collect_check() func collect_check(): if collected == true: return for body in $Area2D.get_overlapping_bodies(): if body.is_in_group("player"): player = body collected = true if collected == true: if player.state == "small" or ignore_small == false: if powerup_state == "star": player.star_invincibility() else: player.state = powerup_state if pickup_animation != "": $AnimationPlayer.stop() $AnimationPlayer.play(pickup_animation) if coins > 0: var counter = get_tree().get_nodes_in_group("CoinCounter")[0] counter.coins += coins func appear(dir, hitdown): appeared = true direction = dir velocity = initial_speed velocity.x *= dir if collect_on_appear: collect_check() if appear_animation != "": $AnimationPlayer.stop() $AnimationPlayer.play(appear_animation) ================================================ FILE: src/Scenes/Objects/Bonus/Star.tscn ================================================ [gd_scene load_steps=20 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Powerup.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Star/star-0.png" type="Texture" id=2] [ext_resource path="res://Sprites/Objects/Star/star-1.png" type="Texture" id=3] [ext_resource path="res://Sprites/Objects/Star/star-2.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/Star/star-3.png" type="Texture" id=5] [ext_resource path="res://Sprites/Objects/Star/star-4.png" type="Texture" id=6] [ext_resource path="res://Sprites/Objects/1Up/glow.png" type="Texture" id=7] [ext_resource path="res://Sprites/Objects/1Up/glimmer.png" type="Texture" id=8] [ext_resource path="res://Audio/SoundEffects/Bonus/invincible_start.ogg" type="AudioStream" id=9] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 3 ), ExtResource( 2 ), ExtResource( 2 ) ], "loop": true, "name": "default", "speed": 20.0 } ] [sub_resource type="Animation" id=2] 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.1, 0.4, 0.6 ), "transitions": PoolRealArray( 0.5, 2, 0.5, 1 ), "update": 0, "values": [ Vector2( 1, 1 ), Vector2( 0.6, 1.4 ), Vector2( 1.3, 0.7 ), Vector2( 1, 1 ) ] } [sub_resource type="Animation" id=3] 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("Sparkle: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("Glow: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_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 ) ] } [sub_resource type="Animation" id=4] length = 4.0 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 = "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( 3.2 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/2/type = "value" tracks/2/path = NodePath("PickupSFX: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": [ true ] } tracks/3/type = "value" tracks/3/path = NodePath("Glow: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": [ false ] } tracks/4/type = "value" tracks/4/path = NodePath("Sparkle: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": [ false ] } [sub_resource type="Gradient" id=5] offsets = PoolRealArray( 0, 0.510345, 1 ) colors = PoolColorArray( 1, 1, 1, 0.32549, 1, 1, 1, 0.14902, 0, 0.859375, 1, 0 ) [sub_resource type="Curve" id=6] min_value = -360.0 max_value = 360.0 _data = [ Vector2( 0, 0 ), 0.0, -745.939, 0, 0, Vector2( 1, -360 ), 4.80714, 0.0, 0, 0 ] [sub_resource type="Curve" id=7] _data = [ Vector2( 0.00295858, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.245562, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ] [sub_resource type="Gradient" id=8] offsets = PoolRealArray( 0, 0.475862, 1 ) colors = PoolColorArray( 1, 1, 1, 1, 0.835938, 1, 0.996155, 0.784314, 0, 0.765625, 1, 0 ) [sub_resource type="RectangleShape2D" id=9] extents = Vector2( 15, 16 ) [sub_resource type="RectangleShape2D" id=10] extents = Vector2( 15, 15 ) [node name="Star" type="KinematicBody2D"] collision_layer = 4 collision_mask = 0 script = ExtResource( 1 ) physics = true gravity_when_static = true gravity_when_appeared = true move_speed = 200 bounce_height = -500 initial_speed = Vector2( 200, -500 ) powerup_state = "star" pickup_animation = "pickup" bounce_animation = "bounce" [node name="Control" type="Control" parent="."] editor/display_folded = true anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] frames = SubResource( 1 ) frame = 8 playing = true [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "default" anims/bounce = SubResource( 2 ) anims/default = SubResource( 3 ) anims/pickup = SubResource( 4 ) [node name="Glow" type="CPUParticles2D" parent="."] amount = 4 speed_scale = 5.0 local_coords = false texture = ExtResource( 7 ) spread = 180.0 gravity = Vector2( 0, 0 ) initial_velocity = 10.0 scale_amount = 3.0 color_ramp = SubResource( 5 ) [node name="Sparkle" type="CPUParticles2D" parent="."] amount = 6 lifetime = 0.5 local_coords = false texture = ExtResource( 8 ) emission_shape = 2 emission_rect_extents = Vector2( 16, 16 ) gravity = Vector2( 0, 0 ) angle_curve = SubResource( 6 ) scale_amount = 0.75 scale_amount_curve = SubResource( 7 ) color_ramp = SubResource( 8 ) [node name="VisibilityEnabler2D" type="VisibilityEnabler2D" parent="."] rect = Rect2( -64, -512, 128, 1024 ) process_parent = true physics_process_parent = true [node name="PickupSFX" type="AudioStreamPlayer" parent="."] stream = ExtResource( 9 ) bus = "SFX" [node name="Area2D" type="Area2D" parent="."] collision_layer = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 9 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, 1 ) shape = SubResource( 10 ) [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] ================================================ FILE: src/Scenes/Objects/Bonus/Trampoline.gd ================================================ extends KinematicBody2D const BOUNCE_LOW = 530 const BOUNCE_HIGH = 1000 const FLOOR = Vector2(0, -1) var velocity = Vector2() var wallcling = "" var on_ground = true var state = "active" var cling_to_walls = false var portable = false func _ready(): collision_mask = 31 collision_layer = 1 func _physics_process(delta): if $Control/AnimatedSprite.scale.x == 1: $Control/AnimatedSprite.flip_h = false else: $Control/AnimatedSprite.flip_h = true if velocity == Vector2(0,0) and cling_to_walls == true: align() if get_tree().current_scene.editmode == true: return if wallcling == "" and state == "active": if portable == true: velocity.y += 20 else: velocity.y += 20 * 2 velocity = move_and_slide(velocity, FLOOR) if is_on_floor(): if get_tree().current_scene.editmode == true: return if state != "active": return if on_ground == false: $Thud.play() $Control/AnimatedSprite.frame = 0 $Control/AnimatedSprite.play("land") on_ground = true velocity.x *= 0.9 else: on_ground = false if portable == true and state == "active" and $SolidTimer.time_left == 0: var bodies = $GrabRadius.get_overlapping_bodies() for body in bodies: if body.is_in_group("player"): if Input.is_action_pressed("action") and body.holding_object == false and body.sliding == false: body.holding_object = true body.object_held = name state = "grabbed" collision_mask = 0 collision_layer = 0 func _on_Area2D_body_entered(body): if get_tree().current_scene.editmode == true: return if state != "active": return if body.is_in_group("player"): if (body.position.y - 20 < position.y and wallcling == "") or wallcling != "": $Control/AnimatedSprite.frame = 0 $Control/AnimatedSprite.play("bounce") if body.velocity.y >= 0 or wallcling != "": $Trampoline.play() if wallcling == "": if body.get_node("ButtjumpLandTimer").time_left > 0: body.bounce(BOUNCE_HIGH, BOUNCE_HIGH, false) else: body.bounce(BOUNCE_LOW, BOUNCE_HIGH, false) elif wallcling == "top": body.velocity.y = BOUNCE_LOW else: body.backflip = false if wallcling == "left": body.velocity.x = BOUNCE_LOW body.get_node("Control/AnimatedSprite").scale.x = 1 elif wallcling == "right": body.velocity.x = -BOUNCE_LOW body.get_node("Control/AnimatedSprite").scale.x = -1 else: $Control/AnimatedSprite.play("default") $Thud.play() velocity.y = -600 if body.position.x > position.x: velocity.x = -175 else: velocity.x = 175 if body.is_in_group("badguys"): if (body.position.y - 20 < position.y and wallcling == "") or wallcling != "": $Trampoline.play() $Control/AnimatedSprite.frame = 0 $Control/AnimatedSprite.play("bounce") if wallcling == "": body.velocity.y = -BOUNCE_LOW elif wallcling == "top": body.velocity.y = BOUNCE_LOW elif wallcling == "left": body.velocity.x = BOUNCE_LOW elif wallcling == "right": body.velocity.x = -BOUNCE_LOW else: body.buttjump_kill() $Control/AnimatedSprite.play("default") if body.is_in_group("trampoline"): if body.portable == true and body.name != name: if (body.position.y - 20 < position.y and wallcling == "") or wallcling != "": $Trampoline.play() $Control/AnimatedSprite.frame = 0 $Control/AnimatedSprite.play("bounce") if wallcling == "": body.velocity.y = -BOUNCE_LOW elif wallcling == "top": body.velocity.y = BOUNCE_LOW elif wallcling == "left": body.velocity.x = BOUNCE_LOW elif wallcling == "right": body.velocity.x = -BOUNCE_LOW func align(): $Control.rect_rotation = 0 $CollisionShape2D.position = Vector2(0, 2) $CollisionShape2D.shape.extents = Vector2(15.5,14) $Area2D/CollisionShape2D.position = Vector2(0, -2) $CollisionShape2D.rotation_degrees = 0 $Area2D/CollisionShape2D.rotation_degrees = 0 wallcling = "" if $LeftWallDetector.is_colliding() and not $RightWallDetector.is_colliding(): wallcling = "left" $Control.rect_pivot_offset.y = -1 $Control.rect_rotation = 90 $CollisionShape2D.position.y = 0 $CollisionShape2D.position.x = -16 $Area2D/CollisionShape2D.position.y = 0 $CollisionShape2D.rotation_degrees = $Control.rect_rotation $Area2D/CollisionShape2D.rotation_degrees = $Control.rect_rotation elif $RightWallDetector.is_colliding() and not $LeftWallDetector.is_colliding(): wallcling = "right" $Control.rect_pivot_offset.y = -1 $Control.rect_rotation = -90 $CollisionShape2D.position.y = 0 $CollisionShape2D.position.x = 16 $Area2D/CollisionShape2D.position.y = 0 $CollisionShape2D.rotation_degrees = $Control.rect_rotation $Area2D/CollisionShape2D.rotation_degrees = $Control.rect_rotation elif $CeilingDetector.is_colliding(): wallcling = "top" $Control.rect_pivot_offset.y = 0 $Control.rect_rotation = 180 $CollisionShape2D.position.y = -16 $Area2D/CollisionShape2D.position.y = -8 $CollisionShape2D.rotation_degrees = 0 $Area2D/CollisionShape2D.rotation_degrees = 0 # When thrown by player func throw(): state = "active" velocity.y = -250 if Input.is_action_pressed("duck"): velocity = Vector2(0,0) collision_mask = 31 collision_layer = 1 else: $SolidTimer.start(0.25) func _on_SolidTimer_timeout(): if state == "active": collision_mask = 31 collision_layer = 1 ================================================ FILE: src/Scenes/Objects/Bonus/Trampoline_Portable.gd ================================================ extends "Trampoline.gd" func _ready(): portable = true ================================================ FILE: src/Scenes/Objects/Bonus/Trampoline_Portable.tscn ================================================ [gd_scene load_steps=15 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Trampoline_Portable.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_portable-1.png" type="Texture" id=2] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_portable-2.png" type="Texture" id=3] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_portable-3.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_portable-4.png" type="Texture" id=5] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_portable-5.png" type="Texture" id=6] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_portable-6.png" type="Texture" id=7] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_portable-0.png" type="Texture" id=8] [ext_resource path="res://Audio/SoundEffects/Objects/trampoline.wav" type="AudioStream" id=9] [ext_resource path="res://Audio/SoundEffects/Player/thud.ogg" type="AudioStream" id=10] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ) ], "loop": false, "name": "bounce", "speed": 25.0 }, { "frames": [ ExtResource( 8 ) ], "loop": true, "name": "default", "speed": 5.0 }, { "frames": [ ExtResource( 2 ), ExtResource( 7 ), ExtResource( 8 ) ], "loop": false, "name": "land", "speed": 25.0 } ] [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 32, 8 ) [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 15.5, 14 ) [sub_resource type="RectangleShape2D" id=4] extents = Vector2( 15.5, 22 ) [node name="KinematicBody2D" type="KinematicBody2D" groups=[ "trampoline", ]] collision_mask = 31 script = ExtResource( 1 ) [node name="Control" type="Control" parent="."] rect_pivot_offset = Vector2( 0, -2 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] frames = SubResource( 1 ) offset = Vector2( 0, -14 ) [node name="SolidTimer" type="Timer" parent="."] one_shot = true [node name="GrabRadius" type="Area2D" parent="."] position = Vector2( 0, 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="GrabRadius"] position = Vector2( 0, 6 ) shape = SubResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, 2 ) shape = SubResource( 3 ) [node name="Area2D" type="Area2D" parent="."] collision_layer = 0 collision_mask = 31 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 0, -2 ) shape = SubResource( 4 ) [node name="Trampoline" type="AudioStreamPlayer" parent="."] stream = ExtResource( 9 ) [node name="Thud" type="AudioStreamPlayer" parent="."] stream = ExtResource( 10 ) [connection signal="timeout" from="SolidTimer" to="." method="_on_SolidTimer_timeout"] [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] ================================================ FILE: src/Scenes/Objects/Bonus/Trampoline_Static.gd ================================================ extends "Trampoline.gd" func _ready(): cling_to_walls = true ================================================ FILE: src/Scenes/Objects/Bonus/Trampoline_Static.tscn ================================================ [gd_scene load_steps=13 format=2] [ext_resource path="res://Scenes/Objects/Bonus/Trampoline_Static.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_static-1.png" type="Texture" id=2] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_static-2.png" type="Texture" id=3] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_static-3.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_static-4.png" type="Texture" id=5] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_static-5.png" type="Texture" id=6] [ext_resource path="res://Sprites/Objects/Trampoline/trampoline_static-0.png" type="Texture" id=7] [ext_resource path="res://Audio/SoundEffects/Objects/trampoline.wav" type="AudioStream" id=8] [ext_resource path="res://Audio/SoundEffects/Player/thud.ogg" type="AudioStream" id=9] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ) ], "loop": false, "name": "bounce", "speed": 25.0 }, { "frames": [ ExtResource( 7 ) ], "loop": true, "name": "default", "speed": 5.0 }, { "frames": [ ExtResource( 7 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 6 ), ExtResource( 7 ) ], "loop": false, "name": "land", "speed": 25.0 } ] [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 15.5, 14 ) [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 15.5, 22 ) [node name="KinematicBody2D" type="KinematicBody2D" groups=[ "trampoline", ]] collision_layer = 0 collision_mask = 31 script = ExtResource( 1 ) [node name="Control" type="Control" parent="."] editor/display_folded = true rect_pivot_offset = Vector2( 0, -2 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] frames = SubResource( 1 ) offset = Vector2( 0, -6 ) [node name="CeilingDetector" type="RayCast2D" parent="."] position = Vector2( 0, 2 ) enabled = true cast_to = Vector2( 0, -32 ) collision_mask = 16 [node name="LeftWallDetector" type="RayCast2D" parent="."] position = Vector2( 0, 2 ) enabled = true cast_to = Vector2( -16, 0 ) collision_mask = 16 [node name="RightWallDetector" type="RayCast2D" parent="."] position = Vector2( 0, 2 ) enabled = true cast_to = Vector2( 16, 0 ) collision_mask = 16 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, 2 ) shape = SubResource( 2 ) [node name="Area2D" type="Area2D" parent="."] collision_layer = 0 collision_mask = 31 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 0, -2 ) shape = SubResource( 3 ) [node name="Trampoline" type="AudioStreamPlayer" parent="."] stream = ExtResource( 8 ) [node name="Thud" type="AudioStreamPlayer" parent="."] stream = ExtResource( 9 ) [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] ================================================ FILE: src/Scenes/Objects/Map/LevelDot.gd ================================================ extends Node2D export var level = "" export var invisible = false export var autoplay = false export var cleared = false export var movedirection = 1 func _ready(): if level != "": $DisplayName.text = load(level).instance().level_name $CanvasLayer/BottomName.text = $DisplayName.text $CanvasLayer/BottomName.hide() $CanvasLayer/Popup/Panel/VBoxContainer/Invisible/CheckBox.pressed = invisible $CanvasLayer/Popup/Panel/VBoxContainer/AutoPlay/CheckBox.pressed = autoplay func _process(delta): $AnimatedSprite.show() if invisible: if UIHelpers._get_scene().editmode: $AnimatedSprite.play("invisible") else: $AnimatedSprite.hide() elif cleared: $AnimatedSprite.play("clear") else: $AnimatedSprite.play("default") if $CanvasLayer/Popup.visible or $CanvasLayer/Error.visible: UIHelpers.get_editor().clickdisable = true $DisplayName.visible = UIHelpers._get_scene().editmode invisible = $CanvasLayer/Popup/Panel/VBoxContainer/Invisible/CheckBox.pressed autoplay = $CanvasLayer/Popup/Panel/VBoxContainer/AutoPlay/CheckBox.pressed $CanvasLayer/BottomName.hide() if !UIHelpers._get_scene().editmode and UIHelpers.get_player().position == position: # Level hovered $CanvasLayer/BottomName.show() if level != "" and (Input.is_action_just_pressed("jump") or (autoplay and !cleared)): # Play level UIHelpers._get_scene().load_level_from_map(level) UIHelpers.get_player().can_move = false func _on_Button_pressed(): $CanvasLayer/Popup.hide() func _on_Load_pressed(): $CanvasLayer/Popup.hide() UIHelpers.file_dialog("user://Scenes//Levels/", ".tscn", false) # Bring up file select yield(UIHelpers._get_scene().get_node("FileSelect"), "tree_exiting") # After exiting the file select, attempt to load the level if "OK" was pressed if UIHelpers._get_scene().get_node("FileSelect").cancel == false: var selectdir = UIHelpers._get_scene().get_node("FileSelect").selectdir # Pass to Gameplay.gd to check if the level is valid if UIHelpers._get_scene().check_level_valid(selectdir) == true: level = selectdir $DisplayName.text = load(str(level)).instance().level_name $CanvasLayer/Popup.show() else: $CanvasLayer/Error.show() # Otherwise don't do anything else: $CanvasLayer/Popup.show() $CanvasLayer/BottomName.text = $DisplayName.text func _on_ErrorButton_pressed(): $CanvasLayer/Error.hide() $CanvasLayer/Popup.show() ================================================ FILE: src/Scenes/Objects/Map/LevelDot.tscn ================================================ [gd_scene load_steps=11 format=2] [ext_resource path="res://Scenes/Objects/Map/LevelDot.gd" type="Script" id=1] [ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=2] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=3] [ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=4] [ext_resource path="res://Sprites/Worldmap/LevelDot/leveldot_green.png" type="Texture" id=5] [ext_resource path="res://Sprites/Worldmap/LevelDot/leveldot_red.png" type="Texture" id=6] [ext_resource path="res://Sprites/Worldmap/LevelDot/leveldot_invisible.png" type="Texture" id=7] [sub_resource type="DynamicFont" id=1] size = 18 outline_size = 2 outline_color = Color( 0, 0, 0, 1 ) use_mipmaps = true use_filter = true extra_spacing_top = 2 font_data = ExtResource( 4 ) [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 5 ) ], "loop": true, "name": "clear", "speed": 5.0 }, { "frames": [ ExtResource( 6 ) ], "loop": true, "name": "default", "speed": 5.0 }, { "frames": [ ExtResource( 7 ) ], "loop": true, "name": "invisible", "speed": 5.0 } ] [sub_resource type="DynamicFont" id=3] size = 12 outline_size = 2 outline_color = Color( 0, 0, 0, 1 ) use_mipmaps = true use_filter = true extra_spacing_top = 2 font_data = ExtResource( 4 ) [node name="LevelDot" type="Node2D" groups=[ "leveldot", "popup", ]] script = ExtResource( 1 ) [node name="CanvasLayer" type="CanvasLayer" parent="."] layer = 6 [node name="Popup" type="Control" parent="CanvasLayer"] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -115.0 margin_top = -115.0 margin_right = 115.0 margin_bottom = 115.0 theme = ExtResource( 2 ) [node name="Panel" type="Panel" parent="CanvasLayer/Popup"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Popup/Panel"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = 8.0 margin_right = -8.0 margin_bottom = -38.0 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_right = 214.0 margin_bottom = 21.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 = "Level Properties" align = 1 valign = 1 [node name="Line2" type="TextureRect" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 25.0 margin_right = 214.0 margin_bottom = 27.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="Load" type="Button" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 31.0 margin_right = 214.0 margin_bottom = 52.0 focus_mode = 1 action_mode = 0 enabled_focus_mode = 1 text = "Level to load" [node name="Invisible" type="HBoxContainer" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 56.0 margin_right = 214.0 margin_bottom = 77.0 custom_constants/separation = 16 alignment = 1 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer/Invisible"] margin_left = 42.0 margin_right = 139.0 margin_bottom = 21.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Invisible" [node name="CheckBox" type="CheckBox" parent="CanvasLayer/Popup/Panel/VBoxContainer/Invisible"] margin_left = 155.0 margin_right = 171.0 margin_bottom = 21.0 focus_mode = 1 action_mode = 0 enabled_focus_mode = 1 align = 1 [node name="AutoPlay" type="HBoxContainer" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 81.0 margin_right = 214.0 margin_bottom = 102.0 custom_constants/separation = 16 alignment = 1 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer/AutoPlay"] margin_left = 34.0 margin_right = 148.0 margin_bottom = 21.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Auto play" [node name="CheckBox" type="CheckBox" parent="CanvasLayer/Popup/Panel/VBoxContainer/AutoPlay"] margin_left = 164.0 margin_right = 180.0 margin_bottom = 21.0 focus_mode = 1 action_mode = 0 enabled_focus_mode = 1 align = 1 [node name="Button" type="Button" parent="CanvasLayer/Popup/Panel"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -36.0 margin_bottom = -4.0 rect_min_size = Vector2( 0, 32 ) focus_mode = 1 action_mode = 0 enabled_focus_mode = 1 text = "OK" [node name="Line" type="TextureRect" parent="CanvasLayer/Popup/Panel/Button"] anchor_right = 1.0 margin_top = -2.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="Error" type="Control" parent="CanvasLayer"] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -115.0 margin_top = -40.0 margin_right = 115.0 margin_bottom = 40.0 theme = ExtResource( 2 ) [node name="Panel" type="Panel" parent="CanvasLayer/Error"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="Label" type="Label" parent="CanvasLayer/Error/Panel"] anchor_left = 0.5 anchor_right = 0.5 margin_left = -107.0 margin_top = 12.0 margin_right = 107.0 margin_bottom = 32.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 = "Invalid Level!" align = 1 valign = 1 [node name="ErrorButton" type="Button" parent="CanvasLayer/Error/Panel"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -36.0 margin_bottom = -4.0 rect_min_size = Vector2( 0, 32 ) focus_mode = 1 action_mode = 0 enabled_focus_mode = 1 text = "OK" [node name="Line" type="TextureRect" parent="CanvasLayer/Error/Panel/ErrorButton"] anchor_right = 1.0 margin_top = -2.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="BottomName" type="Label" parent="CanvasLayer"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -30.0 custom_fonts/font = SubResource( 1 ) custom_colors/font_color = Color( 1, 1, 0.6, 1 ) text = "No Level Assigned" align = 1 [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 2 ) [node name="DisplayName" type="Label" parent="."] anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = -92.5 margin_top = -43.0 margin_right = 92.5 custom_fonts/font = SubResource( 3 ) custom_colors/font_color = Color( 1, 1, 0.6, 1 ) text = "No Level Assigned" align = 1 valign = 1 autowrap = true clip_text = true [connection signal="pressed" from="CanvasLayer/Popup/Panel/VBoxContainer/Load" to="." method="_on_Load_pressed"] [connection signal="pressed" from="CanvasLayer/Popup/Panel/Button" to="." method="_on_Button_pressed"] [connection signal="pressed" from="CanvasLayer/Error/Panel/ErrorButton" to="." method="_on_ErrorButton_pressed"] ================================================ FILE: src/Scenes/Objects/Map/SpawnPoint.gd ================================================ extends Position2D func _process(_delta): visible = get_tree().current_scene.editmode ================================================ FILE: src/Scenes/Objects/Map/SpawnPoint.tscn ================================================ [gd_scene load_steps=3 format=2] [ext_resource path="res://Scenes/Objects/Misc/SpawnPoint.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Misc/spawnpoint.png" type="Texture" id=2] [node name="SpawnPoint" type="Position2D" groups=[ "spawnpoint", "oneonly", ]] script = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] texture = ExtResource( 2 ) ================================================ FILE: src/Scenes/Objects/Misc/CameraZoom.gd ================================================ extends "Expandable.gd" export var camera_zoom = 1 export var camera_zoom_speed = 1 func activate(): get_tree().current_scene.camera_zoom = camera_zoom get_tree().current_scene.camera_zoom_speed = camera_zoom_speed func _ready(): $CanvasLayer/Popup/Panel/VBoxContainer/ZoomLevel/SpinBox.value = camera_zoom $CanvasLayer/Popup/Panel/VBoxContainer/ZoomSpeed/SpinBox.value = camera_zoom_speed func _process(delta): camera_zoom = $CanvasLayer/Popup/Panel/VBoxContainer/ZoomLevel/SpinBox.value camera_zoom_speed = $CanvasLayer/Popup/Panel/VBoxContainer/ZoomSpeed/SpinBox.value ================================================ FILE: src/Scenes/Objects/Misc/CameraZoom.tscn ================================================ [gd_scene load_steps=5 format=2] [ext_resource path="res://Scenes/Objects/Misc/CameraZoom.gd" type="Script" id=1] [ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=2] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=3] [ext_resource path="res://Sprites/Objects/Misc/zoom.png" type="Texture" id=4] [node name="ZoomTrigger" type="Node2D" groups=[ "popup", "expandable", "stackable", ]] script = ExtResource( 1 ) camera_zoom_speed = 20 [node name="CanvasLayer" type="CanvasLayer" parent="."] layer = 6 [node name="Popup" type="Popup" parent="CanvasLayer"] visible = true anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -150.0 margin_top = -80.0 margin_right = 150.0 margin_bottom = 80.0 theme = ExtResource( 2 ) [node name="Panel" type="Panel" parent="CanvasLayer/Popup"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Popup/Panel"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -142.0 margin_top = -72.0 margin_right = 142.0 margin_bottom = 72.0 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_right = 284.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 = "Zoom Trigger" align = 1 [node name="Line" type="TextureRect" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 24.0 margin_right = 284.0 margin_bottom = 26.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="ZoomLevel" type="HBoxContainer" parent="CanvasLayer/Popup/Panel/VBoxContainer"] editor/display_folded = true margin_top = 30.0 margin_right = 284.0 margin_bottom = 62.0 rect_min_size = Vector2( 0, 32 ) alignment = 1 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer/ZoomLevel"] margin_left = 22.0 margin_top = 6.0 margin_right = 150.0 margin_bottom = 26.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Zoom Level" [node name="SpinBox" type="SpinBox" parent="CanvasLayer/Popup/Panel/VBoxContainer/ZoomLevel"] margin_left = 154.0 margin_right = 262.0 margin_bottom = 32.0 min_value = 0.25 max_value = 1.5 step = 0.05 value = 1.0 align = 1 [node name="ZoomSpeed" type="HBoxContainer" parent="CanvasLayer/Popup/Panel/VBoxContainer"] editor/display_folded = true margin_top = 66.0 margin_right = 284.0 margin_bottom = 98.0 rect_min_size = Vector2( 0, 32 ) alignment = 1 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer/ZoomSpeed"] margin_left = 19.0 margin_top = 6.0 margin_right = 152.0 margin_bottom = 26.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Zoom Speed" [node name="SpinBox" type="SpinBox" parent="CanvasLayer/Popup/Panel/VBoxContainer/ZoomSpeed"] margin_left = 156.0 margin_right = 264.0 margin_bottom = 32.0 min_value = 1.0 step = 0.05 value = 1.0 allow_greater = true align = 1 [node name="Button" type="Button" parent="CanvasLayer/Popup/Panel"] editor/display_folded = true anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = -40.0 margin_right = -8.0 margin_bottom = -8.0 rect_min_size = Vector2( 0, 32 ) action_mode = 0 text = "OK" [node name="Line2" type="TextureRect" parent="CanvasLayer/Popup/Panel/Button"] anchor_right = 1.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="Sprite" type="Sprite" parent="."] visible = false texture = ExtResource( 4 ) [node name="Control" type="Control" parent="."] 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 rect_min_size = Vector2( 32, 32 ) [node name="ColorRect" type="ColorRect" parent="Control"] anchor_right = 1.0 anchor_bottom = 1.0 color = Color( 0, 0.45, 1, 0.5 ) ================================================ FILE: src/Scenes/Objects/Misc/Expandable.gd ================================================ extends Node2D export var boxsize = Vector2(1,1) export var min_size = Vector2(1,1) export var scale_h = true export var scale_v = true var body = null func _ready(): $Control.rect_min_size = min_size * 32 func _process(delta): appear(UIHelpers._get_scene().editmode) for i in get_tree().get_nodes_in_group("player"): if UIHelpers._get_scene().editmode == false: if i.position.x >= position.x and i.position.x <= position.x + boxsize.x and i.position.y >= position.y and i.position.y <= position.y + boxsize.y: body = i activate() $Control.rect_size = boxsize if is_in_group("popup"): if $CanvasLayer/Popup.visible: UIHelpers._get_scene().get_node("Editor").clickdisable = true if $CanvasLayer/Popup/Panel/Button.pressed: $CanvasLayer/Popup.hide() # To be overwritten by sub-classes func activate(): pass; # Can be overridden func appear(appear): visible = appear ================================================ FILE: src/Scenes/Objects/Misc/SpawnPoint.gd ================================================ extends Position2D func _process(_delta): visible = get_tree().current_scene.editmode ================================================ FILE: src/Scenes/Objects/Misc/SpawnPoint.tscn ================================================ [gd_scene load_steps=3 format=2] [ext_resource path="res://Scenes/Objects/Misc/SpawnPoint.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Misc/spawnpoint.png" type="Texture" id=2] [node name="SpawnPoint" type="Position2D" groups=[ "oneonly", "spawnpoint", ]] script = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] texture = ExtResource( 2 ) ================================================ FILE: src/Scenes/Objects/Misc/Wind.gd ================================================ extends "Expandable.gd" export var speed_x = 0 export var speed_y = 0 func activate(): body.velocity.x += speed_x body.velocity.y += speed_y * 0.5 body.wind = 3 if body.run_max < abs(speed_x) * 2: body.run_max = abs(speed_x) * 2 func _ready(): $CanvasLayer/Popup/Panel/VBoxContainer/SpeedX/SpinBox.value = speed_x $CanvasLayer/Popup/Panel/VBoxContainer/SpeedY/SpinBox.value = speed_y func _process(delta): $CPUParticles2D.emission_rect_extents = (boxsize - Vector2(32,32)) * 0.5 $CPUParticles2D.position = $CPUParticles2D.emission_rect_extents $CPUParticles2D.gravity = Vector2(speed_x,speed_y) * 10 $CPUParticles2D.position += $CPUParticles2D.gravity * -0.05 $CPUParticles2D.angle = rad2deg( Vector2($CPUParticles2D.gravity.x,$CPUParticles2D.gravity.y).angle() ) * -1 speed_x = $CanvasLayer/Popup/Panel/VBoxContainer/SpeedX/SpinBox.value speed_y = $CanvasLayer/Popup/Panel/VBoxContainer/SpeedY/SpinBox.value func appear(appear): $Control/ColorRect.visible = appear ================================================ FILE: src/Scenes/Objects/Misc/Wind.tscn ================================================ [gd_scene load_steps=7 format=2] [ext_resource path="res://Scenes/Objects/Misc/Wind.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Wind/Wind.png" type="Texture" id=2] [ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=3] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=4] [ext_resource path="res://Sprites/Objects/Misc/wind.png" type="Texture" id=5] [sub_resource type="Gradient" id=1] offsets = PoolRealArray( 0, 0.358025, 0.753086, 1 ) colors = PoolColorArray( 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ) [node name="ZoomTrigger" type="Node2D" groups=[ "popup", "expandable", "stackable", ]] script = ExtResource( 1 ) [node name="CPUParticles2D" type="CPUParticles2D" parent="."] amount = 32 lifetime = 0.5 texture = ExtResource( 2 ) emission_shape = 2 emission_rect_extents = Vector2( 1, 1 ) spread = 0.0 gravity = Vector2( 0, 0 ) initial_velocity = 0.0 scale_amount = 0.5 scale_amount_random = 1.0 color_ramp = SubResource( 1 ) [node name="CanvasLayer" type="CanvasLayer" parent="."] layer = 6 [node name="Popup" type="Popup" parent="CanvasLayer"] editor/display_folded = true visible = true anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -150.0 margin_top = -80.0 margin_right = 150.0 margin_bottom = 80.0 theme = ExtResource( 3 ) [node name="Panel" type="Panel" parent="CanvasLayer/Popup"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Popup/Panel"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -142.0 margin_top = -72.0 margin_right = 142.0 margin_bottom = 72.0 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_right = 284.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 = "Wind" align = 1 [node name="Line" type="TextureRect" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 24.0 margin_right = 284.0 margin_bottom = 26.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 4 ) expand = true [node name="SpeedX" type="HBoxContainer" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 30.0 margin_right = 284.0 margin_bottom = 62.0 rect_min_size = Vector2( 0, 32 ) alignment = 1 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer/SpeedX"] margin_left = 41.0 margin_top = 6.0 margin_right = 131.0 margin_bottom = 26.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "X Speed" [node name="SpinBox" type="SpinBox" parent="CanvasLayer/Popup/Panel/VBoxContainer/SpeedX"] margin_left = 135.0 margin_right = 243.0 margin_bottom = 32.0 step = 0.05 allow_greater = true allow_lesser = true align = 1 [node name="SpeedY" type="HBoxContainer" parent="CanvasLayer/Popup/Panel/VBoxContainer"] margin_top = 66.0 margin_right = 284.0 margin_bottom = 98.0 rect_min_size = Vector2( 0, 32 ) alignment = 1 [node name="Label" type="Label" parent="CanvasLayer/Popup/Panel/VBoxContainer/SpeedY"] margin_left = 41.0 margin_top = 6.0 margin_right = 130.0 margin_bottom = 26.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Y Speed" [node name="SpinBox" type="SpinBox" parent="CanvasLayer/Popup/Panel/VBoxContainer/SpeedY"] margin_left = 134.0 margin_right = 242.0 margin_bottom = 32.0 step = 0.05 allow_greater = true allow_lesser = true align = 1 [node name="Button" type="Button" parent="CanvasLayer/Popup/Panel"] editor/display_folded = true anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = -40.0 margin_right = -8.0 margin_bottom = -8.0 rect_min_size = Vector2( 0, 32 ) action_mode = 0 text = "OK" [node name="Line2" type="TextureRect" parent="CanvasLayer/Popup/Panel/Button"] anchor_right = 1.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 4 ) expand = true [node name="Sprite" type="Sprite" parent="."] visible = false texture = ExtResource( 5 ) [node name="Control" type="Control" parent="."] 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 rect_min_size = Vector2( 32, 32 ) [node name="ColorRect" type="ColorRect" parent="Control"] anchor_right = 1.0 anchor_bottom = 1.0 color = Color( 1, 1, 1, 0.501961 ) ================================================ FILE: src/Scenes/Player/Animation.gd ================================================ extends AnimatedSprite # 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/Player/Objects/Fireball.gd ================================================ extends KinematicBody2D var velocity = Vector2(0,0) var oldvelocity var hit = false func explode(): remove_from_group("bullets") $CollisionShape2D.call_deferred("set_disabled", true) $Area2D/EnemyCollision.call_deferred("set_disabled", true) $AnimationPlayer.play("Hit") hit = true func _on_fireball_body_entered(body): if body.is_in_group("badguys") and hit == false: body.velocity.x = velocity.x if body.has_method("fireball_kill"): body.call("fireball_kill") else: body.call("kill") explode() func _physics_process(delta): if $VisibilityNotifier2D.is_on_screen() == false: queue_free() if hit == false: if velocity.x > 0: if $AnimationPlayer.current_animation != "ActiveRight": $AnimationPlayer.play("ActiveRight") elif $AnimationPlayer.current_animation != "ActiveLeft": $AnimationPlayer.play("ActiveLeft") velocity.y += 20 var collision = move_and_collide(velocity * delta) oldvelocity = velocity.x if collision: velocity = velocity.bounce(collision.normal) if velocity.x != oldvelocity: explode() $Extinguish.play() ================================================ FILE: src/Scenes/Player/Objects/Fireball.tres ================================================ [gd_resource type="Gradient" format=2] [resource] offsets = PoolRealArray( 0, 0.253333, 0.733333, 1 ) colors = PoolColorArray( 1, 1, 1, 1, 1, 0.988235, 0, 0.572549, 1, 0, 0, 0.196078, 1, 0, 0, 0 ) ================================================ FILE: src/Scenes/Player/Objects/Fireball.tscn ================================================ [gd_scene load_steps=16 format=2] [ext_resource path="res://Scenes/Player/Objects/Fireball.gd" type="Script" id=1] [ext_resource path="res://Sprites/Objects/Fireball/fireballambient.png" type="Texture" id=2] [ext_resource path="res://Sprites/Objects/Fireball/fireball.png" type="Texture" id=3] [ext_resource path="res://Scenes/Player/Objects/Fireball.tres" type="Gradient" id=4] [ext_resource path="res://Audio/SoundEffects/Enemy/extinguish.wav" type="AudioStream" id=5] [sub_resource type="Animation" id=1] resource_name = "ActiveLeft" length = 0.2 loop = true tracks/0/type = "value" tracks/0/path = NodePath("FireballCollisionParticles: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( 0 ), "update": 1, "values": [ false ] } tracks/1/type = "value" tracks/1/path = NodePath("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, 0.2 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ 0.0, -360.0 ] } tracks/2/type = "value" tracks/2/path = NodePath("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( 0 ), "update": 1, "values": [ true ] } tracks/3/type = "value" tracks/3/path = NodePath("FireballAmbientParticles: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( 0 ), "update": 1, "values": [ true ] } tracks/4/type = "value" tracks/4/path = NodePath("FireballGlow: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( 0 ), "update": 1, "values": [ true ] } [sub_resource type="Animation" id=2] resource_name = "ActiveRight" length = 0.2 loop = true tracks/0/type = "value" tracks/0/path = NodePath("FireballCollisionParticles: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( 0 ), "update": 1, "values": [ false ] } tracks/1/type = "value" tracks/1/path = NodePath("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, 0.2 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ 0.0, 360.0 ] } tracks/2/type = "value" tracks/2/path = NodePath("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( 0 ), "update": 1, "values": [ true ] } tracks/3/type = "value" tracks/3/path = NodePath("FireballAmbientParticles: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( 0 ), "update": 1, "values": [ true ] } tracks/4/type = "value" tracks/4/path = NodePath("FireballGlow: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( 0 ), "update": 1, "values": [ true ] } [sub_resource type="Animation" id=3] resource_name = "Hit" tracks/0/type = "value" tracks/0/path = NodePath("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( 0 ), "update": 1, "values": [ false ] } tracks/1/type = "value" tracks/1/path = NodePath("FireballCollisionParticles:emitting") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 0, 1 ), "update": 1, "values": [ true, false ] } tracks/2/type = "method" tracks/2/path = NodePath(".") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0.5 ), "transitions": PoolRealArray( 1 ), "values": [ { "args": [ ], "method": "queue_free" } ] } tracks/3/type = "value" tracks/3/path = NodePath("FireballAmbientParticles: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( 0 ), "update": 1, "values": [ false ] } tracks/4/type = "value" tracks/4/path = NodePath("FireballGlow: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( 0 ), "update": 1, "values": [ false ] } [sub_resource type="RectangleShape2D" id=4] extents = Vector2( 6, 6 ) [sub_resource type="RectangleShape2D" id=5] extents = Vector2( 8, 8 ) [sub_resource type="Curve" id=6] _data = [ Vector2( 0, 0.639509 ), 5.75234, 0.629246, 0, 0, Vector2( 1, 0.146709 ), -0.92688, 0.0, 0, 0 ] [sub_resource type="Gradient" id=7] offsets = PoolRealArray( 0, 0.311321, 0.688679, 1 ) colors = PoolColorArray( 1, 0.941176, 0, 0.156863, 1, 0.5625, 0, 0.117647, 1, 0, 0, 0.0784314, 1, 0.5625, 0, 0 ) [sub_resource type="Curve" id=8] _data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.164721, 1 ), 4.92789, 4.92789, 0, 0, Vector2( 0.591828, 0.0281 ), 0.0, 0.0, 0, 0 ] [sub_resource type="Gradient" id=9] offsets = PoolRealArray( 0, 0.3, 0.76, 1 ) colors = PoolColorArray( 1, 1, 1, 1, 1, 0.984314, 0, 0.698039, 1, 0, 0, 0.490196, 1, 0, 0, 0 ) [sub_resource type="SpriteFrames" id=10] animations = [ { "frames": [ ExtResource( 3 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [node name="Fireball" type="KinematicBody2D" groups=[ "bullets", ]] collision_mask = 0 script = ExtResource( 1 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "ActiveRight" anims/ActiveLeft = SubResource( 1 ) anims/ActiveRight = SubResource( 2 ) anims/Hit = SubResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 4 ) [node name="Area2D" type="Area2D" parent="."] editor/display_folded = true collision_layer = 2 collision_mask = 10 [node name="EnemyCollision" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 5 ) [node name="FireballGlow" type="CPUParticles2D" parent="."] amount = 15 speed_scale = 6.0 local_coords = false texture = ExtResource( 2 ) spread = 180.0 flatness = 1.0 gravity = Vector2( 0, 0 ) initial_velocity = 40.0 initial_velocity_random = 0.25 damping = 100.0 scale_amount = 4.0 scale_amount_curve = SubResource( 6 ) color_ramp = SubResource( 7 ) [node name="FireballAmbientParticles" type="CPUParticles2D" parent="."] speed_scale = 2.5 local_coords = false texture = ExtResource( 2 ) spread = 180.0 flatness = 1.0 gravity = Vector2( 0, 0 ) initial_velocity = 60.0 initial_velocity_random = 0.5 scale_amount = 0.8 scale_amount_random = 0.5 scale_amount_curve = SubResource( 8 ) color_ramp = SubResource( 9 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="."] rotation = -6.28319 frames = SubResource( 10 ) [node name="FireballCollisionParticles" type="CPUParticles2D" parent="."] emitting = false amount = 40 one_shot = true speed_scale = 4.0 local_coords = false texture = ExtResource( 2 ) spread = 180.0 flatness = 1.0 gravity = Vector2( 0, 0 ) initial_velocity = 60.0 damping = 100.0 angle = 360.0 angle_random = 1.0 scale_amount = 3.0 scale_amount_random = 1.0 color_ramp = ExtResource( 4 ) [node name="Extinguish" type="AudioStreamPlayer" parent="."] stream = ExtResource( 5 ) [node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] [connection signal="body_entered" from="Area2D" to="." method="_on_fireball_body_entered"] ================================================ FILE: src/Scenes/Player/Player.gd ================================================ extends KinematicBody2D const FLOOR = Vector2(0, -1) # Instant speed when starting walk const WALK_ADD = 120.0 # Speed Tux accelerates per second when walking const WALK_ACCEL = 350.0 # Speed Tux accelerates per second when running const RUN_ACCEL = 400.0 # Speed you need to start running const WALK_MAX = 230.0 # Maximum horizontal speed var run_max = 320.0 # Backflip horizontal speed const BACKFLIP_SPEED = -128 # Speed which Tux slows down const FRICTION = 0.93 # Speed Tux slows down when sliding const SLIDE_FRICTION = 0.99 # Acceleration when holding the opposite direction const TURN_ACCEL = 1800.0 # Jump velocity const JUMP_POWER = 580 # Running Jump / Backflip velocity const RUNJUMP_POWER = 640 # Amount of frames you can hold jump before landing and still jump const JUMP_BUFFER_TIME = 15 # Gravity const GRAVITY = 20.0 # Gravity when buttjumping const BUTTJUMP_GRAVITY = 120.0 # Amount of frames Tux can still jump after falling off a ledge const LEDGE_JUMP = 3 # Falling speedcap const FALL_SPEED = 1280.0 # Buttjumping speedcap const BUTTJUMP_FALL_SPEED = 2000.0 # How long to stay in the buttjump landing pose const BUTTJUMP_LAND_TIME = 0.3 # Fireball speed const FIREBALL_SPEED = 500 var velocity = Vector2() var on_ground = 999 # Frames Tux has been in air (0 if grounded) var jumpheld = 0 # Amount of frames jump has been held var jumpcancel = false # Can let go of jump to stop vertical ascent var skidding = false # Skidding var sliding = false # Sliding var ducking = false # Ducking var backflip = false # Backflipping var backflip_rotation = 0 # Backflip rotation var buttjump = false # Butt-jumping var state = "fire" # Tux's power-up state var camera_offset = 0 # Moves camera horizontally for extended view var camera_position = Vector2() # Camera Position var dead = false # Stop doing stuff if true var restarted = false # Should Tux call restart level var invincible_damage = false var invincible = false var using_star = false var holding_object = false var object_held = "" var wind = 0 # Set Tux's current playing animation func set_animation(anim): if state == "small": $Control/AnimatedSprite.play(str(anim, "_small")) else: $Control/AnimatedSprite.play(anim) # Damage Tux func hurt(): if invincible_damage == false and invincible == false: if state == "small": kill() elif state == "big": state = "small" backflip = false buttjump = false ducking = false $SFX/Hurt.play() damage_invincibility() var frame = $Control/AnimatedSprite.frame set_animation($Control/AnimatedSprite.animation) $Control/AnimatedSprite.frame = frame else: state = "big" $SFX/Hurt.play() damage_invincibility() # Kill Tux func kill(): invincible = false invincible_damage = false state = "small" $SFX/Kill.play() $AnimationPlayerInvincibility.play("Stop") $Control/AnimatedSprite.rotation_degrees = 0 $Control/AnimatedSprite.scale.x = 1 $AnimationPlayer.play("Stop") set_animation("gameover") dead = true velocity = Vector2 (0,-JUMP_POWER * 1.5) func _ready(): position = Vector2(0,0) for child in get_tree().current_scene.get_node("Level").get_children(): if child.is_in_group("spawnpoint"): position = child.position #============================================================================= # PHYSICS func _physics_process(delta): $Hitbox.disabled = get_tree().current_scene.editmode if get_tree().current_scene.editmode == true: set_animation("idle") return if dead == true: if Input.is_action_pressed("pause"): if restarted == false: get_tree().current_scene.call("restart_level") restarted = true if position.y >= UIHelpers.get_camera().limit_bottom and velocity.y > 0: if restarted == false: get_tree().current_scene.call("restart_level") restarted = true self.visible = false return $Control/AnimatedSprite.z_index = 999 $Hitbox.disabled = true $ButtjumpHitbox/CollisionShape2D.disabled = true position += velocity * delta velocity.y += GRAVITY return # Horizontal movement if (ducking == false or on_ground != 0) and backflip == false and skidding == false and sliding == false and $ButtjumpLandTimer.time_left == 0: if Input.is_action_pressed("move_right"): $Control/AnimatedSprite.scale.x = 1 # Moving if velocity.x >= 0: if velocity.x < WALK_ADD: velocity.x = WALK_ADD if abs(velocity.x) > WALK_MAX: velocity.x += RUN_ACCEL * delta else: velocity.x += WALK_ACCEL * delta # Skidding elif on_ground == 0 and abs(velocity.x) >= WALK_MAX: if !skidding: skidding = true $SFX/Skid.play() # Air turning else: velocity.x += TURN_ACCEL * delta if Input.is_action_pressed("move_left"): $Control/AnimatedSprite.scale.x = -1 if velocity.x <= 0: # Moving $Control/AnimatedSprite.scale.x = -1 if velocity.x > -WALK_ADD: velocity.x = -WALK_ADD if abs(velocity.x) > WALK_MAX: velocity.x -= RUN_ACCEL * delta else: velocity.x -= WALK_ACCEL * delta # Skidding elif on_ground == 0 and abs(velocity.x) >= WALK_MAX: if skidding == false: skidding = true $SFX/Skid.play() # Air turning else: velocity.x -= TURN_ACCEL * delta # Speedcap if !sliding: velocity.x = clamp(velocity.x, -run_max, run_max) # Friction if backflip == false and (skidding or (ducking and on_ground == 0) or (not Input.is_action_pressed("move_left") and not Input.is_action_pressed("move_right"))): # Turn when skidding if skidding: if velocity.x > 0: $Control/AnimatedSprite.scale.x = -1 if velocity.x < 0: $Control/AnimatedSprite.scale.x = 1 # Friction if !sliding: velocity.x *= FRICTION elif on_ground == 0: velocity.x *= SLIDE_FRICTION if abs(velocity.x) < 80 and wind == 0: velocity.x = 0 # Stop skidding if low velocity if abs(velocity.x) < 75 and skidding: skidding = false velocity.x = 0 # Move var oldvelocity = velocity if on_ground == 0 and wind == 0: velocity = move_and_slide_with_snap(velocity, Vector2(0, 20), FLOOR) else: velocity = move_and_slide(velocity, FLOOR) if abs(velocity.x) > abs(oldvelocity.x) and $ButtjumpLandTimer.time_left > 0: pass#start_sliding() # Gravity if $ButtjumpTimer.time_left > 0: velocity *= 0.5 elif buttjump == false or velocity.y <= 0: if on_ground: velocity.y += GRAVITY if velocity.y > FALL_SPEED: velocity.y = FALL_SPEED else: if on_ground: velocity.y += BUTTJUMP_GRAVITY if velocity.y > BUTTJUMP_FALL_SPEED: velocity.y = BUTTJUMP_FALL_SPEED # Floor check if is_on_floor(): if on_ground != 0: $AnimationPlayer.stop() $AnimationPlayer.playback_speed = 1 if buttjump == true: $AnimationPlayer.play("ButtjumpLand") $ButtjumpLandTimer.start(BUTTJUMP_LAND_TIME) $SFX/Brick.play() buttjump = false elif on_ground >= 40: $AnimationPlayer.play("Land") elif on_ground >= 20: $AnimationPlayer.play("LandSmall") else: $AnimationPlayer.play("Stop") on_ground = 0 jumpcancel = false if backflip == true: backflip = false velocity.x = 0 else: on_ground += 1 $ButtjumpLandTimer.stop() # Ceiling bump sound if is_on_ceiling(): $SFX/Thud.play() # Ducking / Sliding if on_ground == 0: # Stop ducking in certain situations if not Input.is_action_pressed("duck") or state == "small": ducking = false # Duck if in one block space if $StandWindow.is_colliding() == true and !sliding and state != "small": ducking = true # Ducking / Sliding elif Input.is_action_pressed("duck") and !sliding and !skidding and $ButtjumpLandTimer.time_left == 0: if abs(velocity.x) < WALK_MAX: if state != "small": ducking = true else: pass#start_sliding() elif $StandWindow.is_colliding() == true and sliding == false and state != "small": ducking = true else: ducking == false # Sliding if sliding == true: pass # Jump buffering if Input.is_action_pressed("jump"): jumpheld += 1 else: jumpheld = 0 # Jumping if Input.is_action_pressed("jump") and jumpheld <= JUMP_BUFFER_TIME: if on_ground <= LEDGE_JUMP and $ButtjumpLandTimer.time_left <= BUTTJUMP_LAND_TIME - 0.02: if state != "small" and Input.is_action_pressed("duck") == true and $StandWindow.is_colliding() == false and sliding == false and $ButtjumpLandTimer.time_left == 0: backflip = true backflip_rotation = 0 velocity.y = -RUNJUMP_POWER $SFX/Flip.play() elif abs(velocity.x) >= run_max or $ButtjumpLandTimer.time_left > 0: velocity.y = -RUNJUMP_POWER else: velocity.y = -JUMP_POWER if state == "small": $SFX/Jump.play() else: $SFX/BigJump.play() on_ground = LEDGE_JUMP + 1 $AnimationPlayer.playback_speed = 1 $AnimationPlayer.stop() $AnimationPlayer.play("Stop") set_animation("jump") jumpheld = JUMP_BUFFER_TIME + 1 on_ground = LEDGE_JUMP + 1 jumpcancel = true sliding = false skidding = false ducking = false if $StandWindow.is_colliding() == true and state != "small": ducking = true # Jump cancelling if on_ground != 0 and not Input.is_action_pressed("jump") and backflip == false and jumpcancel == true: if velocity.y < 0: $AnimationPlayer.playback_speed += 0.3 velocity.y *= 0.5 else: jumpcancel = false # Backflip speed and rotation $Control/AnimatedSprite.rotation_degrees = 0 if backflip == true: if $Control/AnimatedSprite.scale.x == 1: velocity.x = BACKFLIP_SPEED backflip_rotation -= 15 else: velocity.x = -BACKFLIP_SPEED backflip_rotation += 15 $Control/AnimatedSprite.rotation_degrees = backflip_rotation # Buttjump if on_ground != 0 and Input.is_action_just_pressed("duck") and state != "small" and backflip == false and buttjump == false: buttjump = true $AnimationPlayer.stop() $AnimationPlayer.play("Buttjump") $ButtjumpTimer.start(0.15) # Stop buttjump if small if buttjump == true and state == "small": buttjump = false $AnimationPlayer.stop() $AnimationPlayer.play("Stop") set_animation("fall") # Animations $Control/AnimatedSprite.speed_scale = 1 if buttjump == true: set_animation("buttjump") elif backflip == true: set_animation("backflip") elif ducking == true: set_animation("duck") elif sliding == true: set_animation("slide") else: if on_ground <= LEDGE_JUMP: if $ButtjumpLandTimer.time_left > 0: set_animation("buttjumpland") elif skidding == true: set_animation("skid") elif abs(velocity.x) >= WALK_ADD / 2: $Control/AnimatedSprite.speed_scale = abs(velocity.x) * 0.0035 if $Control/AnimatedSprite.speed_scale < 0.4: $Control/AnimatedSprite.speed_scale = 0.4 set_animation("walk") else: set_animation("idle") elif velocity.y > 0: if $Control/AnimatedSprite.animation == ("jump") or $Control/AnimatedSprite.animation == ("fall_transition") or $Control/AnimatedSprite.animation == ("jump_small") or $Control/AnimatedSprite.animation == ("fall_transition_small"): set_animation("fall_transition") else: set_animation("fall") else: set_animation("jump") # Duck Hitboxes if ducking == true or sliding == true or state == "small" or buttjump == true: $Hitbox.shape.extents.y = 15 $Hitbox.position.y = 17 $ShootLocation.position.y = 17 else: $Hitbox.shape.extents.y = 31 $Hitbox.position.y = 1 $ShootLocation.position.y = 1 $ShootLocation.position.x = $Control/AnimatedSprite.scale.x * 8 # Buttjump hitboxes if buttjump == true and $ButtjumpTimer.time_left == 0: $ButtjumpHitbox/CollisionShape2D.disabled = false # Change the buttjump hitbox's size so it always collides before Tux hits the ground if velocity.y > 0: $ButtjumpHitbox/CollisionShape2D.shape.extents = Vector2(25,16 + (velocity.y * delta)) $ButtjumpHitbox/CollisionShape2D.position.y = (velocity.y * delta) else: $ButtjumpHitbox/CollisionShape2D.shape.extents = Vector2(25,16) $ButtjumpHitbox/CollisionShape2D.position.y = 0 else: $ButtjumpHitbox/CollisionShape2D.shape.extents = Vector2(0,0) $ButtjumpHitbox/CollisionShape2D.disabled = true # Shooting if Input.is_action_just_pressed("action") and state == "fire" and get_tree().get_nodes_in_group("bullets").size() < 2: $SFX/Shoot.play() var fireball = load("res://Scenes/Player/Objects/Fireball.tscn").instance() fireball.position = $ShootLocation.global_position fireball.velocity = Vector2((FIREBALL_SPEED * $Control/AnimatedSprite.scale.x) + velocity.x,0) fireball.add_collision_exception_with(self) # Prevent fireball colliding with player get_parent().add_child(fireball) # Shoot fireball as child of player # Camera Positioning if abs(velocity.x) > WALK_ADD: camera_offset += 2 * (velocity.x / abs(velocity.x)) if abs(camera_offset) >= (get_viewport().size.x * 0.1) * UIHelpers.get_camera().zoom.x: camera_offset = (get_viewport().size.x * 0.1) * UIHelpers.get_camera().zoom.x * (camera_offset / abs(camera_offset)) camera_position.x = camera_position.x + (camera_offset - camera_position.x) / 5 UIHelpers.get_camera().position = Vector2(position.x + camera_position.x,position.y + camera_position.y) # Block player leaving screen if position.x <= UIHelpers.get_camera().limit_left + 16: position.x = UIHelpers.get_camera().limit_left + 16 velocity.x = 0 if position.x >= UIHelpers.get_camera().limit_right - 16: position.x = UIHelpers.get_camera().limit_right - 16 velocity.x = 0 if position.y >= UIHelpers.get_camera().limit_bottom: position.y = UIHelpers.get_camera().limit_bottom kill() # Carry objects if holding_object == true: # Set the object's position get_tree().current_scene.get_node(str("Level/", object_held)).position = Vector2(position.x + $ShootLocation.position.x, position.y + $ShootLocation.position.y) # Set the object's direction if get_tree().current_scene.get_node(str("Level/", object_held)).has_node("Sprite"): get_tree().current_scene.get_node(str("Level/", object_held, "/Sprite")).scale.x = $Control/AnimatedSprite.scale.x * -1 if get_tree().current_scene.get_node(str("Level/", object_held)).has_node("AnimatedSprite"): get_tree().current_scene.get_node(str("Level/", object_held, "/AnimatedSprite")).scale.x = $Control/AnimatedSprite.scale.x * -1 if get_tree().current_scene.get_node(str("Level/", object_held)).has_node("Control/AnimatedSprite"): get_tree().current_scene.get_node(str("Level/", object_held, "/Control/AnimatedSprite")).scale.x = $Control/AnimatedSprite.scale.x * -1 # Throw objects if not Input.is_action_pressed("action"): holding_object = false if get_tree().current_scene.get_node(str("Level/", object_held)).has_method("throw"): get_tree().current_scene.get_node(str("Level/", object_held)).throw() if not Input.is_action_pressed("duck"): get_tree().current_scene.get_node(str("Level/", object_held)).velocity.x = velocity.x + (200 * $Control/AnimatedSprite.scale.x) # Decrease Wind if wind > 0: wind -= 1 else: wind = 0 run_max = 320.0 # Star invincibility func star_invincibility(): using_star = true invincible = true self.show() $InvincibilityTimer.start(14) get_tree().current_scene.play_music("invincible.ogg") $AnimationPlayerInvincibility.stop() $AnimationPlayerInvincibility.play("InvincibleStar") # Damage invincibility func damage_invincibility(): invincible_damage = true $InvincibilityTimer.start(1.8) $AnimationPlayerInvincibility.stop() $AnimationPlayerInvincibility.play("HurtInvincibility") func _on_InvincibilityTimer_timeout(): invincible = false invincible_damage = false using_star = false self.show() $AnimationPlayerInvincibility.stop() $AnimationPlayerInvincibility.play("Stop") # Bounce off squished enemies func bounce(low, high, cancellable): on_ground = LEDGE_JUMP + 1 sliding = false backflip = false buttjump = false on_ground = LEDGE_JUMP + 1 $ButtjumpTimer.stop() $ButtjumpLandTimer.stop() $AnimationPlayer.play("Stop") $Control/AnimatedSprite.play("jump") set_animation("jump") if jumpheld > 0: velocity.y = -high jumpcancel = cancellable else: velocity.y = -low jumpcancel = false # Activate sliding func start_sliding(): $ButtjumpLandTimer.stop() sliding = true $SFX/Skid.play() velocity.x += WALK_ADD * $Control/AnimatedSprite.scale.x ================================================ FILE: src/Scenes/Player/Player.tscn ================================================ [gd_scene load_steps=69 format=2] [ext_resource path="res://Scenes/Player/Player.gd" type="Script" id=1] [ext_resource path="res://Sprites/Creatures/Tux/Big/Slideplaceholder.png" type="Texture" id=2] [ext_resource path="res://Sprites/Creatures/Tux/Big/Stand.png" type="Texture" id=3] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk8.png" type="Texture" id=4] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk1.png" type="Texture" id=5] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk2.png" type="Texture" id=6] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk3.png" type="Texture" id=7] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk4.png" type="Texture" id=8] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk5.png" type="Texture" id=9] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk6.png" type="Texture" id=10] [ext_resource path="res://Sprites/Creatures/Tux/Small/Smalltuxwalk7.png" type="Texture" id=11] [ext_resource path="res://Sprites/Creatures/Tux/Small/Jump1.png" type="Texture" id=12] [ext_resource path="res://Sprites/Creatures/Tux/Small/Jump2.png" type="Texture" id=13] [ext_resource path="res://Sprites/Creatures/Tux/Small/Jump3.png" type="Texture" id=14] [ext_resource path="res://Sprites/Creatures/Tux/Small/skid-0.png" type="Texture" id=15] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk8.png" type="Texture" id=16] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk1.png" type="Texture" id=17] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk2.png" type="Texture" id=18] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk3.png" type="Texture" id=19] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk4.png" type="Texture" id=20] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk5.png" type="Texture" id=21] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk6.png" type="Texture" id=22] [ext_resource path="res://Sprites/Creatures/Tux/Big/Bigtuxwalk7.png" type="Texture" id=23] [ext_resource path="res://Sprites/Creatures/Tux/Big/Jump1.png" type="Texture" id=24] [ext_resource path="res://Sprites/Creatures/Tux/Big/Jump2.png" type="Texture" id=25] [ext_resource path="res://Sprites/Creatures/Tux/Big/Jump3.png" type="Texture" id=26] [ext_resource path="res://Sprites/Creatures/Tux/Small/Fall4.png" type="Texture" id=27] [ext_resource path="res://Sprites/Creatures/Tux/Big/Fall1.png" type="Texture" id=28] [ext_resource path="res://Sprites/Creatures/Tux/Big/Fall2.png" type="Texture" id=29] [ext_resource path="res://Sprites/Creatures/Tux/Big/Fall3.png" type="Texture" id=30] [ext_resource path="res://Sprites/Creatures/Tux/Big/Fall4.png" type="Texture" id=31] [ext_resource path="res://Sprites/Creatures/Tux/Big/skid-0.png" type="Texture" id=32] [ext_resource path="res://Sprites/Creatures/Tux/Big/duck-0.png" type="Texture" id=33] [ext_resource path="res://Sprites/Creatures/Tux/Small/gameover-0.png" type="Texture" id=34] [ext_resource path="res://Sprites/Creatures/Tux/Small/gameover-1.png" type="Texture" id=35] [ext_resource path="res://Sprites/Creatures/Tux/Small/Fall1.png" type="Texture" id=36] [ext_resource path="res://Sprites/Creatures/Tux/Small/Fall2.png" type="Texture" id=37] [ext_resource path="res://Sprites/Creatures/Tux/Small/Fall3.png" type="Texture" id=38] [ext_resource path="res://Sprites/Creatures/Tux/Big/buttjump-6.png" type="Texture" id=39] [ext_resource path="res://Sprites/Creatures/Tux/Small/stand-0.png" type="Texture" id=40] [ext_resource path="res://Sprites/Creatures/Tux/Big/buttjump-0.png" type="Texture" id=41] [ext_resource path="res://Sprites/Creatures/Tux/Big/buttjump-1.png" type="Texture" id=42] [ext_resource path="res://Sprites/Creatures/Tux/Big/buttjump-2.png" type="Texture" id=43] [ext_resource path="res://Sprites/Creatures/Tux/Big/buttjump-3.png" type="Texture" id=44] [ext_resource path="res://Sprites/Creatures/Tux/Big/buttjump-4.png" type="Texture" id=45] [ext_resource path="res://Sprites/Creatures/Tux/Big/buttjump-5.png" type="Texture" id=46] [ext_resource path="res://Sprites/Creatures/Tux/Big/backflip.png" type="Texture" id=47] [ext_resource path="res://Audio/SoundEffects/Player/jump.wav" type="AudioStream" id=48] [ext_resource path="res://Audio/SoundEffects/Player/bigjump.wav" type="AudioStream" id=49] [ext_resource path="res://Audio/SoundEffects/Player/flip.wav" type="AudioStream" id=50] [ext_resource path="res://Audio/SoundEffects/Player/thud.ogg" type="AudioStream" id=51] [ext_resource path="res://Audio/SoundEffects/Bonus/brick.wav" type="AudioStream" id=52] [ext_resource path="res://Audio/SoundEffects/Player/skid.wav" type="AudioStream" id=53] [ext_resource path="res://Audio/SoundEffects/Player/shoot.wav" type="AudioStream" id=54] [ext_resource path="res://Audio/SoundEffects/Player/hurt.wav" type="AudioStream" id=55] [ext_resource path="res://Audio/SoundEffects/Player/kill.wav" type="AudioStream" id=56] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "slide", "speed": 5.0 }, { "frames": [ ExtResource( 3 ) ], "loop": true, "name": "idle", "speed": 5.0 }, { "frames": [ ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ) ], "loop": true, "name": "walk_small", "speed": 20.0 }, { "frames": [ ExtResource( 12 ), ExtResource( 13 ), ExtResource( 14 ) ], "loop": false, "name": "jump_small", "speed": 18.0 }, { "frames": [ ExtResource( 15 ) ], "loop": true, "name": "skid_small", "speed": 5.0 }, { "frames": [ ExtResource( 16 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 20 ), ExtResource( 21 ), ExtResource( 22 ), ExtResource( 23 ) ], "loop": true, "name": "walk", "speed": 20.0 }, { "frames": [ ExtResource( 24 ), ExtResource( 25 ), ExtResource( 26 ) ], "loop": false, "name": "jump", "speed": 18.0 }, { "frames": [ ExtResource( 27 ) ], "loop": false, "name": "fall_small", "speed": 16.0 }, { "frames": [ ExtResource( 28 ), ExtResource( 29 ), ExtResource( 30 ), ExtResource( 31 ) ], "loop": false, "name": "fall_transition", "speed": 16.0 }, { "frames": [ ExtResource( 32 ) ], "loop": true, "name": "skid", "speed": 5.0 }, { "frames": [ ExtResource( 33 ) ], "loop": true, "name": "duck", "speed": 5.0 }, { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "slide_small", "speed": 5.0 }, { "frames": [ ExtResource( 34 ), ExtResource( 35 ) ], "loop": true, "name": "gameover_small", "speed": 10.0 }, { "frames": [ ExtResource( 36 ), ExtResource( 37 ), ExtResource( 38 ), ExtResource( 27 ) ], "loop": false, "name": "fall_transition_small", "speed": 16.0 }, { "frames": [ ExtResource( 39 ) ], "loop": true, "name": "buttjumpland", "speed": 5.0 }, { "frames": [ ExtResource( 40 ) ], "loop": true, "name": "idle_small", "speed": 5.0 }, { "frames": [ ExtResource( 31 ) ], "loop": false, "name": "fall", "speed": 16.0 }, { "frames": [ ExtResource( 34 ), ExtResource( 35 ) ], "loop": true, "name": "gameover", "speed": 10.0 }, { "frames": [ ExtResource( 41 ), ExtResource( 42 ), ExtResource( 43 ), ExtResource( 44 ), ExtResource( 45 ), ExtResource( 46 ), ExtResource( 39 ) ], "loop": false, "name": "buttjump", "speed": 35.0 }, { "frames": [ ExtResource( 47 ) ], "loop": true, "name": "backflip", "speed": 5.0 } ] [sub_resource type="Animation" id=2] 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.2, 0.6 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 0.8, 1.2 ) ] } [sub_resource type="Animation" id=3] 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.25 ), "transitions": PoolRealArray( 0.5, -2, 1 ), "update": 0, "values": [ Vector2( 1, 1 ), Vector2( 1.8, 0.6 ), Vector2( 1, 1 ) ] } [sub_resource type="Animation" id=4] 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.2, 0.4 ), "transitions": PoolRealArray( 1, 2, 1 ), "update": 0, "values": [ Vector2( 1, 1 ), Vector2( 0.9, 1.2 ), Vector2( 1, 1 ) ] } [sub_resource type="Animation" id=5] 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.1, 0.2 ), "transitions": PoolRealArray( 0.5, 2, 1 ), "update": 0, "values": [ Vector2( 1, 1 ), Vector2( 1.25, 0.85 ), Vector2( 1, 1 ) ] } [sub_resource type="Animation" id=6] 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.1, 0.2 ), "transitions": PoolRealArray( 0.5, 2, 1 ), "update": 0, "values": [ Vector2( 1, 1 ), Vector2( 1.1, 0.95 ), Vector2( 1, 1 ) ] } [sub_resource type="Animation" id=7] 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 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Vector2( 1, 1 ) ] } [sub_resource type="Animation" id=8] length = 0.2 loop = true 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, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ true, false ] } [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 ] } [sub_resource type="Animation" id=10] 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 ] } [sub_resource type="RectangleShape2D" id=11] extents = Vector2( 15, 31 ) [sub_resource type="RectangleShape2D" id=12] extents = Vector2( 0, 0 ) [node name="Player" type="KinematicBody2D" groups=[ "player", ]] script = ExtResource( 1 ) [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, 38 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] frames = SubResource( 1 ) animation = "idle" offset = Vector2( 0, -5 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "Stop" anims/Buttjump = SubResource( 2 ) anims/ButtjumpLand = SubResource( 3 ) anims/Jump = SubResource( 4 ) anims/Land = SubResource( 5 ) anims/LandSmall = SubResource( 6 ) anims/Stop = SubResource( 7 ) [node name="AnimationPlayerInvincibility" type="AnimationPlayer" parent="."] autoplay = "Stop" anims/HurtInvincibility = SubResource( 8 ) anims/InvincibleStar = SubResource( 9 ) anims/Stop = SubResource( 10 ) [node name="Hitbox" type="CollisionShape2D" parent="." groups=[ "player", ]] position = Vector2( 0, 1 ) shape = SubResource( 11 ) [node name="ShootLocation" type="Position2D" parent="."] position = Vector2( 8, 0 ) [node name="ButtjumpHitbox" type="Area2D" parent="."] editor/display_folded = true position = Vector2( 0, 32 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="ButtjumpHitbox"] shape = SubResource( 12 ) disabled = true [node name="StandWindow" type="RayCast2D" parent="."] position = Vector2( 0, 6 ) enabled = true cast_to = Vector2( 0, -12 ) collision_mask = 16 [node name="SFX" type="Node" parent="."] editor/display_folded = true [node name="Jump" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 48 ) [node name="BigJump" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 49 ) [node name="Flip" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 50 ) [node name="Thud" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 51 ) [node name="Brick" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 52 ) [node name="Skid" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 53 ) [node name="Shoot" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 54 ) [node name="Hurt" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 55 ) [node name="Kill" type="AudioStreamPlayer" parent="SFX"] stream = ExtResource( 56 ) [node name="InvincibilityTimer" type="Timer" parent="."] [node name="ButtjumpTimer" type="Timer" parent="."] one_shot = true [node name="ButtjumpLandTimer" type="Timer" parent="."] one_shot = true [connection signal="timeout" from="InvincibilityTimer" to="." method="_on_InvincibilityTimer_timeout"] ================================================ FILE: src/Scenes/Player/Worldmap.gd ================================================ extends Node2D var dead = false var state = "big" var moving = false var direction = null var newdirection = null var directionbuffer = 0 var level_passable = false # If the level dot you're standing on has been cleared (is true if you're not standing on one) var movedirection = null # Direction you moved onto a level dot (so you can't pass uncleared levels) var can_move = true const MOVE_SPEED = 4 # Must be a power of 2 that's lower than 32 const BUFFER = 3 # If you press a direction, Tux will turn if he finds an intersection in that direction within the next 2 tiles func _ready(): position = Vector2(0,0) for child in get_tree().current_scene.get_node("Level").get_children(): if child.is_in_group("spawnpoint"): position = child.position # The player needs to be on a grid space to move var rndx = (floor(position.x / 32) * 32) + 16 var rndy = (floor(position.y / 32) * 32) + 16 position = Vector2(rndx,rndy) func _process(delta): if UIHelpers._get_scene().editmode or !can_move: return # Setting the direction to move if !moving: newdirection = null if Input.is_action_pressed("up"): newdirection = 0 if Input.is_action_pressed("duck"): newdirection = 180 if Input.is_action_pressed("move_left"): newdirection = -90 if Input.is_action_pressed("move_right"): newdirection = 90 var rndx = (floor(position.x / 32) * 32) + 16 var rndy = (floor(position.y / 32) * 32) + 16 # Stop at level dots level_passable = true movedirection = null for child in UIHelpers.get_level().get_children(): if child.is_in_group("leveldot"): if child.position == position: if moving: if direction != null: child.movedirection = direction moving = false newdirection = null directionbuffer = 0 movedirection = child.movedirection level_passable = child.cleared # Change direction from the grid if position.x == rndx and position.y == rndy: for child in UIHelpers.get_level().get_children(): if child.is_in_group("tilemap"): var playerpos = child.world_to_map(UIHelpers.get_player().position) var tile_id = child.get_cellv(playerpos) if tile_id != null and tile_id != -1: var tile_name = child.get_tileset().tile_get_name(tile_id) if tile_name == "Pathing": var tile_pos = child.get_cell_autotile_coord(playerpos.x, playerpos.y) var bitmask = child.get_tileset().autotile_get_bitmask(tile_id, tile_pos) var up_tiles = [186, 146, 18, 58, 178, 154, 50, 26] var down_tiles = [186, 146, 176, 152, 184, 178, 154, 144] var left_tiles = [186, 56, 152, 26, 154, 58, 184, 24] var right_tiles = [186, 56, 178, 58, 184, 48, 50, 176] # Move regularly if newdirection == 0 and bitmask in up_tiles: moving = true direction = newdirection directionbuffer = BUFFER elif newdirection == 180 and bitmask in down_tiles: moving = true direction = newdirection directionbuffer = BUFFER elif newdirection == 90 and bitmask in right_tiles: moving = true direction = newdirection directionbuffer = BUFFER elif newdirection == -90 and bitmask in left_tiles: moving = true direction = newdirection directionbuffer = BUFFER else: directionbuffer -= 1 if directionbuffer <= 0: newdirection = null directionbuffer = 0 # Turn on corner tiles if bitmask == 176: # Bottom Right if direction == 0: direction = 90 newdirection = direction if direction == -90: direction = 180 newdirection = direction elif bitmask == 152: # Bottom Left if direction == 0: direction = -90 newdirection = direction if direction == 90: direction = 180 newdirection = direction elif bitmask == 50: # Top Right if direction == -90: direction = 0 newdirection = direction if direction == 180: direction = 90 newdirection = direction elif bitmask == 26: # Top Left if direction == 90: direction = 0 newdirection = direction if direction == 180: direction = -90 newdirection = direction # Stop at edges or when trying to pass uncleared level dots if direction == 0 and (not bitmask in up_tiles or (!level_passable and movedirection != 180)): moving = false if direction == 180 and (not bitmask in down_tiles or (!level_passable and movedirection != 0)): moving = false if direction == 90 and (not bitmask in right_tiles or (!level_passable and movedirection != -90)): moving = false if direction == -90 and (not bitmask in left_tiles or (!level_passable and movedirection != 90)): moving = false # Move if moving: position += Vector2(MOVE_SPEED, 0).rotated(deg2rad(direction - 90)) # Camera UIHelpers.get_camera().position = position UIHelpers.get_camera().align() # Animations if moving: set_animation("walk") else: set_animation("idle") # Set Tux's current playing animation func set_animation(anim): if state == "small": $Control/AnimatedSprite.play(str(anim, "_small")) else: $Control/AnimatedSprite.play(anim) ================================================ FILE: src/Scenes/Player/Worldmap.tscn ================================================ [gd_scene load_steps=21 format=2] [ext_resource path="res://Scenes/Player/Worldmap.gd" type="Script" id=1] [ext_resource path="res://Sprites/Worldmap/Player/Big/tux.png" type="Texture" id=2] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk1.png" type="Texture" id=3] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk2.png" type="Texture" id=4] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk3.png" type="Texture" id=5] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk4.png" type="Texture" id=6] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk5.png" type="Texture" id=7] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk6.png" type="Texture" id=8] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk7.png" type="Texture" id=9] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltuxwalk8.png" type="Texture" id=10] [ext_resource path="res://Sprites/Worldmap/Player/Small/smalltux.png" type="Texture" id=11] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk1.png" type="Texture" id=12] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk2.png" type="Texture" id=13] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk3.png" type="Texture" id=14] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk4.png" type="Texture" id=15] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk5.png" type="Texture" id=16] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk6.png" type="Texture" id=17] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk7.png" type="Texture" id=18] [ext_resource path="res://Sprites/Worldmap/Player/Big/tuxwalk8.png" type="Texture" id=19] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "idle", "speed": 5.0 }, { "frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ) ], "loop": true, "name": "walk_small", "speed": 20.0 }, { "frames": [ ExtResource( 11 ) ], "loop": true, "name": "idle_small", "speed": 5.0 }, { "frames": [ ExtResource( 12 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 19 ) ], "loop": true, "name": "walk", "speed": 20.0 } ] [node name="Player" type="Node2D"] z_index = 3 z_as_relative = false script = ExtResource( 1 ) [node name="Control" type="Control" parent="."] 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 [node name="AnimatedSprite" type="AnimatedSprite" parent="Control"] position = Vector2( 16, 8 ) frames = SubResource( 1 ) animation = "idle" ================================================ FILE: src/Scenes/UI/CoinCounter.gd ================================================ extends Node var coins = 0 var offset = 0 const SMOOTH_FACTOR = 5 func _ready(): offset = 100 $CoinCounter/CoinCount.text = "0" func _process(_delta): $CoinCounter.rect_position.x = get_viewport().size.x + offset if offset < 2: offset = 0 else: offset *= 0.8 $CoinCounter/CoinCount.rect_size.x = 0 $CoinCounter/CoinCount.rect_position.x = -34 - ($CoinCounter/CoinCount.rect_size.x * 0.5) $CoinCounter/CoinCount.text = str(coins) ================================================ FILE: src/Scenes/UI/FileSelect.gd ================================================ extends CanvasLayer var directory = null var dir = Directory.new() var selectedfile = null var selectdir = null var cancel = true var save = false var savename = "" var filetype = "" func _ready(): $Popup/Panel/VBoxContainer/FileName.visible = save $Popup/Panel/VBoxContainer/FileName/HSplitContainer/FileType.text = filetype $Popup.show() reload() func _process(delta): $Popup/Panel/HBoxContainer/OK.disabled = false if save and savename == "": $Popup/Panel/HBoxContainer/OK.disabled = true if selectedfile == null: savename = $Popup/Panel/VBoxContainer/FileName/HSplitContainer/LineEdit.text else: savename = selectedfile var end = savename.rfind(".") savename.erase(end, savename.length() - end) if $Popup/Panel/VBoxContainer/FileName/HSplitContainer/LineEdit.text != savename: $Popup/Panel/VBoxContainer/FileName/HSplitContainer/LineEdit.text = savename UIHelpers.get_editor().clickdisable = true for child in $Popup/Panel/VBoxContainer/ScrollContainer/Files.get_children(): if selectedfile == child.text: child.pressed = true else: child.pressed = false selectdir = str(directory, "/", selectedfile) func reload(): # Make sure directory ends in / if !directory.ends_with("/"): directory = str(directory, "/") selectedfile = null # Clear selected file # Delete existing children for child in $Popup/Panel/VBoxContainer/ScrollContainer/Files.get_children(): child.queue_free() $Popup/Panel/VBoxContainer/TopBar/DirectoryName.text = directory # Update top text # Get all the files in the directory, then add each as a button node var files = list_files_in_directory(directory) for file in files: if (filetype in file or not "." in file or filetype == "") and not ".import" in file and not "EditedLevel" in file: var child = load("res://Scenes/Editor/FileSelectButton.tscn").instance() child.text = file $Popup/Panel/VBoxContainer/ScrollContainer/Files.add_child(child) func _on_Back_pressed(): var dir2 = directory.trim_suffix("/") var end = dir2.rfind("/") dir2.erase(end, dir2.length() - end) if dir2.length() > 1: directory = dir2 reload() func _on_Reload_pressed(): reload() func _on_OK_pressed(): var files = list_files_in_directory(directory) if save and (selectedfile != null or (str(savename, filetype) in files)): $Popup.hide() $Overwrite.show() else: cancel = false queue_free() func _on_Cancel_pressed(): queue_free() func list_files_in_directory(path): var 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 func _on_LineEdit_text_changed(new_text): selectedfile = null func _on_OverwriteYes_pressed(): cancel = false queue_free() func _on_OverwriteNo_pressed(): $Overwrite.hide() $Popup.show() ================================================ FILE: src/Scenes/UI/FileSelect.tscn ================================================ [gd_scene load_steps=9 format=2] [ext_resource path="res://Scenes/UI/FileSelect.gd" type="Script" id=1] [ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=2] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=3] [ext_resource path="res://Sprites/UI/FileDialog/FileBack.png" type="Texture" id=4] [ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=5] [ext_resource path="res://Sprites/UI/FileDialog/FileReload.png" type="Texture" id=6] [sub_resource type="DynamicFont" id=1] size = 12 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_mipmaps = true use_filter = true extra_spacing_top = 6 extra_spacing_char = -1 font_data = ExtResource( 5 ) [sub_resource type="DynamicFont" id=2] size = 14 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_mipmaps = true use_filter = true extra_spacing_top = 6 extra_spacing_char = -2 font_data = ExtResource( 5 ) [node name="CanvasLayer" type="CanvasLayer"] layer = 8 script = ExtResource( 1 ) [node name="Overwrite" type="Control" parent="."] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -150.0 margin_top = -47.5 margin_right = 150.0 margin_bottom = 47.5 theme = ExtResource( 2 ) [node name="Panel" type="Panel" parent="Overwrite"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="Overwrite/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 custom_constants/separation = 10 alignment = 1 [node name="Label" type="Label" parent="Overwrite/Panel/VBoxContainer"] margin_top = 2.0 margin_right = 284.0 margin_bottom = 23.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 = "Overwrite the file?" align = 1 [node name="Line" type="TextureRect" parent="Overwrite/Panel/VBoxContainer"] margin_top = 33.0 margin_right = 284.0 margin_bottom = 35.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="HBoxContainer" type="HBoxContainer" parent="Overwrite/Panel/VBoxContainer"] margin_top = 45.0 margin_right = 284.0 margin_bottom = 77.0 rect_min_size = Vector2( 0, 32 ) custom_constants/separation = 80 alignment = 1 [node name="OverwriteYes" type="Button" parent="Overwrite/Panel/VBoxContainer/HBoxContainer"] margin_left = 38.0 margin_right = 76.0 margin_bottom = 32.0 rect_min_size = Vector2( 38, 0 ) focus_mode = 0 enabled_focus_mode = 0 text = "OK" [node name="OverwriteNo" type="Button" parent="Overwrite/Panel/VBoxContainer/HBoxContainer"] margin_left = 156.0 margin_right = 245.0 margin_bottom = 32.0 rect_min_size = Vector2( 89, 0 ) focus_mode = 0 enabled_focus_mode = 0 text = "Cancel" [node name="Popup" type="Control" parent="."] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -200.0 margin_top = -180.0 margin_right = 200.0 margin_bottom = 180.0 theme = ExtResource( 2 ) [node name="Panel" type="Panel" parent="Popup"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="Popup/Panel"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = 8.0 margin_right = -8.0 margin_bottom = -39.0 rect_clip_content = true [node name="TopBar" type="HBoxContainer" parent="Popup/Panel/VBoxContainer"] margin_right = 384.0 margin_bottom = 30.0 alignment = 1 [node name="Back" type="TextureButton" parent="Popup/Panel/VBoxContainer/TopBar"] visible = false margin_left = 8.0 margin_right = 38.0 margin_bottom = 30.0 rect_min_size = Vector2( 30, 30 ) focus_mode = 1 shortcut_in_tooltip = false action_mode = 0 enabled_focus_mode = 1 texture_normal = ExtResource( 4 ) expand = true [node name="DirectoryName" type="Label" parent="Popup/Panel/VBoxContainer/TopBar"] margin_left = 25.0 margin_top = 5.0 margin_right = 325.0 margin_bottom = 24.0 rect_min_size = Vector2( 300, 0 ) rect_clip_content = true custom_fonts/font = SubResource( 1 ) 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 = "res://Scenes//Levels" align = 1 valign = 1 clip_text = true [node name="Reload" type="TextureButton" parent="Popup/Panel/VBoxContainer/TopBar"] margin_left = 329.0 margin_right = 359.0 margin_bottom = 30.0 rect_min_size = Vector2( 30, 30 ) focus_mode = 1 shortcut_in_tooltip = false action_mode = 0 enabled_focus_mode = 1 texture_normal = ExtResource( 6 ) expand = true [node name="Line" type="TextureRect" parent="Popup/Panel/VBoxContainer"] margin_top = 34.0 margin_right = 384.0 margin_bottom = 36.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="ScrollContainer" type="ScrollContainer" parent="Popup/Panel/VBoxContainer"] margin_top = 40.0 margin_right = 384.0 margin_bottom = 274.0 rect_min_size = Vector2( 384, 0 ) size_flags_vertical = 3 scroll_horizontal_enabled = false [node name="Files" type="VBoxContainer" parent="Popup/Panel/VBoxContainer/ScrollContainer"] margin_right = 384.0 margin_bottom = 234.0 rect_min_size = Vector2( 384, 0 ) size_flags_vertical = 3 custom_constants/separation = 2 [node name="FileName" type="VBoxContainer" parent="Popup/Panel/VBoxContainer"] margin_top = 278.0 margin_right = 384.0 margin_bottom = 313.0 custom_constants/separation = 1 alignment = 1 [node name="Line3" type="TextureRect" parent="Popup/Panel/VBoxContainer/FileName"] margin_right = 384.0 margin_bottom = 2.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="HSplitContainer" type="HBoxContainer" parent="Popup/Panel/VBoxContainer/FileName"] margin_top = 3.0 margin_right = 384.0 margin_bottom = 35.0 rect_min_size = Vector2( 0, 32 ) [node name="Label" type="Label" parent="Popup/Panel/VBoxContainer/FileName/HSplitContainer"] margin_top = 5.0 margin_right = 65.0 margin_bottom = 26.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:" [node name="LineEdit" type="LineEdit" parent="Popup/Panel/VBoxContainer/FileName/HSplitContainer"] margin_left = 69.0 margin_right = 342.0 margin_bottom = 32.0 size_flags_horizontal = 3 context_menu_enabled = false [node name="FileType" type="Label" parent="Popup/Panel/VBoxContainer/FileName/HSplitContainer"] margin_left = 346.0 margin_top = 5.0 margin_right = 384.0 margin_bottom = 26.0 custom_fonts/font = SubResource( 2 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = ".tscn" [node name="Line2" type="TextureRect" parent="Popup/Panel"] anchor_right = 1.0 margin_top = 322.0 margin_bottom = 324.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="HBoxContainer" type="HBoxContainer" parent="Popup/Panel"] margin_top = 324.0 margin_right = 390.0 margin_bottom = 356.0 custom_constants/separation = 80 alignment = 1 [node name="OK" type="Button" parent="Popup/Panel/HBoxContainer"] margin_left = 91.0 margin_right = 129.0 margin_bottom = 32.0 rect_min_size = Vector2( 38, 0 ) focus_mode = 0 enabled_focus_mode = 0 text = "OK" [node name="Cancel" type="Button" parent="Popup/Panel/HBoxContainer"] margin_left = 209.0 margin_right = 298.0 margin_bottom = 32.0 rect_min_size = Vector2( 89, 0 ) focus_mode = 0 enabled_focus_mode = 0 text = "Cancel" [connection signal="pressed" from="Overwrite/Panel/VBoxContainer/HBoxContainer/OverwriteYes" to="." method="_on_OverwriteYes_pressed"] [connection signal="pressed" from="Overwrite/Panel/VBoxContainer/HBoxContainer/OverwriteNo" to="." method="_on_OverwriteNo_pressed"] [connection signal="pressed" from="Popup/Panel/VBoxContainer/TopBar/Back" to="." method="_on_Back_pressed"] [connection signal="pressed" from="Popup/Panel/VBoxContainer/TopBar/Reload" to="." method="_on_Reload_pressed"] [connection signal="text_changed" from="Popup/Panel/VBoxContainer/FileName/HSplitContainer/LineEdit" to="." method="_on_LineEdit_text_changed"] [connection signal="pressed" from="Popup/Panel/HBoxContainer/OK" to="." method="_on_OK_pressed"] [connection signal="pressed" from="Popup/Panel/HBoxContainer/Cancel" to="." method="_on_Cancel_pressed"] ================================================ FILE: src/Scenes/UI/Helpers.gd ================================================ extends Node func _get_scene(): return get_tree().current_scene func get_camera(): return _get_scene().get_node("Camera2D") func get_player(): return _get_scene().get_node("Player") func get_level(): return _get_scene().get_node("Level") func get_editor(): return _get_scene().get_node("Editor") func file_dialog(directory, filetype, save): var dialog = load("res://Scenes/UI/FileSelect.tscn").instance() dialog.set_name("FileSelect") dialog.directory = directory dialog.filetype = filetype dialog.save = save _get_scene().add_child(dialog) ================================================ FILE: src/Scenes/UI/Level.gd ================================================ extends Node export var level_name = "" export var level_creator = "" export var music = "" export var worldmap = false ================================================ FILE: src/Scenes/UI/LevelEditor.gd ================================================ extends Node2D const CAMERA_MOVE_SPEED = 32 var category_selected = "Tiles" var layer_selected = "" var layer_selected_type = "" var layerfile = null var tile_type = 0 var tile_selected = Vector2(0,0) var old_tile_selected = Vector2(0,0) var object_category = "" var object_type = "" var old_object_type = "" var mouse_down = false var anim_in = false var rect_start_pos = Vector2() # Where you started clicking for the rectangle select var dragging_object = false var dragpos = Vector2() var object_dragged = "" var movetime_up = 0 var movetime_down = 0 var movetime_left = 0 var movetime_right = 0 var player_drag_half = "bottom" var player_hovered = false var expanding = false var expandingobject = "" var expandingdir = "" var expandpos = Vector2() var stop = false var dir = Directory.new() var clickdisable = false var tilemap = null func _ready(): if UIHelpers.get_level() == null: initial_menu() return if UIHelpers.get_level().worldmap: # Worldmap Tiles tilemap = $WorldMap else: tilemap = $TileMap # Level Tiles if UIHelpers.get_level().music != "": $Menu/Settings/Panel/VBoxContainer/Music/MusicSelect.text = UIHelpers.get_level().music $GrabArea.offset = Vector2(9999999,99999999) $Menu/Settings/Panel/VBoxContainer/Name/LevelName.text = UIHelpers.get_level().level_name $Menu/Settings/Panel/VBoxContainer/Creator/LevelCreator.text = UIHelpers.get_level().level_creator anim_in = get_tree().current_scene.editmode visible = false $UI.offset = Vector2(get_viewport().size.x * 9999,get_viewport().size.y * 9999) $UI/SideBar/VBoxContainer/TilesButton.grab_focus() update_tiles() update_layers() select_first_solid_tilemap() func _process(_delta): layerfile = UIHelpers.get_level().get_node(layer_selected) if layerfile == null: layer_selected == "" layer_selected_type = "" $SelectedArea.visible = false $EraserSprite.visible = false $SelectedTile.visible = false print("ERROR! There is no level loaded!") return if stop == true: $SelectedArea.visible = false $EraserSprite.visible = false $SelectedTile.visible = false return # General positioning stuff $UI/SideBar/VBoxContainer/TilesButton.text = "" $UI/SideBar/VBoxContainer/ObjectsButton.text = "" $Grid.rect_size = Vector2((get_viewport().size.x + 32) * 4 * UIHelpers.get_camera().zoom.x, (get_viewport().size.y + 32) * 4 * UIHelpers.get_camera().zoom.y) $Grid.rect_position = Vector2(UIHelpers.get_camera().position.x - (get_viewport().size.x / 2) * UIHelpers.get_camera().zoom.x, UIHelpers.get_camera().position.y - (get_viewport().size.y / 2) * UIHelpers.get_camera().zoom.y) $Grid.rect_position = Vector2(floor($Grid.rect_position.x / 32) * 32, floor($Grid.rect_position.y / 32) * 32) if layer_selected_type == "TileMap" and category_selected == "Tiles": $Grid.rect_position += Vector2(fmod(layerfile.position.x, 32),fmod(layerfile.position.y, 32)) $UI/BottomBar/ScrollContainer/HBoxContainer.rect_min_size.y = 64 $UI/BottomBar/ScrollContainer.rect_size.y = 64 if $UI/BottomBar/ScrollContainer.rect_size.y != 64: $UI/BottomBar/ScrollContainer/HBoxContainer.rect_min_size.y = 52 $UI/BottomBar/ScrollContainer.rect_size.y = 64 # Show and hide if get_tree().current_scene.editmode == false: # Move out animation if anim_in == true: anim_in = false $UI/AnimationPlayer.play("MoveOut") if $UI/AnimationPlayer.current_animation != "MoveOut": visible = false $UI.offset = Vector2 (get_viewport().size.x * 9999,get_viewport().size.y * 9999) return else: # Move in animation if anim_in == false: anim_in = true $UI/AnimationPlayer.play("MoveIn") visible = true $UI.offset = Vector2(0,0) # Editor settings menu if Input.is_action_just_pressed("pause") and !clickdisable: if $Menu/Editor.visible: $Menu/Editor.hide() else: $Menu/Editor.show() if $Menu/Editor.visible or $Menu/Create.visible or $Menu/Settings.visible or $Menu/Exit.visible or $UI/AddLayer.visible: $SelectedTile.visible = false clickdisable = true UIHelpers.get_level().level_name = $Menu/Settings/Panel/VBoxContainer/Name/LevelName.text UIHelpers.get_level().level_creator = $Menu/Settings/Panel/VBoxContainer/Creator/LevelCreator.text return # Navigation if Input.is_action_pressed("ui_up"): UIHelpers.get_camera().position.y -= CAMERA_MOVE_SPEED movetime_up += 1 elif Input.is_action_just_released("ui_up"): movetime_up = -1 else: movetime_up = 0 if Input.is_action_pressed("ui_down"): UIHelpers.get_camera().position.y += CAMERA_MOVE_SPEED movetime_down += 1 elif Input.is_action_just_released("ui_down"): movetime_down = -1 else: movetime_down = 0 if Input.is_action_pressed("ui_left"): UIHelpers.get_camera().position.x -= CAMERA_MOVE_SPEED movetime_left += 1 elif Input.is_action_just_released("ui_left"): movetime_left = -1 else: movetime_left = 0 if Input.is_action_pressed("ui_right"): UIHelpers.get_camera().position.x += CAMERA_MOVE_SPEED movetime_right += 1 elif Input.is_action_just_released("ui_right"): movetime_right = -1 else: movetime_right = 0 # Round player position UIHelpers.get_player().position.x = (floor(UIHelpers.get_player().position.x / 32) * 32) + 16 if UIHelpers.get_level().worldmap: UIHelpers.get_player().position.y = (floor(UIHelpers.get_player().position.y / 32) * 32) + 16 else: UIHelpers.get_player().position.y = round(UIHelpers.get_player().position.y / 32) * 32 # Delay the player movement by one frame to sync with the camera if !UIHelpers.get_level().worldmap: if movetime_up != 1 and movetime_up != 0: UIHelpers.get_player().position.y -= CAMERA_MOVE_SPEED if movetime_down != 1 and movetime_down != 0: UIHelpers.get_player().position.y += CAMERA_MOVE_SPEED if movetime_left != 1 and movetime_left != 0: UIHelpers.get_player().position.x -= CAMERA_MOVE_SPEED if movetime_right != 1 and movetime_right != 0: UIHelpers.get_player().position.x += CAMERA_MOVE_SPEED # Disable rectangle select for objects if category_selected == "Objects": $UI/SideBar/VBoxContainer/HBoxContainer/SelectButton.disabled = true $UI/SideBar/VBoxContainer/HBoxContainer/SelectButton.pressed = false $UI/SideBar/VBoxContainer/HBoxContainer/SelectButton/TextureRect.self_modulate = Color(1,1,1,0.5) else: $UI/SideBar/VBoxContainer/HBoxContainer/SelectButton.disabled = false $UI/SideBar/VBoxContainer/HBoxContainer/SelectButton/TextureRect.self_modulate = Color(1,1,1,1) # Placing tiles / objects if layer_selected_type == "TileMap" and category_selected == "Tiles": tile_selected = layerfile.world_to_map(Vector2(get_global_mouse_position().x - ((1 - layerfile.scroll_speed.x) * UIHelpers.get_camera().position.x), get_global_mouse_position().y - ((1 - layerfile.scroll_speed.y) * UIHelpers.get_camera().position.y))) else: tile_selected = tilemap.world_to_map(get_global_mouse_position()) update_selected_tile() # Click disable if not Input.is_action_pressed("click_left"): clickdisable = false # Drag the player if player_hovered and Input.is_action_just_pressed("click_left") and !dragging_object and !expanding: dragging_object = true object_dragged = "Player" dragpos = Vector2(0,0) UIHelpers.get_player().get_node("Control/AnimatedSprite").scale += Vector2(0.25,0.25) if $SelectedTile.position == Vector2(UIHelpers.get_player().position.x,UIHelpers.get_player().position.y - 16): player_drag_half = "top" else: player_drag_half = "bottom" var object_hovered = false # If clicking on a tile occupied by an object, pick up the object if !clickdisable and $UI/SideBar/VBoxContainer/HBoxContainer/EraserButton.pressed == false and !dragging_object and !expanding: for child in get_tree().current_scene.get_node("Level").get_children(): if not child.is_in_group("layers") and not child.is_in_group("expandable"): if child.position == $SelectedTile.position: $SelectedTile.visible = false object_hovered = true if Input.is_action_just_pressed("click_left"): dragging_object = true object_dragged = child.get_name() child.scale += Vector2(0.25,0.25) dragpos = Vector2(0,0) return if Input.is_action_just_pressed("click_right") and child.is_in_group("popup"): child.get_node("CanvasLayer/Popup").show() clickdisable = true # If clicking on an expandable area, drag it if !clickdisable and !object_hovered and not($GrabArea/C1.is_hovered()) and not($GrabArea/C2.is_hovered()) and not($GrabArea/C3.is_hovered()) and not($GrabArea/C4.is_hovered()) and $UI/SideBar/VBoxContainer/HBoxContainer/EraserButton.pressed == false and !dragging_object and !expanding: for child in get_tree().current_scene.get_node("Level").get_children(): if child.is_in_group("expandable"): if $SelectedTile.position.x >= child.position.x and $SelectedTile.position.y >= child.position.y and $SelectedTile.position.x <= child.position.x + (child.get_node("Control").rect_size.x - 32) and $SelectedTile.position.y <= child.position.y + (child.get_node("Control").rect_size.y - 32): $SelectedTile.visible = false object_hovered = true if Input.is_action_just_pressed("click_right") and child.is_in_group("popup"): child.get_node("CanvasLayer/Popup").show() clickdisable = true elif Input.is_action_just_pressed("click_left"): dragging_object = true object_dragged = child.get_name() dragpos = Vector2(child.position.x - $SelectedTile.position.x, child.position.y - $SelectedTile.position.y) return # Show expandable area buttons $GrabArea.offset = Vector2(9999999,99999999) if !clickdisable and UIHelpers._get_scene().editmode and $UI/SideBar/VBoxContainer/HBoxContainer/EraserButton.pressed == false and !dragging_object and !expanding: for child in get_tree().current_scene.get_node("Level").get_children(): if child.is_in_group("expandable"): if child.is_in_group("popup"): if child.get_node("CanvasLayer/Popup").visible: object_hovered = true $SelectedTile.visible = false return if $SelectedTile.position.x >= child.position.x - 32 and $SelectedTile.position.y >= child.position.y - 32 and $SelectedTile.position.x <= child.position.x + (child.get_node("Control").rect_size.x - 32) + 32 and $SelectedTile.position.y <= child.position.y + (child.get_node("Control").rect_size.y - 32) + 32: $GrabArea/C1.rect_position = Vector2((child.position.x) - 16, (child.position.y) - 16) $GrabArea/C2.rect_position = Vector2((child.position.x + (child.get_node("Control").rect_size.x - 32) + 16), (child.position.y) - 16) $GrabArea/C3.rect_position = Vector2((child.position.x) - 16, (child.position.y + (child.get_node("Control").rect_size.y - 32) + 16)) $GrabArea/C4.rect_position = Vector2((child.position.x + (child.get_node("Control").rect_size.x - 32) + 16), (child.position.y + (child.get_node("Control").rect_size.y - 32) + 16)) $GrabArea.scale = Vector2(1,1) / UIHelpers.get_camera().zoom $GrabArea.offset = (UIHelpers.get_camera().position * -1 * $GrabArea.scale) - Vector2(get_viewport().size.x * -0.5, get_viewport().size.y * -0.5) - (Vector2(11,11) * $GrabArea.scale) if $GrabArea/C1.is_hovered() or $GrabArea/C2.is_hovered() or $GrabArea/C3.is_hovered() or $GrabArea/C4.is_hovered(): $SelectedTile.visible = false object_hovered = true if $GrabArea/C1.pressed: expanding = true expandingobject = child.get_name() expandingdir = "" expandpos = Vector2(child.position.x + (child.get_node("Control").rect_size.x - 32), child.position.y + (child.get_node("Control").rect_size.y - 32)) if $GrabArea/C2.pressed: expanding = true expandingobject = child.get_name() expandingdir = "" expandpos = Vector2(child.position.x, child.position.y + (child.get_node("Control").rect_size.y - 32)) if $GrabArea/C3.pressed: expanding = true expandingobject = child.get_name() expandingdir = "" expandpos = Vector2(child.position.x + (child.get_node("Control").rect_size.x - 32), child.position.y) if $GrabArea/C4.pressed: expanding = true expandingobject = child.get_name() expandingdir = "" expandpos = Vector2(child.position.x, child.position.y) # Let go of dragged objects if not Input.is_action_pressed("click_left") and dragging_object == true: dragging_object = false $GrabSprite.visible = false if object_dragged != "Player": if not get_tree().current_scene.get_node(str("Level/", object_dragged)).is_in_group("expandable"): get_tree().current_scene.get_node(str("Level/", object_dragged)).scale -= Vector2(0.25,0.25) if not get_tree().current_scene.get_node(str("Level/", object_dragged)).is_in_group("stackable"): for child in get_tree().current_scene.get_node("Level").get_children(): if child.position == $SelectedTile.position and child.get_name() != object_dragged and not child.is_in_group("stackable"): child.queue_free() else: UIHelpers.get_player().get_node("Control/AnimatedSprite").scale -= Vector2(0.25,0.25) # Drag the object if Input.is_action_pressed("click_left") and dragging_object == true: $SelectedTile.visible = false $GrabSprite.visible = true $GrabSprite.position = $SelectedTile.position if object_dragged != "Player": get_tree().current_scene.get_node(str("Level/", object_dragged)).position = $SelectedTile.position + dragpos else: UIHelpers.get_player().position = $SelectedTile.position if !UIHelpers.get_level().worldmap: if player_drag_half == "top": UIHelpers.get_player().position.y += 16 else: UIHelpers.get_player().position.y -= 16 # Expand resizable areas if expanding: var expobject = get_tree().current_scene.get_node(str("Level/", expandingobject)) var expandposmap = tilemap.world_to_map(expandpos) if Input.is_action_pressed("click_left"): # Drag Horizontal if tilemap.world_to_map(get_global_mouse_position()).x >= expandposmap.x: expobject.position.x = expandpos.x expobject.get_node("Control").rect_size.x = ((tilemap.world_to_map(get_global_mouse_position()).x - expandposmap.x) * 32) + 32 else: expobject.position.x = (tilemap.world_to_map(get_global_mouse_position()).x * 32) + 16 expobject.get_node("Control").rect_size.x = ((expandposmap.x - tilemap.world_to_map(get_global_mouse_position()).x) * 32) + 32 # Drag Vertical if tilemap.world_to_map(get_global_mouse_position()).y >= expandposmap.y: expobject.position.y = expandpos.y expobject.get_node("Control").rect_size.y = ((tilemap.world_to_map(get_global_mouse_position()).y - expandposmap.y) * 32) + 32 else: expobject.position.y = (tilemap.world_to_map(get_global_mouse_position()).y * 32) + 16 expobject.get_node("Control").rect_size.y = ((expandposmap.y - tilemap.world_to_map(get_global_mouse_position()).y) * 32) + 32 expobject.boxsize.x = expobject.get_node("Control").rect_size.x expobject.boxsize.y = expobject.get_node("Control").rect_size.y else: expanding = false if Input.is_action_pressed("click_left") and !dragging_object and !expanding and !clickdisable: # If the mouse isn't on the level editor UI or zoom buttons if get_viewport().get_mouse_position().x < get_viewport().size.x - 128 and get_viewport().get_mouse_position().y < get_viewport().size.y - 64 and (tile_selected != old_tile_selected or mouse_down == false) and $UI/BottomBar/Zoom/ZoomIn.is_hovered() == false and $UI/BottomBar/Zoom/ZoomDefault.is_hovered() == false and $UI/BottomBar/Zoom/ZoomOut.is_hovered() == false: # Tile placing / erasing if category_selected == "Tiles": # Only works if the layer selected is a TileMap if layer_selected_type == "TileMap": # Rectangle Tile Placing / Erasing if $UI/SideBar/VBoxContainer/HBoxContainer/SelectButton.pressed: var startx = 0 var endx = 0 var starty = 0 var endy = 0 if tile_selected.x >= rect_start_pos.x: startx = rect_start_pos.x endx = tile_selected.x + 1 else: endx = rect_start_pos.x + 1 startx = tile_selected.x if tile_selected.y >= rect_start_pos.y: starty = rect_start_pos.y endy = tile_selected.y + 1 else: endy = rect_start_pos.y + 1 starty = tile_selected.y for i in range(startx, endx): for i2 in range(starty, endy): if $UI/SideBar/VBoxContainer/HBoxContainer/EraserButton.pressed: layerfile.set_cellv(Vector2(i,i2), -1) else: layerfile.set_cellv(Vector2(i,i2), tile_type) layerfile.update_bitmask_region(Vector2(startx,starty),Vector2(endx,endy)) # Tile erasing elif $UI/SideBar/VBoxContainer/HBoxContainer/EraserButton.pressed: layerfile.set_cellv(tile_selected, -1) layerfile.update_bitmask_area(tile_selected) # Tile placing else: layerfile.set_cellv(tile_selected, tile_type) layerfile.update_bitmask_area(tile_selected) # Object placing / erasing else: # Object erasing (also happens when placing objects so they don't stack) var erasedobject = false for child in get_tree().current_scene.get_node("Level").get_children(): if child.position == $SelectedTile.position and not child.is_in_group("expandable"): child.queue_free() erasedobject = true if !erasedobject: for child in get_tree().current_scene.get_node("Level").get_children(): if child.is_in_group("expandable"): if $SelectedTile.position.x >= child.position.x and $SelectedTile.position.y >= child.position.y and $SelectedTile.position.x <= child.position.x + (child.get_node("Control").rect_size.x - 32) and $SelectedTile.position.y <= child.position.y + (child.get_node("Control").rect_size.y - 32): child.queue_free() # Object placing if $UI/SideBar/VBoxContainer/HBoxContainer/EraserButton.pressed == false and object_type != "": var object = load(str("res://Scenes/Objects/", object_category, "/", object_type)).instance() object.position = $SelectedTile.position get_tree().current_scene.get_node("Level").add_child(object) object.set_owner(get_tree().current_scene.get_node("Level")) var objectname = object_type objectname.erase(objectname.length() -5, 5) # If the object is in the group "oneonly", delete all other instances of it if object.is_in_group("oneonly"): object.set_name(objectname) for child in get_tree().current_scene.get_node("Level").get_children(): if child.filename == object.filename and not child.is_in_group("layers"): if child.name != object.name: child.queue_free() object.set_name(objectname) # Resize expandable objects if object.is_in_group("expandable"): expanding = true expandingobject = object.get_name() expandingdir = "" expandpos = object.position # If the object isn't expandable drag it instead elif not Input.is_action_pressed("action") or object.is_in_group("oneonly"): dragging_object = true dragpos = Vector2(0,0) object_dragged = object.get_name() object.scale += Vector2(0.25,0.25) mouse_down = true else: mouse_down = false old_tile_selected = tile_selected func update_selected_tile(): $SelectedArea.visible = false $EraserSprite.visible = false $SelectedTile.visible = false $SelectedTile.scale = Vector2(1,1) $SelectedTile.region_rect.size = Vector2(32,32) $SelectedTile.centered = true $SelectedTile.region_enabled = false player_hovered = false if clickdisable or not (get_viewport().get_mouse_position().x < get_viewport().size.x - 128 and get_viewport().get_mouse_position().y < get_viewport().size.y - 64): if clickdisable: $SelectedTile.visible = false return if layer_selected_type != "TileMap" and category_selected == "Tiles": return if not ($UI/BottomBar/Zoom/ZoomIn.is_hovered() == false and $UI/BottomBar/Zoom/ZoomDefault.is_hovered() == false and $UI/BottomBar/Zoom/ZoomOut.is_hovered() == false): return if layer_selected_type == "TileMap" and category_selected == "Tiles": $SelectedTile.position.x = ((tile_selected.x + 0.5) * 32) + (UIHelpers.get_camera().position.x * (1 - layerfile.scroll_speed.x)) $SelectedTile.position.y = ((tile_selected.y + 0.5) * 32) + (UIHelpers.get_camera().position.y * (1 - layerfile.scroll_speed.y)) else: $SelectedTile.position.x = (tile_selected.x + 0.5) * 32 $SelectedTile.position.y = (tile_selected.y + 0.5) * 32 if UIHelpers.get_level().worldmap and ($SelectedTile.position == Vector2(UIHelpers.get_player().position.x,UIHelpers.get_player().position.y - 16) and UIHelpers.get_player().state != "small") or $SelectedTile.position == Vector2(UIHelpers.get_player().position.x,UIHelpers.get_player().position.y + 16) and dragging_object == false: player_hovered = true return if UIHelpers.get_level().worldmap and ($SelectedTile.position == Vector2(UIHelpers.get_player().position.x,UIHelpers.get_player().position.y)) and dragging_object == false: player_hovered = true return if dragging_object or expanding: return # Rectangle selection $SelectedArea.visible = false if $UI/SideBar/VBoxContainer/HBoxContainer/SelectButton.pressed == true and Input.is_action_pressed("click_left"): # Start rectangle selection if Input.is_action_just_pressed("click_left"): rect_start_pos = tile_selected $SelectedArea.rect_position.x = (rect_start_pos.x) * 32 $SelectedArea.rect_position.y = (rect_start_pos.y) * 32 $SelectedArea.rect_scale.x = (-1 * ($SelectedArea.rect_position.x - ($SelectedTile.position.x))) / 32 $SelectedArea.rect_scale.y = (-1 * ($SelectedArea.rect_position.y - ($SelectedTile.position.y))) / 32 $SelectedArea.rect_scale.x += 0.5 * ($SelectedArea.rect_scale.x / abs($SelectedArea.rect_scale.x)) $SelectedArea.rect_scale.y += 0.5 * ($SelectedArea.rect_scale.y / abs($SelectedArea.rect_scale.y)) if $SelectedArea.rect_scale.x < 0: $SelectedArea.rect_position.x += 32 $SelectedArea.rect_scale.x -= 1 if $SelectedArea.rect_scale.y < 0: $SelectedArea.rect_position.y += 32 $SelectedArea.rect_scale.y -= 1 $SelectedArea.visible = true # Eraser selection elif $UI/SideBar/VBoxContainer/HBoxContainer/EraserButton.pressed == true: $SelectedArea.color = Color(1,0,0,0.5) $EraserSprite.visible = true $SelectedTile.visible = true $SelectedTile.texture = load("res://Sprites/Editor/EraseSelect.png") $SelectedTile.scale = Vector2(0.25,0.25) $SelectedTile.region_enabled = false $SelectedTile.modulate = Color(1,1,1,1) $SelectedTile.offset = Vector2(0,0) $EraserSprite.position = $SelectedTile.position old_object_type = "" else: $SelectedArea.color = Color(0,1,0,0.5) $EraserSprite.visible = false $SelectedTile.visible = true $SelectedTile.modulate = Color(1,1,1,0.5) # Tile selection if category_selected == "Tiles": $SelectedTile.offset = Vector2(0,0) var selected_texture = tilemap.get_tileset().tile_get_texture(tile_type) $SelectedTile.texture = (selected_texture) if tilemap.get_tileset().tile_get_tile_mode(tile_type) == 1: $SelectedTile.region_rect.position = tilemap.get_tileset().autotile_get_icon_coordinate(tile_type) * 32 else: $SelectedTile.region_rect.position = tilemap.get_tileset().tile_get_region(tile_type).position $SelectedTile.region_rect.size = tilemap.get_tileset().tile_get_region(tile_type).size $SelectedTile.centered = false $SelectedTile.offset = Vector2(-16,-16) $SelectedTile.region_enabled = true old_object_type = "" else: # Object Selection if object_type != old_object_type: get_object_texture(str("res://Scenes/Objects/", object_category, "/", object_type)) old_object_type = object_type $SelectedTile.region_enabled = false # Buttons func _on_TilesButton_pressed(): if category_selected != "Tiles": category_selected = "Tiles" for child in $UI/SideBar/ScrollContainer/SidebarList.get_children(): child.queue_free() update_tiles() func _on_ObjectsButton_pressed(): if category_selected != "Objects": category_selected = "Objects" for child in $UI/SideBar/ScrollContainer/SidebarList.get_children(): child.queue_free() update_objects() func update_tiles(): var child = load("res://Scenes/Editor/Category.tscn").instance() child.item = "Tiles" $UI/SideBar/ScrollContainer/SidebarList.add_child(child) var tiles = tilemap.get_tileset().get_tiles_ids() for i in tiles.size(): var child2 = load("res://Scenes/Editor/Tile.tscn").instance() child2.tile_type = tilemap.get_tileset().tile_get_name(tiles[i]) child.get_node("VBoxContainer/Content").add_child(child2) func update_objects(): # Update the objects list from the editor using the scenes from Scenes/Objects # Delete existing children of the objects/tiles list for child in $UI/SideBar/ScrollContainer/SidebarList.get_children(): child.queue_free() # Find all the folders in Scenes/Objects var categories = list_files_in_directory("res://Scenes/Objects/") # For every folder in Scenes/Objects for category in categories: if (category != "Map" and !UIHelpers.get_level().worldmap) or (category == "Map" and UIHelpers.get_level().worldmap): # Change category for Worldmaps # Create a category var child = load("res://Scenes/Editor/Category.tscn").instance() child.item = category $UI/SideBar/ScrollContainer/SidebarList.add_child(child) # Then for every file inside each folder var objects = list_files_in_directory(str("res://Scenes/Objects/", category, "/")) for object in objects: # If it's a scene, create an object button inside that category if ".tscn" in object: var child2 = load("res://Scenes/Editor/Object.tscn").instance() child2.object_category = category child2.object_type = object child.get_node("VBoxContainer/Content").add_child(child2) # Set the object selected to this object if none are selected if object_type == "": object_type = child2.object_type object_category = child2.object_category func get_object_texture(object_location): # Get the texture for an object if object_type == "": return $SelectedTile.scale = Vector2(1,1) $SelectedTile.region_enabled = false $SelectedTile.offset = Vector2(0,0) # 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) $SelectedTile.scale = load(object_location).instance().get_node("Control").rect_scale $SelectedTile.offset += load(object_location).instance().get_node("Control/AnimatedSprite").offset $SelectedTile.offset += load(object_location).instance().get_node("Control/AnimatedSprite").position $SelectedTile.texture = (selected_texture) # If the object has an animated sprite, set the thumbnail to that if load(object_location).instance().has_node("AnimatedSprite"): var selected_texture = load(object_location).instance().get_node("AnimatedSprite").get_sprite_frames().get_frame("default",0) $SelectedTile.scale = load(object_location).instance().get_node("AnimatedSprite").scale $SelectedTile.offset += load(object_location).instance().get_node("AnimatedSprite").offset $SelectedTile.offset += load(object_location).instance().get_node("AnimatedSprite").position $SelectedTile.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 $SelectedTile.scale = load(object_location).instance().get_node("Sprite").scale $SelectedTile.offset += load(object_location).instance().get_node("Sprite").offset $SelectedTile.offset += load(object_location).instance().get_node("Sprite").position $SelectedTile.texture = (selected_texture) # Add all the layers from Scenes/Editor/Layers func _on_LayerAdd_button_down(): $UI/AddLayer/VBoxContainer/OptionButton.clear() # Get all the files from Scenes/Editor/Layers var layers = list_files_in_directory("res://Scenes/Editor/Layers/") if UIHelpers.get_level().worldmap: layers = list_files_in_directory("res://Scenes/Editor/Layers/Worldmap/") # Different layers for Worldmap editing var tilemappos = 0 for layer in layers: # If the file is a scene, add it to the OptionButton if ".tscn" in layer: if "tilemap" in layer: tilemappos = $UI/AddLayer/VBoxContainer/OptionButton.items.size() var item = layer item.erase(item.length() - 5,5) $UI/AddLayer/VBoxContainer/OptionButton.add_icon_item(load(str("res://Sprites/Editor/LayerIcons/", item, ".png")),item) $UI/AddLayer.show() $UI/AddLayer/VBoxContainer/OptionButton.selected = tilemappos func _on_AddLayer_popup_hide(): $UI/BottomBar/LayerAdd.pressed = false func _on_LayerConfirmation_pressed(): $UI/AddLayer.hide() # Set the selected var to the selected item of the OptionButton var selected = $UI/AddLayer/VBoxContainer/OptionButton.get_item_text($UI/AddLayer/VBoxContainer/OptionButton.selected) # Then find the scene with the same name in Scenes/Editors/Layers var layer = load(str("res://Scenes/Editor/Layers/", selected, ".tscn")).instance() # Or in Scenes/Editors/Layers/Worldmap for layers when editing Worldmaps if UIHelpers.get_level().worldmap: layer = load(str("res://Scenes/Editor/Layers/Worldmap/", selected, ".tscn")).instance() layer.z_index = $UI/AddLayer/VBoxContainer/Zaxis/SpinBox.value layer.original_name = str(selected) # Then add the layer get_tree().current_scene.get_node("Level").add_child(layer) layer.set_owner(get_tree().current_scene.get_node("Level")) layer.set_name($UI/AddLayer/VBoxContainer/Name/LineEdit.text) if "@" in layer.get_name(): var newname = layer.get_name() newname.replace("@","") layer.set_name(newname) # If the layer isn't in the group "layers", add it to the group so it shows in the layer menu if not layer.is_in_group("layers"): layer.add_to_group("layers") # Select the layer layer_selected = layer.get_name() layer_selected_type = layer.get_class() layerfile = get_tree().current_scene.get_node(str("Level/", layer_selected)) # And update the layers list to reflect this update_layers() func _on_LayerCancel_pressed(): $UI/AddLayer.hide() func update_layers(): # Updates the list of layers at the bottom # Clear the existing layer list for child in $UI/BottomBar/ScrollContainer/HBoxContainer.get_children(): child.queue_free() # For every child in the Level node for child in get_tree().current_scene.get_node("Level").get_children(): # If it counts as a layer (needs to be in "layers" group) if child.is_in_group("layers"): # Make a layer node to represent it and add it as a child var layer = load("res://Scenes/Editor/Layer.tscn").instance() layer.type = child.get_class() layer.layername = child.get_name() layer.original_name = child.original_name layer.z_axis = child.z_index layer.set_name(child.get_name()) $UI/BottomBar/ScrollContainer/HBoxContainer.add_child(layer) func select_first_solid_tilemap(): for i in get_tree().get_nodes_in_group("tilemap"): if i.get_class() == "TileMap": if i.get_collision_layer() == 31: layer_selected = i.get_name() layer_selected_type = "TileMap" layerfile = get_tree().current_scene.get_node(str("Level/", layer_selected)) return func list_files_in_directory(path): var 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 func _on_ZoomIn_pressed(): get_tree().current_scene.camera_zoom -= 0.25 get_tree().current_scene.camera_zoom_speed = 5 func _on_ZoomDefault_pressed(): get_tree().current_scene.camera_zoom = 1 get_tree().current_scene.camera_zoom_speed = 5 func _on_ZoomOut_pressed(): get_tree().current_scene.camera_zoom += 0.25 get_tree().current_scene.camera_zoom_speed = 5 func _on_Play_pressed(): get_tree().current_scene.editmode_toggle() func _on_SettingsConfirmation_pressed(): $Menu/Settings.hide() $Menu/Editor.show() func _on_Yes_pressed(): UIHelpers._get_scene().save_level() $UI/AnimationPlayer.play("MoveOut") get_tree().current_scene.get_node("CanvasLayer/AnimationPlayer").play("Circle Out") yield(get_tree().current_scene.get_node("CanvasLayer/AnimationPlayer"), "animation_finished") get_tree().paused = false get_tree().change_scene("res://Scenes/UI/MainMenu.tscn") func _on_No_pressed(): $UI/AnimationPlayer.play("MoveOut") get_tree().current_scene.get_node("CanvasLayer/AnimationPlayer").play("Circle Out") yield(get_tree().current_scene.get_node("CanvasLayer/AnimationPlayer"), "animation_finished") get_tree().paused = false get_tree().change_scene("res://Scenes/UI/MainMenu.tscn") func _on_Cancel_pressed(): $Menu/Settings.hide() $Menu/Editor.show() func _on_LevelSave_pressed(): if UIHelpers._get_scene().current_level != "user://Scenes/Levels/EditedLevel/EditedLevel.tscn": UIHelpers._get_scene().save_level() else: $Menu/Editor.hide() UIHelpers._get_scene().save_level_as() yield(UIHelpers._get_scene().get_node("FileSelect"), "tree_exiting") $Menu/Editor.show() func _on_LevelSaveAs_pressed(): $Menu/Editor.hide() UIHelpers._get_scene().save_level_as() yield(UIHelpers._get_scene().get_node("FileSelect"), "tree_exiting") $Menu/Editor.show() func _on_LevelOpen_pressed(): $Menu/Editor.hide() UIHelpers._get_scene().open_level() yield(UIHelpers._get_scene().get_node("FileSelect"), "tree_exiting") if UIHelpers._get_scene().get_node("FileSelect").cancel == true: $Menu/Editor.show() return func _on_LevelProperties_pressed(): $Menu/Editor.hide() $Menu/Settings.show() func _on_ReturnMenu_pressed(): $Menu/Editor.hide() if UIHelpers.get_level() != null: $Menu/Exit.show() else: get_tree().change_scene("res://Scenes/UI/MainMenu.tscn") func _on_Return_pressed(): $Menu/Editor.hide() func _on_LevelCreate_pressed(): $Menu/Editor.hide() $Menu/Create.show() func _on_CreateLevel_pressed(): create_level("res://Scenes/Editor/LevelTemplates/Level.tscn") func _on_CreateMap_pressed(): create_level("res://Scenes/Editor/LevelTemplates/Worldmap.tscn") func create_level(level): var createlevel = true set_process(false) $Menu/Create.hide() if UIHelpers.get_level() != null: UIHelpers._get_scene().clear_level() UIHelpers._get_scene().clear_player() var levelinstance = load(level).instance() levelinstance.set_name("Level") UIHelpers._get_scene().add_child(levelinstance) UIHelpers._get_scene().save_edited_level() UIHelpers.get_level().queue_free() UIHelpers._get_scene().enter_level_init("user://Scenes/Levels/EditedLevel/EditedLevel.tscn", true) func _on_CancelCreation_pressed(): $Menu/Create.hide() $Menu/Editor.show() func _on_Save_pressed(): if UIHelpers._get_scene().current_level != "user://Scenes/Levels/EditedLevel/EditedLevel.tscn": UIHelpers._get_scene().save_level() else: UIHelpers._get_scene().save_level_as() yield(UIHelpers._get_scene().get_node("FileSelect"), "tree_exiting") func initial_menu(): $Menu/Editor.show() $Menu/Editor/Panel/VBoxContainer/Return.hide() $Menu/Editor/Panel/VBoxContainer/LevelSave.hide() $Menu/Editor/Panel/VBoxContainer/LevelSaveAs.hide() $Menu/Editor/Panel/VBoxContainer/LevelProperties.hide() visible = false $UI.offset = Vector2 (get_viewport().size.x * 9999,get_viewport().size.y * 9999) $GrabArea.offset = Vector2(9999999,99999999) $Play.offset = Vector2(9999999,99999999) func _on_MusicSelect_pressed(): $Menu/Settings.hide() UIHelpers.file_dialog("res://Audio/Music", ".ogg", false) # Bring up file select yield(UIHelpers._get_scene().get_node("FileSelect"), "tree_exiting") if UIHelpers._get_scene().get_node("FileSelect").cancel == false: UIHelpers.get_level().music = UIHelpers._get_scene().get_node("FileSelect").selectdir $Menu/Settings/Panel/VBoxContainer/Music/MusicSelect.text = UIHelpers.get_level().music $Menu/Settings.show() ================================================ FILE: src/Scenes/UI/LevelEditor.tscn ================================================ [gd_scene load_steps=32 format=2] [ext_resource path="res://Scenes/UI/LevelEditor.gd" type="Script" id=1] [ext_resource path="res://Sprites/Editor/Grid.png" type="Texture" id=2] [ext_resource path="res://Sprites/Editor/Grab.png" type="Texture" id=3] [ext_resource path="res://Sprites/Editor/Eraser.png" type="Texture" id=4] [ext_resource path="res://Tilesets/LevelTiles.tres" type="TileSet" id=5] [ext_resource path="res://Tilesets/MapTiles.tres" type="TileSet" id=6] [ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=7] [ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=8] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=9] [ext_resource path="res://Sprites/Editor/Rectangle.png" type="Texture" id=10] [ext_resource path="res://Sprites/Editor/Plus.png" type="Texture" id=11] [ext_resource path="res://Sprites/Editor/Equals.png" type="Texture" id=12] [ext_resource path="res://Sprites/Editor/Minus.png" type="Texture" id=13] [ext_resource path="res://Sprites/Editor/Save.png" type="Texture" id=14] [ext_resource path="res://Sprites/Editor/Wrench.png" type="Texture" id=15] [ext_resource path="res://Sprites/Creatures/Tux/Small/Jump3.png" type="Texture" id=16] [ext_resource path="res://Sprites/Editor/GrabPoint.png" type="Texture" id=17] [ext_resource path="res://Sprites/Editor/GrabPointHover.png" type="Texture" id=18] [sub_resource type="Animation" id=1] resource_name = "MoveIn" length = 0.2 tracks/0/type = "value" tracks/0/path = NodePath("BottomBar:rect_position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ Vector2( 0, 481 ), Vector2( 0, 416 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("SideBar:rect_position") 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( 0.5, 1 ), "update": 0, "values": [ Vector2( 648, 0 ), Vector2( 512, 0 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("SideBar:margin_left") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ 8.0, -128.0 ] } tracks/3/type = "value" tracks/3/path = NodePath("SideBar:margin_right") 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 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ 136.0, 0.0 ] } tracks/4/type = "value" tracks/4/path = NodePath("BottomBar:margin_top") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/imported = false tracks/4/enabled = true tracks/4/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ 1.0, -64 ] } tracks/5/type = "value" tracks/5/path = NodePath("BottomBar:margin_bottom") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/imported = false tracks/5/enabled = true tracks/5/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 0.5, 1 ), "update": 0, "values": [ 64.9999, 0 ] } tracks/6/type = "value" tracks/6/path = NodePath("../Grid:self_modulate") tracks/6/interp = 1 tracks/6/loop_wrap = true tracks/6/imported = false tracks/6/enabled = true tracks/6/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0.501961 ) ] } tracks/7/type = "value" tracks/7/path = NodePath("../Play/Play/Edit:visible") 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("../Play/Play/Play:visible") 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 ] } [sub_resource type="Animation" id=2] resource_name = "MoveOut" length = 0.1 tracks/0/type = "value" tracks/0/path = NodePath("BottomBar:rect_position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 2, 1 ), "update": 0, "values": [ Vector2( 0, 416 ), Vector2( 0, 481 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("SideBar:rect_position") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 2, 1 ), "update": 0, "values": [ Vector2( 648, 0 ), Vector2( 512, 0 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("SideBar:margin_left") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 2, 1 ), "update": 0, "values": [ -128, 8.0 ] } tracks/3/type = "value" tracks/3/path = NodePath("SideBar:margin_right") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 2, 1 ), "update": 0, "values": [ 0.0, 136.0 ] } tracks/4/type = "value" tracks/4/path = NodePath("BottomBar:margin_top") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/imported = false tracks/4/enabled = true tracks/4/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 2, 1 ), "update": 0, "values": [ -64, 1.0 ] } tracks/5/type = "value" tracks/5/path = NodePath("BottomBar:margin_bottom") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/imported = false tracks/5/enabled = true tracks/5/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 2, 1 ), "update": 0, "values": [ 0, 64.9999 ] } tracks/6/type = "value" tracks/6/path = NodePath("../Grid:self_modulate") tracks/6/interp = 1 tracks/6/loop_wrap = true tracks/6/imported = false tracks/6/enabled = true tracks/6/keys = { "times": PoolRealArray( 0, 0.1 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0.501961 ), Color( 1, 1, 1, 0 ) ] } tracks/7/type = "value" tracks/7/path = NodePath("../Play/Play/Play:visible") 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("../Play/Play/Edit:visible") 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 ] } [sub_resource type="StyleBoxFlat" id=3] bg_color = Color( 1, 1, 1, 0 ) [sub_resource type="StyleBoxFlat" id=4] bg_color = Color( 1, 1, 1, 1 ) corner_radius_top_left = 4 corner_radius_top_right = 4 corner_radius_bottom_right = 4 corner_radius_bottom_left = 4 [sub_resource type="DynamicFont" id=5] size = 18 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_filter = true font_data = ExtResource( 8 ) [sub_resource type="StreamTexture" id=6] flags = 5 load_path = "res://.import/Arrow.png-b67a8582a20cb371d6c96fa38cdd2ef3.stex" [sub_resource type="StyleBoxFlat" id=7] bg_color = Color( 0, 0, 0, 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=8] bg_color = Color( 0.4, 0.4, 0.4, 1 ) 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=9] bg_color = Color( 0.75, 0.75, 0.75, 1 ) 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=10] bg_color = Color( 0.25098, 0.25098, 0.25098, 0.74902 ) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 [sub_resource type="StyleBoxFlat" id=11] border_width_right = 2 border_width_bottom = 2 border_color = Color( 0, 0, 0, 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=12] bg_color = Color( 0.3, 0.3, 0.3, 1 ) corner_radius_top_left = 4 corner_radius_top_right = 4 corner_radius_bottom_right = 4 corner_radius_bottom_left = 4 [sub_resource type="DynamicFont" id=13] size = 12 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_mipmaps = true use_filter = true extra_spacing_top = 6 extra_spacing_char = -1 font_data = ExtResource( 8 ) [node name="Node2D" type="Node2D"] pause_mode = 2 z_as_relative = false script = ExtResource( 1 ) [node name="Grid" type="TextureRect" parent="."] self_modulate = Color( 1, 1, 1, 0.501961 ) 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 = 112.0 margin_bottom = 112.0 rect_scale = Vector2( 0.25, 0.25 ) mouse_filter = 2 texture = ExtResource( 2 ) expand = true stretch_mode = 2 [node name="SelectedTile" type="Sprite" parent="."] visible = false z_index = 4096 region_enabled = true region_rect = Rect2( 0, 0, 32, 32 ) region_filter_clip = true [node name="GrabSprite" type="Sprite" parent="."] visible = false scale = Vector2( 0.25, 0.25 ) z_index = 4096 texture = ExtResource( 3 ) offset = Vector2( 64, 32 ) [node name="EraserSprite" type="Sprite" parent="."] visible = false scale = Vector2( 0.25, 0.25 ) z_index = 4096 texture = ExtResource( 4 ) offset = Vector2( 64, 64 ) flip_h = true region_enabled = true region_rect = Rect2( 0, 0, 128, 128 ) [node name="SelectedArea" type="ColorRect" parent="."] 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 mouse_filter = 2 color = Color( 0, 1, 0, 0.501961 ) [node name="TileMap" type="TileMap" parent="."] tile_set = ExtResource( 5 ) cell_size = Vector2( 32, 32 ) collision_layer = 0 collision_mask = 0 format = 1 [node name="WorldMap" type="TileMap" parent="."] tile_set = ExtResource( 6 ) cell_size = Vector2( 32, 32 ) collision_layer = 0 collision_mask = 0 format = 1 [node name="UI" type="CanvasLayer" parent="."] layer = 3 [node name="AnimationPlayer" type="AnimationPlayer" parent="UI"] anims/MoveIn = SubResource( 1 ) anims/MoveOut = SubResource( 2 ) [node name="SideBar" type="ColorRect" parent="UI"] anchor_left = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -128.0 color = Color( 0.25098, 0.25098, 0.25098, 0.74902 ) [node name="VBoxContainer" type="VBoxContainer" parent="UI/SideBar"] anchor_right = 1.0 anchor_bottom = 1.0 custom_constants/separation = 0 [node name="TilesButton" type="Button" parent="UI/SideBar/VBoxContainer"] margin_right = 128.0 margin_bottom = 32.0 grow_horizontal = 0 grow_vertical = 0 rect_min_size = Vector2( 0, 32 ) focus_mode = 1 size_flags_horizontal = 3 theme = ExtResource( 7 ) custom_styles/hover = SubResource( 3 ) custom_styles/pressed = SubResource( 4 ) custom_styles/focus = SubResource( 4 ) custom_styles/disabled = SubResource( 3 ) custom_styles/normal = SubResource( 3 ) custom_fonts/font = SubResource( 5 ) enabled_focus_mode = 1 flat = true [node name="Arrow1" type="TextureRect" parent="UI/SideBar/VBoxContainer/TilesButton"] margin_left = 18.0 margin_top = 9.0 margin_right = 30.0 margin_bottom = 21.5927 rect_scale = Vector2( -1, 1 ) texture = SubResource( 6 ) expand = true [node name="Label" type="Label" parent="UI/SideBar/VBoxContainer/TilesButton"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -41.0 margin_top = -9.0 margin_right = 13.0 margin_bottom = 9.0 custom_fonts/font = SubResource( 5 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Tiles" [node name="Line1" type="TextureRect" parent="UI/SideBar/VBoxContainer"] margin_top = 32.0 margin_right = 128.0 margin_bottom = 34.0 texture = ExtResource( 9 ) [node name="ObjectsButton" type="Button" parent="UI/SideBar/VBoxContainer"] margin_top = 34.0 margin_right = 128.0 margin_bottom = 66.0 grow_horizontal = 0 grow_vertical = 0 rect_min_size = Vector2( 0, 32 ) focus_mode = 1 size_flags_horizontal = 3 theme = ExtResource( 7 ) custom_styles/hover = SubResource( 3 ) custom_styles/pressed = SubResource( 4 ) custom_styles/focus = SubResource( 4 ) custom_styles/disabled = SubResource( 3 ) custom_styles/normal = SubResource( 3 ) custom_fonts/font = SubResource( 5 ) enabled_focus_mode = 1 flat = true [node name="Arrow2" type="TextureRect" parent="UI/SideBar/VBoxContainer/ObjectsButton"] margin_left = 18.0 margin_top = 9.0 margin_right = 30.0 margin_bottom = 21.5927 rect_scale = Vector2( -1, 1 ) texture = SubResource( 6 ) expand = true [node name="Label" type="Label" parent="UI/SideBar/VBoxContainer/ObjectsButton"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -41.0 margin_top = -9.0 margin_right = 51.0 margin_bottom = 9.0 custom_fonts/font = SubResource( 5 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Objects" [node name="Line2" type="TextureRect" parent="UI/SideBar/VBoxContainer"] margin_top = 66.0 margin_right = 128.0 margin_bottom = 68.0 texture = ExtResource( 9 ) [node name="HBoxContainer" type="HBoxContainer" parent="UI/SideBar/VBoxContainer"] margin_top = 68.0 margin_right = 128.0 margin_bottom = 100.0 custom_constants/separation = 16 alignment = 1 [node name="EraserButton" type="Button" parent="UI/SideBar/VBoxContainer/HBoxContainer"] margin_left = 24.0 margin_right = 56.0 margin_bottom = 32.0 rect_min_size = Vector2( 32, 32 ) focus_mode = 0 theme = ExtResource( 7 ) custom_styles/hover = SubResource( 3 ) custom_styles/pressed = SubResource( 4 ) custom_styles/focus = SubResource( 3 ) custom_styles/disabled = SubResource( 7 ) custom_styles/normal = SubResource( 3 ) toggle_mode = true enabled_focus_mode = 0 [node name="TextureRect" type="TextureRect" parent="UI/SideBar/VBoxContainer/HBoxContainer/EraserButton"] margin_right = 32.0 margin_bottom = 32.0 texture = ExtResource( 4 ) expand = true [node name="SelectButton" type="Button" parent="UI/SideBar/VBoxContainer/HBoxContainer"] margin_left = 72.0 margin_right = 104.0 margin_bottom = 32.0 rect_min_size = Vector2( 32, 32 ) focus_mode = 0 theme = ExtResource( 7 ) custom_styles/hover = SubResource( 3 ) custom_styles/pressed = SubResource( 4 ) custom_styles/focus = SubResource( 3 ) custom_styles/disabled = SubResource( 7 ) custom_styles/normal = SubResource( 3 ) toggle_mode = true enabled_focus_mode = 0 [node name="TextureRect" type="TextureRect" parent="UI/SideBar/VBoxContainer/HBoxContainer/SelectButton"] margin_right = 32.0 margin_bottom = 32.0 texture = ExtResource( 10 ) expand = true [node name="Line3" type="TextureRect" parent="UI/SideBar/VBoxContainer"] margin_top = 100.0 margin_right = 128.0 margin_bottom = 102.0 texture = ExtResource( 9 ) [node name="ScrollContainer" type="ScrollContainer" parent="UI/SideBar"] anchor_left = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -122.0 margin_top = 110.0 margin_right = -8.0 margin_bottom = 98.0 theme = ExtResource( 7 ) scroll_horizontal_enabled = false [node name="SidebarList" type="VBoxContainer" parent="UI/SideBar/ScrollContainer"] margin_right = 114.0 rect_min_size = Vector2( 114, 0 ) rect_clip_content = true custom_constants/separation = 0 [node name="BottomBar" type="ColorRect" parent="UI"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -64.0 color = Color( 0.25098, 0.25098, 0.25098, 0.74902 ) [node name="ScrollContainer" type="ScrollContainer" parent="UI/BottomBar"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 64.0 margin_top = -64.0 margin_right = -130.0 scroll_vertical_enabled = false [node name="HBoxContainer" type="HBoxContainer" parent="UI/BottomBar/ScrollContainer"] margin_bottom = 52.0 rect_min_size = Vector2( 0, 52 ) rect_clip_content = true [node name="LayerAdd" type="Button" parent="UI/BottomBar"] margin_left = 2.0 margin_top = 2.0 margin_right = 62.0 margin_bottom = 62.0 focus_mode = 0 theme = ExtResource( 7 ) custom_styles/hover = SubResource( 8 ) custom_styles/pressed = SubResource( 9 ) custom_styles/focus = SubResource( 8 ) custom_styles/disabled = SubResource( 8 ) toggle_mode = true enabled_focus_mode = 0 [node name="TextureRect" type="TextureRect" parent="UI/BottomBar/LayerAdd"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -32.0 margin_top = -32.0 margin_right = 32.0 margin_bottom = 32.0 mouse_filter = 2 texture = ExtResource( 11 ) expand = true [node name="Zoom" type="HBoxContainer" parent="UI/BottomBar"] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -240.0 margin_top = -104.0 margin_right = -136.0 margin_bottom = -72.0 rect_min_size = Vector2( 104, 0 ) focus_mode = 1 mouse_filter = 0 custom_constants/separation = 4 alignment = 1 [node name="ZoomIn" type="Button" parent="UI/BottomBar/Zoom"] margin_right = 32.0 margin_bottom = 32.0 rect_min_size = Vector2( 32, 32 ) focus_mode = 0 custom_styles/hover = SubResource( 10 ) custom_styles/pressed = SubResource( 10 ) custom_styles/focus = SubResource( 10 ) custom_styles/disabled = SubResource( 10 ) custom_styles/normal = SubResource( 10 ) action_mode = 0 enabled_focus_mode = 0 [node name="TextureRect" type="TextureRect" parent="UI/BottomBar/Zoom/ZoomIn"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -23.0 margin_top = -23.0 margin_right = 23.0 margin_bottom = 23.0 rect_min_size = Vector2( 32, 32 ) mouse_filter = 2 texture = ExtResource( 11 ) expand = true [node name="ZoomDefault" type="Button" parent="UI/BottomBar/Zoom"] margin_left = 36.0 margin_right = 68.0 margin_bottom = 32.0 rect_min_size = Vector2( 32, 32 ) focus_mode = 0 custom_styles/hover = SubResource( 10 ) custom_styles/pressed = SubResource( 10 ) custom_styles/focus = SubResource( 10 ) custom_styles/disabled = SubResource( 10 ) custom_styles/normal = SubResource( 10 ) action_mode = 0 enabled_focus_mode = 0 [node name="TextureRect" type="TextureRect" parent="UI/BottomBar/Zoom/ZoomDefault"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -23.0 margin_top = -23.0 margin_right = 23.0 margin_bottom = 23.0 rect_min_size = Vector2( 32, 32 ) mouse_filter = 2 texture = ExtResource( 12 ) expand = true [node name="ZoomOut" type="Button" parent="UI/BottomBar/Zoom"] margin_left = 72.0 margin_right = 104.0 margin_bottom = 32.0 rect_min_size = Vector2( 32, 32 ) focus_mode = 0 custom_styles/hover = SubResource( 10 ) custom_styles/pressed = SubResource( 10 ) custom_styles/focus = SubResource( 10 ) custom_styles/disabled = SubResource( 10 ) custom_styles/normal = SubResource( 10 ) action_mode = 0 enabled_focus_mode = 0 [node name="TextureRect" type="TextureRect" parent="UI/BottomBar/Zoom/ZoomOut"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -23.0 margin_top = -23.0 margin_right = 23.0 margin_bottom = 23.0 rect_min_size = Vector2( 32, 32 ) mouse_filter = 2 texture = ExtResource( 13 ) expand = true [node name="Save" type="Button" parent="UI/BottomBar"] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -126.0 margin_top = -62.0 margin_right = -66.0 margin_bottom = -2.0 focus_mode = 0 custom_styles/hover = SubResource( 11 ) custom_styles/pressed = SubResource( 11 ) custom_styles/focus = SubResource( 11 ) custom_styles/disabled = SubResource( 12 ) custom_styles/normal = SubResource( 11 ) action_mode = 0 enabled_focus_mode = 0 [node name="TextureRect" type="TextureRect" parent="UI/BottomBar/Save"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 2.0 margin_top = 2.0 margin_right = -4.0 margin_bottom = -4.0 texture = ExtResource( 14 ) expand = true stretch_mode = 6 [node name="AddLayer" type="Control" parent="UI"] visible = false anchor_bottom = 1.0 margin_left = 2.0 margin_top = 2.0 margin_right = 252.0 margin_bottom = -64.0 theme = ExtResource( 7 ) [node name="Panel" type="Panel" parent="UI/AddLayer"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="UI/AddLayer"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 6.0 margin_top = 6.0 margin_right = -6.0 margin_bottom = -42.0 rect_clip_content = true [node name="Label" type="Label" parent="UI/AddLayer/VBoxContainer"] margin_right = 238.0 margin_bottom = 21.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 = "Add layer" align = 1 [node name="Line" type="TextureRect" parent="UI/AddLayer/VBoxContainer"] margin_top = 25.0 margin_right = 238.0 margin_bottom = 27.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="Name" type="HSplitContainer" parent="UI/AddLayer/VBoxContainer"] margin_top = 31.0 margin_right = 238.0 margin_bottom = 63.0 rect_min_size = Vector2( 0, 32 ) [node name="Label2" type="Label" parent="UI/AddLayer/VBoxContainer/Name"] margin_top = 5.0 margin_right = 65.0 margin_bottom = 26.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="UI/AddLayer/VBoxContainer/Name"] margin_left = 77.0 margin_right = 238.0 margin_bottom = 32.0 rect_min_size = Vector2( 140, 0 ) text = "Layer" [node name="Line3" type="TextureRect" parent="UI/AddLayer/VBoxContainer"] margin_top = 67.0 margin_right = 238.0 margin_bottom = 69.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="Zaxis" type="HSplitContainer" parent="UI/AddLayer/VBoxContainer"] margin_top = 73.0 margin_right = 238.0 margin_bottom = 105.0 rect_min_size = Vector2( 0, 32 ) [node name="Label2" type="Label" parent="UI/AddLayer/VBoxContainer/Zaxis"] margin_top = 5.0 margin_right = 78.0 margin_bottom = 26.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 axis:" align = 1 [node name="SpinBox" type="SpinBox" parent="UI/AddLayer/VBoxContainer/Zaxis"] margin_left = 90.0 margin_right = 238.0 margin_bottom = 32.0 min_value = -4096.0 max_value = 4096.0 rounded = true align = 2 [node name="Line2" type="TextureRect" parent="UI/AddLayer/VBoxContainer"] margin_top = 109.0 margin_right = 238.0 margin_bottom = 111.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="Label3" type="Label" parent="UI/AddLayer/VBoxContainer"] margin_top = 115.0 margin_right = 238.0 margin_bottom = 136.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Layer type:" align = 1 [node name="OptionButton" type="OptionButton" parent="UI/AddLayer/VBoxContainer"] margin_top = 140.0 margin_right = 238.0 margin_bottom = 161.0 [node name="Line" type="TextureRect" parent="UI/AddLayer"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 4.0 margin_top = -38.0 margin_right = 4.0 margin_bottom = -36.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="HBoxContainer" type="HBoxContainer" parent="UI/AddLayer"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 4.0 margin_top = -36.0 margin_right = -4.0 margin_bottom = -4.0 rect_min_size = Vector2( 222, 32 ) [node name="LayerConfirmation" type="Button" parent="UI/AddLayer/HBoxContainer"] margin_right = 119.0 margin_bottom = 32.0 focus_mode = 0 size_flags_horizontal = 3 text = "OK" [node name="LayerCancel" type="Button" parent="UI/AddLayer/HBoxContainer"] margin_left = 123.0 margin_right = 242.0 margin_bottom = 32.0 size_flags_horizontal = 3 text = "Cancel" [node name="Play" type="CanvasLayer" parent="."] layer = 3 [node name="Play" type="Button" parent="Play"] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -62.0 margin_top = -62.0 margin_right = -2.0 margin_bottom = -2.0 rect_pivot_offset = Vector2( 64, 64 ) focus_mode = 0 custom_styles/hover = SubResource( 11 ) custom_styles/pressed = SubResource( 11 ) custom_styles/focus = SubResource( 11 ) custom_styles/disabled = SubResource( 12 ) custom_styles/normal = SubResource( 11 ) action_mode = 0 enabled_focus_mode = 0 [node name="Edit" type="TextureRect" parent="Play/Play"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 4.0 margin_top = 4.0 margin_right = -6.0 margin_bottom = -6.0 texture = ExtResource( 15 ) expand = true stretch_mode = 6 [node name="Play" type="TextureRect" parent="Play/Play"] visible = false anchor_right = 0.5 margin_left = -4.0 margin_top = -24.0 margin_right = 30.0 margin_bottom = 56.0 texture = ExtResource( 16 ) [node name="GrabArea" type="CanvasLayer" parent="."] layer = 2 [node name="C1" type="TextureButton" parent="GrabArea"] margin_left = -11.0 margin_top = -11.0 margin_right = 11.0 margin_bottom = 11.0 rect_min_size = Vector2( 22, 22 ) focus_mode = 1 shortcut_in_tooltip = false action_mode = 0 enabled_focus_mode = 1 texture_normal = ExtResource( 17 ) texture_pressed = ExtResource( 17 ) texture_hover = ExtResource( 18 ) expand = true [node name="C2" type="TextureButton" parent="GrabArea"] margin_left = -11.0 margin_top = -11.0 margin_right = 11.0 margin_bottom = 11.0 rect_min_size = Vector2( 22, 22 ) focus_mode = 1 shortcut_in_tooltip = false action_mode = 0 enabled_focus_mode = 1 texture_normal = ExtResource( 17 ) texture_pressed = ExtResource( 17 ) texture_hover = ExtResource( 18 ) expand = true [node name="C3" type="TextureButton" parent="GrabArea"] margin_left = -11.0 margin_top = -11.0 margin_right = 11.0 margin_bottom = 11.0 focus_mode = 1 shortcut_in_tooltip = false action_mode = 0 enabled_focus_mode = 1 texture_normal = ExtResource( 17 ) texture_pressed = ExtResource( 17 ) texture_hover = ExtResource( 18 ) expand = true [node name="C4" type="TextureButton" parent="GrabArea"] margin_left = -11.0 margin_top = -11.0 margin_right = 11.0 margin_bottom = 11.0 focus_mode = 1 shortcut_in_tooltip = false action_mode = 0 enabled_focus_mode = 1 texture_normal = ExtResource( 17 ) texture_pressed = ExtResource( 17 ) texture_hover = ExtResource( 18 ) expand = true [node name="Menu" type="CanvasLayer" parent="."] layer = 4 [node name="Editor" type="Control" parent="Menu"] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -179.0 margin_top = -163.0 margin_right = 179.0 margin_bottom = 163.0 theme = ExtResource( 7 ) [node name="Panel" type="Panel" parent="Menu/Editor"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="Menu/Editor/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 [node name="Label" type="Label" parent="Menu/Editor/Panel/VBoxContainer"] margin_right = 342.0 margin_bottom = 32.0 rect_min_size = Vector2( 0, 32 ) 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 = "Level Editor" align = 1 valign = 1 [node name="Line" type="TextureRect" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 36.0 margin_right = 342.0 margin_bottom = 38.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="Return" type="Button" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 42.0 margin_right = 342.0 margin_bottom = 76.0 focus_mode = 1 size_flags_vertical = 3 text = "Return to Editor" [node name="LevelSave" type="Button" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 80.0 margin_right = 342.0 margin_bottom = 114.0 focus_mode = 1 size_flags_vertical = 3 text = "Save the level" [node name="LevelSaveAs" type="Button" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 118.0 margin_right = 342.0 margin_bottom = 152.0 focus_mode = 1 size_flags_vertical = 3 text = "Save in a new directory" [node name="LevelCreate" type="Button" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 156.0 margin_right = 342.0 margin_bottom = 190.0 focus_mode = 1 size_flags_vertical = 3 enabled_focus_mode = 1 text = "Create new level" [node name="LevelOpen" type="Button" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 194.0 margin_right = 342.0 margin_bottom = 228.0 focus_mode = 1 size_flags_vertical = 3 enabled_focus_mode = 1 text = "Open a level" [node name="LevelProperties" type="Button" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 232.0 margin_right = 342.0 margin_bottom = 266.0 focus_mode = 1 size_flags_vertical = 3 text = "Level properties" [node name="ReturnMenu2" type="Button" parent="Menu/Editor/Panel/VBoxContainer"] margin_top = 270.0 margin_right = 342.0 margin_bottom = 310.0 focus_mode = 1 size_flags_vertical = 3 text = "Exit to Menu" [node name="Settings" type="Control" parent="Menu"] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -237.0 margin_top = -99.5 margin_right = 237.0 margin_bottom = 99.5 theme = ExtResource( 7 ) [node name="Panel" type="Panel" parent="Menu/Settings"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="Menu/Settings/Panel"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = 8.0 margin_right = -8.0 margin_bottom = -39.0 [node name="Label" type="Label" parent="Menu/Settings/Panel/VBoxContainer"] margin_right = 458.0 margin_bottom = 32.0 rect_min_size = Vector2( 0, 32 ) 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 = "Level Properties" align = 1 valign = 1 [node name="Line" type="TextureRect" parent="Menu/Settings/Panel/VBoxContainer"] margin_top = 36.0 margin_right = 458.0 margin_bottom = 38.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="Name" type="HSplitContainer" parent="Menu/Settings/Panel/VBoxContainer"] margin_top = 42.0 margin_right = 458.0 margin_bottom = 76.0 rect_min_size = Vector2( 0, 32 ) size_flags_vertical = 3 [node name="Label" type="Label" parent="Menu/Settings/Panel/VBoxContainer/Name"] margin_top = 6.0 margin_right = 136.0 margin_bottom = 27.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Level Name:" [node name="LevelName" type="LineEdit" parent="Menu/Settings/Panel/VBoxContainer/Name"] margin_left = 148.0 margin_right = 458.0 margin_bottom = 34.0 text = "SuperTux Level" align = 2 [node name="Creator" type="HSplitContainer" parent="Menu/Settings/Panel/VBoxContainer"] margin_top = 80.0 margin_right = 458.0 margin_bottom = 114.0 rect_min_size = Vector2( 0, 32 ) size_flags_vertical = 3 [node name="Label" type="Label" parent="Menu/Settings/Panel/VBoxContainer/Creator"] margin_top = 6.0 margin_right = 169.0 margin_bottom = 27.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Level Creator:" [node name="LevelCreator" type="LineEdit" parent="Menu/Settings/Panel/VBoxContainer/Creator"] margin_left = 181.0 margin_right = 458.0 margin_bottom = 34.0 text = "SuperTux Player" align = 2 [node name="Music" type="HSplitContainer" parent="Menu/Settings/Panel/VBoxContainer"] margin_top = 118.0 margin_right = 458.0 margin_bottom = 152.0 rect_min_size = Vector2( 0, 32 ) size_flags_vertical = 3 [node name="Label2" type="Label" parent="Menu/Settings/Panel/VBoxContainer/Music"] margin_top = 6.0 margin_right = 137.0 margin_bottom = 27.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "Level Music:" [node name="MusicSelect" type="Button" parent="Menu/Settings/Panel/VBoxContainer/Music"] margin_left = 149.0 margin_right = 458.0 margin_bottom = 34.0 focus_mode = 1 custom_fonts/font = SubResource( 13 ) enabled_focus_mode = 1 text = "No Music Set" clip_text = true [node name="SettingsConfirmation" type="Button" parent="Menu/Settings/Panel"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -37.0 margin_bottom = -5.0 rect_min_size = Vector2( 0, 32 ) text = "OK" [node name="Line" type="TextureRect" parent="Menu/Settings/Panel/SettingsConfirmation"] anchor_right = 1.0 margin_top = -2.0 margin_bottom = -12.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="Create" type="Control" parent="Menu"] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -179.0 margin_top = -87.0 margin_right = 179.0 margin_bottom = 87.0 theme = ExtResource( 7 ) [node name="Panel" type="Panel" parent="Menu/Create"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="Menu/Create/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 [node name="Label" type="Label" parent="Menu/Create/Panel/VBoxContainer"] margin_right = 342.0 margin_bottom = 32.0 rect_min_size = Vector2( 0, 32 ) 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 = "Create new level" align = 1 valign = 1 [node name="Line" type="TextureRect" parent="Menu/Create/Panel/VBoxContainer"] margin_top = 36.0 margin_right = 342.0 margin_bottom = 38.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="CreateLevel" type="Button" parent="Menu/Create/Panel/VBoxContainer"] margin_top = 42.0 margin_right = 342.0 margin_bottom = 76.0 focus_mode = 1 size_flags_vertical = 3 enabled_focus_mode = 1 text = "Create new level" [node name="CreateMap" type="Button" parent="Menu/Create/Panel/VBoxContainer"] margin_top = 80.0 margin_right = 342.0 margin_bottom = 114.0 focus_mode = 1 size_flags_vertical = 3 enabled_focus_mode = 1 text = "Create new worldmap" [node name="Line2" type="TextureRect" parent="Menu/Create/Panel/VBoxContainer"] margin_top = 118.0 margin_right = 342.0 margin_bottom = 120.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="CancelCreation" type="Button" parent="Menu/Create/Panel/VBoxContainer"] margin_top = 124.0 margin_right = 342.0 margin_bottom = 158.0 focus_mode = 1 size_flags_vertical = 3 enabled_focus_mode = 1 text = "Cancel" [node name="Exit" type="Control" parent="Menu"] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -179.5 margin_top = -51.0 margin_right = 179.5 margin_bottom = 51.0 theme = ExtResource( 7 ) [node name="Panel" type="Panel" parent="Menu/Exit"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="Line" type="TextureRect" parent="Menu/Exit/Panel"] visible = false anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -37.0 margin_bottom = -35.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="VBoxContainer" type="VBoxContainer" parent="Menu/Exit/Panel"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = 8.0 margin_right = -8.0 margin_bottom = -56.0 [node name="Label" type="Label" parent="Menu/Exit/Panel/VBoxContainer"] margin_right = 343.0 margin_bottom = 32.0 rect_min_size = Vector2( 0, 32 ) 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 = "Exit and save?" align = 1 valign = 1 [node name="Line" type="TextureRect" parent="Menu/Exit/Panel/VBoxContainer"] margin_top = 36.0 margin_right = 343.0 margin_bottom = 38.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 9 ) expand = true [node name="ExitButtons" type="HBoxContainer" parent="Menu/Exit/Panel"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -46.0 margin_bottom = -14.0 rect_min_size = Vector2( 0, 32 ) custom_constants/separation = 64 alignment = 1 [node name="Yes" type="Button" parent="Menu/Exit/Panel/ExitButtons"] margin_left = 43.0 margin_right = 81.0 margin_bottom = 32.0 focus_mode = 1 enabled_focus_mode = 1 text = "Yes" [node name="No" type="Button" parent="Menu/Exit/Panel/ExitButtons"] margin_left = 145.0 margin_right = 173.0 margin_bottom = 32.0 focus_mode = 1 enabled_focus_mode = 1 text = "No" [node name="Cancel" type="Button" parent="Menu/Exit/Panel/ExitButtons"] margin_left = 237.0 margin_right = 316.0 margin_bottom = 32.0 focus_mode = 1 enabled_focus_mode = 1 text = "Cancel" [connection signal="button_down" from="UI/SideBar/VBoxContainer/TilesButton" to="." method="_on_TilesButton_pressed"] [connection signal="button_down" from="UI/SideBar/VBoxContainer/ObjectsButton" to="." method="_on_ObjectsButton_pressed"] [connection signal="button_down" from="UI/BottomBar/LayerAdd" to="." method="_on_LayerAdd_button_down"] [connection signal="pressed" from="UI/BottomBar/LayerAdd" to="." method="_on_LayerAdd_pressed"] [connection signal="pressed" from="UI/BottomBar/Zoom/ZoomIn" to="." method="_on_ZoomIn_pressed"] [connection signal="pressed" from="UI/BottomBar/Zoom/ZoomDefault" to="." method="_on_ZoomDefault_pressed"] [connection signal="pressed" from="UI/BottomBar/Zoom/ZoomOut" to="." method="_on_ZoomOut_pressed"] [connection signal="pressed" from="UI/BottomBar/Save" to="." method="_on_Save_pressed"] [connection signal="pressed" from="UI/AddLayer/HBoxContainer/LayerConfirmation" to="." method="_on_LayerConfirmation_pressed"] [connection signal="pressed" from="UI/AddLayer/HBoxContainer/LayerCancel" to="." method="_on_LayerCancel_pressed"] [connection signal="pressed" from="Play/Play" to="." method="_on_Play_pressed"] [connection signal="pressed" from="Menu/Editor/Panel/VBoxContainer/Return" to="." method="_on_Return_pressed"] [connection signal="pressed" from="Menu/Editor/Panel/VBoxContainer/LevelSave" to="." method="_on_LevelSave_pressed"] [connection signal="pressed" from="Menu/Editor/Panel/VBoxContainer/LevelSaveAs" to="." method="_on_LevelSaveAs_pressed"] [connection signal="pressed" from="Menu/Editor/Panel/VBoxContainer/LevelCreate" to="." method="_on_LevelCreate_pressed"] [connection signal="pressed" from="Menu/Editor/Panel/VBoxContainer/LevelOpen" to="." method="_on_LevelOpen_pressed"] [connection signal="pressed" from="Menu/Editor/Panel/VBoxContainer/LevelProperties" to="." method="_on_LevelProperties_pressed"] [connection signal="pressed" from="Menu/Editor/Panel/VBoxContainer/ReturnMenu2" to="." method="_on_ReturnMenu_pressed"] [connection signal="pressed" from="Menu/Settings/Panel/VBoxContainer/Music/MusicSelect" to="." method="_on_MusicSelect_pressed"] [connection signal="pressed" from="Menu/Settings/Panel/SettingsConfirmation" to="." method="_on_SettingsConfirmation_pressed"] [connection signal="pressed" from="Menu/Create/Panel/VBoxContainer/CreateLevel" to="." method="_on_CreateLevel_pressed"] [connection signal="pressed" from="Menu/Create/Panel/VBoxContainer/CreateMap" to="." method="_on_CreateMap_pressed"] [connection signal="pressed" from="Menu/Create/Panel/VBoxContainer/CancelCreation" to="." method="_on_CancelCreation_pressed"] [connection signal="pressed" from="Menu/Exit/Panel/ExitButtons/Yes" to="." method="_on_Yes_pressed"] [connection signal="pressed" from="Menu/Exit/Panel/ExitButtons/No" to="." method="_on_No_pressed"] [connection signal="pressed" from="Menu/Exit/Panel/ExitButtons/Cancel" to="." method="_on_Cancel_pressed"] ================================================ FILE: src/Scenes/UI/LevelUI.tscn ================================================ [gd_scene load_steps=7 format=2] [ext_resource path="res://Scenes/UI/CoinCounter.gd" type="Script" id=1] [ext_resource path="res://Scenes/UI/PauseMenu.tscn" type="PackedScene" id=2] [ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=3] [ext_resource path="res://Sprites/Objects/Coin/coin-0.png" type="Texture" id=4] [sub_resource type="DynamicFont" id=1] size = 25 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_filter = true extra_spacing_bottom = 11 font_data = ExtResource( 3 ) [sub_resource type="DynamicFont" id=2] size = 15 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_filter = true font_data = ExtResource( 3 ) [node name="LevelUI" type="CanvasLayer" groups=[ "CoinCounter", ]] script = ExtResource( 1 ) [node name="PauseMenu" parent="." instance=ExtResource( 2 )] [node name="CoinCounter" type="Control" parent="."] anchor_left = 1.0 anchor_right = 1.0 margin_left = 100.0 margin_right = 100.0 [node name="CoinCount" type="Label" parent="CoinCounter"] anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = -42.0 margin_top = 25.0 margin_right = -22.0 margin_bottom = 51.0 grow_horizontal = 0 rect_scale = Vector2( 0.75, 0.75 ) size_flags_horizontal = 0 size_flags_stretch_ratio = 0.0 custom_fonts/font = SubResource( 1 ) custom_colors/font_color = Color( 0.87451, 0.898039, 0.164706, 1 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 3 custom_constants/shadow_offset_y = 3 text = "0" align = 2 [node name="X" type="Label" parent="CoinCounter/CoinCount"] margin_left = -15.3333 margin_top = 5.0 margin_right = -4.33331 margin_bottom = 21.0 custom_fonts/font = SubResource( 2 ) custom_colors/font_color = Color( 0.87451, 0.898039, 0.164706, 1 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "X" [node name="CoinIcon" type="TextureRect" parent="CoinCounter/CoinCount"] margin_left = -51.0 margin_top = -3.0 margin_right = -19.0 margin_bottom = 29.0 texture = ExtResource( 4 ) expand = true stretch_mode = 1 __meta__ = { "_edit_use_anchors_": false } ================================================ FILE: src/Scenes/UI/MainMenu.gd ================================================ extends Control func _ready(): $Panel/VBoxContainer/StartGame.grab_focus() $FadeIn.show() $AnimationPlayer.play("Appear") func _on_StartGame_pressed(): pass # Replace with function body. func _on_Options_pressed(): $Options.show() $Panel.hide() func _on_Options_popup_hide(): $Panel.show() func _on_LevelEditor_pressed(): # warning-ignore:return_value_discarded get_tree().change_scene("res://Scenes/Master/Gameplay.tscn") func _on_Credits_pressed(): pass # Replace with function body. func _on_Quit_pressed(): get_tree().quit() ================================================ FILE: src/Scenes/UI/MainMenu.tscn ================================================ [gd_scene load_steps=9 format=2] [ext_resource path="res://Scenes/UI/MainMenu.gd" type="Script" id=1] [ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=2] [ext_resource path="res://Sprites/UI/SuperTuxLogo.png" type="Texture" id=3] [ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=4] [ext_resource path="res://Scenes/UI/Options.tscn" type="PackedScene" id=5] [ext_resource path="res://Audio/Music/theme.ogg" type="AudioStream" id=6] [sub_resource type="Animation" id=1] resource_name = "Appear" tracks/0/type = "value" tracks/0/path = NodePath("FadeIn:visible") 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": 1, "values": [ true, false ] } tracks/1/type = "value" tracks/1/path = NodePath("FadeIn:color") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 0.5 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Color( 0, 0, 0, 1 ), Color( 0, 0, 0, 0 ) ] } [sub_resource type="DynamicFont" id=2] size = 12 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_filter = true font_data = ExtResource( 2 ) [node name="MainMenu" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 1 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] anims/Appear = SubResource( 1 ) [node name="BottomText" type="Label" parent="."] anchor_top = 1.0 anchor_bottom = 1.0 margin_left = 4.0 margin_top = -53.0 margin_right = 277.0 margin_bottom = -4.0 size_flags_vertical = 1 custom_fonts/font = SubResource( 2 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 2 custom_constants/shadow_offset_y = 2 text = "This is a work-in-progress port of SuperTux to the Godot Engine, with new features and mechanics." valign = 2 autowrap = true [node name="Title" type="TextureRect" parent="."] anchor_left = 0.5 anchor_top = 0.3 anchor_right = 0.5 anchor_bottom = 0.3 margin_left = -163.5 margin_top = -128.0 margin_right = 163.5 margin_bottom = 79.0 texture = ExtResource( 3 ) stretch_mode = 5 [node name="Panel" type="Panel" parent="."] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -90.0 margin_top = -10.0 margin_right = 90.0 margin_bottom = 150.0 theme = ExtResource( 4 ) __meta__ = { "_edit_group_": true, "_edit_use_anchors_": false } [node name="VBoxContainer" type="VBoxContainer" parent="Panel"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 10.0 margin_top = 10.0 margin_right = -10.0 margin_bottom = -10.0 alignment = 1 [node name="StartGame" type="Button" parent="Panel/VBoxContainer"] margin_right = 160.0 margin_bottom = 25.0 rect_min_size = Vector2( 0, 25 ) focus_neighbour_top = NodePath("../Quit") size_flags_vertical = 3 text = "Start Game" [node name="LevelEditor" type="Button" parent="Panel/VBoxContainer"] margin_top = 29.0 margin_right = 160.0 margin_bottom = 54.0 rect_min_size = Vector2( 0, 25 ) size_flags_vertical = 3 text = "Level Editor" [node name="Options" type="Button" parent="Panel/VBoxContainer"] margin_top = 58.0 margin_right = 160.0 margin_bottom = 83.0 rect_min_size = Vector2( 0, 25 ) size_flags_vertical = 3 text = "Options" [node name="Credits" type="Button" parent="Panel/VBoxContainer"] margin_top = 87.0 margin_right = 160.0 margin_bottom = 112.0 rect_min_size = Vector2( 0, 25 ) size_flags_vertical = 3 text = "Credits" [node name="Quit" type="Button" parent="Panel/VBoxContainer"] margin_top = 116.0 margin_right = 160.0 margin_bottom = 141.0 rect_min_size = Vector2( 0, 25 ) focus_neighbour_bottom = NodePath("../StartGame") size_flags_vertical = 3 text = "Quit" [node name="Options" parent="." instance=ExtResource( 5 )] margin_top = -10.0 margin_bottom = 150.0 [node name="FadeIn" type="ColorRect" parent="."] visible = false anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 color = Color( 0, 0, 0, 1 ) [node name="Music" type="AudioStreamPlayer" parent="."] stream = ExtResource( 6 ) autoplay = true [connection signal="pressed" from="Panel/VBoxContainer/StartGame" to="." method="_on_StartGame_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/LevelEditor" to="." method="_on_LevelEditor_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/Options" to="." method="_on_Options_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/Credits" to="." method="_on_Credits_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/Quit" to="." method="_on_Quit_pressed"] ================================================ FILE: src/Scenes/UI/Options.gd ================================================ extends Control func _ready(): $VBoxContainer/HBoxContainer/FullscreenCheck.pressed = Settings.config.get_value("video", "fullscreen", false) $VBoxContainer/HBoxContainer2/VSyncCheck.pressed = Settings.config.get_value("video", "vsync", true) func _on_FullscreenCheck_toggled(button_pressed: bool): OS.window_fullscreen = button_pressed Settings.config.set_value("video", "fullscreen", button_pressed) func _on_VSyncCheck_toggled(button_pressed: bool) -> void: OS.vsync_enabled = button_pressed Settings.config.set_value("video", "vsync", button_pressed) func _on_Back_pressed(): get_parent().get_node("Panel").show() hide() ================================================ FILE: src/Scenes/UI/Options.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/UI/Options.gd" type="Script" id=2] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=3] [node name="Options" type="Control"] visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -90.0 margin_top = -100.0 margin_right = 90.0 margin_bottom = 100.0 theme = ExtResource( 1 ) script = ExtResource( 2 ) [node name="Panel" type="Panel" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = 8.0 margin_right = -8.0 margin_bottom = -38.0 rect_clip_content = true custom_constants/separation = 5 [node name="Label" type="Label" parent="VBoxContainer"] margin_right = 164.0 margin_bottom = 29.0 rect_min_size = Vector2( 0, 29 ) custom_colors/font_color = Color( 0.109804, 0.980392, 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 = "Options" align = 1 valign = 1 [node name="TextureRect" type="TextureRect" parent="VBoxContainer"] margin_top = 34.0 margin_right = 164.0 margin_bottom = 36.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] margin_top = 41.0 margin_right = 164.0 margin_bottom = 64.0 rect_min_size = Vector2( 0, 23 ) alignment = 1 [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"] margin_left = 12.0 margin_top = 1.0 margin_right = 132.0 margin_bottom = 22.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 0 custom_constants/shadow_offset_y = 0 text = "Fullscreen" [node name="FullscreenCheck" type="CheckBox" parent="VBoxContainer/HBoxContainer"] margin_left = 136.0 margin_right = 152.0 margin_bottom = 23.0 action_mode = 0 [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"] margin_top = 69.0 margin_right = 164.0 margin_bottom = 92.0 rect_min_size = Vector2( 0, 23 ) alignment = 1 [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2"] margin_left = 31.0 margin_top = 1.0 margin_right = 112.0 margin_bottom = 22.0 custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 0 custom_constants/shadow_offset_y = 0 text = "V-sync" [node name="VSyncCheck" type="CheckBox" parent="VBoxContainer/HBoxContainer2"] margin_left = 116.0 margin_right = 132.0 margin_bottom = 23.0 action_mode = 0 [node name="VBoxContainer2" type="VBoxContainer" parent="."] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 margin_top = -38.0 margin_right = -8.0 margin_bottom = -8.0 [node name="TextureRect2" type="TextureRect" parent="VBoxContainer2"] margin_right = 164.0 margin_bottom = 2.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 3 ) expand = true [node name="Back" type="Button" parent="VBoxContainer2"] margin_top = 6.0 margin_right = 164.0 margin_bottom = 31.0 rect_min_size = Vector2( 0, 25 ) action_mode = 0 text = "Back" [connection signal="toggled" from="VBoxContainer/HBoxContainer/FullscreenCheck" to="." method="_on_FullscreenCheck_toggled"] [connection signal="toggled" from="VBoxContainer/HBoxContainer2/VSyncCheck" to="." method="_on_VSyncCheck_toggled"] [connection signal="pressed" from="VBoxContainer2/Back" to="." method="_on_Back_pressed"] ================================================ FILE: src/Scenes/UI/PauseMenu.gd ================================================ extends Control var background_opacity = 0 var panel_sizemult = 1 var panel_size = Vector2(0,0) func _ready(): hide() get_tree().paused = false panel_size = $Panel.rect_size func _input(event): if UIHelpers.get_player().dead == false and get_tree().current_scene.get_node("CanvasLayer/AnimationPlayer").is_playing() == false: if Input.is_action_just_pressed("pause") && get_tree().paused == false: get_tree().paused = true show() background_opacity = 0 panel_sizemult = 0.1 $Panel/VBoxContainer/Continue.grab_focus() elif Input.is_action_just_pressed("pause") && get_tree().paused == true: get_tree().paused = false func _process(_delta): if get_tree().paused == true: background_opacity += 0.25 if background_opacity > 1: background_opacity = 1 panel_sizemult = panel_sizemult + (1 - panel_sizemult) / 3 $Background.self_modulate = Color(1, 1, 1, background_opacity) else: background_opacity -= 0.25 panel_sizemult -= 0.25 if panel_sizemult <= 0: hide() $Panel.rect_size.x = panel_size.x * panel_sizemult $Panel.rect_position.x = round(get_viewport().size.x / 2) + ($Panel.rect_size.x * -0.5) $Panel.rect_size.y = panel_size.y * panel_sizemult $Panel.rect_position.y = round(get_viewport().size.y / 2) + ($Panel.rect_size.y * -0.5) $Background.rect_size = get_viewport().size # Hide restart and exit level buttons in worldmap if UIHelpers._get_scene().worldmap == UIHelpers._get_scene().current_level: $Panel/VBoxContainer/Restart.visible = false $Panel/VBoxContainer/ExitLevel.visible = false # Hide exit level button if there's no worldmap to go back to elif UIHelpers._get_scene().worldmap == "": $Panel/VBoxContainer/ExitLevel.visible = false else: $Panel/VBoxContainer/ExitLevel.visible = true func _on_Resume_pressed(): get_tree().paused = false func _on_Restart_pressed(): get_tree().current_scene.restart_level() func _on_Options_pressed(): $Options.show() $Panel.hide() func _on_QuitLevel_pressed(): get_tree().current_scene.return_to_map() func _on_MainMenu_pressed(): get_tree().current_scene.get_node("CanvasLayer/AnimationPlayer").play("Circle Out") yield(get_tree().current_scene.get_node("CanvasLayer/AnimationPlayer"), "animation_finished") get_tree().paused = false get_tree().change_scene("res://Scenes/UI/MainMenu.tscn") func _on_Options_popup_hide(): $Panel.show() ================================================ FILE: src/Scenes/UI/PauseMenu.tscn ================================================ [gd_scene load_steps=7 format=2] [ext_resource path="res://Scenes/UI/UITheme.tres" type="Theme" id=1] [ext_resource path="res://Scenes/UI/PauseMenu.gd" type="Script" id=2] [ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=3] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=4] [ext_resource path="res://Scenes/UI/Options.tscn" type="PackedScene" id=5] [sub_resource type="DynamicFont" id=1] size = 18 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_filter = true font_data = ExtResource( 3 ) [node name="PauseMenu" type="Control"] pause_mode = 2 visible = false anchor_right = 1.0 anchor_bottom = 1.0 focus_mode = 2 theme = ExtResource( 1 ) script = ExtResource( 2 ) [node name="Background" type="ColorRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 color = Color( 0, 0, 0, 0.25098 ) [node name="Panel" type="Panel" parent="."] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -90.0 margin_top = -100.0 margin_right = 90.0 margin_bottom = 100.0 rect_clip_content = true size_flags_vertical = 3 [node name="VBoxContainer" type="VBoxContainer" parent="Panel"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -82.0 margin_top = -88.0 margin_right = 82.0 margin_bottom = 88.0 custom_constants/separation = 5 [node name="Paused" type="Label" parent="Panel/VBoxContainer"] margin_right = 164.0 margin_bottom = 25.0 rect_min_size = Vector2( 0, 25 ) custom_fonts/font = SubResource( 1 ) 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 = "Paused" align = 1 valign = 1 [node name="Line" type="TextureRect" parent="Panel/VBoxContainer"] margin_top = 30.0 margin_right = 164.0 margin_bottom = 32.0 rect_min_size = Vector2( 0, 2 ) texture = ExtResource( 4 ) expand = true [node name="Continue" type="Button" parent="Panel/VBoxContainer"] margin_top = 37.0 margin_right = 164.0 margin_bottom = 60.0 rect_pivot_offset = Vector2( -488.794, -160.987 ) focus_neighbour_top = NodePath("../Quit") size_flags_vertical = 3 action_mode = 0 text = "Continue" [node name="Restart" type="Button" parent="Panel/VBoxContainer"] margin_top = 65.0 margin_right = 164.0 margin_bottom = 88.0 rect_pivot_offset = Vector2( -488.794, -160.987 ) size_flags_vertical = 3 action_mode = 0 text = "Restart" [node name="Options" type="Button" parent="Panel/VBoxContainer"] margin_top = 93.0 margin_right = 164.0 margin_bottom = 116.0 rect_pivot_offset = Vector2( -488.794, -160.987 ) size_flags_vertical = 3 action_mode = 0 text = "Options" [node name="ExitLevel" type="Button" parent="Panel/VBoxContainer"] margin_top = 121.0 margin_right = 164.0 margin_bottom = 144.0 rect_pivot_offset = Vector2( -488.794, -160.987 ) size_flags_vertical = 3 action_mode = 0 text = "Exit Level" [node name="Quit" type="Button" parent="Panel/VBoxContainer"] margin_top = 149.0 margin_right = 164.0 margin_bottom = 176.0 rect_pivot_offset = Vector2( -488.794, -160.987 ) focus_neighbour_bottom = NodePath("../Continue") size_flags_vertical = 3 action_mode = 0 text = "Quit to Menu" [node name="Options" parent="." instance=ExtResource( 5 )] [connection signal="pressed" from="Panel/VBoxContainer/Continue" to="." method="_on_Resume_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/Restart" to="." method="_on_Restart_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/Options" to="." method="_on_Options_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/ExitLevel" to="." method="_on_QuitLevel_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/Quit" to="." method="_on_MainMenu_pressed"] ================================================ FILE: src/Scenes/UI/UITheme.tres ================================================ [gd_resource type="Theme" load_steps=22 format=2] [ext_resource path="res://Sprites/Editor/Line.png" type="Texture" id=1] [ext_resource path="res://Fonts/SuperTux-Medium.ttf" type="DynamicFontData" id=2] [sub_resource type="StyleBoxEmpty" id=1] [sub_resource type="StyleBoxEmpty" id=2] [sub_resource type="StyleBoxFlat" id=3] bg_color = Color( 1, 1, 1, 0.74902 ) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color( 0.8, 0.8, 0.8, 0.501961 ) corner_radius_top_left = 12 corner_radius_top_right = 12 corner_radius_bottom_right = 12 corner_radius_bottom_left = 12 [sub_resource type="StyleBoxFlat" id=4] bg_color = Color( 0, 0, 0, 0.25 ) corner_radius_top_left = 4 corner_radius_top_right = 4 corner_radius_bottom_right = 4 corner_radius_bottom_left = 4 [sub_resource type="StyleBoxEmpty" id=5] [sub_resource type="ImageTexture" id=6] [sub_resource type="StyleBoxFlat" id=7] bg_color = Color( 0.388235, 0.501961, 0.568627, 0.960784 ) border_width_left = 4 border_width_top = 4 border_width_right = 4 border_width_bottom = 4 border_color = Color( 0.160784, 0.278431, 0.4, 0.8 ) corner_radius_top_left = 16 corner_radius_top_right = 16 corner_radius_bottom_right = 16 corner_radius_bottom_left = 16 corner_detail = 16 [sub_resource type="ImageTexture" id=8] [sub_resource type="ImageTexture" id=9] [sub_resource type="ImageTexture" id=10] [sub_resource type="ImageTexture" id=11] [sub_resource type="ImageTexture" id=12] [sub_resource type="StyleBoxFlat" id=13] bg_color = Color( 1, 1, 1, 0.75 ) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 [sub_resource type="StyleBoxTexture" id=14] texture = ExtResource( 1 ) region_rect = Rect2( 0, 0, 126, 2 ) [sub_resource type="StyleBoxFlat" id=15] content_margin_left = 0.0 content_margin_right = 0.0 bg_color = Color( 0.419608, 0.521569, 0.619608, 0.8 ) border_width_left = 3 border_width_top = 3 border_width_right = 3 border_width_bottom = 3 border_color = Color( 0.243137, 0.333333, 0.447059, 1 ) corner_radius_top_left = 4 corner_radius_top_right = 4 corner_radius_bottom_right = 4 corner_radius_bottom_left = 4 [sub_resource type="StyleBoxEmpty" id=16] [sub_resource type="ImageTexture" id=17] [sub_resource type="StyleBoxFlat" id=18] bg_color = Color( 1, 1, 1, 0 ) draw_center = false [sub_resource type="DynamicFont" id=19] size = 18 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) use_mipmaps = true use_filter = true extra_spacing_top = 2 font_data = ExtResource( 2 ) [resource] default_font = SubResource( 19 ) Button/colors/font_color = Color( 1, 1, 1, 1 ) Button/colors/font_color_disabled = Color( 0.403922, 0.403922, 0.403922, 1 ) Button/colors/font_color_hover = Color( 0, 0.666667, 1, 1 ) Button/colors/font_color_pressed = Color( 0, 0.666667, 1, 1 ) Button/constants/hseparation = 2 Button/fonts/font = null Button/styles/disabled = SubResource( 1 ) Button/styles/focus = SubResource( 2 ) Button/styles/hover = SubResource( 3 ) Button/styles/normal = SubResource( 2 ) Button/styles/pressed = SubResource( 3 ) LineEdit/colors/clear_button_color = Color( 0.878431, 0.878431, 0.878431, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.941176, 0.941176, 0.941176, 1 ) LineEdit/colors/font_color = Color( 1, 1, 0.6, 1 ) LineEdit/colors/font_color_selected = Color( 1, 1, 0.6, 1 ) LineEdit/colors/selection_color = Color( 1, 1, 0.6, 0.501961 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = SubResource( 4 ) LineEdit/styles/normal = SubResource( 4 ) LineEdit/styles/read_only = SubResource( 5 ) OptionButton/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 ) OptionButton/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 ) OptionButton/colors/font_color_hover = Color( 0.941176, 0.941176, 0.941176, 1 ) OptionButton/colors/font_color_pressed = Color( 1, 1, 1, 1 ) OptionButton/constants/arrow_margin = 2 OptionButton/constants/hseparation = 2 OptionButton/fonts/font = null OptionButton/icons/arrow = SubResource( 6 ) OptionButton/styles/disabled = null OptionButton/styles/focus = null OptionButton/styles/hover = null OptionButton/styles/normal = null OptionButton/styles/pressed = null Panel/styles/panel = SubResource( 7 ) Panel/styles/panelf = null Panel/styles/panelnc = null PopupMenu/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 ) PopupMenu/colors/font_color_accel = Color( 1, 1, 1, 1 ) PopupMenu/colors/font_color_disabled = Color( 0.403922, 0.403922, 0.403922, 1 ) PopupMenu/colors/font_color_hover = Color( 0, 0.666667, 1, 1 ) PopupMenu/constants/hseparation = 4 PopupMenu/constants/vseparation = 4 PopupMenu/fonts/font = null PopupMenu/icons/checked = SubResource( 8 ) PopupMenu/icons/radio_checked = SubResource( 9 ) PopupMenu/icons/radio_unchecked = SubResource( 10 ) PopupMenu/icons/submenu = SubResource( 11 ) PopupMenu/icons/unchecked = SubResource( 12 ) PopupMenu/styles/hover = SubResource( 13 ) PopupMenu/styles/labeled_separator_left = SubResource( 14 ) PopupMenu/styles/labeled_separator_right = SubResource( 14 ) PopupMenu/styles/panel = SubResource( 15 ) PopupMenu/styles/panel_disabled = SubResource( 16 ) PopupMenu/styles/separator = SubResource( 14 ) PopupPanel/styles/panel = SubResource( 7 ) SpinBox/icons/updown = SubResource( 17 ) ToolButton/colors/font_color = Color( 1, 1, 1, 1 ) ToolButton/colors/font_color_disabled = Color( 0.403922, 0.403922, 0.403922, 1 ) ToolButton/colors/font_color_hover = Color( 0, 0.666667, 1, 1 ) ToolButton/colors/font_color_pressed = Color( 0, 0.666667, 1, 1 ) ToolButton/constants/hseparation = 3 ToolButton/fonts/font = null ToolButton/styles/disabled = SubResource( 18 ) ToolButton/styles/focus = SubResource( 18 ) ToolButton/styles/hover = SubResource( 18 ) ToolButton/styles/normal = SubResource( 18 ) ToolButton/styles/pressed = SubResource( 18 ) ================================================ FILE: src/Scenes/Worldmaps/Main.tscn ================================================ [gd_scene load_steps=9 format=2] [ext_resource path="res://Scenes/UI/Level.gd" type="Script" id=1] [ext_resource path="res://Scenes/Editor/Layers/TileMap.tscn" type="PackedScene" id=2] [ext_resource path="res://Tilesets/MapTiles.tres" type="TileSet" id=3] [ext_resource path="res://Scenes/Editor/Layers/TileMap.gd" type="Script" id=4] [ext_resource path="res://Scenes/Objects/Map/SpawnPoint.tscn" type="PackedScene" id=5] [ext_resource path="res://Scenes/Objects/Misc/SpawnPoint.gd" type="Script" id=6] [ext_resource path="res://Scenes/Objects/Map/LevelDot.tscn" type="PackedScene" id=7] [ext_resource path="res://Scenes/Objects/Map/LevelDot.gd" type="Script" id=8] [node name="Level" type="Node2D"] script = ExtResource( 1 ) level_name = "The Test Worldmap" level_creator = "Also Alzter" worldmap = true [node name="TileMap" type="TileMap" parent="." groups=[ "layers", "tilemap", ] instance=ExtResource( 2 )] tile_set = ExtResource( 3 ) cell_size = Vector2( 32, 32 ) collision_layer = 31 collision_mask = 31 format = 1 tile_data = PoolIntArray( 0, 1, 0, 1, 1, 1, 2, 1, 1, 3, 1, 1, 4, 1, 1, 5, 1, 1, 6, 1, 1, 7, 1, 1, 8, 1, 1, 9, 1, 1, 10, 1, 1, 11, 1, 1, 12, 1, 1, 13, 1, 1, 14, 1, 1, 15, 1, 1, 16, 1, 1, 17, 1, 2, 65536, 1, 65536, 65537, 1, 65537, 65538, 1, 65537, 65539, 1, 65537, 65540, 1, 65537, 65541, 1, 65537, 65542, 1, 65537, 65543, 1, 65537, 65544, 1, 65537, 65545, 1, 65537, 65546, 1, 65537, 65547, 1, 65537, 65548, 1, 65537, 65549, 1, 65537, 65550, 1, 65537, 65551, 1, 65537, 65552, 1, 65537, 65553, 1, 65538, 131072, 1, 65536, 131073, 1, 65537, 131074, 1, 131075, 131075, 1, 65537, 131076, 1, 65537, 131077, 1, 65537, 131078, 1, 65537, 131079, 1, 131075, 131080, 1, 65537, 131081, 1, 65537, 131082, 1, 65537, 131083, 1, 65537, 131084, 1, 65537, 131085, 1, 65537, 131086, 1, 65537, 131087, 1, 65537, 131088, 1, 65537, 131089, 1, 65538, 196608, 1, 65536, 196609, 1, 65537, 196610, 1, 65537, 196611, 1, 65537, 196612, 1, 65537, 196613, 1, 65537, 196614, 1, 65537, 196615, 1, 65537, 196616, 1, 65537, 196617, 1, 65537, 196618, 1, 65537, 196619, 1, 65537, 196620, 1, 65537, 196621, 1, 65537, 196622, 1, 65537, 196623, 1, 65537, 196624, 1, 65537, 196625, 1, 65538, 262144, 1, 65536, 262145, 1, 65537, 262146, 1, 65537, 262147, 1, 65537, 262148, 1, 65537, 262149, 1, 65537, 262150, 1, 65537, 262151, 1, 65537, 262152, 1, 65537, 262153, 1, 65537, 262154, 1, 65537, 262155, 1, 65537, 262156, 1, 65537, 262157, 1, 65537, 262158, 1, 65537, 262159, 1, 65537, 262160, 1, 65537, 262161, 1, 65538, 327680, 1, 65536, 327681, 1, 65537, 327682, 1, 65537, 327683, 1, 65537, 327684, 1, 65537, 327685, 1, 65537, 327686, 1, 65537, 327687, 1, 65537, 327688, 1, 65537, 327689, 1, 65537, 327690, 1, 65537, 327691, 1, 65537, 327692, 1, 65537, 327693, 1, 65537, 327694, 1, 65537, 327695, 1, 65537, 327696, 1, 65537, 327697, 1, 65538, 393216, 1, 65536, 393217, 1, 65537, 393218, 1, 65537, 393219, 1, 65537, 393220, 1, 65537, 393221, 1, 65537, 393222, 1, 65537, 393223, 1, 65537, 393224, 1, 65537, 393225, 1, 65537, 393226, 1, 65537, 393227, 1, 65537, 393228, 1, 65537, 393229, 1, 65537, 393230, 1, 65537, 393231, 1, 65537, 393232, 1, 65537, 393233, 1, 65538, 458752, 1, 65536, 458753, 1, 65537, 458754, 1, 65537, 458755, 1, 65537, 458756, 1, 65537, 458757, 1, 65537, 458758, 1, 65537, 458759, 1, 65537, 458760, 1, 65537, 458761, 1, 65537, 458762, 1, 65537, 458763, 1, 65537, 458764, 1, 131075, 458765, 1, 65537, 458766, 1, 65537, 458767, 1, 65537, 458768, 1, 65537, 458769, 1, 65538, 524288, 1, 65536, 524289, 1, 65537, 524290, 1, 65537, 524291, 1, 65537, 524292, 1, 65537, 524293, 1, 65537, 524294, 1, 65537, 524295, 1, 65537, 524296, 1, 65537, 524297, 1, 65537, 524298, 1, 65537, 524299, 1, 65537, 524300, 1, 65537, 524301, 1, 65537, 524302, 1, 65537, 524303, 1, 65537, 524304, 1, 65537, 524305, 1, 65538, 589824, 1, 65536, 589825, 1, 65537, 589826, 1, 65537, 589827, 1, 65537, 589828, 1, 65537, 589829, 1, 65537, 589830, 1, 65537, 589831, 1, 65537, 589832, 1, 65537, 589833, 1, 65537, 589834, 1, 65537, 589835, 1, 65537, 589836, 1, 65537, 589837, 1, 65537, 589838, 1, 65537, 589839, 1, 65537, 589840, 1, 65537, 589841, 1, 65538, 655360, 1, 65536, 655361, 1, 65537, 655362, 1, 65537, 655363, 1, 65537, 655364, 1, 65537, 655365, 1, 65537, 655366, 1, 65537, 655367, 1, 65537, 655368, 1, 131075, 655369, 1, 65537, 655370, 1, 65537, 655371, 1, 65537, 655372, 1, 65537, 655373, 1, 65537, 655374, 1, 65537, 655375, 1, 65537, 655376, 1, 65537, 655377, 1, 65538, 720896, 1, 131072, 720897, 1, 131073, 720898, 1, 131073, 720899, 1, 131073, 720900, 1, 131073, 720901, 1, 131073, 720902, 1, 131073, 720903, 1, 131073, 720904, 1, 131073, 720905, 1, 131073, 720906, 1, 131073, 720907, 1, 131073, 720908, 1, 131073, 720909, 1, 131073, 720910, 1, 131073, 720911, 1, 131073, 720912, 1, 131073, 720913, 1, 131074 ) script = ExtResource( 4 ) scroll_speed = Vector2( 1, 1 ) move_speed = Vector2( 0, 0 ) moving = false tint = Color( 1, 1, 1, 1 ) filepath = "" original_name = "" [node name="TileMap2" type="TileMap" parent="." groups=[ "layers", "tilemap", ] instance=ExtResource( 2 )] modulate = Color( 1, 1, 1, 0.25 ) tile_set = ExtResource( 3 ) cell_size = Vector2( 32, 32 ) collision_layer = 31 collision_mask = 31 format = 1 tile_data = PoolIntArray( 131076, 0, 131073, 196612, 0, 131075, 262148, 0, 65536, 262149, 0, 131074, 262150, 0, 131074, 262151, 0, 131074, 262152, 0, 131074, 262153, 0, 1, 327689, 0, 131075, 393225, 0, 131075, 458761, 0, 131075, 524297, 0, 131075, 589833, 0, 65536, 589834, 0, 131074, 589835, 0, 131074, 589836, 0, 131074, 589837, 0, 131074, 589838, 0, 196609 ) script = ExtResource( 4 ) scroll_speed = Vector2( 1, 1 ) move_speed = Vector2( 0, 0 ) moving = false tint = Color( 1, 1, 1, 1 ) filepath = "" original_name = "" [node name="TileMap3" type="TileMap" parent="." groups=[ "layers", "tilemap", ] instance=ExtResource( 2 )] modulate = Color( 1, 1, 1, 0.25 ) tile_set = ExtResource( 3 ) cell_size = Vector2( 32, 32 ) collision_layer = 31 collision_mask = 31 format = 1 tile_data = PoolIntArray( 65540, 2, 0, 65544, 5, 0, 65545, 5, 2, 65547, 3, 0, 65548, 3, 1, 65549, 3, 1, 65550, 3, 1, 65551, 3, 2, 131080, 5, 131072, 131081, 5, 131074, 131082, 3, 0, 131083, 3, 65540, 131084, 3, 65537, 131085, 3, 65537, 131086, 3, 65537, 131087, 3, 65538, 196618, 3, 131072, 196619, 3, 4, 196620, 3, 65537, 196621, 3, 65537, 196622, 3, 65537, 196623, 3, 65538, 262145, 5, 0, 262146, 5, 1, 262147, 5, 2, 262155, 3, 131072, 262156, 3, 131073, 262157, 3, 131073, 262158, 3, 131073, 262159, 3, 131074, 327681, 5, 65536, 327682, 5, 65537, 327683, 5, 65539, 327684, 5, 2, 327690, 5, 0, 327691, 5, 2, 327693, 5, 0, 327694, 5, 1, 327695, 5, 2, 393217, 5, 131072, 393218, 5, 131073, 393219, 5, 131073, 393220, 5, 131074, 393221, 3, 0, 393222, 3, 1, 393223, 3, 2, 393226, 5, 65536, 393227, 5, 65538, 393229, 5, 131072, 393230, 5, 4, 393231, 5, 65539, 393232, 5, 2, 458754, 3, 0, 458755, 3, 1, 458756, 3, 1, 458757, 3, 65540, 458758, 3, 65537, 458759, 3, 65538, 458762, 5, 131072, 458763, 5, 131074, 458766, 5, 65536, 458767, 5, 65537, 458768, 5, 65538, 524290, 3, 65536, 524291, 3, 65537, 524292, 3, 65537, 524293, 3, 65537, 524294, 3, 65537, 524295, 3, 65538, 524302, 5, 131072, 524303, 5, 131073, 524304, 5, 131074, 589826, 3, 65536, 589827, 3, 65537, 589828, 3, 65537, 589829, 3, 65537, 589830, 3, 3, 589831, 3, 131074, 655362, 3, 131072, 655363, 3, 131073, 655364, 3, 131073, 655365, 3, 131073, 655366, 3, 131074 ) script = ExtResource( 4 ) scroll_speed = Vector2( 1, 1 ) move_speed = Vector2( 0, 0 ) moving = false tint = Color( 1, 1, 1, 1 ) filepath = "" original_name = "" [node name="SpawnPoint" type="Position2D" parent="." groups=[ "oneonly", "spawnpoint", ] instance=ExtResource( 5 )] position = Vector2( 144, 112 ) script = ExtResource( 6 ) [node name="LevelDot" type="Node2D" parent="." groups=[ "popup", "leveldot", ] instance=ExtResource( 7 )] position = Vector2( 240, 144 ) script = ExtResource( 8 ) level = "res://Scenes//Levels//TEST.tscn" invisible = false autoplay = false cleared = false movedirection = 1 ================================================ FILE: src/Sprites/Backgrounds/Snow/arcticmountains-bg.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/arcticmountains-bg.png-29f30fc31d318d980ed437e9d366d8b7.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Backgrounds/Snow/arcticmountains-bg.png" dest_files=[ "res://.import/arcticmountains-bg.png-29f30fc31d318d980ed437e9d366d8b7.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Backgrounds/Snow/arcticmountains-fg.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/arcticmountains-fg.png-35ca989779ba9ee991d43a3c1e115aa8.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Backgrounds/Snow/arcticmountains-fg.png" dest_files=[ "res://.import/arcticmountains-fg.png-35ca989779ba9ee991d43a3c1e115aa8.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Backgrounds/Snow/arcticmountains-sky.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/arcticmountains-sky.png-e3c64433bfa7ff20579673d458d9ca2e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Backgrounds/Snow/arcticmountains-sky.png" dest_files=[ "res://.import/arcticmountains-sky.png-e3c64433bfa7ff20579673d458d9ca2e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Bomb/bomb-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/bomb-0.png-d1c8fefbfe35ebafe745d1517f93d617.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Bomb/bomb-0.png" dest_files=[ "res://.import/bomb-0.png-d1c8fefbfe35ebafe745d1517f93d617.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Bomb/bomb-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/bomb-1.png-67a0349e3204cd23bbfad125ca89ca6c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Bomb/bomb-1.png" dest_files=[ "res://.import/bomb-1.png-67a0349e3204cd23bbfad125ca89ca6c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Bomb/bomb-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/bomb-2.png-63da7955cfeef6a73865e1fe769f64ff.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Bomb/bomb-2.png" dest_files=[ "res://.import/bomb-2.png-63da7955cfeef6a73865e1fe769f64ff.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Bomb/explosion.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/explosion.png-9c475e44b3b657a30cdabf5937b90e63.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Bomb/explosion.png" dest_files=[ "res://.import/explosion.png-9c475e44b3b657a30cdabf5937b90e63.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Bomb/redglow.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/redglow.png-6823fcdce6119207d779d36dcd01b25e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Bomb/redglow.png" dest_files=[ "res://.import/redglow.png-6823fcdce6119207d779d36dcd01b25e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Bomb/triggered.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/triggered.png-c9f13191bafb1c8763f91f265ff02c58.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Bomb/triggered.png" dest_files=[ "res://.import/triggered.png-c9f13191bafb1c8763f91f265ff02c58.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Bomb/whiteflash.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/whiteflash.png-cacadcbfb6ebbc2063b0153953c99528.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Bomb/whiteflash.png" dest_files=[ "res://.import/whiteflash.png-cacadcbfb6ebbc2063b0153953c99528.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-0.png-7a6f75958968d0630637dfa30a297d38.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-0.png" dest_files=[ "res://.import/iceblock-0.png-7a6f75958968d0630637dfa30a297d38.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-1.png-9ce16f3c7e8d3ff03542ee39ac701d31.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-1.png" dest_files=[ "res://.import/iceblock-1.png-9ce16f3c7e8d3ff03542ee39ac701d31.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-2.png-901d73bb138ed3db9eb18ba92ca9484b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-2.png" dest_files=[ "res://.import/iceblock-2.png-901d73bb138ed3db9eb18ba92ca9484b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-3.png-6b4b8835fbb7c992ef912a6feb614af8.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-3.png" dest_files=[ "res://.import/iceblock-3.png-6b4b8835fbb7c992ef912a6feb614af8.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-4.png-d61a7b4a72c5e61a60585c553db2003e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-4.png" dest_files=[ "res://.import/iceblock-4.png-d61a7b4a72c5e61a60585c553db2003e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-5.png-2ba805d3595353b7874e8511c8466fc2.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-5.png" dest_files=[ "res://.import/iceblock-5.png-2ba805d3595353b7874e8511c8466fc2.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-6.png-4194e759f53f586331dd1d79b90170cd.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-6.png" dest_files=[ "res://.import/iceblock-6.png-4194e759f53f586331dd1d79b90170cd.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/iceblock-7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/iceblock-7.png-0e488cdc470d431c9dbe8e632e108541.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/iceblock-7.png" dest_files=[ "res://.import/iceblock-7.png-0e488cdc470d431c9dbe8e632e108541.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/shard.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/shard.png-aab6b9cf4b192184524572d0c4113320.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/shard.png" dest_files=[ "res://.import/shard.png-aab6b9cf4b192184524572d0c4113320.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Iceblock/stomped-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/stomped-0.png-481f3e0266fbc6426af5978d42633865.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Iceblock/stomped-0.png" dest_files=[ "res://.import/stomped-0.png-481f3e0266fbc6426af5978d42633865.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/shard.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/shard.png-a60225dfab620aa974cb994890b742b5.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/shard.png" dest_files=[ "res://.import/shard.png-a60225dfab620aa974cb994890b742b5.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-0.png-0ea610c04ce7dd3783e97dca1ce6b371.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-0.png" dest_files=[ "res://.import/smartblock-0.png-0ea610c04ce7dd3783e97dca1ce6b371.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-1.png-58304e8aca08c965ca81ab7ff103bdd4.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-1.png" dest_files=[ "res://.import/smartblock-1.png-58304e8aca08c965ca81ab7ff103bdd4.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-2.png-74fc0935ced9246e0df95de932af0a6c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-2.png" dest_files=[ "res://.import/smartblock-2.png-74fc0935ced9246e0df95de932af0a6c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-3.png-c2859c4f87a8c2e768e421e57514e981.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-3.png" dest_files=[ "res://.import/smartblock-3.png-c2859c4f87a8c2e768e421e57514e981.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-4.png-5317f9f5e34f327af21ba9c579bf5407.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-4.png" dest_files=[ "res://.import/smartblock-4.png-5317f9f5e34f327af21ba9c579bf5407.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-5.png-7e2cb8cddbe607cb525d3748f338a69d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-5.png" dest_files=[ "res://.import/smartblock-5.png-7e2cb8cddbe607cb525d3748f338a69d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-6.png-ca7a6b440a88a164c28cdd505da0dcce.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-6.png" dest_files=[ "res://.import/smartblock-6.png-ca7a6b440a88a164c28cdd505da0dcce.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/smartblock-7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartblock-7.png-19d83a2f34c628bde2dded537b64a50e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/smartblock-7.png" dest_files=[ "res://.import/smartblock-7.png-19d83a2f34c628bde2dded537b64a50e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/IceblockSmart/stomped-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/stomped-0.png-a231ae91cf3730333ab7a7cf7706826b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/IceblockSmart/stomped-0.png" dest_files=[ "res://.import/stomped-0.png-a231ae91cf3730333ab7a7cf7706826b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Jumpy/left-down.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/left-down.png-d125189843859a4247a36884f57fcb5a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Jumpy/left-down.png" dest_files=[ "res://.import/left-down.png-d125189843859a4247a36884f57fcb5a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Jumpy/left-middle.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/left-middle.png-a6e5dfdfdce146f91e9cc69a0928cc2a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Jumpy/left-middle.png" dest_files=[ "res://.import/left-middle.png-a6e5dfdfdce146f91e9cc69a0928cc2a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Jumpy/left-up.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/left-up.png-d7a1e3f644813727c3b3c48989b5aec3.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Jumpy/left-up.png" dest_files=[ "res://.import/left-up.png-d7a1e3f644813727c3b3c48989b5aec3.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/droplet.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/droplet.png-46377a9cfdf39702e8e89663bcda13bd.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/droplet.png" dest_files=[ "res://.import/droplet.png-46377a9cfdf39702e8e89663bcda13bd.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/particle.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/particle.png-aa6d58ca36e5a5b516bfb198c6d25835.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/particle.png" dest_files=[ "res://.import/particle.png-aa6d58ca36e5a5b516bfb198c6d25835.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-0.png-b9fa97f6d583c0146116da5750668891.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-0.png" dest_files=[ "res://.import/snowball-0.png-b9fa97f6d583c0146116da5750668891.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-1.png-6f71d1c82f1f872ca337f93b59695aaf.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-1.png" dest_files=[ "res://.import/snowball-1.png-6f71d1c82f1f872ca337f93b59695aaf.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-2.png-3d7a6bdf1bfd065cb513c872864db261.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-2.png" dest_files=[ "res://.import/snowball-2.png-3d7a6bdf1bfd065cb513c872864db261.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-3.png-a3e538d8b8645fdcb0fae419905abc96.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-3.png" dest_files=[ "res://.import/snowball-3.png-a3e538d8b8645fdcb0fae419905abc96.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-4.png-324206c3205c3024a9b3cf5867599b78.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-4.png" dest_files=[ "res://.import/snowball-4.png-324206c3205c3024a9b3cf5867599b78.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-5.png-91c785d6e52552a082afcc0901355718.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-5.png" dest_files=[ "res://.import/snowball-5.png-91c785d6e52552a082afcc0901355718.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-6.png-18870fcd59338596a9941906dfb20c95.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-6.png" dest_files=[ "res://.import/snowball-6.png-18870fcd59338596a9941906dfb20c95.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/snowball-7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/snowball-7.png-070a8766926f804c8a24282d863ce9ae.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/snowball-7.png" dest_files=[ "res://.import/snowball-7.png-070a8766926f804c8a24282d863ce9ae.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Snowball/squished-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/squished-0.png-9e9116caa016083f39aad7e5e2cadc7c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Snowball/squished-0.png" dest_files=[ "res://.import/squished-0.png-9e9116caa016083f39aad7e5e2cadc7c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/droplet.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/droplet.png-761f7bd770dff2eabcc55c13ec4a3e45.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/droplet.png" dest_files=[ "res://.import/droplet.png-761f7bd770dff2eabcc55c13ec4a3e45.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/particle.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/particle.png-054196a4953b60063916b3dec2469a79.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/particle.png" dest_files=[ "res://.import/particle.png-054196a4953b60063916b3dec2469a79.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-0.png-61b841a04eb0948705200655cc5898b7.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-0.png" dest_files=[ "res://.import/smartball-0.png-61b841a04eb0948705200655cc5898b7.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-1.png-c46a816b6639f5bb448e7af499a8c18a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-1.png" dest_files=[ "res://.import/smartball-1.png-c46a816b6639f5bb448e7af499a8c18a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-2.png-2065bc087c5159eaf794327929155d21.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-2.png" dest_files=[ "res://.import/smartball-2.png-2065bc087c5159eaf794327929155d21.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-3.png-5f048ab36bd6519c3f2495d325733226.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-3.png" dest_files=[ "res://.import/smartball-3.png-5f048ab36bd6519c3f2495d325733226.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-4.png-dcf5c579d8e9a8cb895f1300ebc90c09.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-4.png" dest_files=[ "res://.import/smartball-4.png-dcf5c579d8e9a8cb895f1300ebc90c09.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-5.png-8e146995690b7dfb6f76d46a875f6f5b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-5.png" dest_files=[ "res://.import/smartball-5.png-8e146995690b7dfb6f76d46a875f6f5b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-6.png-492f3f73c5340c978ff15e638b31f6f8.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-6.png" dest_files=[ "res://.import/smartball-6.png-492f3f73c5340c978ff15e638b31f6f8.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/smartball-7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smartball-7.png-74965d44785f9ab556a5c31e8bbfbf73.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/smartball-7.png" dest_files=[ "res://.import/smartball-7.png-74965d44785f9ab556a5c31e8bbfbf73.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/SnowballSmart/squished-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/squished-0.png-054b8cf25096eab31ce3d5a31d1cc34f.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/SnowballSmart/squished-0.png" dest_files=[ "res://.import/squished-0.png-054b8cf25096eab31ce3d5a31d1cc34f.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-0.png-6299d17d2385357b17c3e1d9ae166281.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-0.png" dest_files=[ "res://.import/melting-0.png-6299d17d2385357b17c3e1d9ae166281.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-1.png-b334eeaeebd15efea23dab49014db370.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-1.png" dest_files=[ "res://.import/melting-1.png-b334eeaeebd15efea23dab49014db370.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-2.png-63e7b3d7fbf459de6bdf4e944927d0f6.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-2.png" dest_files=[ "res://.import/melting-2.png-63e7b3d7fbf459de6bdf4e944927d0f6.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-3.png-d4f2e323d4ea01ee569111d1c14048ce.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-3.png" dest_files=[ "res://.import/melting-3.png-d4f2e323d4ea01ee569111d1c14048ce.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-4.png-f73387567507a514b0c1fad851954d38.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-4.png" dest_files=[ "res://.import/melting-4.png-f73387567507a514b0c1fad851954d38.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-5.png-c5ad03c1ba189740d54b6a0cd9cc91bb.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-5.png" dest_files=[ "res://.import/melting-5.png-c5ad03c1ba189740d54b6a0cd9cc91bb.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-6.png-8c3f5624b0e3d1b158688daa5408f06f.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-6.png" dest_files=[ "res://.import/melting-6.png-8c3f5624b0e3d1b158688daa5408f06f.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/melting-7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/melting-7.png-6418ee62b33b740b604a1373da453660.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/melting-7.png" dest_files=[ "res://.import/melting-7.png-6418ee62b33b740b604a1373da453660.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-0.png-27c13563344d16e0bb315b0c6e79cb00.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-0.png" dest_files=[ "res://.import/spiky-0.png-27c13563344d16e0bb315b0c6e79cb00.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-1.png-61c379f35e0cb4b2210179fdc2935917.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-1.png" dest_files=[ "res://.import/spiky-1.png-61c379f35e0cb4b2210179fdc2935917.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-2.png-c55d44453cca64d14adc5a49740b93b7.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-2.png" dest_files=[ "res://.import/spiky-2.png-c55d44453cca64d14adc5a49740b93b7.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-3.png-23ceaf46e269d3688b6320081063904d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-3.png" dest_files=[ "res://.import/spiky-3.png-23ceaf46e269d3688b6320081063904d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-4.png-e278a70b5d0c543d870a762f643201d8.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-4.png" dest_files=[ "res://.import/spiky-4.png-e278a70b5d0c543d870a762f643201d8.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-5.png-135887c51aa8bc5c0e833e9e0638725c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-5.png" dest_files=[ "res://.import/spiky-5.png-135887c51aa8bc5c0e833e9e0638725c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-6.png-a0d6e78fb2cf8a2713840aedf3879ebc.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-6.png" dest_files=[ "res://.import/spiky-6.png-a0d6e78fb2cf8a2713840aedf3879ebc.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Spiky/spiky-7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spiky-7.png-ccf5abe9e541386af96caa1625d394b4.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Spiky/spiky-7.png" dest_files=[ "res://.import/spiky-7.png-ccf5abe9e541386af96caa1625d394b4.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Stalactite/broken.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/broken.png-4ef005e376419958c7ae6aa76575c054.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Stalactite/broken.png" dest_files=[ "res://.import/broken.png-4ef005e376419958c7ae6aa76575c054.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Stalactite/falling.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/falling.png-789cdfeb31e9439017329a7c16fa1d4e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Stalactite/falling.png" dest_files=[ "res://.import/falling.png-789cdfeb31e9439017329a7c16fa1d4e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Stalactite/stalactiteshard.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/stalactiteshard.png-bbe7990ac9ea3e999f7895ddcb005256.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Stalactite/stalactiteshard.png" dest_files=[ "res://.import/stalactiteshard.png-bbe7990ac9ea3e999f7895ddcb005256.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk1.png-ba3a34383171d3956d23ae1def2557a7.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk1.png" dest_files=[ "res://.import/Bigtuxwalk1.png-ba3a34383171d3956d23ae1def2557a7.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk2.png-f4d61cc31d0c8b555aa93ea298634bbe.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk2.png" dest_files=[ "res://.import/Bigtuxwalk2.png-f4d61cc31d0c8b555aa93ea298634bbe.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk3.png-5fc65d0d7be4b7419e4b8dcd1266716c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk3.png" dest_files=[ "res://.import/Bigtuxwalk3.png-5fc65d0d7be4b7419e4b8dcd1266716c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk4.png-044a3ac61a7d3fc461bcc73c5cf4a82a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk4.png" dest_files=[ "res://.import/Bigtuxwalk4.png-044a3ac61a7d3fc461bcc73c5cf4a82a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk5.png-3990ba2df7fbb389b591eb80575b3b3a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk5.png" dest_files=[ "res://.import/Bigtuxwalk5.png-3990ba2df7fbb389b591eb80575b3b3a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk6.png-1c37bbfa536c40c8715ceda782ba7465.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk6.png" dest_files=[ "res://.import/Bigtuxwalk6.png-1c37bbfa536c40c8715ceda782ba7465.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk7.png-9f76c0640b1c1cd5e2b52a57a6e3e401.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk7.png" dest_files=[ "res://.import/Bigtuxwalk7.png-9f76c0640b1c1cd5e2b52a57a6e3e401.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Bigtuxwalk8.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Bigtuxwalk8.png-5b85d11d6072716f490f70cdd55d7768.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Bigtuxwalk8.png" dest_files=[ "res://.import/Bigtuxwalk8.png-5b85d11d6072716f490f70cdd55d7768.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Fall1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall1.png-dfa5b14edc6e7cd342a6448e7db64988.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Fall1.png" dest_files=[ "res://.import/Fall1.png-dfa5b14edc6e7cd342a6448e7db64988.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Fall2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall2.png-042e0f24ae1f7319ee1ab187ee245460.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Fall2.png" dest_files=[ "res://.import/Fall2.png-042e0f24ae1f7319ee1ab187ee245460.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Fall3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall3.png-8c304cdc6943f4f8f6c1eee860b2e05e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Fall3.png" dest_files=[ "res://.import/Fall3.png-8c304cdc6943f4f8f6c1eee860b2e05e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Fall4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall4.png-3e3ed4be88602e40c1e4189928ab36a3.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Fall4.png" dest_files=[ "res://.import/Fall4.png-3e3ed4be88602e40c1e4189928ab36a3.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Jump1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Jump1.png-fc78acbf7572bf59865897efea1f077b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Jump1.png" dest_files=[ "res://.import/Jump1.png-fc78acbf7572bf59865897efea1f077b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Jump2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Jump2.png-e88232a0b6d2e496a40753ecf1029d61.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Jump2.png" dest_files=[ "res://.import/Jump2.png-e88232a0b6d2e496a40753ecf1029d61.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Jump3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Jump3.png-09510be0bc824f22ec82dcdc35812472.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Jump3.png" dest_files=[ "res://.import/Jump3.png-09510be0bc824f22ec82dcdc35812472.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Slideplaceholder.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Slideplaceholder.png-11e9ca49cd8ae3898284fc6f8bf05a0f.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Slideplaceholder.png" dest_files=[ "res://.import/Slideplaceholder.png-11e9ca49cd8ae3898284fc6f8bf05a0f.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/Stand.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Stand.png-3c2c8f7809703683bc24f34ce517496f.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/Stand.png" dest_files=[ "res://.import/Stand.png-3c2c8f7809703683bc24f34ce517496f.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/backflip.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/backflip.png-a8c3a00bc4954b1979318f80a206950b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/backflip.png" dest_files=[ "res://.import/backflip.png-a8c3a00bc4954b1979318f80a206950b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/buttjump-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/buttjump-0.png-69db136acf5efac7b4c4c23a73f65911.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/buttjump-0.png" dest_files=[ "res://.import/buttjump-0.png-69db136acf5efac7b4c4c23a73f65911.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/buttjump-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/buttjump-1.png-0de900f26a60f9a49ccae402d93347dd.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/buttjump-1.png" dest_files=[ "res://.import/buttjump-1.png-0de900f26a60f9a49ccae402d93347dd.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/buttjump-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/buttjump-2.png-3a3d47acdf8f352f83df9f87284ee123.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/buttjump-2.png" dest_files=[ "res://.import/buttjump-2.png-3a3d47acdf8f352f83df9f87284ee123.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/buttjump-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/buttjump-3.png-dc64a96d696a4c9c0d3248f23ee45c4a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/buttjump-3.png" dest_files=[ "res://.import/buttjump-3.png-dc64a96d696a4c9c0d3248f23ee45c4a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/buttjump-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/buttjump-4.png-16591fd2bfbeea99e3134a262e57ef2b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/buttjump-4.png" dest_files=[ "res://.import/buttjump-4.png-16591fd2bfbeea99e3134a262e57ef2b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/buttjump-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/buttjump-5.png-5c619d1b8ded616a20a8b78adce3cc3b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/buttjump-5.png" dest_files=[ "res://.import/buttjump-5.png-5c619d1b8ded616a20a8b78adce3cc3b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/buttjump-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/buttjump-6.png-5a2b298ef0fedc4c7003ae2859b96030.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/buttjump-6.png" dest_files=[ "res://.import/buttjump-6.png-5a2b298ef0fedc4c7003ae2859b96030.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/duck-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/duck-0.png-82e47f919ec51dce69d49cda53a2acb5.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/duck-0.png" dest_files=[ "res://.import/duck-0.png-82e47f919ec51dce69d49cda53a2acb5.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/skid-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/skid-0.png-5eab3fed56364eb15e033d90a5b3d76e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/skid-0.png" dest_files=[ "res://.import/skid-0.png-5eab3fed56364eb15e033d90a5b3d76e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Big/stand-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/stand-0.png-6076ed7f104c4f33ed95ab6275733d73.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Big/stand-0.png" dest_files=[ "res://.import/stand-0.png-6076ed7f104c4f33ed95ab6275733d73.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Fall1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall1.png-f0835ec3c3aaf21b6d1bd70150704410.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Fall1.png" dest_files=[ "res://.import/Fall1.png-f0835ec3c3aaf21b6d1bd70150704410.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Fall2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall2.png-6ab9873eba76de7bf4e3c26cacb677c1.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Fall2.png" dest_files=[ "res://.import/Fall2.png-6ab9873eba76de7bf4e3c26cacb677c1.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Fall3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall3.png-04d5d0d99b85104c3d3c990efaaf3bb2.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Fall3.png" dest_files=[ "res://.import/Fall3.png-04d5d0d99b85104c3d3c990efaaf3bb2.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Fall4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Fall4.png-26a1bbfa5fbd7be2fb526e989cf8c73a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Fall4.png" dest_files=[ "res://.import/Fall4.png-26a1bbfa5fbd7be2fb526e989cf8c73a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Jump1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Jump1.png-6c7b0e300e91e5f4ea9d8c6de2f780fa.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Jump1.png" dest_files=[ "res://.import/Jump1.png-6c7b0e300e91e5f4ea9d8c6de2f780fa.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Jump2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Jump2.png-082eda85b8628f171a97ffc4879c17d5.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Jump2.png" dest_files=[ "res://.import/Jump2.png-082eda85b8628f171a97ffc4879c17d5.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Jump3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Jump3.png-8a0374c3e255455ea053ac11443b3a60.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Jump3.png" dest_files=[ "res://.import/Jump3.png-8a0374c3e255455ea053ac11443b3a60.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk1.png-73960fc32c9e0f883b8316aba462e5d8.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk1.png" dest_files=[ "res://.import/Smalltuxwalk1.png-73960fc32c9e0f883b8316aba462e5d8.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk2.png-b9f0c74031fe144b987340cd947a51d1.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk2.png" dest_files=[ "res://.import/Smalltuxwalk2.png-b9f0c74031fe144b987340cd947a51d1.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk3.png-14e092c026e14d57f29abec4372a5d3b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk3.png" dest_files=[ "res://.import/Smalltuxwalk3.png-14e092c026e14d57f29abec4372a5d3b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk4.png-2723530e8b4ebd32ade0040a3f2501ea.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk4.png" dest_files=[ "res://.import/Smalltuxwalk4.png-2723530e8b4ebd32ade0040a3f2501ea.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk5.png-e0afd932bcad4980adc70b6d8aba73de.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk5.png" dest_files=[ "res://.import/Smalltuxwalk5.png-e0afd932bcad4980adc70b6d8aba73de.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk6.png-e2e6edb06d818b27f43b8966b88af28d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk6.png" dest_files=[ "res://.import/Smalltuxwalk6.png-e2e6edb06d818b27f43b8966b88af28d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk7.png-7450bd78abb694a69d299dc1ee626907.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk7.png" dest_files=[ "res://.import/Smalltuxwalk7.png-7450bd78abb694a69d299dc1ee626907.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/Smalltuxwalk8.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Smalltuxwalk8.png-09831ca633ace6f13db812cf8d012e26.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/Smalltuxwalk8.png" dest_files=[ "res://.import/Smalltuxwalk8.png-09831ca633ace6f13db812cf8d012e26.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/gameover-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/gameover-0.png-d2f714d30558814a3a39aa540b8a5fac.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/gameover-0.png" dest_files=[ "res://.import/gameover-0.png-d2f714d30558814a3a39aa540b8a5fac.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/gameover-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/gameover-1.png-f9f157bcdc6cb8be6c8744012e2fcfdb.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/gameover-1.png" dest_files=[ "res://.import/gameover-1.png-f9f157bcdc6cb8be6c8744012e2fcfdb.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/jump-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/jump-0.png-17fa95d79d14794bbc3d6183acc2d4ab.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/jump-0.png" dest_files=[ "res://.import/jump-0.png-17fa95d79d14794bbc3d6183acc2d4ab.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/skid-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/skid-0.png-8cb3b6aae65b5a0ada7921af36aa4f2f.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/skid-0.png" dest_files=[ "res://.import/skid-0.png-8cb3b6aae65b5a0ada7921af36aa4f2f.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Creatures/Tux/Small/stand-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/stand-0.png-e809879190d1ebf9d8cf181508869af3.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Creatures/Tux/Small/stand-0.png" dest_files=[ "res://.import/stand-0.png-e809879190d1ebf9d8cf181508869af3.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Arrow.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Arrow.png-b67a8582a20cb371d6c96fa38cdd2ef3.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Arrow.png" dest_files=[ "res://.import/Arrow.png-b67a8582a20cb371d6c96fa38cdd2ef3.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Equals.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Equals.png-47342958cf86c97f6240f2072b001c07.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Equals.png" dest_files=[ "res://.import/Equals.png-47342958cf86c97f6240f2072b001c07.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/EraseSelect.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/EraseSelect.png-5e9044162cf7835f615edd43d4489c55.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/EraseSelect.png" dest_files=[ "res://.import/EraseSelect.png-5e9044162cf7835f615edd43d4489c55.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Eraser.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Eraser.png-9841cc77c8428cc6b45fd60721484de2.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Eraser.png" dest_files=[ "res://.import/Eraser.png-9841cc77c8428cc6b45fd60721484de2.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Grab.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Grab.png-fcb0c0f7165f07a2befdc39cb5d93aee.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Grab.png" dest_files=[ "res://.import/Grab.png-fcb0c0f7165f07a2befdc39cb5d93aee.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/GrabPoint.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/GrabPoint.png-fc9a1eaa300ccf31965258b787a8b862.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/GrabPoint.png" dest_files=[ "res://.import/GrabPoint.png-fc9a1eaa300ccf31965258b787a8b862.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/GrabPointHover.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/GrabPointHover.png-66ea20b996eae969e187363284290e59.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/GrabPointHover.png" dest_files=[ "res://.import/GrabPointHover.png-66ea20b996eae969e187363284290e59.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/GrabSide.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/GrabSide.png-f8049841a09ef6668da4bc6f23117151.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/GrabSide.png" dest_files=[ "res://.import/GrabSide.png-f8049841a09ef6668da4bc6f23117151.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/GrabSideHover.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/GrabSideHover.png-3ab14cae313674768516128cc97e332c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/GrabSideHover.png" dest_files=[ "res://.import/GrabSideHover.png-3ab14cae313674768516128cc97e332c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Grid.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Grid.png-10883faea2f4f08d5caa32bff61741fd.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Grid.png" dest_files=[ "res://.import/Grid.png-10883faea2f4f08d5caa32bff61741fd.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/LayerIcons/Background.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Background.png-ae0e8933320f912a9b918f2303087df1.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/LayerIcons/Background.png" dest_files=[ "res://.import/Background.png-ae0e8933320f912a9b918f2303087df1.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/LayerIcons/TileMap.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/TileMap.png-e4e40351b806ddadabcfd6a20c5497d8.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/LayerIcons/TileMap.png" dest_files=[ "res://.import/TileMap.png-e4e40351b806ddadabcfd6a20c5497d8.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Line.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Line.png-ce3abdf83b5619d596db249906d7dc2d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Line.png" dest_files=[ "res://.import/Line.png-ce3abdf83b5619d596db249906d7dc2d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Minus.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Minus.png-261f1acff7682b94ae8987c0d1fcefc3.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Minus.png" dest_files=[ "res://.import/Minus.png-261f1acff7682b94ae8987c0d1fcefc3.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Plus.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Plus.png-b3bd1c6ad70d3108c49fc201d474d3b3.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Plus.png" dest_files=[ "res://.import/Plus.png-b3bd1c6ad70d3108c49fc201d474d3b3.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Rectangle.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Rectangle.png-910404606a91bc1de48faece0037463d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Rectangle.png" dest_files=[ "res://.import/Rectangle.png-910404606a91bc1de48faece0037463d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Save.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Save.png-afc165a5776ded880c3b1eb36f430f69.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Save.png" dest_files=[ "res://.import/Save.png-afc165a5776ded880c3b1eb36f430f69.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Editor/Wrench.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Wrench.png-8e24295f27197429affe0e7342b55b53.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Editor/Wrench.png" dest_files=[ "res://.import/Wrench.png-8e24295f27197429affe0e7342b55b53.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/1Down/1down.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/1down.png-fdd3da03a2f40e65a679d034a7166f6b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/1Down/1down.png" dest_files=[ "res://.import/1down.png-fdd3da03a2f40e65a679d034a7166f6b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/1Up/1up.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/1up.png-e4395f88a75169d04ea65bf62e8f2898.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/1Up/1up.png" dest_files=[ "res://.import/1up.png-e4395f88a75169d04ea65bf62e8f2898.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/1Up/glimmer.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/glimmer.png-0f2480ac9aba6e084c20b88ce55231ea.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/1Up/glimmer.png" dest_files=[ "res://.import/glimmer.png-0f2480ac9aba6e084c20b88ce55231ea.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/1Up/glow.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/glow.png-bfe7478c92d20c4d55c41640cfb12302.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/1Up/glow.png" dest_files=[ "res://.import/glow.png-bfe7478c92d20c4d55c41640cfb12302.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/BonusBlock/block-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/block-0.png-f6904695349056c9905df30b5c2ce774.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/BonusBlock/block-0.png" dest_files=[ "res://.import/block-0.png-f6904695349056c9905df30b5c2ce774.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/BonusBlock/block-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/block-1.png-f1214403767e4e2a81b3cf9eb8cb047d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/BonusBlock/block-1.png" dest_files=[ "res://.import/block-1.png-f1214403767e4e2a81b3cf9eb8cb047d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/BonusBlock/block-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/block-2.png-3edaab8eb4192bb14fdf086853d43d75.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/BonusBlock/block-2.png" dest_files=[ "res://.import/block-2.png-3edaab8eb4192bb14fdf086853d43d75.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/BonusBlock/block-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/block-3.png-8888cbc4a2185580bd0ed774e959d6a1.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/BonusBlock/block-3.png" dest_files=[ "res://.import/block-3.png-8888cbc4a2185580bd0ed774e959d6a1.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/BonusBlock/block.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/block.png-eece50fac6257f32f37395a22744198a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/BonusBlock/block.png" dest_files=[ "res://.import/block.png-eece50fac6257f32f37395a22744198a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/BonusBlock/empty.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/empty.png-6ba7c84c6e33cbda71acf41e37b968be.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/BonusBlock/empty.png" dest_files=[ "res://.import/empty.png-6ba7c84c6e33cbda71acf41e37b968be.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Brick/brick.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/brick.png-84dec47b4d351eee6f231f6c133a1f0b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Brick/brick.png" dest_files=[ "res://.import/brick.png-84dec47b4d351eee6f231f6c133a1f0b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-0.png-bacad0aa70654d2cb6c56e6a0f44d9c5.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-0.png" dest_files=[ "res://.import/coin-0.png-bacad0aa70654d2cb6c56e6a0f44d9c5.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-1.png-2307b6a79fdc002bdf24ea8979301291.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-1.png" dest_files=[ "res://.import/coin-1.png-2307b6a79fdc002bdf24ea8979301291.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-10.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-10.png-23c5300c8d565751b296b3d0cc888b66.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-10.png" dest_files=[ "res://.import/coin-10.png-23c5300c8d565751b296b3d0cc888b66.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-11.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-11.png-bdf27c0391642211d38528f89bedaed2.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-11.png" dest_files=[ "res://.import/coin-11.png-bdf27c0391642211d38528f89bedaed2.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-12.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-12.png-fe62f03edcf3886577abbeb18f7e8949.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-12.png" dest_files=[ "res://.import/coin-12.png-fe62f03edcf3886577abbeb18f7e8949.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-13.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-13.png-0863ebb881628f11ba3e976fa80f145d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-13.png" dest_files=[ "res://.import/coin-13.png-0863ebb881628f11ba3e976fa80f145d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-14.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-14.png-20058ba33b189c24de5957127ed6678c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-14.png" dest_files=[ "res://.import/coin-14.png-20058ba33b189c24de5957127ed6678c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-15.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-15.png-08cc4fc278051af4adb8aa7bf4e670b9.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-15.png" dest_files=[ "res://.import/coin-15.png-08cc4fc278051af4adb8aa7bf4e670b9.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-2.png-0ed6c5ddc6325fef7ed072af0e12998e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-2.png" dest_files=[ "res://.import/coin-2.png-0ed6c5ddc6325fef7ed072af0e12998e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-3.png-4711cfb7d65d76ff64a1f2ca9e67505a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-3.png" dest_files=[ "res://.import/coin-3.png-4711cfb7d65d76ff64a1f2ca9e67505a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-4.png-8358dc8ef356823b9e98acf81e07f41c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-4.png" dest_files=[ "res://.import/coin-4.png-8358dc8ef356823b9e98acf81e07f41c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-5.png-16c08f43171de8ad3a272528026dd605.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-5.png" dest_files=[ "res://.import/coin-5.png-16c08f43171de8ad3a272528026dd605.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-6.png-768dd3442e41ecdcd35d472939db323f.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-6.png" dest_files=[ "res://.import/coin-6.png-768dd3442e41ecdcd35d472939db323f.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-7.png-1f04e21ebee19e75ef1d954db8808a7e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-7.png" dest_files=[ "res://.import/coin-7.png-1f04e21ebee19e75ef1d954db8808a7e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-8.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-8.png-f85d5f7ddd2a9bc41b5a4e7cce8ef0f0.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-8.png" dest_files=[ "res://.import/coin-8.png-f85d5f7ddd2a9bc41b5a4e7cce8ef0f0.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/coin-9.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/coin-9.png-18bc615c0765112cd54a38ff491b0b9e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/coin-9.png" dest_files=[ "res://.import/coin-9.png-18bc615c0765112cd54a38ff491b0b9e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/glimmer.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/glimmer.png-0fa2f90e7fd2fef448bc656dac460a08.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/glimmer.png" dest_files=[ "res://.import/glimmer.png-0fa2f90e7fd2fef448bc656dac460a08.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Coin/glow.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/glow.png-768f2bde326d10c7b87be583fc97f2c6.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Coin/glow.png" dest_files=[ "res://.import/glow.png-768f2bde326d10c7b87be583fc97f2c6.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Egg/egg-merged.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/egg-merged.png-60a04b1e26d51c2974d474b8f7b077fd.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Egg/egg-merged.png" dest_files=[ "res://.import/egg-merged.png-60a04b1e26d51c2974d474b8f7b077fd.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/FireFlower/fire_flower-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/fire_flower-0.png-cb6e6062bc0adb3b51519212bbef9e8a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/FireFlower/fire_flower-0.png" dest_files=[ "res://.import/fire_flower-0.png-cb6e6062bc0adb3b51519212bbef9e8a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/FireFlower/fire_flower-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/fire_flower-1.png-5e4e7f67531f7928ad74c9a68c4fd243.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/FireFlower/fire_flower-1.png" dest_files=[ "res://.import/fire_flower-1.png-5e4e7f67531f7928ad74c9a68c4fd243.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/FireFlower/fire_flower-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/fire_flower-2.png-155eae8cc7dd927db061546f7b40c67e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/FireFlower/fire_flower-2.png" dest_files=[ "res://.import/fire_flower-2.png-155eae8cc7dd927db061546f7b40c67e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/FireFlower/fire_flower-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/fire_flower-3.png-0cf902f29c6a3085d4a3fd48487c20a0.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/FireFlower/fire_flower-3.png" dest_files=[ "res://.import/fire_flower-3.png-0cf902f29c6a3085d4a3fd48487c20a0.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Fireball/fireball.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/fireball.png-a2ea58c728234a5529a542da452c8c0d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Fireball/fireball.png" dest_files=[ "res://.import/fireball.png-a2ea58c728234a5529a542da452c8c0d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Fireball/fireballambient.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/fireballambient.png-b5f8176a41dd55a468135eefbbc57c33.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Fireball/fireballambient.png" dest_files=[ "res://.import/fireballambient.png-b5f8176a41dd55a468135eefbbc57c33.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Misc/spawnpoint.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/spawnpoint.png-95ece92cef68d7da0021f19c9e0ada5e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Misc/spawnpoint.png" dest_files=[ "res://.import/spawnpoint.png-95ece92cef68d7da0021f19c9e0ada5e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Misc/wind.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/wind.png-b43c1657b1983ad2ed75ee717a50e246.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Misc/wind.png" dest_files=[ "res://.import/wind.png-b43c1657b1983ad2ed75ee717a50e246.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Misc/zoom.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/zoom.png-66fd7cab7364e852183dfb1497e6db0f.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Misc/zoom.png" dest_files=[ "res://.import/zoom.png-66fd7cab7364e852183dfb1497e6db0f.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Sawblade/sawblade-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/sawblade-0.png-cc53130f220064f7edfd08769849f315.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Sawblade/sawblade-0.png" dest_files=[ "res://.import/sawblade-0.png-cc53130f220064f7edfd08769849f315.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Sawblade/sawblade-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/sawblade-1.png-a1f18f4dd98b8ffc583c5a2ac31c1c09.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Sawblade/sawblade-1.png" dest_files=[ "res://.import/sawblade-1.png-a1f18f4dd98b8ffc583c5a2ac31c1c09.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Sawblade/sawblade-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/sawblade-2.png-78fdd1c1e33eaa0a1b084ad1aea8e395.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Sawblade/sawblade-2.png" dest_files=[ "res://.import/sawblade-2.png-78fdd1c1e33eaa0a1b084ad1aea8e395.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Star/star-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/star-0.png-dbf7aef27dfa9a03c14f703633a5fc7a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Star/star-0.png" dest_files=[ "res://.import/star-0.png-dbf7aef27dfa9a03c14f703633a5fc7a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Star/star-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/star-1.png-828194ac660db0e2753fa933f2d8a587.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Star/star-1.png" dest_files=[ "res://.import/star-1.png-828194ac660db0e2753fa933f2d8a587.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Star/star-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/star-2.png-8a24a6320e7cbf4dedbfd4ae004e64cb.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Star/star-2.png" dest_files=[ "res://.import/star-2.png-8a24a6320e7cbf4dedbfd4ae004e64cb.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Star/star-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/star-3.png-b1ee3f1ca9697ce9a5c90480628f1fdd.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Star/star-3.png" dest_files=[ "res://.import/star-3.png-b1ee3f1ca9697ce9a5c90480628f1fdd.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Star/star-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/star-4.png-6dfd85faf9da84b873d64bb0a17d7671.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Star/star-4.png" dest_files=[ "res://.import/star-4.png-6dfd85faf9da84b873d64bb0a17d7671.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_portable-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_portable-0.png-5043e079269eac4b2043e3d26ce6aaca.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_portable-0.png" dest_files=[ "res://.import/trampoline_portable-0.png-5043e079269eac4b2043e3d26ce6aaca.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_portable-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_portable-1.png-a2b3f4552b57bb29aa059f7047453e4b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_portable-1.png" dest_files=[ "res://.import/trampoline_portable-1.png-a2b3f4552b57bb29aa059f7047453e4b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_portable-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_portable-2.png-87b604ef41db4ca4f7539da28026b151.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_portable-2.png" dest_files=[ "res://.import/trampoline_portable-2.png-87b604ef41db4ca4f7539da28026b151.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_portable-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_portable-3.png-cc8a87036a4c8a8e1374e20ec66f7859.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_portable-3.png" dest_files=[ "res://.import/trampoline_portable-3.png-cc8a87036a4c8a8e1374e20ec66f7859.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_portable-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_portable-4.png-543fccc7e5f99984dc5a4927ab856b03.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_portable-4.png" dest_files=[ "res://.import/trampoline_portable-4.png-543fccc7e5f99984dc5a4927ab856b03.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_portable-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_portable-5.png-fc39dfb51605bda39df5c19adda309c1.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_portable-5.png" dest_files=[ "res://.import/trampoline_portable-5.png-fc39dfb51605bda39df5c19adda309c1.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_portable-6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_portable-6.png-620147e8eb3f1c66363dede730285e60.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_portable-6.png" dest_files=[ "res://.import/trampoline_portable-6.png-620147e8eb3f1c66363dede730285e60.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_static-0.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_static-0.png-f1650810fe4ebea527d3f752ce512402.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_static-0.png" dest_files=[ "res://.import/trampoline_static-0.png-f1650810fe4ebea527d3f752ce512402.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_static-1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_static-1.png-3dcb83885557b249015366337e91f877.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_static-1.png" dest_files=[ "res://.import/trampoline_static-1.png-3dcb83885557b249015366337e91f877.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_static-2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_static-2.png-c0e081afe0e15ffb2fb63929e23668de.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_static-2.png" dest_files=[ "res://.import/trampoline_static-2.png-c0e081afe0e15ffb2fb63929e23668de.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_static-3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_static-3.png-bdbab28c84ca96256d340ce2d2ba9a0b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_static-3.png" dest_files=[ "res://.import/trampoline_static-3.png-bdbab28c84ca96256d340ce2d2ba9a0b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_static-4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_static-4.png-517d88f17a119dfb7f690a5973b94bd5.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_static-4.png" dest_files=[ "res://.import/trampoline_static-4.png-517d88f17a119dfb7f690a5973b94bd5.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Trampoline/trampoline_static-5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/trampoline_static-5.png-6d5677c3d80aa919dfb31bc018f3b817.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Trampoline/trampoline_static-5.png" dest_files=[ "res://.import/trampoline_static-5.png-6d5677c3d80aa919dfb31bc018f3b817.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Objects/Wind/Wind.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Wind.png-89574fe934275874ef8cb4b2f118cf42.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Objects/Wind/Wind.png" dest_files=[ "res://.import/Wind.png-89574fe934275874ef8cb4b2f118cf42.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Tiles/Level/Snow.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Snow.png-7f5351b3f3667a3de46785770fc343d5.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Tiles/Level/Snow.png" dest_files=[ "res://.import/Snow.png-7f5351b3f3667a3de46785770fc343d5.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Transitions/Circle.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Circle.png-131881410bbea36824567a587e54e614.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Transitions/Circle.png" dest_files=[ "res://.import/Circle.png-131881410bbea36824567a587e54e614.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/UI/FileDialog/FileBack.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/FileBack.png-3abd5a66c7c9093ccbd6603ca7e5f81b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/UI/FileDialog/FileBack.png" dest_files=[ "res://.import/FileBack.png-3abd5a66c7c9093ccbd6603ca7e5f81b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/UI/FileDialog/FileReload.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/FileReload.png-3252a988ce8f5951932df4d7bd4249a6.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/UI/FileDialog/FileReload.png" dest_files=[ "res://.import/FileReload.png-3252a988ce8f5951932df4d7bd4249a6.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/UI/SuperTuxLogo.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/SuperTuxLogo.png-0652a9e0b1f015afcb381e0f9adf4707.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/UI/SuperTuxLogo.png" dest_files=[ "res://.import/SuperTuxLogo.png-0652a9e0b1f015afcb381e0f9adf4707.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=false flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/LevelDot/leveldot_green.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/leveldot_green.png-ad544d1a7c47810273d2875ecd359bc8.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/LevelDot/leveldot_green.png" dest_files=[ "res://.import/leveldot_green.png-ad544d1a7c47810273d2875ecd359bc8.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/LevelDot/leveldot_invisible.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/leveldot_invisible.png-70fc7aec8ffe279b31020ed69822ba65.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/LevelDot/leveldot_invisible.png" dest_files=[ "res://.import/leveldot_invisible.png-70fc7aec8ffe279b31020ed69822ba65.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/LevelDot/leveldot_red.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/leveldot_red.png-b922916673a192e8375f8466bd01a5aa.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/LevelDot/leveldot_red.png" dest_files=[ "res://.import/leveldot_red.png-b922916673a192e8375f8466bd01a5aa.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tux.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tux.png-7411aef37b2ea1b43128b09394ee3827.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tux.png" dest_files=[ "res://.import/tux.png-7411aef37b2ea1b43128b09394ee3827.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk1.png-78340c0dda2c3bbe6f3a44518e670b98.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk1.png" dest_files=[ "res://.import/tuxwalk1.png-78340c0dda2c3bbe6f3a44518e670b98.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk2.png-b4f2ade4a12991772a217c5c5c18e3d0.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk2.png" dest_files=[ "res://.import/tuxwalk2.png-b4f2ade4a12991772a217c5c5c18e3d0.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk3.png-667f3baef2382cf99e84b5107af43000.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk3.png" dest_files=[ "res://.import/tuxwalk3.png-667f3baef2382cf99e84b5107af43000.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk4.png-e623247b85c1147c2eb4597fe977edfd.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk4.png" dest_files=[ "res://.import/tuxwalk4.png-e623247b85c1147c2eb4597fe977edfd.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk5.png-0ad992675be4b6e0a6d27bd3cd14511e.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk5.png" dest_files=[ "res://.import/tuxwalk5.png-0ad992675be4b6e0a6d27bd3cd14511e.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk6.png-97ed50a35de4fbfc6c2c636c905c0468.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk6.png" dest_files=[ "res://.import/tuxwalk6.png-97ed50a35de4fbfc6c2c636c905c0468.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk7.png-f312e0ffcf11f14d258f6654ba5d7cc5.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk7.png" dest_files=[ "res://.import/tuxwalk7.png-f312e0ffcf11f14d258f6654ba5d7cc5.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Big/tuxwalk8.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/tuxwalk8.png-a5af3343ae5beec6566701176a3b9bca.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Big/tuxwalk8.png" dest_files=[ "res://.import/tuxwalk8.png-a5af3343ae5beec6566701176a3b9bca.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltux.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltux.png-03b1c4d270a6e63a00497eb8ab7d318a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltux.png" dest_files=[ "res://.import/smalltux.png-03b1c4d270a6e63a00497eb8ab7d318a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk1.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk1.png-3e7c51e6a6ece5a949f0a0df6581243a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk1.png" dest_files=[ "res://.import/smalltuxwalk1.png-3e7c51e6a6ece5a949f0a0df6581243a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk2.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk2.png-df7d1f192f0a4b44ebc8e8a61f1a0b1b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk2.png" dest_files=[ "res://.import/smalltuxwalk2.png-df7d1f192f0a4b44ebc8e8a61f1a0b1b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk3.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk3.png-a7ce61cfb68072e6c05afdace6061652.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk3.png" dest_files=[ "res://.import/smalltuxwalk3.png-a7ce61cfb68072e6c05afdace6061652.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk4.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk4.png-17776083e9a80b59cdc33c6e2a0212f3.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk4.png" dest_files=[ "res://.import/smalltuxwalk4.png-17776083e9a80b59cdc33c6e2a0212f3.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk5.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk5.png-ce9b5d241e5ff201509e7d360ff6a01c.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk5.png" dest_files=[ "res://.import/smalltuxwalk5.png-ce9b5d241e5ff201509e7d360ff6a01c.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk6.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk6.png-7bbe07664b95a574e5e9be6014d306ea.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk6.png" dest_files=[ "res://.import/smalltuxwalk6.png-7bbe07664b95a574e5e9be6014d306ea.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk7.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk7.png-639938d2ab90c0cd3cb4bebc8d60ec42.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk7.png" dest_files=[ "res://.import/smalltuxwalk7.png-639938d2ab90c0cd3cb4bebc8d60ec42.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Player/Small/smalltuxwalk8.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/smalltuxwalk8.png-d79b82e8bfc5178de3cb9948dc98548d.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Player/Small/smalltuxwalk8.png" dest_files=[ "res://.import/smalltuxwalk8.png-d79b82e8bfc5178de3cb9948dc98548d.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Tiles/Crystals.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Crystals.png-78f7dca838e9eda45554bd186dac0a4a.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Tiles/Crystals.png" dest_files=[ "res://.import/Crystals.png-78f7dca838e9eda45554bd186dac0a4a.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Tiles/Pathing.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Pathing.png-1dadcafe8b36cfa03aa68358ac433e37.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Tiles/Pathing.png" dest_files=[ "res://.import/Pathing.png-1dadcafe8b36cfa03aa68358ac433e37.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Tiles/Snow.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/Snow.png-df62b78322a9cbf492159de0b5753f37.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Tiles/Snow.png" dest_files=[ "res://.import/Snow.png-df62b78322a9cbf492159de0b5753f37.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Tiles/SnowOverlay.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/SnowOverlay.png-3404480301d525b01fc353c353c9068b.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Tiles/SnowOverlay.png" dest_files=[ "res://.import/SnowOverlay.png-3404480301d525b01fc353c353c9068b.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/Sprites/Worldmap/Tiles/SnowTrees.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/SnowTrees.png-f7440378548ff557815a2225fc0e8ecc.stex" metadata={ "vram_texture": false } [deps] source_file="res://Sprites/Worldmap/Tiles/SnowTrees.png" dest_files=[ "res://.import/SnowTrees.png-f7440378548ff557815a2225fc0e8ecc.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/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" worldmap = false [node name="SpawnPoint" type="Position2D" parent="." groups=[ "spawnpoint", "oneonly", ] 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( 1131, 416.5 ) script = ExtResource( 10 ) ================================================ FILE: src/Tilesets/LevelTiles.tres ================================================ [gd_resource type="TileSet" load_steps=50 format=2] [ext_resource path="res://Sprites/Tiles/Level/Snow.png" type="Texture" id=1] [sub_resource type="ConvexPolygonShape2D" id=1] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=2] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=3] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=4] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=5] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=6] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=7] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=8] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=9] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=10] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=11] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=12] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=13] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=14] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=15] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=16] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=17] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=18] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=19] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=20] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=21] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=22] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=23] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=24] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=25] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=26] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=27] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=28] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=29] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=30] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=31] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=32] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=33] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=34] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=35] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=36] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=37] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=38] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=39] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=40] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=41] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=42] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=43] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=44] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=45] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=46] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=47] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=48] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [resource] 0/name = "Snow" 0/texture = ExtResource( 1 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) 0/region = Rect2( 0, 0, 512, 96 ) 0/tile_mode = 1 0/autotile/bitmask_mode = 1 0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 4, 0 ), 48, Vector2( 4, 1 ), 176, Vector2( 4, 2 ), 50, Vector2( 5, 0 ), 56, Vector2( 5, 1 ), 152, Vector2( 5, 2 ), 26, Vector2( 6, 0 ), 24, Vector2( 6, 1 ), 58, Vector2( 6, 2 ), 178, Vector2( 7, 0 ), 186, Vector2( 7, 1 ), 184, Vector2( 7, 2 ), 154, Vector2( 8, 0 ), 16, Vector2( 8, 1 ), 182, Vector2( 8, 2 ), 434, Vector2( 9, 0 ), 506, Vector2( 9, 1 ), 155, Vector2( 9, 2 ), 218, Vector2( 10, 0 ), 191, Vector2( 10, 1 ), 248, Vector2( 10, 2 ), 59, Vector2( 11, 0 ), 446, Vector2( 11, 1 ), 440, Vector2( 11, 2 ), 62, Vector2( 12, 0 ), 251, Vector2( 12, 1 ), 255, Vector2( 12, 2 ), 507, Vector2( 13, 0 ), 254, Vector2( 13, 1 ), 447, Vector2( 13, 2 ), 510, Vector2( 14, 0 ), 443, Vector2( 14, 1 ), 250, Vector2( 14, 2 ), 190, Vector2( 15, 0 ), 511, Vector2( 15, 1 ), 442, Vector2( 15, 2 ), 187 ] 0/autotile/icon_coordinate = Vector2( 8, 0 ) 0/autotile/tile_size = Vector2( 32, 32 ) 0/autotile/spacing = 0 0/autotile/occluder_map = [ ] 0/autotile/navpoly_map = [ ] 0/autotile/priority_map = [ Vector3( 1, 1, 19 ) ] 0/autotile/z_index_map = [ ] 0/occluder_offset = Vector2( 0, 0 ) 0/navigation_offset = Vector2( 0, 0 ) 0/shape_offset = Vector2( 0, 0 ) 0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 0/shape = SubResource( 1 ) 0/shape_one_way = false 0/shape_one_way_margin = 1.0 0/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 1 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 1, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 2 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 2, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 3 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 4, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 4 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 3, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 5 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 5, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 6 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 6, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 7 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 7, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 8 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 8, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 9 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 9, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 10 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 10, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 11 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 11, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 12 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 12, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 13 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 13, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 14 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 14, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 15 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 15, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 16 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 0, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 17 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 1, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 18 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 2, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 19 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 3, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 20 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 4, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 21 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 6, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 22 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 5, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 23 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 7, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 24 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 9, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 25 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 8, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 26 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 10, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 27 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 12, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 28 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 11, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 29 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 14, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 30 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 13, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 31 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 15, 1 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 32 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 15, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 33 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 14, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 34 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 13, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 35 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 12, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 36 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 11, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 37 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 10, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 38 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 9, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 39 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 8, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 40 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 6, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 41 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 7, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 42 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 5, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 43 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 4, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 44 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 3, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 45 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 2, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 46 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 1, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 47 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) }, { "autotile_coord": Vector2( 0, 2 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 48 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 0/z_index = 0 ================================================ FILE: src/Tilesets/MapTiles.tres ================================================ [gd_resource type="TileSet" load_steps=6 format=2] [ext_resource path="res://Sprites/Worldmap/Tiles/Pathing.png" type="Texture" id=1] [ext_resource path="res://Sprites/Worldmap/Tiles/Snow.png" type="Texture" id=2] [ext_resource path="res://Sprites/Worldmap/Tiles/SnowTrees.png" type="Texture" id=3] [ext_resource path="res://Sprites/Worldmap/Tiles/Crystals.png" type="Texture" id=4] [ext_resource path="res://Sprites/Worldmap/Tiles/SnowOverlay.png" type="Texture" id=5] [resource] 0/name = "Pathing" 0/texture = ExtResource( 1 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) 0/region = Rect2( 0, 0, 128, 128 ) 0/tile_mode = 1 0/autotile/bitmask_mode = 1 0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 176, Vector2( 0, 1 ), 50, Vector2( 0, 2 ), 48, Vector2( 0, 3 ), 18, Vector2( 1, 0 ), 152, Vector2( 1, 1 ), 26, Vector2( 1, 2 ), 144, Vector2( 1, 3 ), 24, Vector2( 2, 0 ), 178, Vector2( 2, 1 ), 58, Vector2( 2, 2 ), 56, Vector2( 2, 3 ), 186, Vector2( 3, 0 ), 184, Vector2( 3, 1 ), 154, Vector2( 3, 2 ), 146 ] 0/autotile/icon_coordinate = Vector2( 2, 3 ) 0/autotile/tile_size = Vector2( 32, 32 ) 0/autotile/spacing = 0 0/autotile/occluder_map = [ ] 0/autotile/navpoly_map = [ ] 0/autotile/priority_map = [ ] 0/autotile/z_index_map = [ ] 0/occluder_offset = Vector2( 0, 0 ) 0/navigation_offset = Vector2( 0, 0 ) 0/shapes = [ ] 0/z_index = 0 1/name = "Snow" 1/texture = ExtResource( 2 ) 1/tex_offset = Vector2( 0, 0 ) 1/modulate = Color( 1, 1, 1, 1 ) 1/region = Rect2( 0, 0, 160, 128 ) 1/tile_mode = 1 1/autotile/bitmask_mode = 1 1/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 3, 0 ), 255, Vector2( 3, 1 ), 507, Vector2( 3, 2 ), 511, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 447, Vector2( 4, 1 ), 510 ] 1/autotile/icon_coordinate = Vector2( 3, 3 ) 1/autotile/tile_size = Vector2( 32, 32 ) 1/autotile/spacing = 0 1/autotile/occluder_map = [ ] 1/autotile/navpoly_map = [ ] 1/autotile/priority_map = [ Vector3( 1, 1, 39 ) ] 1/autotile/z_index_map = [ Vector3( 4, 2, 2 ), Vector3( 4, 3, 2 ) ] 1/occluder_offset = Vector2( 0, 0 ) 1/navigation_offset = Vector2( 0, 0 ) 1/shapes = [ ] 1/z_index = 0 2/name = "Igloo" 2/texture = ExtResource( 2 ) 2/tex_offset = Vector2( 0, 0 ) 2/modulate = Color( 1, 1, 1, 1 ) 2/region = Rect2( 128, 64, 32, 64 ) 2/tile_mode = 0 2/occluder_offset = Vector2( 0, 0 ) 2/navigation_offset = Vector2( 0, 0 ) 2/shapes = [ ] 2/z_index = 2 3/name = "Snow Trees" 3/texture = ExtResource( 3 ) 3/tex_offset = Vector2( 0, 0 ) 3/modulate = Color( 1, 1, 1, 1 ) 3/region = Rect2( 0, 0, 160, 96 ) 3/tile_mode = 1 3/autotile/bitmask_mode = 0 3/autotile/bitmask_flags = [ Vector2( 0, 0 ), 256, Vector2( 0, 1 ), 260, Vector2( 0, 2 ), 4, Vector2( 1, 0 ), 320, Vector2( 1, 1 ), 325, Vector2( 1, 2 ), 5, Vector2( 2, 0 ), 64, Vector2( 2, 1 ), 65, Vector2( 2, 2 ), 1, Vector2( 3, 0 ), 69, Vector2( 3, 1 ), 321, Vector2( 4, 0 ), 261, Vector2( 4, 1 ), 324 ] 3/autotile/icon_coordinate = Vector2( 1, 1 ) 3/autotile/tile_size = Vector2( 32, 32 ) 3/autotile/spacing = 0 3/autotile/occluder_map = [ ] 3/autotile/navpoly_map = [ ] 3/autotile/priority_map = [ ] 3/autotile/z_index_map = [ ] 3/occluder_offset = Vector2( 0, 0 ) 3/navigation_offset = Vector2( 0, 0 ) 3/shapes = [ ] 3/z_index = 0 4/name = "Crystals" 4/texture = ExtResource( 4 ) 4/tex_offset = Vector2( 0, 0 ) 4/modulate = Color( 1, 1, 1, 1 ) 4/region = Rect2( 0, 0, 96, 160 ) 4/tile_mode = 1 4/autotile/bitmask_mode = 1 4/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 255, Vector2( 0, 4 ), 507, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 447, Vector2( 1, 4 ), 510, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 511, Vector2( 2, 4 ), 16 ] 4/autotile/icon_coordinate = Vector2( 2, 4 ) 4/autotile/tile_size = Vector2( 32, 32 ) 4/autotile/spacing = 0 4/autotile/occluder_map = [ ] 4/autotile/navpoly_map = [ ] 4/autotile/priority_map = [ Vector3( 1, 1, 19 ) ] 4/autotile/z_index_map = [ ] 4/occluder_offset = Vector2( 0, 0 ) 4/navigation_offset = Vector2( 0, 0 ) 4/shapes = [ ] 4/z_index = 0 5/name = "Snow Overlay" 5/texture = ExtResource( 5 ) 5/tex_offset = Vector2( 0, 0 ) 5/modulate = Color( 1, 1, 1, 1 ) 5/region = Rect2( 0, 0, 160, 96 ) 5/tile_mode = 1 5/autotile/bitmask_mode = 0 5/autotile/bitmask_flags = [ Vector2( 0, 0 ), 256, Vector2( 0, 1 ), 260, Vector2( 0, 2 ), 4, Vector2( 1, 0 ), 320, Vector2( 1, 1 ), 325, Vector2( 1, 2 ), 5, Vector2( 2, 0 ), 64, Vector2( 2, 1 ), 65, Vector2( 2, 2 ), 1, Vector2( 3, 0 ), 69, Vector2( 3, 1 ), 321, Vector2( 4, 0 ), 261, Vector2( 4, 1 ), 324 ] 5/autotile/icon_coordinate = Vector2( 1, 1 ) 5/autotile/tile_size = Vector2( 32, 32 ) 5/autotile/spacing = 0 5/autotile/occluder_map = [ ] 5/autotile/navpoly_map = [ ] 5/autotile/priority_map = [ ] 5/autotile/z_index_map = [ ] 5/occluder_offset = Vector2( 0, 0 ) 5/navigation_offset = Vector2( 0, 0 ) 5/shapes = [ ] 5/z_index = 0 ================================================ FILE: src/default_bus_layout.tres ================================================ [gd_resource type="AudioBusLayout" format=2] [resource] bus/1/name = "SFX" bus/1/solo = false bus/1/mute = false bus/1/bypass_fx = false bus/1/volume_db = 0.0 bus/1/send = "Master" ================================================ FILE: src/default_env.tres ================================================ [gd_resource type="Environment" load_steps=2 format=2] [sub_resource type="ProceduralSky" id=1] [resource] background_mode = 2 background_sky = SubResource( 1 ) ================================================ FILE: src/icon.png.import ================================================ [remap] importer="texture" type="StreamTexture" path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" metadata={ "vram_texture": false } [deps] source_file="res://icon.png" dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ] [params] compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 detect_3d=true svg/scale=1.0 ================================================ FILE: src/project.godot ================================================ ; Engine configuration file. ; It's best edited using the editor UI and not directly, ; since the parameters that go here are not all obvious. ; ; Format: ; [section] ; section goes between [] ; param=value ; assign values to parameters config_version=4 _global_script_classes=[ ] _global_script_class_icons={ } [application] config/name="Tux Builder" run/main_scene="res://Scenes/UI/MainMenu.tscn" config/icon="res://icon.png" [autoload] UIHelpers="*res://Scenes/UI/Helpers.gd" Settings="*res://AutoLoad/Settings.gd" [debug] settings/crash_handler/message="Please report this bug at https://github.com/Alzter/TuxBuilder/issues" [display] window/size/width=640 window/size/height=480 window/size/test_width=1366 window/size/test_height=750 window/stretch/aspect="expand" [importer_defaults] texture={ "compress/bptc_ldr": 0, "compress/hdr_mode": 0, "compress/lossy_quality": 0.7, "compress/mode": 0, "compress/normal_map": 0, "detect_3d": true, "flags/anisotropic": false, "flags/filter": true, "flags/mipmaps": true, "flags/repeat": 0, "flags/srgb": 2, "process/HDR_as_SRGB": false, "process/fix_alpha_border": true, "process/invert_color": false, "process/premult_alpha": false, "size_limit": 0, "stream": false, "svg/scale": 1.0 } ogg_vorbis={ "loop": true, "loop_offset": 0 } [input] ui_select={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null) ] } ui_focus_next={ "deadzone": 0.5, "events": [ ] } ui_focus_prev={ "deadzone": 0.5, "events": [ ] } ui_left={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) ] } ui_right={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) ] } ui_up={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) ] } ui_down={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) ] } ui_page_up={ "deadzone": 0.5, "events": [ ] } ui_page_down={ "deadzone": 0.5, "events": [ ] } ui_home={ "deadzone": 0.5, "events": [ ] } ui_end={ "deadzone": 0.5, "events": [ ] } move_left={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null) ] } move_right={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null) ] } jump={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null) ] } action={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":3,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"unicode":0,"echo":false,"script":null) ] } duck={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) ] } click_left={ "deadzone": 0.5, "events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) ] } click_right={ "deadzone": 0.5, "events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null) ] } pause={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":10,"pressure":0.0,"pressed":false,"script":null) ] } up={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null) ] } [rendering] quality/driver/driver_name="GLES2" quality/2d/use_pixel_snap=true vram_compression/import_etc=true vram_compression/import_etc2=false environment/default_environment="res://default_env.tres"