halx99
766d79a73f
Revert cmake module folder to `cmake/Modules`
2023-09-09 00:36:49 +08:00
halx99
b834d0af5e
Update CHANGELOG [skip ci][skip appveyor]
2023-09-08 22:50:44 +08:00
halx99
0ee62cb395
Update console prompt [skip ci][skip appveyor]
2023-09-08 22:05:16 +08:00
halx99
3b9a3529ed
Fix install-pwsh on macOS
2023-09-08 16:13:46 +08:00
halx99
946edb3a70
No need to copy build.ps1 to new project
...
Because the console next commands is more easy to use, for example:
axmol build -p win32
axmol build -p ios
2023-09-07 22:39:15 +08:00
halx99
f8b796a7f9
Add API Director::getNextScene
...
Gets the top(next) scene which will going to running state.
2023-09-07 21:57:41 +08:00
halx99
45cb0d82dc
Add cmake option 'AX_WASM_SHELL_FILE'
...
Specify the wasm shell file, by default use
`${_AX_ROOT}/core/platform/wasm/shell_minimal.html`
2023-09-07 21:09:36 +08:00
halx99
c7ab6a227e
Processing wasm touch events properly
2023-09-07 19:32:06 +08:00
Deal
bb4c08a7d8
Update GLViewImpl-desktop.cpp
...
wasm not support config vsync
2023-09-07 00:49:53 +08:00
halx99
cec4c3a560
ImGui: Clear emscripten's MouseWheel callback before shutdown.
...
refer: https://github.com/ocornut/imgui/pull/6790
2023-09-06 19:15:05 +08:00
halx99
d965dc42cd
Improve 1k/build1k.ps1
2023-09-06 12:36:24 +08:00
halx99
c2bec92bc0
Improve console/axmol.ps1 [skip ci] [skip appveyor]
2023-09-06 12:23:33 +08:00
halx99
8cbe447974
Fix ci
2023-09-06 11:14:11 +08:00
halx99
0f21f4d85f
Enable audio thread pool when wasm pthread enabled
2023-09-06 10:22:22 +08:00
halx99
0c42b9370b
Enable more tests for wasm
...
- box2d test beds
- chipmunk test beds
2023-09-06 10:11:48 +08:00
halx99
3fa70d602b
Improve wasm thread control by cmake option: AX_WASM_THREADS
...
- AX_WASM_THREADS: specify wasm thread count, valid value: number: `>=0` , string: must be: `auto` or `navigator.hardwareConcurrency`,
- number: explicit set thread count, `0` means disable wasm thread support
- string:
- `navigator.hardwareConcurrency`: will be emitted in the JS code which will use the number of cores the browser reports
- `auto`: Use cmake to detect host processor count
default is: `navigator.hardwareConcurrency`
2023-09-06 09:52:39 +08:00
halx99
68c51d64ba
Disable wasm pthread for gh pages
...
gh-pages doesn't support thread
2023-09-06 00:47:43 +08:00
halx99
d7a72ea587
WASM: Fix .html file not generated
2023-09-05 22:40:25 +08:00
halx99
5a528b46e5
WASM: use shorten target platform name 'wasm' instead 'emscripten'
...
For examples:
- win32 app build by msvc/clang and runs on windows
- wasm app build by emscripten/emcc and runs on web browsers
2023-09-05 22:17:18 +08:00
halx99
f77174e3ed
wasm: Dont use sourcemap, just leave cmake default -g
...
1. build debug: .\build.ps1 -p wasm -xb '--target','cpp_tests','--config','Debug'
2. Use chrome extension: C/C++ DevTools Support (DWARF) to debug c++ code, blog: https://developer.chrome.com/blog/wasm-debugging-2020/
2023-09-05 21:41:32 +08:00
halx99
0a56810af5
Improve wasm support
...
- Enable thread support
- Improve emcc flags
- Enable webp support
- axmol run now support wasm by emrun
- Rebuild openssl by pthread support
- Extension: effekseer support
2023-09-05 21:10:25 +08:00
halx99
a4682dc4da
Fix wasm HttpClient not working
2023-09-04 22:16:56 +08:00
halx99
fc669c31fe
Fix android ImGUI font Render
...
Update imgui_impl_ax glfw to match with ImGui 1.89.8-docking
2023-09-04 20:03:01 +08:00
halx99
a26dc47238
Enable A8, LA8, L8 render format for GLES_PROFILE
2023-09-04 19:16:26 +08:00
Deal
e8f88ea395
Remove unnecessary preprocessor check
2023-09-04 11:26:56 +08:00
halx99
e684e7aea5
Explicit clang setup [skip ci] [skip appveyor]
2023-09-03 19:55:39 +08:00
halx99
80f1e0952f
Update wasm persist path
2023-09-03 18:25:39 +08:00
halx99
9a9d73a476
Fix ImGui PC platform macro detection
2023-09-03 13:22:40 +08:00
halx99
c67cd64ffc
Use axmol embeded freetype for wasm
2023-09-03 13:12:59 +08:00
halx99
cbb23108cb
Merge: e1f3c5d76f
c21736c0d6
...
Merge branch 'dev' of https://github.com/axmolengine/axmol into dev
2023-09-03 11:47:36 +08:00
halx99
7abad49137
Appveyor CI: build wasm release mode
2023-09-03 11:47:33 +08:00
halx99
8f0f3e53ec
Increase clang-cl minmal version requirement [skip ci][skip appveyor]
2023-09-03 10:52:11 +08:00
halx99
d5cb9d4d1e
Fix gendocs ci
2023-09-03 09:59:38 +08:00
halx99
692688accf
Fix tvos ci
2023-09-03 09:46:21 +08:00
halx99
c9b3ba5c3e
Fix gendocs ci
2023-09-03 07:54:49 +08:00
halx99
8a9455a4ab
Improve build1k
2023-09-03 06:49:59 +08:00
halx99
692be44c27
Fix gendocs ci
2023-09-03 06:41:36 +08:00
Deal
6a707c77e1
Update gendocs.ps1
2023-09-03 04:40:05 +08:00
halx99
072e6d6a0d
Update readme files
2023-09-02 21:48:54 +08:00
halx99
7be0f8c61a
Fix ios ci
2023-09-02 21:45:43 +08:00
halx99
931fb45990
Fix ios ci
2023-09-02 21:18:54 +08:00
halx99
139181bb53
Particle3D: add wasm support for load materials
2023-09-02 20:36:55 +08:00
halx99
9251d8beff
Fix ios ci
2023-09-02 20:17:39 +08:00
halx99
1436dbadee
Update reademe files
2023-09-02 20:06:18 +08:00
halx99
c66ac9dedc
Merge: 41714a04fd
2631c8405b
...
Merge branch '1.x' into dev
2023-09-02 19:56:50 +08:00
halx99
b21fcb0272
Fix gendocs.ps1
2023-09-02 19:56:33 +08:00
halx99
888a1e7d78
Merge: c469e8ac6e
5b2645501f
...
Merge branch '1.x' into dev
2023-09-02 19:51:42 +08:00
halx99
8f8418c15d
Merge: c8bfa8cdf1
062b510c38
...
Merge 1.x WASM support into 'dev'
2023-09-02 19:47:18 +08:00
halx99
3875b2c1df
Committing genbindings changes
2023-09-01 11:25:21 +00:00
Deal
815880b2ea
Update ax_audioengine.ini
2023-09-01 19:02:19 +08:00