Game Autoload to change Scenes with transitions and parameters.
Game.change_scene("res://scenes/gameplay/gameplay.tscn", {kek = "lel"})
Audio singleton to play a sound without the need to create a AudioStreamPlayer.
Audio.play(enter_sound_file.resource_path)
Reads out the ATTRIBUTIONS.md
and scrolls through the credits.
When added to a Scene and the Pause
button is pressed the game will stop and the Pause Layer will be shown.
Scene with transition animations. Currently fade-in
and fade-out
available.
Add this to a node to create a Tween animation for the scale property.
Add this to a node to add sounds to mouse_enter
, mouse_exited
and pressed
events.
Scrolls a TextureRect
infinitely.
Blurs a ColorRect
. Currently no Web support :( Issue
Builds the project on push to main branch. Also has the ablility to deploy on itch.io
- Get itch io API Key from here.
- Create a new Project on itch.io and remember the last part of the url. E.g.
space-taxi
. - Go to
.github/workflows/export.yml
and setITCH_IO
to true. - Go to
Settings -> Secrets and variables -> Actions
. - Add the following secrets.
BUTLER_CREDENTIALS
= your itch.io API Key.ITCH_GAME
= the last part of the project URl.ITCH_USER
= your itch.io username.
This pipeline also deploys to Github Pages. Make sure the repository is public and the Github Pages are set to the branch set in the workflow.