halx99
09db3594f2
Merge: 3d97d1bcc1
0a63a8e364
...
Merge branch '1.x' into dev
2023-08-31 17:57:36 +08:00
halx99
a3a117ad2d
Update script permision
2023-08-31 17:57:19 +08:00
halx99
449a596f3e
Merge: fd2cbdc331
a816a8ac64
...
Merge branch '1.x' into dev
# Conflicts:
# README.md
# README_CN.md
# install-pwsh.sh
# tools/console/axmol
2023-08-31 17:56:09 +08:00
halx99
c2e55c4cdc
Merge console-next from dev into 1.x
2023-08-31 17:48:39 +08:00
halx99
5183995a36
Merge: f9b6553e57
94be720d3f
...
Merge branch '1.x' into dev
2023-08-25 16:57:54 +08:00
halx99
2bf41d7d31
Fix ci
2023-08-25 16:57:38 +08:00
halx99
46f668b01b
Remove render backend setLineWidth [skip ci]
...
Due to not all of GL and Metal support it, so remove it unify behavior
developers shouldn't relay on it
2023-08-25 16:49:08 +08:00
halx99
f525d6c726
Update docs
2023-08-25 16:46:32 +08:00
halx99
66d68707f1
Improve GLES2 compatibility
2023-08-22 19:34:28 +08:00
halx99
bfe167121e
Add cmake option AX_GLES_PROFILE
...
Valid value of AX_GLES_PROFILE: 0, 200, 300
By default, the AX_GLES_PROFILE is:
- android: 200, allow axmol apps runs on: API 17 Android 4.2+ devices
- winuwp: 300
- Win32/linux/osx/ios/tvos: 0
For ios/tvos, will forcing AX_GLES_PROFILE to 300 if AX_GLES_PROFILE not 0
2023-08-14 20:40:05 +08:00
Deal
9dc9e9adc7
Update android.yml
2023-08-13 23:58:18 +08:00
halx99
bd0e1fef4b
Fix compile error
2023-08-13 22:09:02 +08:00
Deal
572bb2f700
Test use glad on android
2023-08-13 00:24:35 +08:00
halx99
cc9cbcbff9
Merge: eba7fc17ba
6bbdc273f8
...
Merge branch 'main' into dev
2023-08-10 18:53:35 +08:00
halx99
46ed10dac3
Update yasio to v4.1.0
2023-08-10 18:36:45 +08:00
halx99
f63932bb91
Update ios GLES to GLES3
2023-08-09 22:25:15 +08:00
halx99
1ec408812f
Fix cmake setup
2023-08-09 14:37:43 +08:00
Deal
969baf94d4
Update CHANGELOG [skip ci]
2023-08-09 13:52:28 +08:00
halx99
76f00b4456
Make renderer works on opengl core profile mode
2023-07-20 20:23:56 +08:00
j-jorge
c2d7bdcb45
Allow unity builds on a subset of the sources. ( #1266 )
...
In order to allow unity builds we need to avoiding "using namespace"
at file scope, #undef our file-specific #defines, and avoid having
static functions with identical name and signature.
2023-07-15 19:06:54 +08:00
j-jorge
b8202ed918
Fix missing return value in EditBoxImplLinux::getNativeDefaultFontName(). ( #1250 )
2023-07-01 08:49:17 +08:00
halx99
3eac3abecf
Sync yasio to latest
2023-06-24 21:18:27 +08:00
Deal(涓€绾跨伒)
feffe4095c
Update 3rd sources ( #1240 )
...
- llhttp: 8.1.1
- yasio: latest
- recast 1.6.0
- openal-soft: latest for official UWP support
- glad 2.0.4
- libpng 1.6.40
- astcenc 4.5.0
- Add fastlz: latest
- Disable lz4 by default
2023-06-24 09:17:14 +08:00
halx99
1ed5596377
Update docs
2023-06-12 14:15:37 +08:00
halx99
85111a4cc3
Improve engine version definitions
2023-06-12 09:14:23 +08:00
Deal(涓€绾跨伒)
abd8029f64
Remove CC prefix from code file name ( #1230 )
...
* Add migrate sources tool
* Fix include replace regex
* Fix compile
* Migrate maually
* Disable sources-migrate tool by default
* Fix ci
* Fix ci
* Improve source migrate
* Fix ios/tvos ci
* Fix ios/tvos ci
* Fix
2023-06-11 13:08:08 +08:00
Deal(涓€绾跨伒)
bc82034ffd
Improve media-engine for android, linux ( #1228 )
...
* Improve media-engine
- Implement andorid,linux
- Improve local file uri scheme
* Fix ci
* Improve code style
* Improve
* Update VlcMediaEngine.cpp
* Update AvfMediaEngine.h
* Fix ci
* Improve code style
* Enable androidx gradle.properties [skip ci]
* Improve code style
* Remove unnecessary callbacks
* Rename VideoPlayer to MediaPlayer
2023-06-10 22:05:49 +08:00
halx99
e05d0c4905
[Video] Enable VideoTexture streaming for iOS
2023-06-01 12:48:40 +08:00
halx99
50b9249e28
Update yasio to latest
2023-05-14 22:39:05 +08:00
halx99
cdf65a5ef1
Fix ci
2023-05-14 18:16:24 +08:00
halx99
bee148fe9d
Fix RichElementImage scale not initialized
2023-05-03 20:31:07 +08:00
RH
6b9d5fe32d
Fix to ensure new line is correctly added to RichText ( #1171 )
2023-04-13 21:33:29 +08:00
halx99
a63fd04abf
Add ui::RichText setString, refer to: #1166
2023-04-05 16:16:57 +08:00
Deal(涓€绾跨伒)
621c94c9e7
Enable video player(VideoTexture) based on new MediaEngine for macOS and tvos ( #1154 )
...
* Ready for PR macOS
* Update videoTexture.frag
* Fix compile
* Fix h265 for mac [skip ci]
* Fix compile error
* Update readme [skip ci]
2023-04-02 01:51:36 +08:00
Deal(涓€绾跨伒)
1e6e9d4a8d
Media engine video texture ( #1133 )
...
* VideoPlayer based on new MediaEngine[Win32/UWP]
* Improve MediaEngine interface
* Update readme
* Improve pixel format
* Improve MediaEngine interface
* Ready for PR UWP/Win32
* Ready for PR UWP,Win32
* Update reademe files
* Update readme files
* Update UIVideoPlayer-android.cpp [skip ci]
* Update UIVideoPlayer-ios.mm
* Update MFUtils.cpp
* Fix ci
2023-03-25 08:37:51 +08:00
halx99
517ffeedc6
Update project url in sources
2023-03-12 01:44:55 +08:00
Deal(涓€绾跨伒)
277bcd44ce
Windows Store UWP apps support ( #1108 )
...
* [BIG FEATURE] Windows Store UWP apps support
* Fix ci, add uwp for pr-ci
* Fix ci
* Improve ci script
* Fix ci
* Fix ci
* Fix ci
* Fix ci
* Upload uwp appx package artifacts [skip ci]
* Use d2d draw system font text
* Fix ci
* Improve code style
2023-03-11 22:10:18 +08:00
halx99
8bf4817ff7
Fix compile errors in c++17
2023-03-08 08:34:17 +08:00
RH
c642b3babc
Better richtext word wrapping ( #1071 )
...
* [RichText] Do not word-wrap on punctuation characters for better readability
2023-02-23 13:55:42 +08:00
RH
b21b34ee66
Scrollbar visibility fix for when auto hide is disabled ( #1067 )
...
* Fix for scrollbar visibility when auto-hide is disabled
* Set the default opacity to 255 when the scrollbar auto hide is disabled since _opacity is unknown
2023-02-22 11:13:56 +08:00
RH
20dcad664b
Trim leading space from wrapped lines of text in RichText ( #1066 )
...
* Fix issue with a whitespace appearing at the start of left-aligned text in RichText when using wrapping at word boundaries.
Update RichText test.
2023-02-21 13:15:28 +08:00
halx99
fc5025da10
Fix osx ci
2023-01-21 19:24:58 +08:00
halx99
ae14727dc7
Fix #1032
2023-01-17 10:06:09 +08:00
Deal(涓€绾跨伒)
643d1bfaf0
Update CocosGUI.h
2023-01-12 11:55:16 +08:00
halx99
fa9f663e3a
Don't use deprecated function
2023-01-11 23:28:22 +08:00
halx99
5c42e19788
Improve windows optional modules
2023-01-11 22:28:14 +08:00
Turky Mohammed
b04c8f5735
[BUG] fix _AX_HAVE_WEBVIEW2 compilation error when not defined. ( #1020 )
...
* make _AX_HAVE_WEBVIEW2 actually work
* Exclude other platforms
* Update UIWebView-inl.h
2023-01-08 09:36:43 +08:00
halx99
79b90a95dd
Fix dll linkage
2023-01-06 18:38:16 +08:00
halx99
bc9e4483e9
Fix ci
2023-01-05 00:31:08 +08:00
halx99
0f97e3fa3a
Improve base64 API
...
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
pietpukkel
2dcf76a88a
Fix for UIEditBox password on Mac/iOS (Montery+/15+). ( #995 )
...
Fix for UIEditBox password on Mac/iOS (Montery+/15+).
2022-12-27 14:26:09 +08:00
RH
1a0612ca6e
Move getWorldPosition() from Widget to Node class ( #978 )
...
* Committing genbindings changes
* Move getWorldPosition() method to Node class to allow world position to be retrieved for any node.
2022-12-07 09:24:46 +08:00
RH
2e30b51ab7
Add a pool for GroupCommand rendering commands ( #969 )
...
* Committing genbindings changes
* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios
* Ensure captureNode works as expected.
* Set member variables to default values when init method is called on the GroupCommand
* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
Vincent Lee
5f6e1cd42d
Fix warnings (implicit conversion loses and use of deprecated function)
2022-11-20 09:58:34 +09:00
joilnen
5214ea1eb1
fixing some warnings compilation in linux gcc 12.2.0
2022-11-14 15:46:27 -03:00
halx99
17f5cd5543
Improve MFMediaPlayer state control
2022-11-14 11:35:38 +08:00
RH
82bcb1ae5f
Add support for centered horizontal layout ( #946 )
...
* Committing genbindings changes
* Add support for CENTER_HORIZONTAL layout type.
2022-11-01 19:02:04 +08:00
halx99
8c18f962d5
馃敤Fix #887
2022-10-12 19:44:31 +08:00
aismann
3ef8ac63f2
rename cocos2d to axmol ( #920 )
...
* rename cocos2d to axmol
* rename cocos2d.h to axmol.h
* Update Physics3DTest.cpp
replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
涓€绾跨伒|Deal
79925e07d6
Merge: 6cd36ab02e
c26ab44880
...
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support
RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
涓€绾跨伒|Deal
48a7da97d6
Final migrate ( #876 )
2022-10-01 16:24:52 +08:00
halx99
82acade5b9
Improve code style
2022-09-24 10:42:11 +08:00
halx99
3a9a26c743
Fix #861
2022-09-23 22:41:30 +08:00
Paulo Coutinho
f5aeb5a8c2
Add apple tvos support ( #846 )
...
* support tvos
* support tvos and fix run command
* support tvos, fix run script and fix windows files
* support tvos on ci
* support tvos on ci and fix windows zlib
* support tvos on ci
* support tvos
* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
涓€绾跨伒|Deal
e37761260a
Migrate, use simple namespace ax ( #818 )
2022-08-29 20:51:22 +08:00
涓€绾跨伒
c6fc93abbc
Update README.md
2022-08-18 09:13:09 +08:00
unknown
9a9025aede
Add empty check
2022-08-16 15:12:45 +05:30
halx99
6d5e50ded9
Avoid unnecessary double lookup
2022-08-16 17:14:06 +08:00
unknown
9968a7ddcb
Add support for width & height in percentage for RichElementImage
2022-08-16 12:09:02 +05:30
涓€绾跨伒
31289482d3
Revert "Support for Apple Silicon / M1"
2022-08-12 16:39:06 +08:00
unknown
d71ad17f52
RichElementImage - Add support for scaling
2022-08-12 03:58:36 +05:30
halx99
b1287b8cc5
Migrate cmake files
2022-08-11 15:41:10 +08:00
halx99
65b0690e55
Improve code style
...
Refer to: https://github.com/cocos2d/cocos2d-x/pull/20743
2022-08-10 21:08:51 +08:00
涓€绾跨伒
9892aa3d1c
Migrate axys ( #782 )
2022-08-08 18:02:17 +08:00
aismann
376c80dd2d
Replace push_back() vs emplace_back() on axis/tests/cpp-tests and axis/core ( #781 )
...
* Replace push_back() vs emplace_back() on axis\tests\cpp-tests\
D:\______\GitHub\aismann\axis\tests\cpp-tests\Classes
Replace Vector push_back() vs emplace_back() #762
* Replace push_back() vs emplace_back() on axis\core\ #781
* Update CCConsole.cpp
* Update UIWebViewImpl-android.cpp
* Update UIWebViewImpl-android.cpp
2022-08-08 13:18:33 +08:00
unknown
85a4433395
closeKeyboard() method for EditBox
2022-08-02 03:02:35 +05:30
aismann
2a2e8a1e95
Improve c++11 for-loop performance with Universal References ( #760 )
2022-07-21 19:19:08 +08:00
halx99
c16a33e347
Migrate more macors
2022-07-16 10:43:05 +08:00
涓€绾跨伒
ac1872494c
Remove unnecessary check [skip ci]
...
refer to #748
2022-07-15 19:44:31 +08:00
halx99
41d2c44308
Migrate macros 'CC_' to 'AX_'
2022-07-15 19:17:01 +08:00
涓€绾跨伒
bf77f46dce
Migrate engine namespace to `axis`(abbv: `ax`) ( #743 )
2022-07-11 17:50:21 +08:00
halx99
c2acb3a744
Migrate tests, extensions and configs ReSquash for unexpected changes +2
2022-07-09 22:23:34 +08:00
DESKTOP-16GC0B8\813658
07bffb5df1
operator[] changed for better usage
2022-07-09 02:07:01 +03:00
Turky Mohammed
59c6611e71
Replace everything under `core` ( #735 )
...
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
halx99
906c60e40e
Fix setup cmake files and some relative sources
2022-07-08 14:20:41 +08:00
涓€绾跨伒
e6ae7c44b3
Merge: 555f847c1f
6dd8b2c74a
...
Merge pull request #702 from DelinWorks/improve-engine-types
[PROPOSAL] Move global enums to their own file.
2022-07-05 00:39:20 +08:00
DelinWorks
49508bd13c
Improve function naming.
2022-07-04 17:45:23 +03:00
halx99
0b4363bfc0
Refator sampler name in shader
2022-07-04 21:26:48 +08:00
halx99
ee3605c991
Improve renderer
2022-06-24 14:18:48 +08:00
halx99
4cf6c52cf4
string_view
2022-06-20 01:49:50 +08:00
Turky Mohammed
87e4fad96c
Merge: a2bea19e1e
3ac444efa6
...
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-12 17:26:54 +03:00
DelinWorks
237a3ccbad
Improve emission shapes workflow.
...
`ps->addEmissionShape(ParticleSystem::createConeShape({ -2000, 0 }, 400, 90, 50));` is the new workflow.
2022-06-11 18:06:43 +03:00
halx99
ddc1a80420
Delete unused comment
2022-06-11 15:30:51 +08:00
涓€绾跨伒
b6790e40e4
Merge: 1cdbf8c273
d2e96534d2
...
Merge pull request #645 from aismann/patch-1 [skip ci]
Update readme.md
2022-05-25 18:17:43 +08:00
DelinWorks
e6c13ac358
Revert stashed changes temporarily.
2022-05-25 10:20:35 +03:00
rh101
af0b18a54a
Allow the forced reformatting of RichText contents
2022-05-25 11:42:12 +10:00
halx99
6ea9d930af
Fix incorrect sampler for non-aligned video files
2022-05-09 10:05:33 +08:00
涓€绾跨伒
4893e17e5c
Fix indent
2022-05-07 20:40:54 +08:00
halx99
2749450e05
Fix #627
2022-05-07 20:21:22 +08:00
DelinWorks
89621c5601
Update UIVideoPlayer-win.cpp
2022-05-02 05:35:45 +03:00