-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mobile Port (by Mobile Porting Team)
With some changes by Ne_Eo Co-Authored-By: Lily <[email protected]>
- Loading branch information
Showing
109 changed files
with
4,441 additions
and
138 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
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
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,111 @@ | ||
name: Main | ||
on: workflow_dispatch | ||
jobs: | ||
Desktop: | ||
runs-on: ${{matrix.os}} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-12, macos-14] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Setup Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.6 | ||
- name: Install libVLC (Linux) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: sudo apt install libvlc-dev libvlccore-dev | ||
- name: Install Libraries | ||
run: | | ||
haxelib install hmm --quiet | ||
haxelib run hmm install --quiet | ||
- name: Compile (Windows) | ||
if: startsWith(matrix.os, 'windows') | ||
run: haxelib run lime build windows | ||
- name: Compile (Linux) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: haxelib run lime build linux | ||
- name: Compile (macOS) | ||
if: startsWith(matrix.os, 'macos') | ||
run: haxelib run lime build mac | ||
- name: Upload Artifact (Windows) | ||
if: startsWith(matrix.os, 'windows') | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: windowsBuild | ||
path: export\release\windows\bin\* | ||
if-no-files-found: error | ||
- name: Upload Artifact (Linux) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: linuxBuild | ||
path: export/release/linux/bin/* | ||
if-no-files-found: error | ||
- name: Upload Artifact (macOS 12) | ||
if: matrix.os == 'macos-12' | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: macOSBuild-x86_64 | ||
path: export/release/macos/bin/* | ||
if-no-files-found: error | ||
- name: Upload Artifact (macOS 14) | ||
if: matrix.os == 'macos-14' | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: macOSBuild-arm64 | ||
path: export/release/macos/bin/* | ||
if-no-files-found: error | ||
Mobile: | ||
runs-on: ${{matrix.os}} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-14] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Setup Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.6 | ||
- name: Install Libraries | ||
run: | | ||
haxelib install hmm --quiet | ||
haxelib run hmm install --quiet | ||
- name: Configure Android | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: | | ||
haxelib run lime config ANDROID_SDK $ANDROID_HOME | ||
haxelib run lime config ANDROID_NDK_ROOT $ANDROID_NDK_LATEST_HOME | ||
haxelib run lime config JAVA_HOME $JAVA_HOME_17_X64 | ||
haxelib run lime config ANDROID_SETUP true | ||
- name: Compile (Android) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: haxelib run lime build android -ONLY_ARMV7 | ||
- name: Compile (iOS) | ||
if: startsWith(matrix.os, 'macos') | ||
run: haxelib run lime build ios -nosign | ||
- name: Make Ipa | ||
if: startsWith(matrix.os, 'macos') | ||
run: | | ||
cd export/release/ios/build/*-iphoneos | ||
mkdir Payload | ||
mv *.app Payload | ||
zip -r CodenameEngine.ipa Payload | ||
- name: Upload Artifact (Android) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: androidBuild | ||
path: export/release/android/bin/app/build/outputs/apk/release/*.apk | ||
if-no-files-found: error | ||
- name: Upload Artifact (iOS) | ||
if: startsWith(matrix.os, 'macos') | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: iOSBuild | ||
path: export/release/ios/build/Release-iphoneos/*.ipa | ||
if-no-files-found: error |
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,82 @@ | ||
name: Mobile + Release | ||
on: workflow_dispatch | ||
jobs: | ||
Mobile: | ||
runs-on: ${{matrix.os}} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-14] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Setup Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.6 | ||
- name: Install Libraries | ||
run: | | ||
haxelib install hmm --quiet | ||
haxelib run hmm install --quiet | ||
- name: Configure Android | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: | | ||
haxelib run lime config ANDROID_SDK $ANDROID_HOME | ||
haxelib run lime config ANDROID_NDK_ROOT $ANDROID_NDK_LATEST_HOME | ||
haxelib run lime config JAVA_HOME $JAVA_HOME_17_X64 | ||
haxelib run lime config ANDROID_SETUP true | ||
- name: Compile (Android) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: haxelib run lime build android -final | ||
- name: Compile (iOS) | ||
if: startsWith(matrix.os, 'macos') | ||
run: haxelib run lime build ios -final -nosign | ||
- name: Make Ipa And Zip For Release | ||
if: startsWith(matrix.os, 'macos') | ||
run: | | ||
cd export/release/ios/build/*-iphoneos | ||
mkdir Payload | ||
mv *.app Payload | ||
zip -r CodenameEngine.ipa Payload | ||
zip CodenameEngine-iOS.zip CodenameEngine.ipa | ||
- name: Upload Artifact (Android) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: androidBuild | ||
path: export/release/android/bin/app/build/outputs/apk/release/*.apk | ||
if-no-files-found: error | ||
- name: Upload Artifact (iOS) | ||
if: startsWith(matrix.os, 'macos') | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: iOSBuild | ||
path: export/release/ios/build/Release-iphoneos/*.zip | ||
if-no-files-found: error | ||
Releaser: | ||
needs: [Mobile] | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
steps: | ||
- name: Download Android Build | ||
uses: actions/download-artifact@main | ||
with: | ||
name: androidBuild | ||
path: /home/runner | ||
- name: Move Android File | ||
run: mv /home/runner/CodenameEngine-release.apk /home/runner/CodenameEngine-Android.apk | ||
- name: Download iOS Build | ||
uses: actions/download-artifact@main | ||
with: | ||
name: iOSBuild | ||
path: /home/runner | ||
- name: Publish The Release | ||
uses: marvinpinto/action-automatic-releases@latest | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: true | ||
automatic_release_tag: "dev-ca565de" | ||
title: "DevBuild ca565de" | ||
files: | | ||
/home/runner/*.apk | ||
/home/runner/*.zip |
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
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
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
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,5 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<TextureAtlas imagePath="arrows.png"> | ||
<SubTexture name="arrow left0000" x="0" y="0" width="48" height="85" frameX="0" frameY="0" frameWidth="48" frameHeight="85" /> | ||
<SubTexture name="arrow push left0000" x="48" y="0" width="42" height="75" frameX="0" frameY="0" frameWidth="42" frameHeight="75" /> | ||
</TextureAtlas> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,87 @@ | ||
{ | ||
"dependencies": [ | ||
{ | ||
"name": "lime", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "develop", | ||
"url": "https://github.com/mcagabe19-stuff/lime" | ||
}, | ||
{ | ||
"name": "hscript-improved", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "custom-classes", | ||
"url": "https://www.github.com/FNF-CNE-Devs/hscript-improved" | ||
}, | ||
{ | ||
"name": "openfl", | ||
"type": "haxelib", | ||
"version": "9.2.2" | ||
}, | ||
{ | ||
"name": "away3d", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "master", | ||
"url": "https://github.com/FNF-CNE-Devs/away3d" | ||
}, | ||
{ | ||
"name": "format", | ||
"type": "haxelib", | ||
"version": null | ||
}, | ||
{ | ||
"name": "markdown", | ||
"type": "haxelib", | ||
"version": null | ||
}, | ||
{ | ||
"name": "flixel", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "dev", | ||
"url": "https://github.com/FNF-CNE-Devs/flixel" | ||
}, | ||
{ | ||
"name": "flixel-addons", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "dev", | ||
"url": "https://github.com/FNF-CNE-Devs/flixel-addons" | ||
}, | ||
{ | ||
"name": "hxcpp", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "master", | ||
"url": "https://github.com/mcagabe19-stuff/hxcpp" | ||
}, | ||
{ | ||
"name": "hxvlc", | ||
"type": "haxelib", | ||
"version": null | ||
}, | ||
{ | ||
"name": "hxdiscord_rpc", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "main", | ||
"url": "https://github.com/FNF-CNE-Devs/hxdiscord_rpc" | ||
}, | ||
{ | ||
"name": "extension-androidtools", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "main", | ||
"url": "https://github.com/MAJigsaw77/extension-androidtools" | ||
}, | ||
{ | ||
"name": "flxanimate", | ||
"type": "git", | ||
"dir": null, | ||
"ref": "master", | ||
"url": "https://github.com/FNF-CNE-Devs/flxanimate" | ||
} | ||
] | ||
} |
Binary file not shown.
Oops, something went wrong.