Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codename Engine Mobile #383

Draft
wants to merge 126 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
6a2b8a8
Mobile Port (by Mobile Porting Team)
NeeEoo Sep 20, 2024
792d651
codenameify
mcagabe19 Sep 20, 2024
d77a5e3
I forgor to change that
mcagabe19 Sep 20, 2024
c08018a
oh wait-
mcagabe19 Sep 20, 2024
e46a1a4
switch `Mobile Porting Team` to `Codename Devs` on editor warnings
LilyRoss19 Sep 22, 2024
b9770d6
rename `SUtil` to `MobileUtil`
LilyRoss19 Sep 22, 2024
1e21079
Update SaveSubstate.hx
mcagabe19 Sep 22, 2024
b102f16
add `#if mobile` to `MobileUtil.getStorageDirectory`
LilyRoss19 Sep 22, 2024
a5568c6
oops
mcagabe19 Sep 22, 2024
ce33c76
--libs= code + caching for ios
NeeEoo Sep 22, 2024
2a4f793
Oop
NeeEoo Sep 22, 2024
c58944e
Meow
NeeEoo Sep 22, 2024
0d8fe16
Update libs.mobile.xml
mcagabe19 Sep 22, 2024
64fe36e
rebuilding lime and hxcpp for mobile
mcagabe19 Sep 22, 2024
909d143
forgor
mcagabe19 Sep 22, 2024
2b0cb83
Update libs.mobile.xml
mcagabe19 Sep 22, 2024
8aa37af
ok plan b
mcagabe19 Sep 22, 2024
a8a65cb
things why I hate hxcpp compiling
mcagabe19 Sep 22, 2024
def0330
cmon
mcagabe19 Sep 22, 2024
9e79c5f
uh?
mcagabe19 Sep 22, 2024
c0b03a9
*sigh* okay
mcagabe19 Sep 22, 2024
5dc0c99
pls work
mcagabe19 Sep 22, 2024
4af4976
Fix ios
NeeEoo Sep 22, 2024
b108424
welp
mcagabe19 Sep 22, 2024
d10710a
???
mcagabe19 Sep 22, 2024
a10a2c1
seriously?
mcagabe19 Sep 22, 2024
5a71813
trying to make PlayState hitbox only
LilyRoss19 Sep 22, 2024
2de6a6c
uhh oops
LilyRoss19 Sep 22, 2024
c9b8f12
good thing I added instance
LilyRoss19 Sep 22, 2024
3d66736
Update MobileOptions.hx
LilyRoss19 Sep 22, 2024
da99789
oh boy
LilyRoss19 Sep 22, 2024
0cbf13a
`instance` to `getState()` for MusicBeat(Sub)state
LilyRoss19 Sep 22, 2024
1dfa0e7
gwa gwa
LilyRoss19 Sep 22, 2024
bc6d950
we don't want keybind options on mobile controls
LilyRoss19 Sep 22, 2024
a152c3d
`TOUCH_CONTROLS` define
LilyRoss19 Sep 23, 2024
7f65ab3
whoops
LilyRoss19 Sep 23, 2024
6c711af
forgor
mcagabe19 Sep 23, 2024
0d3cd89
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Sep 29, 2024
8466e82
comment this out for now
mcagabe19 Sep 29, 2024
55fbc63
Update ios.yml
mcagabe19 Sep 29, 2024
344401f
Oop
NeeEoo Sep 29, 2024
3c2036c
gradle probably has so much gb on it
mcagabe19 Sep 29, 2024
24aaa06
Update Shader.hx
mcagabe19 Sep 29, 2024
8b90072
gles patch
mcagabe19 Sep 29, 2024
f0a10ac
Merge branch 'main' into pr/383
NeeEoo Oct 1, 2024
bc0511b
Small changes
NeeEoo Oct 1, 2024
9973065
actions ran out of memory
mcagabe19 Oct 1, 2024
9c039a4
add gradle back
mcagabe19 Oct 1, 2024
04876cc
Update Shader.hx
mcagabe19 Oct 5, 2024
c66860d
use 3xx on glslVer
mcagabe19 Oct 5, 2024
56a4c9d
oops
mcagabe19 Oct 5, 2024
a108791
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Oct 7, 2024
cf12832
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 8, 2024
cd479b1
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 8, 2024
03043fc
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 14, 2024
19cdac7
a silly mistake
mcagabe19 Oct 17, 2024
9b80a3f
wait that's for gles 3.0
mcagabe19 Oct 17, 2024
2f0057a
Merge branch 'FNF-CNE-Devs:main' into cne-pr
LilyRoss19 Oct 18, 2024
1fe5b83
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 20, 2024
2ea9a00
Update CopyState.hx
mcagabe19 Oct 20, 2024
9b16699
updating CopyState
mcagabe19 Oct 20, 2024
2e8ece7
update hitbox (did not test)
mcagabe19 Oct 20, 2024
69920cc
Merge branch 'cne-pr' of https://github.com/MobilePorting/CodenameEng…
mcagabe19 Oct 20, 2024
583022c
fix hitbox
mcagabe19 Oct 20, 2024
cb90994
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 26, 2024
c6e97a1
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 29, 2024
04a5aba
no idea?
mcagabe19 Oct 29, 2024
4f9dfbc
Update README.md
mcagabe19 Oct 30, 2024
b618014
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Oct 30, 2024
c59eac3
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 31, 2024
456c415
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 3, 2024
bd1ee27
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 3, 2024
49457f5
Update MemoryUtil.hx
mcagabe19 Nov 3, 2024
0476882
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Nov 3, 2024
eafd09f
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Nov 8, 2024
d56702e
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 11, 2024
fff0d8d
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 13, 2024
b1ebcbe
only enable editors when keyboard and mouse is attached
mcagabe19 Nov 14, 2024
146bd25
fixes
mcagabe19 Nov 14, 2024
3f988dd
umm alright
mcagabe19 Nov 14, 2024
fb2fe82
starting to license our classes
mcagabe19 Nov 14, 2024
35a0156
o
mcagabe19 Nov 14, 2024
289fb2e
gonna use MIT, GPLv3 is brutal
mcagabe19 Nov 14, 2024
9137c06
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 15, 2024
a457506
Update android.yml
mcagabe19 Nov 21, 2024
4e7655b
bs
mcagabe19 Nov 21, 2024
59998fe
Update android.yml
mcagabe19 Nov 21, 2024
e09da42
alright whatever
mcagabe19 Nov 21, 2024
a2c7da7
remove wide screen
mcagabe19 Nov 21, 2024
806ed0c
include mobile on addAdditionalClasses
mcagabe19 Nov 22, 2024
7f5263e
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Nov 22, 2024
a3f32f2
we can't use `??` operator
mcagabe19 Nov 22, 2024
449cb1e
Merge branch 'cne-pr' of https://github.com/MobilePorting/CodenameEng…
mcagabe19 Nov 22, 2024
00be383
extra space b
mcagabe19 Nov 22, 2024
37aca4c
matching with upstream
mcagabe19 Nov 22, 2024
8403f45
kinda need
mcagabe19 Nov 22, 2024
21bf2ec
Update ModSwitchMenu.hx
mcagabe19 Nov 22, 2024
b84daca
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Nov 24, 2024
00b7b47
Update libs.mobile.xml
mcagabe19 Nov 24, 2024
2ec4332
no more saveContent ig
mcagabe19 Nov 24, 2024
ef0a2c0
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Nov 25, 2024
e68d7c9
Update Main.hx
mcagabe19 Nov 27, 2024
a7d2467
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 27, 2024
976cf71
Update android.yml
mcagabe19 Nov 27, 2024
c135507
Update ios.yml
mcagabe19 Nov 27, 2024
f163396
Update libs.mobile.xml
mcagabe19 Nov 27, 2024
f881477
Update android.yml
mcagabe19 Nov 27, 2024
707d080
Update Hitbox.hx
mcagabe19 Nov 27, 2024
05d175c
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 30, 2024
e6c7deb
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Dec 2, 2024
d0e9784
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Dec 8, 2024
bd76bdd
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Dec 9, 2024
dbba368
Merge branch 'CodenameCrew:main' into cne-pr
mcagabe19 Dec 12, 2024
c74fe6b
Update libs.mobile.xml
mcagabe19 Dec 12, 2024
e0bc257
right
mcagabe19 Dec 12, 2024
74ed05d
Update Paths.hx
mcagabe19 Dec 12, 2024
b5a3841
Update ios.yml
mcagabe19 Dec 12, 2024
e278320
Merge branch 'CodenameCrew:main' into cne-pr
mcagabe19 Dec 14, 2024
920cb2e
Merge branch 'CodenameCrew:main' into cne-pr
mcagabe19 Dec 14, 2024
f63cc31
Update AssetsLibraryList.hx
mcagabe19 Dec 14, 2024
7217c91
fix the crash
mcagabe19 Dec 14, 2024
b42f4f3
forgor
mcagabe19 Dec 14, 2024
f46b3c6
don't remove if it's EXTERNAL
mcagabe19 Dec 15, 2024
7d43df2
Update HScript.hx
VapireMox Dec 17, 2024
e95c759
Merge pull request #26 from VapireMox/patch-1
mcagabe19 Dec 17, 2024
ea18278
Update TitleState.hx
mcagabe19 Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ labels: bug
[ ] Windows
[ ] Linux
[ ] Mac
[ ] Android
[ ] iOS

### Explain your issue
##### Please check first if your issue haven't already been reported yet.
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ labels: compiling help
[ ] Windows
[ ] Linux
[ ] Mac
[ ] Android
[ ] iOS

### Explain your issue
##### Please check first if your issue haven't already been reported yet, and make sure you ran the `update.bat` file before building.
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Android Build
on:
push:
workflow_dispatch:
jobs:
build:
name: Android Build
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Pulling the new commit
uses: actions/checkout@v2
- name: Setup Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.5
- name: Restore existing build cache for faster compilation
uses: actions/cache@v3
with:
# not caching the bin folder to prevent asset duplication and stuff like that
key: cache-build-android
path: |
.haxelib/
export/release/android/haxe/
export/release/android/obj/
restore-keys: |
cache-build-android
- name: Installing/Updating libraries
run: |
haxe -cp commandline -D analyzer-optimize --run Main setup -s --lib=./libs.mobile.xml
- name: Configuring Android
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: Building the game
run: haxelib run lime build android
- name: Uploading artifact
uses: actions/upload-artifact@v4
with:
name: Codename Engine
path: export/release/android/bin/app/build/outputs/apk/release/*.apk
- name: Remove Docker Images
run: docker rmi $(docker image ls -aq)
- name: Clearing already existing cache
uses: actions/github-script@v6
with:
script: |
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
if (cache.key == "cache-build-android") {
console.log('Clearing ' + cache.key + '...')
await github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
console.log("Cache cleared.")
}
}
- name: Uploading new cache
uses: actions/cache@v3
with:
# caching again since for some reason it doesnt work with the first post cache shit
key: cache-build-android
path: |
.haxelib/
export/release/android/haxe/
export/release/android/obj/
restore-keys: |
cache-build-android
71 changes: 71 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: iOS Build
on:
push:
workflow_dispatch:
jobs:
build:
name: iOS Build
permissions: write-all
runs-on: macos-13
steps:
- name: Pulling the new commit
uses: actions/checkout@v2
- name: Setting up Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.5
- name: Restore existing build cache for faster compilation
uses: actions/cache@v3
with:
# not caching the bin folder to prevent asset duplication and stuff like that
key: cache-build-ios
path: |
.haxelib/
export/release/ios/CodenameEngine/haxe/
restore-keys: |
cache-build-ios
- name: Installing/Updating libraries
run: |
haxe -cp commandline -D analyzer-optimize --run Main setup -s --lib=./libs.mobile.xml
- name: Building the game
run: haxelib run lime build ios -nosign
- name: Clearing already existing cache
uses: actions/github-script@v6
with:
script: |
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
if (cache.key == "cache-build-ios") {
console.log('Clearing ' + cache.key + '...')
await github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
console.log("Cache cleared.")
}
}
- name: Making ipa file
run: |
cd export/*/ios/build/*-iphoneos
mkdir Payload
mv *.app Payload
zip -r CodenameEngine.ipa Payload
- name: Uploading artifact
uses: actions/upload-artifact@v4
with:
name: Codename Engine
path: export/release/ios/build/Release-iphoneos/*.ipa
- name: Uploading new cache
uses: actions/cache@v3
with:
# caching again since for some reason it doesnt work with the first post cache shit
key: cache-build-ios
path: |
.haxelib/
export/release/ios/CodenameEngine/haxe
restore-keys: |
cache-build-ios
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@ In the future (when the engine won't be a WIP anymore) we're gonna also publish
- Credits to Smokey555 for the backup Animate Atlas to spritesheet code
- Credits to MAJigsaw77 for [hxvlc](https://github.com/MAJigsaw77/hxvlc) (video cutscene/mp4 support) and [hxdiscord_rpc](https://github.com/MAJigsaw77/hxdiscord_rpc) (discord rpc integration)
</details>

<details>
<summary><h2>Mobile Credits</h2></summary>

- Credits to [Lily](ttps://youtube.com/@mcagabe19) to porting the engine
- Credits to [Karim Akra](https://youtube.com/@Karim0690) to helping me to port the engine
- Credits to [MAJigsaw77](https://github.com/MAJigsaw77) for mobile controls
</details>
3 changes: 3 additions & 0 deletions assets/data/scripts/week6-pause.hx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ function create(event) {
cameras = [pauseCam];

FlxG.sound.play(Paths.sound(isThorns ? 'pixel/ANGRY' : 'pixel/clickText'));

addVirtualPad('UP_DOWN', 'A');
addVirtualPadCamera();
}

function confText(text) {
Expand Down
Binary file added assets/images/menus/funkay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/menu/arrows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/images/mobile/menu/arrows.xml
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>
Binary file added assets/images/mobile/virtualpad/a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/g.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/h.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/i.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/j.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/k.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/o.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/p.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/q.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/t.png
Binary file added assets/images/mobile/virtualpad/u.png
Binary file added assets/images/mobile/virtualpad/up.png
Binary file added assets/images/mobile/virtualpad/v.png
Binary file added assets/images/mobile/virtualpad/w.png
Binary file added assets/images/mobile/virtualpad/x.png
Binary file added assets/images/mobile/virtualpad/y.png
Binary file added assets/images/mobile/virtualpad/z.png
Binary file added key.keystore
Binary file not shown.
30 changes: 30 additions & 0 deletions libs.mobile.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<libraries>
<!-- OpenFL & Lime (Required for Flixel) -->
<lib name="openfl" version="9.2.2" />
<git name="lime" url="https://github.com/mcagabe19-stuff/lime" />

<!-- Lime Building Dependencies -->
<lib name="hxp" version="1.3.0" />
<lib name="format" version="3.6.0" />

<!-- Flixel -->
<git name="flixel" url="https://github.com/CodenameCrew/cne-flixel" />
<git name="flixel-addons" url="https://github.com/CodenameCrew/cne-flixel-addons" />

<!-- Other Libraries -->
<git name="hscript-improved" url="https://github.com/CodenameCrew/hscript-improved" ref="custom-classes" />
<git name="flxanimate" url="https://github.com/CodenameCrew/cne-flxanimate" />
<lib name="hxvlc" version="1.9.3" skipDeps="true" />

<!-- Documentation and other features -->
<git name="away3d" url="https://github.com/CodenameCrew/away3d" />
<!-- <lib name="dox" /> -->
<lib name="format" />
<lib name="markdown" />

<!-- Android Specific -->
<git name="extension-androidtools" url="https://github.com/MAJigsaw77/extension-androidtools" ref="main" skipDeps="true" />

<git name="hxcpp" url="https://github.com/mcagabe19-stuff/hxcpp" />
</libraries>
16 changes: 13 additions & 3 deletions project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<window if="mac" allow-high-dpi="true" />

<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" resizable="false"/>
<window if="mobile" orientation="landscape" fullscreen="true" resizable="false" allow-shaders="true" require-shaders="true" allow-high-dpi="true" />

<!--Switch-specific-->
<window if="switch" orientation="landscape" fullscreen="true" width="0" height="0" resizable="true" />
Expand Down Expand Up @@ -92,7 +92,7 @@
<icon path="art/iconOG.png" size='512' />
<icon path="art/iconOG.png" size='768' />
<icon path="art/iconOG.png" size='1024' />

<icon path="art/iconOG.png" if="mobile" />

<!-- _________________________________ Engine Settings _______________________________ -->

Expand Down Expand Up @@ -141,7 +141,7 @@

<!-- Comment this out to disable video cutscene support, in case of compilation errors. !-->
<section if="cpp">
<define name="VIDEO_CUTSCENES" if="desktop || android" />
<define name="VIDEO_CUTSCENES" if="desktop || mobile" />
</section>

<!-- Comment this out to disable commit number on FPS -->
Expand All @@ -150,6 +150,8 @@
<!-- Comment this out to disable dark mode windows -->
<define name="DARK_MODE_WINDOW"/>

<define name="TOUCH_CONTROLS" if="mobile || web" />

<haxedef name="VIDEO_CUTSCENES" if="VIDEO_CUTSCENES" />
<haxedef name="UPDATE_CHECKING" if="UPDATE_CHECKING" />
<haxedef name="DISCORD_RPC" if="DISCORD_RPC" />
Expand Down Expand Up @@ -180,6 +182,8 @@
<haxelib name="hxdiscord_rpc" if="DISCORD_RPC"/>
<haxelib name="markdown" />

<haxelib name="extension-androidtools" if="android" />

<!-- _________________________________ Additional stuff _______________________________ -->

<section if="COMPILE_ALL_CLASSES">
Expand All @@ -198,4 +202,10 @@
<haxedef name="HXCPP_CATCH_SEGV" />

<haxedef name="hscriptPos" /> <!-- for logging -->

<!-- _________________________________ Mobile stuff _______________________________ -->

<!-- Do whatever you want I'm tired uninstall and install everytime -->
<certificate path="key.keystore" password="codenameengine" alias="cneport" alias-password="codenameengine" if="android" unless="debug" />

</project>
Loading