From 6f48ae66c5b960f3e719ea5286c050f9eed02d6f Mon Sep 17 00:00:00 2001 From: Martin Grider Date: Mon, 1 Jul 2024 08:46:32 -0500 Subject: [PATCH 1/5] fixed the links in the README. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6fd0eb..6b61048 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ There are no "helper" functions or dependences. ## Available Examples General -1. [User Input](Sources/_01_UserInput/UserInput.swift): +1. [User Input](Sources/G_01_UserInput/UserInput.swift): Show text when using certain user inputs. -2. [Multiple Windows](Sources/_02_MultipleWindows/MultipleWindows.swift): +2. [Multiple Windows](Sources/G_02_MultipleWindows/MultipleWindows.swift): Open multiple windows on compatible platforms. -3. [Save State](Sources/_03_SavingState/SavingState.swift): +3. [Save State](Sources/G_03_SavingState/SavingState.swift): Save and restore game state. 2D From cd90fae24baf88e57075ea2de1ac14c87977562c Mon Sep 17 00:00:00 2001 From: STREGA Date: Mon, 1 Jul 2024 13:42:44 -0400 Subject: [PATCH 2/5] Fix isolation error --- Sources/G_01_UserInput/UserInput.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/G_01_UserInput/UserInput.swift b/Sources/G_01_UserInput/UserInput.swift index a5fcbc4..285067d 100644 --- a/Sources/G_01_UserInput/UserInput.swift +++ b/Sources/G_01_UserInput/UserInput.swift @@ -31,6 +31,7 @@ final class UserInputGameDelegate: GameDelegate { final class TextComponent: Component { // Text is a renderable object that hold a string and associated meta like font, pointSize, and color + @MainActor let text = Text(string: "Press Something...", pointSize: 64, color: .white) // All components require a componentID. For performance reasons make it a let. From dde05a91352f973908c3fd948bedab95140b2d4c Mon Sep 17 00:00:00 2001 From: STREGA Date: Mon, 1 Jul 2024 13:43:13 -0400 Subject: [PATCH 3/5] Fix incorrect links --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6fd0eb..6b61048 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ There are no "helper" functions or dependences. ## Available Examples General -1. [User Input](Sources/_01_UserInput/UserInput.swift): +1. [User Input](Sources/G_01_UserInput/UserInput.swift): Show text when using certain user inputs. -2. [Multiple Windows](Sources/_02_MultipleWindows/MultipleWindows.swift): +2. [Multiple Windows](Sources/G_02_MultipleWindows/MultipleWindows.swift): Open multiple windows on compatible platforms. -3. [Save State](Sources/_03_SavingState/SavingState.swift): +3. [Save State](Sources/G_03_SavingState/SavingState.swift): Save and restore game state. 2D From 0277b4536e8d771f64f87fe24993e1325aed6d97 Mon Sep 17 00:00:00 2001 From: STREGA Date: Mon, 1 Jul 2024 13:48:54 -0400 Subject: [PATCH 4/5] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7f30ec..0e67168 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,11 @@ on: jobs: Build_Test-Swift: - runs-on: macos-13 + runs-on: macos-14 steps: - uses: actions/checkout@v3 - name: Select Xcode version - run: sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer' + run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' - name: Swift Version run: swift --version - name: Build using Xcode From 6454994c0447ebc9b0651d91781cc131100053df Mon Sep 17 00:00:00 2001 From: STREGA Date: Mon, 1 Jul 2024 14:59:38 -0400 Subject: [PATCH 5/5] Fix Xcode paths --- Xcode/GateEngineDemos.xcodeproj/project.pbxproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Xcode/GateEngineDemos.xcodeproj/project.pbxproj b/Xcode/GateEngineDemos.xcodeproj/project.pbxproj index 2695403..a41fe5e 100644 --- a/Xcode/GateEngineDemos.xcodeproj/project.pbxproj +++ b/Xcode/GateEngineDemos.xcodeproj/project.pbxproj @@ -88,7 +88,8 @@ children = ( 5677A8652A279C1000BD0456 /* UserInput.swift */, ); - path = G_01_UserInput; + name = G_01_UserInput; + path = ../Sources/G_01_UserInput; sourceTree = ""; }; 5677A8672A279C4200BD0456 /* Packages */ = { @@ -104,7 +105,8 @@ children = ( 569C5E662A32C5A2009CC52B /* MultipleWindows.swift */, ); - path = G_02_MultipleWindows; + name = G_02_MultipleWindows; + path = ../Sources/G_02_MultipleWindows; sourceTree = ""; }; 56D155472A2A487800FDB7AC /* Shared */ = {