halx99
64e20d775b
WASM: Don't build HelloLua due to appveyor limits
2023-09-11 23:27:52 +08:00
Deal
e55134afb7
Update build-site.ps1 [skip appveyor]
2023-09-11 21:05:30 +08:00
halx99
d2a8fa00cd
Improve isolated site dist[skip appveyor]
2023-09-11 20:43:27 +08:00
halx99
5bf03c47ac
Build more tests for wasm
2023-09-11 20:31:57 +08:00
halx99
aa12c467f4
Redirect wasm preview site
2023-09-11 20:01:56 +08:00
halx99
dc1ac3cef2
Fix lua framework code not embed to wasm vfs
2023-09-11 19:43:49 +08:00
halx99
be1d49b86d
Fix 'axmol new' not support absolute path
2023-09-11 19:41:49 +08:00
halx99
c1e36226ff
Fix to UI touch location for ImGui on Android
2023-09-11 19:39:41 +08:00
halx99
8b96ff7f1b
Tidy platform macros/consts value
2023-09-11 19:37:49 +08:00
halx99
6856c2d073
Committing genbindings changes
2023-09-11 03:15:48 +00:00
halx99
dcc79a8ade
Don't export GLViewImpl::loadGLES2 to lua
2023-09-11 11:07:01 +08:00
halx99
f8b4783768
Committing genbindings changes
2023-09-10 16:38:28 +00:00
halx99
f8dcacceb3
Fix genbindings ci
2023-09-11 00:30:52 +08:00
halx99
0e23f9812f
GLView: Restore from maximized when setWindowed
2023-09-11 00:06:34 +08:00
halx99
2db687b422
Enable dpi scale for ImGuiTest
2023-09-11 00:05:53 +08:00
halx99
c9fdb2e5a8
Run CI on dev branch only
2023-09-10 23:35:01 +08:00
Deal
659f2a744c
Update ImGui README.md [skip ci][skip appveyor]
2023-09-10 23:03:32 +08:00
halx99
25da753b7c
Improve ImGui Loop management
...
Properly remove ImLoop to avoid assert fail when there a one or more
viewports window at outside of game view
2023-09-10 22:38:54 +08:00
halx99
b8f069612e
Bump v2.0.0
2023-09-09 10:20:39 +08:00
Deal
13bdda57fb
Update DevSetup.md [skip ci][skip appveyor]
2023-09-09 09:59:17 +08:00
Deal
9031e99552
Update DevSetup.md [skip ci][skip appveyor]
2023-09-09 09:58:08 +08:00
Deal
f17cad45a0
Update AXLinkHelpers.cmake
2023-09-09 01:52:32 +08:00
halx99
19d9f6fb4a
Update readme files[skip ci][skip appveyor]
2023-09-09 01:07:47 +08:00
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