Commit Graph

197 Commits

Author SHA1 Message Date
halx99 2d8bc32454 Improve 1k code style 2024-05-24 01:18:30 +08:00
halx99 2f5bc186a5 Update ChangeLog 2024-05-22 21:42:04 +08:00
halx99 1a15620f4e Fix #1906
The tools/ci/genbindings.ps1 now support windows,linux,mac
2024-05-22 08:50:32 +08:00
halx99 cb142c6c4e Fix #1911 [skip ci] 2024-05-22 01:23:28 +08:00
halx99 fcc282d116 Improve ci [skip ci] 2024-05-21 23:40:01 +08:00
halx99 1e40692a6d Fix typo [skip ci] 2024-05-20 23:52:19 +08:00
halx99 d9563d1741 Fix docs menu_versions 2024-05-20 23:46:48 +08:00
halx99 b550d569a9 Update prebuilt tool `glslcc` to 1.9.5
- macos-arm64 support and built for macos-10.15+
2024-05-19 01:15:02 +08:00
halx99 53e2fbad14 Rename 1k/build.ps1 ==> 1k/1kiss.ps1 2024-05-18 23:30:26 +08:00
halx99 c9b4d3caff
Try enable wasm on github action (#1903)
* Update build.yml

* Upload artifacts for wasm ci

* Fixup

* Improve tools/cmdline/build.ps1

- Improve unhandled args forward
- Fix parse unexpected arg with differrent args order

* Fixup
2024-05-18 14:22:46 +08:00
halx99 9bb13ac8a6 Prepare release 2.1.3 2024-05-17 23:56:54 +08:00
halx99 fda69b3391 Add build optimize flag: O0: Debug, O1: MinSizeRel, O2: RelWithDebInfo, O3: Release 2024-05-17 00:15:59 +08:00
halx99 10d3e81329 Update emsdk to 3.1.59 2024-05-05 23:25:52 +08:00
smilediver 354f3abed9
Add ability to create console apps (#1859)
* Print cmake build command when running `axmol build`

* Add option to `ax_setup_app_config()` for building console applications

* Fix console app entrypoint

---------

Co-authored-by: halx99 <halx99@live.com>
2024-04-29 00:24:06 +08:00
halx99 35313f1cdc Check does Xcode installed 2024-04-27 23:32:27 +08:00
halx99 1e2ad6318c Fix #1857 2024-04-27 23:31:44 +08:00
RH 3916a2367b
Cross-platform media controller for video playback (#1845)
* Initial work on media controller

* Media player controller for WMF media engine

* Add getDuration and getCurrentTime methods to media engines

* Fix compilation

* Fix Android media timeline issues

* Fix compilation issue

* Fix WinRT compilation issue

* Fix compilation issue

* Add missing header include

* Make it simpler to create a custom media controller

* Ensure the basic media controller widget size is the same size as the media player on initialization

* Add dark media control underlay to give more contrast to the controls
ADd copyright notices

* Removing existing media controller from parent if required

* Adjust for view scaling since embedded resources are created for a scale of 1.

* Scale central media controls if required on content size change

* Remove pointless fast forward and fast reverse buttons
Ensure media controller correctly resizes on full-screen media playback

* Allow enable vlc on windows

* Improve media macro detect

* Add media controls drawn by DrawNode into single texture
Add fullscreen enter and exit controls
setUserInputEnabled and isUserInputEnabled replaced by setMediaControllerEnabled and isMediaControllerEnabled

* Update function calls to new names

* Revert back to setUserInputEnabled and isUserInputEnabled

* Remove embedded circle image and create it with DrawNode

* Change radius of drawn circle to half the total image size

---------

Co-authored-by: halx99 <halx99@live.com>
2024-04-24 22:28:59 +08:00
halx99 f8de198e18 Improve build system 2024-04-24 01:39:49 +08:00
RH 801f5e0267
Display cmake command used by build script in console (#1834) 2024-04-18 22:51:51 +08:00
halx99 cec839a96f Improve build system 2024-04-13 22:11:22 +08:00
halx99 1fff0fa746 Add experimental wasm64 support
really experimental, just build, can't run yet
2024-04-12 20:34:59 +08:00
halx99 d37f23997a Improve axmol cmdline 2024-04-09 02:42:25 +08:00
smilediver 2493a6d17b
Fix crash on iOS (#1799) 2024-04-09 01:40:41 +08:00
halx99 68a5c250cd Fix build android with axmol cmdline arch not working 2024-04-09 01:37:04 +08:00
halx99 88eb698ba2 Make command `axmol build` alias `axmol` 2024-04-07 23:34:30 +08:00
halx99 bc1bab5a98 Update AGP 8.2.2
- gradle: 8.5 ==> 8.7
- gradle-wapper.jar: NA ==> 8.7
- cmdlinetools: 10406996 ==> 11076708
2024-04-07 02:08:00 +08:00
halx99 e62a0aa6b7 Improve 1k/install-pwsh.sh [skip ci]
Add 1k/install-cmake.sh
2024-04-06 15:48:16 +08:00
Deal 8c5243fd20
Fix #1790 2024-04-06 08:35:14 +08:00
halx99 a6867f3c28 Improve feature dependencies control 2024-04-05 11:07:47 +08:00
halx99 620c5027fd Update build system 2024-04-03 20:25:25 +08:00
halx99 372ebf1355 Update glad to v2.0.6 2024-04-03 03:58:21 +08:00
halx99 e8b070c84c Remove unnecessary cmake option AX_VS_DEPLOYMENT_TARGET since we require cmake >= 3.28 2024-04-03 03:57:59 +08:00
Deal 9e944935b0
Add apple xcframework support (#1786)
* Add apple xcframework support

* Fix ci
2024-04-03 01:48:30 +08:00
halx99 0c7181c77c Improve build system 2024-04-02 22:31:34 +08:00
halx99 d645aee0d5 Improve 1k/build.ps1 2024-04-01 22:37:05 +08:00
halx99 284f088074 Move rpath control to 1k/platforms.cmake 2024-03-30 01:27:13 +08:00
halx99 f7c19cdbef Fix #1768 2024-03-30 01:09:52 +08:00
halx99 9a10407d7d Improve build system 2024-03-30 01:08:55 +08:00
halx99 c9b511a39d Set cmake minmal require to 3.29.0+ for supress xcode 15 duplicated linking warnings 2024-03-30 01:00:31 +08:00
halx99 d514f88cb1 Fix mac & linux rpath settings 2024-03-27 22:57:32 +08:00
halx99 6e6227196c Prepare release 2.1.3 2024-03-26 00:08:53 +08:00
halx99 d1cf78baa6 Improve 1k/fetch.cmake 2024-03-25 00:09:08 +08:00
halx99 968ab10a74 Improve 1k/fetch.ps1 2024-03-24 12:55:10 +08:00
halx99 dc3be5aad3 Improve build system error prompt 2024-03-24 05:44:05 +08:00
halx99 494312a60e Update 1k/fetch.ps1 [skip ci][skip appveyor] 2024-03-24 05:26:44 +08:00
halx99 57335362e1 Improve build system 2024-03-24 05:11:41 +08:00
halx99 966527f53b Update emsdk to 3.1.56 2024-03-23 02:06:40 +08:00
halx99 f6061ee1ba Improve build system again 2024-03-23 00:51:46 +08:00
Deal 25b5d14546
Fix ci 2024-03-22 23:57:08 +08:00
Deal 034aea1bae
Fix ci 2024-03-22 23:48:42 +08:00