Commit Graph

677 Commits

Author SHA1 Message Date
halx99 057708d7c7 Committing genbindings changes 2023-12-05 09:28:54 +00:00
halx99 4bd4c07b49 Committing genbindings changes 2023-12-04 16:37:10 +00:00
halx99 e0d4c9841d Committing genbindings changes 2023-12-01 01:12:29 +00:00
Paulo Coutinho 0aab228acc Rename glview to correct representative name (#1467) 2023-12-01 09:04:51 +08:00
halx99 4bd0d31f67 Committing genbindings changes 2023-11-30 16:12:58 +00:00
halx99 859c8fc093 Committing genbindings changes 2023-11-05 16:27:00 +00:00
Deal 54ef33d34d Add API: Device::getPixelRatio (#1418) 2023-11-06 00:19:44 +08:00
RH ddcecc3ff4 Live2d Android build fix (#1407)
* Allow optional setting target link scope for extensions when linking with Axmol.

* Fix Live2D linking with Axmol on Android
Add Android Tegra shader processing and usage
2023-10-26 21:30:31 +08:00
RH 1f5f8c182a Update Live2D to work with Axmol 2.x (#1405)
* Ensure Live2D extension is enabled for Live2D test

* Update Live2D to work with Axmol 2.x

* [skip ci] Remove commented out shader code
2023-10-25 19:25:42 +08:00
halx99 ddc9256ebe Committing genbindings changes 2023-10-25 01:54:02 +00:00
RH fc67e58646 Imgui and Inspector enhancements (#1396)
* [imgui] Add support for displaying images correctly that are rotated in texture atlas
[imgui] Add parameter to select if displayed image maintains aspect ratio
[imgui] Move static methods to anonymous namespace
[imgui] Minor code clean-up

* [imgui] Add support for displaying SpriteFrame

* [imgui] Update test to show usage of ImGuiPresenter::image helper methods

* [Inspector] Show image of selected sprite
2023-10-20 19:22:49 +08:00
halx99 4d91ed6ca3 Fix dll build, make JSONDefault as static library 2023-10-19 23:27:59 +08:00
RH c5512a05bc [Inspector] Fix crash and add enhancements (#1394)
* Fix crash related to invalid selected node if it no longer exists in the scene.
Support using a custom font for the inspector.
Support automatic registration of inspector on scene switches.

* Fix compilation issue

* [skip ci] Remove redundant null check
2023-10-19 15:31:01 +08:00
Saroop Technologies f2ae7f9759 Add JSONDefault extension (#1393) 2023-10-19 15:30:39 +08:00
RH 0bf5bed809 Add support for adding custom properties to the inspector (#1392)
Minor code clean-up
2023-10-18 20:11:59 +08:00
halx99 1e0dde5ba2 Fix ci 2023-10-11 00:49:49 +08:00
halx99 13b4a5bc93 Make macro same with cmake in c++
- AX_ENABLE_EXT_SPINE
- AX_ENABLE_EXT_DRAGONBONES
- AX_ENABLE_MSEDGE_WEBVIEW2
2023-10-11 00:32:04 +08:00
Joilnen 61bcb24a25 fix warning messages in gcc 13.2.1 to compliance with C++20 (#1383) 2023-10-08 23:46:27 +08:00
halx99 dbb0dbcb79 Use JsonWriter for SDFGen 2023-10-08 02:28:08 +08:00
halx99 4156052157 Fix win32 dll build 2023-09-29 17:13:35 +08:00
halx99 4065b90039 Preferred use byte_buffer as APIs 2023-09-29 01:57:41 +08:00
halx99 b9b3abb9ed Committing genbindings changes 2023-09-26 04:58:17 +00:00
halx99 2f1efe5a51 Add preload ttf SDF font atlas support
A extension SDFGen tool also available, see ImGuiTest
2023-09-26 01:33:06 +08:00
Deal b892461a2b UWP: Migrating from C++/CX to C++/WinRT (#1355) 2023-09-26 00:11:33 +08:00
halx99 6f7c40ed15 Improve code style 2023-09-24 01:02:28 +08:00
halx99 012e614d5a Committing genbindings changes 2023-09-19 13:53:04 +00:00
Deal 4f4f07ddc4 Add enable global TTF SDF rendering support (#1333) 2023-09-18 07:18:57 +08:00
Deal f4c3556039 Inspector: remove dup 0x prefix for object address 2023-09-13 20:42:49 +08:00
halx99 51448184c5 ImGui: suppress mouse event for wasm 2023-09-13 16:22:55 +08:00
halx99 e7b9e5feb7 Change cmake target thirdparty type to INTERFACE 2023-09-12 19:31:41 +08:00
halx99 ba37e3009d Improve ImGui loop managment 2023-09-12 19:30:15 +08:00
iAndyHD3 aca00138c1 handle cxxabi correctly (fix windows clang) (#1325) 2023-09-12 07:06:04 +08:00
iAndyHD3 810c909e67 Add extension Inspector (Experimental) (#1324)
* node explorer

* fix some crash, add to tests

* change tabs to spaces

* remove node explorer from hello template

* change name to Inspector + add readme

* minor fix

* fix minor things

* fix minor thing...

* fix build on ios, android

* Apply suggestions from code review

* fix typename for gcc/clang, add font

* include cxxabi outside ax namespace
2023-09-12 01:06:28 +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 f8b4783768 Committing genbindings changes 2023-09-10 16:38:28 +00: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 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 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 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 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 9a9d73a476 Fix ImGui PC platform macro detection 2023-09-03 13:22:40 +08:00
halx99 139181bb53 Particle3D: add wasm support for load materials 2023-09-02 20:36:55 +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