halx99
6a78b18781
Use pod_vecttor for DrawNode
2024-09-08 00:17:47 +08:00
aismann
4ae3792164
DrawNode V2 ( #2124 )
...
* DrawNodeV2 ready4merge
* Update README.md
* Lua stuff
* Update DrawNode.h
* Update DrawNode.cpp
* Update DrawNode.cpp
* Update DrawNode.cpp
* Add the cocos2dx test again, add some improvements
* Some improvements
* Remove CandyMix from Android devices
* Update DrawNodeTest.cpp
* Clean tester code
2024-09-06 21:31:18 +08:00
RH
efa3189229
Remove unreferenced sprite from test scene ( #2119 )
...
* Remove sprite once action is complete since it is no longer required
* Add copyright notice
2024-08-30 22:46:10 +08:00
j-jorge
b436da431f
Remove the USING_NS_AX and NS_AX macros. ( #2103 )
2024-08-27 19:46:15 +08:00
j-jorge
15268dc182
Remove the NS_AX_BEGIN and NS_AX_END macros. ( #2100 )
2024-08-26 00:25:33 +08:00
halx99
f14276c33e
Update freetype to v2.13.3 ( #2098 )
2024-08-22 07:27:02 +08:00
aismann
8341ce67b9
DrawNodeV2 0.97 (ready for "replacing" DrawNode) ( #2095 )
2024-08-19 18:52:52 +08:00
aismann
b1f88b4e9d
DrawNodeV2 0.96.0 ( #2086 )
2024-08-14 22:09:00 +08:00
halx99
b25b702d97
Release 2.1.5 ( #2076 )
...
* Fix unexpected libpng used
* Fix string format incorrect for tests
* Fix #1751 , use coroutine control AutoTest flow
* Update CHANGELOG.md
* Added OpenType font (.otf) to the noCompress list. (#2077 )
* Update 1k & copyright notice in some sources
* Move doctest to axmol 3rdparty
* Fix ci
* Update 1kdist to v90
* Update 1kiss.ps1
* DrawNodeV2 0.95.1 (#2079 )
* Rename remaining legacy engine related spells and improve code style
* Update 3rdparty README.md
* Fix checkReallySupportsASTC does not work on ios device
reported by @BIGCATDOG in https://github.com/axmolengine/axmol/issues/2078
* Fix ci
* FastRNG: add missing include for AXASSERT (#2081 )
* Delete unused files
* Improve FileUtils
- Rename FileUtils::createDirectory to FileUtils::createDirectories
- Use splitpath_cb to optimize FileUtils::createDirectories
- Rename FileUtils::getFileShortName to FileUtils::getPathBaseName
- Rename FileUtils::getFileExtension to FileUtils::getPathExtension
- Add FileUtils::getPathDirName
- Add FileUtils::getPathBaseNameNoExtension
- Mark all renamed FileUtils stubs old name deprecated
- Mark all FileUtils offthread APIs deprecated
* Update box2d to v2.4.2
* Disable /sdl checks explicitly for winuwp
For axmol deprecated policy, we need disable /sdl checks explicitly to avoid compiler traits invoking deprecated functions as error
* Update cppwinrt to 2.0.240405.15
* Update simdjson to 3.10.0
* Fix box2d testbed compile error
* Improve file path to url
* Fix FileUtils::createDirectories unix logic
* axmol-cmdline: remove arch suffix for host build output directory
* Update CHANGELOG.md
* Update lua bindings
---------
Co-authored-by: Dani Alias <danielgutierrezalias@gmail.com>
Co-authored-by: aismann <icesoft@freenet.de>
Co-authored-by: smilediver <smilediver@outlook.com>
2024-08-11 23:51:35 +08:00
Turky Mohammed
4c80b80ff7
Improve FastRNG implementation ( #2056 )
...
* Update FastRNG and improve particle system and tests
* Update FastRNG.h
* remove unnecessary includes
* Adapt unit_tests
* unit test rotL too
2024-07-27 23:44:25 +08:00
halx99
a39b2e87db
Fix some ci warnings
2024-07-24 00:09:10 +08:00
halx99
9e106da253
Prepare release v2.1.4 ( #2037 )
2024-07-20 02:52:07 +08:00
halx99
602a2cab8f
Update ios/tvos LaunchScreen.storyboard to 11.0+
...
Also fix xcode15.4 build error
2024-07-17 00:14:26 +08:00
halx99
28013e97d2
Replace all ax::print with AXLOGD,AXLOGI ( #2032 )
2024-07-14 00:34:27 +08:00
halx99
11b8d28fd7
Mark StringUtils::format deprecated, use fmt::format instead ( #2029 )
2024-07-13 22:53:14 +08:00
aismann
fe0b243a67
(Spelling) rename getSubtitleLable(), add setSubtitleLabel() ( #2025 )
...
* rename getSubtitleLable(), add setSubtitleLabel()
* Update PhysicsTest.cpp
2024-07-11 23:29:08 +08:00
aismann
fe0adcbb1f
Rename all AXLOG/printf to AXLOGD (without .\core, .\3rdparty) ( #2020 )
2024-07-11 23:28:31 +08:00
bwaiox
aacebeef89
Fix error when compile on LINUX ubuntu2204 ( #2012 )
...
* fix LINUX compile error for CocosGUIScene.cpp
* fix LINUX compile error 'must be interger or enum' for array length
2024-07-01 21:41:44 +08:00
aismann
8175eb2ade
DrawNodeV2 0.94 (currently DrawNodeEx) ( #2008 )
2024-06-29 00:15:02 +08:00
halx99
5ffd6ce09a
Improve downloader
...
- print http respone code when error
- make checksum case-insensitive
2024-06-28 01:03:31 +08:00
halx99
b6b6a15284
Improve curl downloader ( #1999 )
2024-06-22 08:29:21 +08:00
Purple
6cb7618ed0
Linux WebView implementation ( #1985 )
...
* linux webview start
* Linux UIWebView phase1
* update setup for linux uiwebview
* add depends for arch
* removed unnecessary XReparent call
* Fixed some XWayland issues
* finalizing linux webview implementation
* enabled webview tests on linux
* updated copyright link
* removed some unnecessary comments
* some formatting
* some more formatting
* fixed a test typo
* removed some unnecessary codes
* removed some unnecessary comments
2024-06-13 22:49:59 +08:00
halx99
ad051f353f
Update TLD to axmol.dev in sources ( #1977 )
2024-06-10 02:25:43 +08:00
halx99
8fef58d59c
Update gradlew to 8.8
2024-06-10 00:57:51 +08:00
CHP
e56d14c1d2
AGP_8_4_0 ( #1976 )
2024-06-10 00:37:17 +08:00
AlexandreK38
79aabfd6af
Sprite and TextureCache from ax::Data ( #1967 ) [skip ci]
...
* Add Sprite and TextureCache way to use image from Data
* add Sprite cpp tests
* Apply suggestions from code review
---------
Co-authored-by: halx99 <halx99@live.com>
2024-06-07 00:30:55 +08:00
RH
66ca90cf41
Apply child stencils correctly to the clipping node ( #1957 )
...
* Child stencils are now applied correctly to the clipping node
Fix incorrect reference count for original program states stored in collection
* Add test for unique child stencils
* Fix comment
2024-06-03 23:15:57 +08:00
RH
eee37e5760
Add support for necessary events to be sent regardless of event dispatcher enabled state ( #1940 )
...
* Add support for necessary events to be sent regardless of event dispatcher enabled state
* Revert accidental change
2024-05-30 13:34:25 +08:00
RH
93042d2ad9
[Android] Add x86_64 to example list of possible target architectures ( #1919 )
2024-05-23 01:22:18 +08:00
aismann
5b8a07413b
DrawNodeEx/DrawNodeExTest update ( #1914 )
...
* Fix issue #1546 of UILayout(#1549 ) and small performance boost
* add test
* Update DrawPrimitivesTest.cpp (Smaller tester code)
* Update DrawNodeEx.h
AX_EX_DLL
* Update AXLinkHelpers.cmake
* Update Console.cpp (removed the '\n' which creates an second (empty) line)
* segment stuff
* .
* add some more tests
* Issue 1888
* .
* add all DrawNode cocos2dx
* .
* .
* .
* add feature for drawing in correct order
* .
* Update DrawNodeEx.cpp
* .
* Update DrawNodeEx.cpp
* DRAWNODE_TRIANGLE_ONLY
* DRAWNODE_DRAW_LINE_POINT
* .
* Update DrawNodeExTest.cpp
* Update DrawNodeExTest.cpp
* .
* .
* Add round brackets
* commendet this both lines (check it in next version)
* .
2024-05-22 18:48:36 +08:00
smilediver
ddeb14c160
Fix shaders not copying to final build on macOS for non Xcode builds (2) ( #1908 )
...
* Fix shaders not copying to final build on macOS for non Xcode builds
* Fix macOS build after adding minimum CMake 3.20 requirement
* Refactor "Fix macOS build after adding minimum CMake 3.20 requirement"
2024-05-22 01:51:09 +08:00
Deal
004065a054
Rename ax::Ref ==> ax::Object ( #1877 )
...
* Rename ax::Ref ==> ax::Object
* Update Object.h [skip ci]
2024-05-03 22:15:08 +08:00
smilediver
9ac6db4384
Add unit tests ( #1862 )
...
* Add unit-tests app for running automatic unit tests
* Move unit tests from cpp-tests to unit-tests
* TEMP
* Add FileUtils::fullPathForDirectory() tests
* Use test assets from `axmol-sample-assets` repo
* Add more FileUtils::isFileExist(), FileUtils::isDirectoryExist() tests
* Add `unit-tests` builds to GitHub's workflows
* Fix `.github/worflows/build.yml`
2024-04-30 20:52:28 +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
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
f159250c4e
Don't assert since we remove deprecated pixel formats
2024-04-22 23:07:09 +08:00
Deal
74612ef296
Remove deprecated pixel formats L8, A8, LA8 ( #1839 )
...
* Remove deprecated pixel formats
* Fix ci
* Fixup [skip ci]
* Fixup [skip ci]
* Update tests [skip ci]
2024-04-20 22:29:16 +08:00
halx99
940db1e351
Change android default screenOrientation to sensorLandscape
2024-04-17 22:59:25 +08:00
halx99
68a5c250cd
Fix build android with axmol cmdline arch not working
2024-04-09 01:37:04 +08:00
halx99
320124487e
Update gradlew scripts
2024-04-08 23:29:45 +08:00
halx99
0ef8d484ce
Fix xcode15 warning: ignore link duplicated lib
2024-04-07 22:51:50 +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
e8b070c84c
Remove unnecessary cmake option AX_VS_DEPLOYMENT_TARGET since we require cmake >= 3.28
2024-04-03 03:57:59 +08:00
RH
690e16df30
Use single macro to control each feature ( #1776 )
...
* Use single macro to control each feature
* Allow Physics module to be enabled or disabled via cmake option
2024-03-30 08:56:32 +08:00
Turky Mohammed
28f3915445
Node World Space Positioning ( #1743 )
...
* node set world position
* Adapt tests
2024-03-15 09:33:38 +08:00
halx99
444cf160f9
Fix ChipmunkTestBed crash
2024-03-14 23:53:14 +08:00
Deal
76db9007b0
Move color types to math/Color.h ( #1741 )
...
* Move color types to math/Color.h
* Use V3F_C4F
* Fix ci
2024-03-14 23:38:45 +08:00
halx99
cb12cbc366
Initial implement wasm EditBox
2024-03-13 01:20:37 +08:00
halx99
d79cda1475
Fix WebSocketTest crash issue [skip ci]
2024-03-11 23:42:12 +08:00
halx99
b265482e12
Enable full log fmt style in cpp-tests for all platforms
2024-03-08 01:54:36 +08:00