Enable WebGL/Linux platforms, cache v4, build folder fix

This commit is contained in:
2024-09-28 16:18:39 -05:00
parent 2e50e345b5
commit 8845597e0e
4 changed files with 68 additions and 78 deletions

View File

@@ -17,8 +17,8 @@ jobs:
unityVersion: unityVersion:
- 2022.3.42f1 - 2022.3.42f1
targetPlatform: targetPlatform:
# - WebGL - WebGL
# - StandaloneLinux64 - StandaloneLinux64
- StandaloneWindows64 - StandaloneWindows64
# - StandaloneOSX # - StandaloneOSX
@@ -26,7 +26,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: ./Galagan/Library path: ./Galagan/Library
key: ${{ runner.os }}-Library-${{ hashFiles('./Galagan/ProjectSettings/ProjectSettings.asset') }} key: ${{ runner.os }}-Library-${{ hashFiles('./Galagan/ProjectSettings/ProjectSettings.asset') }}
@@ -44,8 +44,13 @@ jobs:
unityVersion: ${{ matrix.unityVersion }} unityVersion: ${{ matrix.unityVersion }}
targetPlatform: ${{ matrix.targetPlatform }} targetPlatform: ${{ matrix.targetPlatform }}
- name: Fix Build Folder
run: |
rm -rf ./build/${{ matrix.targetPlatform }}/Galagan_BurstDebugInformation_DoNotShip/
mv ./build/${{ matrix.targetPlatform}}/ ./build/Galagan/
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: galagan-${{ matrix.targetPlatform }} name: galagan-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }} path: build/

View File

@@ -91,19 +91,19 @@ LineRenderer:
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_Positions: m_Positions:
- {x: 0, y: 0.722425, z: 0} - {x: 0, y: 0.6480075, z: 0}
- {x: 0.42212608, y: 0.80429405, z: 0} - {x: 0.34973457, y: 0.66636354, z: 0}
- {x: 0.8367039, y: 0.577535, z: 0} - {x: 0.6703479, y: 0.4627078, z: 0}
- {x: 0.99355394, y: 0.120639294, z: 0} - {x: 0.82284486, y: 0.09991146, z: 0}
- {x: 0.99157465, y: -0.37605458, z: 0} - {x: 0.76803166, y: -0.29127595, z: 0}
- {x: 0.6926372, y: -0.78182584, z: 0} - {x: 0.60441756, y: -0.6822464, z: 0}
- {x: 0.27694884, y: -1.1236256, z: 0} - {x: 0.225557, y: -0.9151207, z: 0}
- {x: -0.26369464, y: -1.0698515, z: 0} - {x: -0.21844555, y: -0.8862687, z: 0}
- {x: -0.78493685, y: -0.8860107, z: 0} - {x: -0.6064956, y: -0.6845922, z: 0}
- {x: -1.1896553, y: -0.45117694, z: 0} - {x: -0.98218596, y: -0.37249416, z: 0}
- {x: -1.2224747, y: 0.14843538, z: 0} - {x: -1.0171107, y: 0.12349967, z: 0}
- {x: -0.9412302, y: 0.649684, z: 0} - {x: -0.93150455, y: 0.64297086, z: 0}
- {x: -0.5474094, y: 1.0430014, z: 0} - {x: -0.56076676, y: 1.0684516, z: 0}
m_Parameters: m_Parameters:
serializedVersion: 3 serializedVersion: 3
widthMultiplier: 1 widthMultiplier: 1
@@ -207,20 +207,20 @@ PolygonCollider2D:
m_AutoTiling: 0 m_AutoTiling: 0
m_Points: m_Points:
m_Paths: m_Paths:
- - {x: 0, y: 0.722425} - - {x: 0, y: 0.6480075}
- {x: 0.42212608, y: 0.80429405} - {x: 0.34973457, y: 0.66636354}
- {x: 0.8367039, y: 0.577535} - {x: 0.6703479, y: 0.4627078}
- {x: 0.99355394, y: 0.120639294} - {x: 0.82284486, y: 0.09991146}
- {x: 0.99157465, y: -0.37605458} - {x: 0.76803166, y: -0.29127595}
- {x: 0.6926372, y: -0.78182584} - {x: 0.60441756, y: -0.6822464}
- {x: 0.27694884, y: -1.1236256} - {x: 0.225557, y: -0.9151207}
- {x: -0.26369464, y: -1.0698515} - {x: -0.21844555, y: -0.8862687}
- {x: -0.78493685, y: -0.8860107} - {x: -0.6064956, y: -0.6845922}
- {x: -1.1896553, y: -0.45117694} - {x: -0.98218596, y: -0.37249416}
- {x: -1.2224747, y: 0.14843538} - {x: -1.0171107, y: 0.12349967}
- {x: -0.9412302, y: 0.649684} - {x: -0.93150455, y: 0.64297086}
- {x: -0.5474094, y: 1.0430014} - {x: -0.56076676, y: 1.0684516}
- {x: 0, y: 0.722425} - {x: 0, y: 0.6480075}
m_UseDelaunayMesh: 0 m_UseDelaunayMesh: 0
--- !u!50 &7202568895458539576 --- !u!50 &7202568895458539576
Rigidbody2D: Rigidbody2D:

View File

@@ -79,28 +79,19 @@ LineRenderer:
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_Positions: m_Positions:
- {x: 0, y: 0.101423986, z: 0} - {x: 0, y: 0.10076331, z: 0}
- {x: 0.03216264, y: 0.109535895, z: 0} - {x: 0.060404383, y: 0.11509094, z: 0}
- {x: 0.059387416, y: 0.092408635, z: 0} - {x: 0.098488845, y: 0.06798194, z: 0}
- {x: 0.085814655, y: 0.07435882, z: 0} - {x: 0.13884224, y: 0.0168585, z: 0}
- {x: 0.116586685, y: 0.05324336, z: 0} - {x: 0.12039846, y: -0.045661107, z: 0}
- {x: 0.12860288, y: 0.018490305, z: 0} - {x: 0.09614729, y: -0.10852786, z: 0}
- {x: 0.1177388, y: -0.016928283, z: 0} - {x: 0.03759436, y: -0.1525263, z: 0}
- {x: 0.10194865, y: -0.04655839, z: 0} - {x: -0.03613794, y: -0.14661741, z: 0}
- {x: 0.09014567, y: -0.07811165, z: 0} - {x: -0.09542066, y: -0.10770768, z: 0}
- {x: 0.07209021, y: -0.11217457, z: 0} - {x: -0.1331364, y: -0.050492004, z: 0}
- {x: 0.041016683, y: -0.13968995, z: 0} - {x: -0.1452964, y: 0.017642187, z: 0}
- {x: -0.000000011974572, y: -0.13697313, z: 0} - {x: -0.12551463, y: 0.086636454, z: 0}
- {x: -0.038356, y: -0.13062854, z: 0} - {x: -0.06595034, y: 0.12565786, z: 0}
- {x: -0.07716217, y: -0.1200667, z: 0}
- {x: -0.11150521, y: -0.096619815, z: 0}
- {x: -0.11778476, y: -0.05379051, z: 0}
- {x: -0.14035052, y: -0.020179383, z: 0}
- {x: -0.1363941, y: 0.019610537, z: 0}
- {x: -0.113704175, y: 0.05192697, z: 0}
- {x: -0.105317496, y: 0.09125813, z: 0}
- {x: -0.06976721, y: 0.10855988, z: 0}
- {x: -0.03443856, y: 0.11728688, z: 0}
m_Parameters: m_Parameters:
serializedVersion: 3 serializedVersion: 3
widthMultiplier: 1 widthMultiplier: 1
@@ -204,29 +195,20 @@ PolygonCollider2D:
m_AutoTiling: 0 m_AutoTiling: 0
m_Points: m_Points:
m_Paths: m_Paths:
- - {x: 0, y: 0.101423986} - - {x: 0, y: 0.10076331}
- {x: 0.03216264, y: 0.109535895} - {x: 0.060404383, y: 0.11509094}
- {x: 0.059387416, y: 0.092408635} - {x: 0.098488845, y: 0.06798194}
- {x: 0.085814655, y: 0.07435882} - {x: 0.13884224, y: 0.0168585}
- {x: 0.116586685, y: 0.05324336} - {x: 0.12039846, y: -0.045661107}
- {x: 0.12860288, y: 0.018490305} - {x: 0.09614729, y: -0.10852786}
- {x: 0.1177388, y: -0.016928283} - {x: 0.03759436, y: -0.1525263}
- {x: 0.10194865, y: -0.04655839} - {x: -0.03613794, y: -0.14661741}
- {x: 0.09014567, y: -0.07811165} - {x: -0.09542066, y: -0.10770768}
- {x: 0.07209021, y: -0.11217457} - {x: -0.1331364, y: -0.050492004}
- {x: 0.041016683, y: -0.13968995} - {x: -0.1452964, y: 0.017642187}
- {x: -0.000000011974572, y: -0.13697313} - {x: -0.12551463, y: 0.086636454}
- {x: -0.038356, y: -0.13062854} - {x: -0.06595034, y: 0.12565786}
- {x: -0.07716217, y: -0.1200667} - {x: 0, y: 0.10076331}
- {x: -0.11150521, y: -0.096619815}
- {x: -0.11778476, y: -0.05379051}
- {x: -0.14035052, y: -0.020179383}
- {x: -0.1363941, y: 0.019610537}
- {x: -0.113704175, y: 0.05192697}
- {x: -0.105317496, y: 0.09125813}
- {x: -0.06976721, y: 0.10855988}
- {x: -0.03443856, y: 0.11728688}
- {x: 0, y: 0.101423986}
m_UseDelaunayMesh: 0 m_UseDelaunayMesh: 0
--- !u!50 &7202568895458539576 --- !u!50 &7202568895458539576
Rigidbody2D: Rigidbody2D:

View File

@@ -1,8 +1,11 @@
# galagan # galagan
Developed for CS 4423's Midterm project
A in-progress project for my game development course, the midterm game. A in-progress project for my game development course, the midterm game.
### Problems ### Problems
- Projectiles aren't deleted while they fly away off screen - Projects can spawn on top of eachother, potentially causing problems.
- Projects can spawn on top of eachother, potentially causing problems. - WebGL Build doesn't have working audio, due to how it's loaded.
- Untested on Windows/Linux