fix: export settings and custom player scene

This commit is contained in:
2025-05-20 18:05:42 +02:00
parent ddcc2853d7
commit c91e91f5c3
11 changed files with 45 additions and 26 deletions

View File

@ -68,15 +68,15 @@ jobs:
mkdir -v -p build/mac mkdir -v -p build/mac
godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
zip -r Mac.zip build/mac zip -r Mac.zip build/mac
- name: Upload to release # - name: Upload to release
uses: akkuman/gitea-release-action@v1 # uses: akkuman/gitea-release-action@v1
with: # with:
name: Running release # name: Running release
tag_name: ${{ needs.BumpTag.outputs.tag_name }} # tag_name: ${{ needs.BumpTag.outputs.tag_name }}
files: |- # files: |-
Windows.zip # Windows.zip
Linux.zip # Linux.zip
Mac.zip # Mac.zip
# - name: Upload to Itch # - name: Upload to Itch
# uses: KikimoraGames/itch-publish@v0.0.3 # uses: KikimoraGames/itch-publish@v0.0.3
# with: # with:

View File

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://boasm0g587eov" uid="uid://boasm0g587eov"
path.s3tc="res://.godot/imported/texture_01.png-f86b77e8e778f8e66d133f3c07e2add2.s3tc.ctex" path.s3tc="res://.godot/imported/texture_01.png-f86b77e8e778f8e66d133f3c07e2add2.s3tc.ctex"
path.etc2="res://.godot/imported/texture_01.png-f86b77e8e778f8e66d133f3c07e2add2.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
[deps] [deps]
source_file="res://addons/player_controller/Assets/Textures/GridTexture/Dark/texture_01.png" source_file="res://addons/player_controller/Assets/Textures/GridTexture/Dark/texture_01.png"
dest_files=["res://.godot/imported/texture_01.png-f86b77e8e778f8e66d133f3c07e2add2.s3tc.ctex"] dest_files=["res://.godot/imported/texture_01.png-f86b77e8e778f8e66d133f3c07e2add2.s3tc.ctex", "res://.godot/imported/texture_01.png-f86b77e8e778f8e66d133f3c07e2add2.etc2.ctex"]
[params] [params]

View File

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://3e1klega6uye" uid="uid://3e1klega6uye"
path.s3tc="res://.godot/imported/texture_01.png-1b1a923d0728a43f833278bf7eb79bfb.s3tc.ctex" path.s3tc="res://.godot/imported/texture_01.png-1b1a923d0728a43f833278bf7eb79bfb.s3tc.ctex"
path.etc2="res://.godot/imported/texture_01.png-1b1a923d0728a43f833278bf7eb79bfb.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
[deps] [deps]
source_file="res://addons/player_controller/Assets/Textures/GridTexture/Green/texture_01.png" source_file="res://addons/player_controller/Assets/Textures/GridTexture/Green/texture_01.png"
dest_files=["res://.godot/imported/texture_01.png-1b1a923d0728a43f833278bf7eb79bfb.s3tc.ctex"] dest_files=["res://.godot/imported/texture_01.png-1b1a923d0728a43f833278bf7eb79bfb.s3tc.ctex", "res://.godot/imported/texture_01.png-1b1a923d0728a43f833278bf7eb79bfb.etc2.ctex"]
[params] [params]

View File

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://0t6ie0fkv2op" uid="uid://0t6ie0fkv2op"
path.s3tc="res://.godot/imported/texture_01.png-cd2b8bf140c981c55022c05f53c9ebae.s3tc.ctex" path.s3tc="res://.godot/imported/texture_01.png-cd2b8bf140c981c55022c05f53c9ebae.s3tc.ctex"
path.etc2="res://.godot/imported/texture_01.png-cd2b8bf140c981c55022c05f53c9ebae.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
[deps] [deps]
source_file="res://addons/player_controller/Assets/Textures/GridTexture/Light/texture_01.png" source_file="res://addons/player_controller/Assets/Textures/GridTexture/Light/texture_01.png"
dest_files=["res://.godot/imported/texture_01.png-cd2b8bf140c981c55022c05f53c9ebae.s3tc.ctex"] dest_files=["res://.godot/imported/texture_01.png-cd2b8bf140c981c55022c05f53c9ebae.s3tc.ctex", "res://.godot/imported/texture_01.png-cd2b8bf140c981c55022c05f53c9ebae.etc2.ctex"]
[params] [params]

View File

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://t10lfkxrg7ay" uid="uid://t10lfkxrg7ay"
path.s3tc="res://.godot/imported/texture_01.png-774e9c350ec0a4fa95aaae0c1fc872bd.s3tc.ctex" path.s3tc="res://.godot/imported/texture_01.png-774e9c350ec0a4fa95aaae0c1fc872bd.s3tc.ctex"
path.etc2="res://.godot/imported/texture_01.png-774e9c350ec0a4fa95aaae0c1fc872bd.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
[deps] [deps]
source_file="res://addons/player_controller/Assets/Textures/GridTexture/Orange/texture_01.png" source_file="res://addons/player_controller/Assets/Textures/GridTexture/Orange/texture_01.png"
dest_files=["res://.godot/imported/texture_01.png-774e9c350ec0a4fa95aaae0c1fc872bd.s3tc.ctex"] dest_files=["res://.godot/imported/texture_01.png-774e9c350ec0a4fa95aaae0c1fc872bd.s3tc.ctex", "res://.godot/imported/texture_01.png-774e9c350ec0a4fa95aaae0c1fc872bd.etc2.ctex"]
[params] [params]

View File

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://dgix86l87u86s" uid="uid://dgix86l87u86s"
path.s3tc="res://.godot/imported/texture_01.png-81329dd7fcb234667373715adf5a7ca1.s3tc.ctex" path.s3tc="res://.godot/imported/texture_01.png-81329dd7fcb234667373715adf5a7ca1.s3tc.ctex"
path.etc2="res://.godot/imported/texture_01.png-81329dd7fcb234667373715adf5a7ca1.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
[deps] [deps]
source_file="res://addons/player_controller/Assets/Textures/GridTexture/Red/texture_01.png" source_file="res://addons/player_controller/Assets/Textures/GridTexture/Red/texture_01.png"
dest_files=["res://.godot/imported/texture_01.png-81329dd7fcb234667373715adf5a7ca1.s3tc.ctex"] dest_files=["res://.godot/imported/texture_01.png-81329dd7fcb234667373715adf5a7ca1.s3tc.ctex", "res://.godot/imported/texture_01.png-81329dd7fcb234667373715adf5a7ca1.etc2.ctex"]
[params] [params]

View File

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://woq2hudxhckr" uid="uid://woq2hudxhckr"
path.s3tc="res://.godot/imported/Gabor 1 - 512x512.png-2e1d6fe9207cf3d9cbb344f0f1ad8365.s3tc.ctex" path.s3tc="res://.godot/imported/Gabor 1 - 512x512.png-2e1d6fe9207cf3d9cbb344f0f1ad8365.s3tc.ctex"
path.etc2="res://.godot/imported/Gabor 1 - 512x512.png-2e1d6fe9207cf3d9cbb344f0f1ad8365.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
[deps] [deps]
source_file="res://addons/player_controller/Assets/Textures/PerlinNoise/Gabor 1 - 512x512.png" source_file="res://addons/player_controller/Assets/Textures/PerlinNoise/Gabor 1 - 512x512.png"
dest_files=["res://.godot/imported/Gabor 1 - 512x512.png-2e1d6fe9207cf3d9cbb344f0f1ad8365.s3tc.ctex"] dest_files=["res://.godot/imported/Gabor 1 - 512x512.png-2e1d6fe9207cf3d9cbb344f0f1ad8365.s3tc.ctex", "res://.godot/imported/Gabor 1 - 512x512.png-2e1d6fe9207cf3d9cbb344f0f1ad8365.etc2.ctex"]
[params] [params]

View File

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://lp2pt8mtj7ty" uid="uid://lp2pt8mtj7ty"
path.s3tc="res://.godot/imported/kenney-green-checkerboar-cc0.png-4ac2e5feb60f311b4007a29bfb713529.s3tc.ctex" path.s3tc="res://.godot/imported/kenney-green-checkerboar-cc0.png-4ac2e5feb60f311b4007a29bfb713529.s3tc.ctex"
path.etc2="res://.godot/imported/kenney-green-checkerboar-cc0.png-4ac2e5feb60f311b4007a29bfb713529.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
[deps] [deps]
source_file="res://addons/player_controller/Examples/MovementTestbed/Hills/kenney-green-checkerboar-cc0.png" source_file="res://addons/player_controller/Examples/MovementTestbed/Hills/kenney-green-checkerboar-cc0.png"
dest_files=["res://.godot/imported/kenney-green-checkerboar-cc0.png-4ac2e5feb60f311b4007a29bfb713529.s3tc.ctex"] dest_files=["res://.godot/imported/kenney-green-checkerboar-cc0.png-4ac2e5feb60f311b4007a29bfb713529.s3tc.ctex", "res://.godot/imported/kenney-green-checkerboar-cc0.png-4ac2e5feb60f311b4007a29bfb713529.etc2.ctex"]
[params] [params]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://cxbskue0lj2gv"] [gd_scene load_steps=5 format=3 uid="uid://cxbskue0lj2gv"]
[ext_resource type="PackedScene" uid="uid://bei4nhkf8lwdo" path="res://addons/player_controller/PlayerController.tscn" id="1_ig7tw"] [ext_resource type="PackedScene" uid="uid://cdac2xuvak0bb" path="res://scenes/player.tscn" id="1_ig7tw"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_0xm2m"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_0xm2m"]
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
@ -27,7 +27,7 @@ shadow_enabled = true
[node name="CSGBox3D" type="CSGBox3D" parent="."] [node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.09619, -0.472656, -0.958893) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.09619, -0.472656, -0.958893)
use_collision = true use_collision = true
size = Vector3(10, 1, 10) size = Vector3(100, 1, 100)
[node name="Player" parent="." instance=ExtResource("1_ig7tw")] [node name="Player" parent="." instance=ExtResource("1_ig7tw")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.46733, 0.0273433, 0.0806665) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03971, 0.0273442, -0.249186)

View File

@ -60,3 +60,7 @@ sprint={
[physics] [physics]
3d/physics_engine="Jolt Physics" 3d/physics_engine="Jolt Physics"
[rendering]
textures/vram_compression/import_etc2_astc=true

8
scenes/player.tscn Normal file
View File

@ -0,0 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://cdac2xuvak0bb"]
[ext_resource type="PackedScene" uid="uid://bei4nhkf8lwdo" path="res://addons/player_controller/PlayerController.tscn" id="1_3vyb7"]
[node name="Player" instance=ExtResource("1_3vyb7")]
[node name="Stamina" parent="." index="4"]
MaxRunTime = 0.0