-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e80ed9a
Showing
58 changed files
with
1,400 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Normalize EOL for all files that Git considers text files. | ||
* text=auto eol=lf |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: 🔗 Game Export Checks | ||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths-ignore: | ||
- "**/*.md" | ||
- "LICENSE" | ||
- ".github/ISSUE_TEMPLATE/*" | ||
- ".github/CODEOWNERS" | ||
push: | ||
branches: | ||
- "master" | ||
paths-ignore: | ||
- "**/*.md" | ||
- "LICENSE" | ||
- ".github/ISSUE_TEMPLATE/*" | ||
- ".github/CODEOWNERS" | ||
|
||
jobs: | ||
exports: | ||
name: 🔗 Game Exports | ||
uses: ./.github/workflows/exports.yml | ||
with: | ||
luapi_version: "v2.1-beta7" | ||
publish: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
name: 🔗 Game Exports | ||
on: | ||
workflow_call: | ||
inputs: | ||
luapi_version: | ||
type: string | ||
required: false | ||
default: "v2.1-beta7" | ||
|
||
publish: | ||
type: boolean | ||
required: false | ||
default: false | ||
|
||
workflow_dispatch: | ||
inputs: | ||
luapi_version: | ||
required: false | ||
default: "v2.1-beta7" | ||
|
||
publish: | ||
required: false | ||
default: false | ||
|
||
env: | ||
EDITOR_URL: "https://github.com/WeaselGames/godot_luaAPI/releases/download/${{ inputs.luapi_version }}/linux-editor.zip" | ||
EXPORT_TEMPLATES_URL: "https://github.com/WeaselGames/godot_luaAPI/releases/download/${{ inputs.luapi_version }}/export-templates.zip" | ||
|
||
jobs: | ||
exports: | ||
name: 🔗 Game Exports | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Download Editor and Export Templates | ||
shell: bash | ||
run: | | ||
mkdir temp && cd temp | ||
wget -q ${{ env.EDITOR_URL }} | ||
unzip linux-editor.zip | ||
mv godot* ../godot | ||
chmod +x ../godot | ||
rm -rf *.md LICENSE | ||
wget -q ${{ env.EXPORT_TEMPLATES_URL }} | ||
unzip export-templates.zip | ||
mv templates /tmp | ||
cd .. | ||
( timeout 5m ./godot --headless --editor --quit ) || true | ||
- name: Export Game - Linux | ||
shell: bash | ||
run: | | ||
mkdir -p bin/linux/debug | ||
mkdir -p bin/linux/release | ||
./godot --headless --export-debug linux:ci bin/linux/debug/moon_invaders.x86_64 | ||
./godot --headless --export-release linux:ci bin/linux/release/moon_invaders.x86_64 | ||
- name: Export Game - Windows | ||
shell: bash | ||
run: | | ||
mkdir -p bin/windows/debug | ||
mkdir -p bin/windows/release | ||
./godot --headless --export-debug windows:ci bin/windows/debug/moon_invaders.exe | ||
./godot --headless --export-release windows:ci bin/windows/release/moon_invaders.exe | ||
- name: Export Game - macOS | ||
shell: bash | ||
run: | | ||
mkdir -p bin/macos/debug | ||
mkdir -p bin/macos/release | ||
./godot --headless --export-debug macos:ci bin/macos/debug/moon_invaders.x86_64 | ||
./godot --headless --export-release macos:ci bin/macos/release/moon_invaders.x86_64 | ||
- name: Export Game - Web | ||
shell: bash | ||
run: | | ||
mkdir -p bin/web/debug | ||
mkdir -p bin/web/release | ||
./godot --headless --export-debug web:ci bin/web/debug/index.html | ||
./godot --headless --export-release web:ci bin/web/release/index.html | ||
- name: Upload Artifacts - Linux Debug | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: linux-debug | ||
path: bin/linux/debug | ||
|
||
- name: Upload Artifacts - Linux Release | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: linux-release | ||
path: bin/linux/release | ||
|
||
- name: Upload Artifacts - Windows Debug | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: windows-debug | ||
path: bin/windows/debug | ||
|
||
- name: Upload Artifacts - Windows Release | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: windows-release | ||
path: bin/windows/release | ||
|
||
- name: Upload Artifacts - macOS Debug | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: macos-debug | ||
path: bin/macos/debug | ||
|
||
- name: Upload Artifacts - macOS Release | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: macos-release | ||
path: bin/macos/release | ||
|
||
- name: Upload Artifacts - Web Debug | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: web-debug | ||
path: bin/web/debug | ||
|
||
- name: Upload Artifacts - Web Release | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: web-release | ||
path: bin/web/release | ||
|
||
- name: Publish Game - Github Release | ||
if: ${{ inputs.publish == 'true' }} | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: | | ||
linux-release | ||
windows-release | ||
macos-release | ||
web-release | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: "Moon Invaders - ${{ github.ref }}" | ||
body: "This is a auto generated release" | ||
draft: true | ||
prerelease: true | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Godot 4+ specific ignores | ||
.godot/ | ||
.vscode/ | ||
|
||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Moon Invaders | ||
|
||
WIP, come back later |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Asset from https://opengameart.org/content/a-layered-asteroid-rock |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://btomvcdrgyrq8" | ||
path="res://.godot/imported/asteroid.png-8be4cfefd8981b53bf959a5e1a31b831.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/images/asteroid/asteroid.png" | ||
dest_files=["res://.godot/imported/asteroid.png-8be4cfefd8981b53bf959a5e1a31b831.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://c0si2aupdqaof" | ||
path="res://.godot/imported/bullet.webp-d15a9b354154d781c2c30d914c11f589.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/images/bullet/bullet.webp" | ||
dest_files=["res://.godot/imported/bullet.webp-d15a9b354154d781c2c30d914c11f589.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://dua5c2gcufo14" | ||
path="res://.godot/imported/enemy_ship.webp-0fe903e4e45de32df052476b49e3401f.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/images/enemy_ship/enemy_ship.webp" | ||
dest_files=["res://.godot/imported/enemy_ship.webp-0fe903e4e45de32df052476b49e3401f.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://tmwnlgiyrk1f" | ||
path="res://.godot/imported/player_ship.webp-328bf3d29187f859e052f1af4224f6fb.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/images/player_ship/player_ship.webp" | ||
dest_files=["res://.godot/imported/player_ship.webp-328bf3d29187f859e052f1af4224f6fb.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=false | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=0 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Asset from https://opengameart.org/content/seamless-space-backgrounds |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://dj8u3soodffrd" | ||
path="res://.godot/imported/background.png-ddb7a3fe63f104b4e207a4e6ab3148b8.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/images/world/background.png" | ||
dest_files=["res://.godot/imported/background.png-ddb7a3fe63f104b4e207a4e6ab3148b8.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
shader_type canvas_item; | ||
|
||
uniform float amount: hint_range(0.0, 5.0); | ||
uniform sampler2D SCREEN_TEXTURE: hint_screen_texture,filter_linear_mipmap; | ||
|
||
void fragment() { | ||
COLOR.rgb = textureLod(SCREEN_TEXTURE, SCREEN_UV, amount).rgb; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://7k1j70yyf3bv"] | ||
|
||
[ext_resource type="Shader" path="res://assets/shaders/effects/blur.gdshader" id="1_b6fhc"] | ||
|
||
[resource] | ||
shader = ExtResource("1_b6fhc") | ||
shader_parameter/amount = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Asset from https://opengameart.org/content/space-ship-building-bits-volume-1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.