Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added workflow for build and deploy #33

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/build_and_deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Godot Project

on:
push: {}

jobs:
Godot:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Godot Export
id: export
uses: firebelley/[email protected]
with:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_linux.x86_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_export_templates.tpz
relative_project_path: ./
archive_output: true
cache: true
env:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
- name: Publish to Itch
uses: manleydev/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.ITCHIO_TOKEN}}
CHANNEL: HTML
ITCH_GAME: star-knight
ITCH_USER: stampede-studios
PACKAGE: "${{ steps.export.outputs.archive_directory }}/star-knigth-web.zip"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Simple space shooter reinvented with [Godot Engine](https://godotengine.org/)!
In this game, you control a spaceship and your objective is to destroy waves of enemy spaceships. The player can move the spaceship using the arrow keys and shoot projectiles at the enemies using the space bar. Get the highest score in an infinite amount of enemies that keep getting strong and stronger.

## Assets
All sprites are made in pixel-art using [Asperite](https://www.aseprite.org/). Color are inspired by [Steam Lords](https://lospec.com/palette-list/steam-lords) created by Slynyrd!
All sprites are made in pixel-art using [Asperite](https://www.aseprite.org/). Color are inspired by [Steam Lords](https://lospec.com/palette-list/steam-lords) created by **Slynyrd**!

All sound effects are made in-house and edited with [Audacity](https://www.audacityteam.org/) and [ChipTone](https://sfbgames.itch.io/chiptone).

Expand Down
37 changes: 37 additions & 0 deletions export_presets.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[preset.0]

name="star-knight-web"
platform="Web"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="exports/web/index.html"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false

[preset.0.options]

custom_template/debug=""
custom_template/release=""
variant/extensions_support=false
vram_texture_compression/for_desktop=true
vram_texture_compression/for_mobile=false
html/export_icon=true
html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
progressive_web_app/enabled=false
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=0
progressive_web_app/icon_144x144=""
progressive_web_app/icon_180x180=""
progressive_web_app/icon_512x512=""
progressive_web_app/background_color=Color(0, 0, 0, 1)
Loading