halx99
c37af4c38e
Improve shader managment
...
1. Rename uniformId to batchId, refine batch draw check logic, not use xxhash to compute uniforms id
2. Material works, not check all cpp-tests, but some 2d/3d material works fine
3. Shader load/cache API improvements.
4. BREAK compatibliity: Node::setProgramState change parameter needsRetain to ownPS and value inverted.
5. custom vertexLayout setup: add new API ProgramState::getMutableVertexLayout, mark ProgramState::setVertexAttrib deprecated.
6. ProgramManager registerCustomProgram change to gen progId by vsName, fsName
with xxhash64, if register succed, user can load it by progId with `loadProgram`
7. Add API ProgramManager::loadProgram for loading builtin by progType or
loding a custom program by id
8. Add API ProgramManager::loadProgram to load program by vsName, fsName
immediately without register as CUSTOM_PROGRAM
9. Add API Node::setProgramStateByProgramId(progTypeOrId); for set programState with
programType or programId explicit.
10. Migrate material load logic
2023-07-25 09:40:05 +08:00
halx99
94b5705bd3
Improve cmake script
...
- glslcc helper function
- Rename ax_add_shader to ax_target_compile_shaders
- Provide argument FILES for specify single or multi shader
source files support, i.e.
ax_target_compile_shaders(target_name FILES 1.frag 1.vert)
- Rename all _AX_ROOT_PATH to _AX_ROOT
2023-07-06 19:21:36 +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
Deal(涓€绾跨伒)
46a21e729b
Building with ninja + official llvm-clang-cl support ( #1159 )
...
* Building with ninja + official llvm-clang-cl support
* Update gh ci for clang
* Fix ci
* Fix ci
* Fix ci
* FIx dll copy [skip ci]
* Fix ci warnings
* Update ci files and readme
* Update badges
2023-04-02 16:04:19 +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
halx99
912bf32d13
Remove UWP from PC family
2023-03-14 12:08:31 +08:00
halx99
760c59ab6e
[UWP] set VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION for all targets
2023-03-12 17:57:54 +08:00
RH
3f6847ebf0
Set default project in Visual Studio for UWP ( #1111 )
2023-03-12 12:34:51 +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
RH
00989196af
Fix incorrect content variable in cpp template ( #1095 )
...
* Fix cpp-template-default CMakeLists.txt content folder reference
Update test project content folder variable name to match cpp template
2023-03-04 21:25:05 +08:00
RH
14ccdfcffa
[Apple] Fix for missing resources ( #1092 )
...
* [Apple] Ensure resources are mapped to the expected directory by iOS and MacOS targets
2023-03-03 21:53:18 +08:00
Deal(涓€绾跨伒)
83d53ba46b
Tidy project tree and full symlink support ( #1072 )
...
* Tidy project file tree and all symlink support
2023-02-23 21:57:30 +08:00
halx99
452754981a
[CMake] Add symlink support, refer to #1005
...
- Rename ax_<xxx>_copy_xxx to ax_<xxx>_sync_xxx
- Add optional arg `SYM_LINK`
2023-02-22 23:37:32 +08:00
CHP
8d36190c98
Improve Android cmake ( #985 )
...
* Update CMakeLists.txt
* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
halx99
de61119a21
Add effekseer test
2022-11-01 19:50:43 +08:00
CHP
4d54f44f62
Update CMakeLists.txt ( #922 )
...
* Update CMakeLists.txt
* Update CMakeLists.txt
2022-10-12 07:04:01 +08:00
CHP
b3fa9381b5
Fix noisy message "Unable to resolve full path of PCH-header" ( #918 )
...
* Update CMakeLists.txt
fix noisy message "Unable to resolve full path of PCH-header"
* Update CMakeLists.txt
* Update CMakeLists.txt
2022-10-11 08:54:02 +08:00
CHP
9c7a876970
precompile_headers all platforms ( #901 )
2022-10-10 03:52:04 +08:00
涓€绾跨伒|Deal
48a7da97d6
Final migrate ( #876 )
2022-10-01 16:24:52 +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
halx99
b1287b8cc5
Migrate cmake files
2022-08-11 15:41:10 +08:00
halx99
eabd784590
Fix macOS/iOS build warning
...
invalid character in Bundle Identifier. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters. (in target 'cpp_tests' from project 'axys')
2022-08-09 15:32:00 +08:00
涓€绾跨伒
9892aa3d1c
Migrate axys ( #782 )
2022-08-08 18:02:17 +08:00
halx99
906c60e40e
Fix setup cmake files and some relative sources
2022-07-08 14:20:41 +08:00
DelinWorks
70cd6095cc
Fix CMAKE
2022-07-08 02:10:35 +03:00
Turky Mohammed
656babac78
[IMPROVMENT] Change class name `Sprite3D` to `MeshRenderer` ( #705 )
...
* First draft [skip ci]
* Improve comments [skip ci]
* Rename MeshRendererMaterial to MeshMaterial [skip ci]
* Update dependent classes.
* Replace occurrences of Sprite3D with MeshRenderer.
* Update cpp-tests and extensions.
* Fix compilation.
* Try fixing lua-bindings
* Try fixing lua-bindings
* Update lua_cocos2dx_3d_manual.cpp [skip ci]
* Create RENAMED_TYPES.md
2022-07-05 14:48:46 +08:00
halx99
ee3605c991
Improve renderer
2022-06-24 14:18:48 +08:00
涓€绾跨伒
ebb11194c1
Update CMakeLists.txt ( #641 )
2022-05-23 23:40:37 +08:00
Turky Mohammed
d0b551d26b
Merge: 6e1d48835e
193ed82788
...
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-23 16:55:30 +03:00
DelinWorks
5239256b13
Improve particle RNG and add useful functions
...
Replaced M11 RNG with KISS RNG which is better and fixes a problem with particle strafing, added the ability to pause the entire particle system (useful for pause menus) and ability to control particle system time speed multiplier 馃挭馃ザ
2022-05-23 16:04:09 +03:00
halx99
71c27f43d8
Fix ios device install problems
...
- lua template missing `CFBundleExecute`
- Use `_` instead tests project to avoid unknown error
2022-05-23 17:03:07 +08:00
halx99
c3f40d2b36
Improvements and bug fixes
...
Improve ResizableBufferAdapter style
Improve extesnion adxelua
Improve code quality
Fix lua-tests BillBoardTest
Sync texture pixel format enum values for adxelua
Fix luaval_to_vec2 parameter location
Improve windows workflow
Improve cmake scripts
Take care Texture2D::setDefaultAlphaPixelFormat use
2022-05-13 21:06:29 +08:00
halx99
06a953cdbc
Also disable Ninja PCH for cpp-tests
2022-04-27 18:51:54 +08:00
Shatyuka
d9d6509c2b
Compatible with Ninja
2022-04-26 15:16:02 +08:00
halx99
323ed9431b
Renaming extension ImGuiEXT to ImGui
...
The singleton class ImGuiEXT also was renamed to ImGuiPresenter
2022-02-25 19:03:09 +08:00
halx99
58281f4145
Fix linux ci
2022-02-24 19:00:49 +08:00
halx99
13d90b76ee
Enable video player test case for windows
2022-02-24 18:30:58 +08:00
halx99
cd98e6c880
Fix #570
...
a. fix lua build error
b. still use separated link jni libs
2022-01-04 09:40:27 +08:00
halx99
def5f9e2bc
Rename core folder name
2021-12-31 14:39:08 +08:00
deal
f32280ff42
Merge: 687d15f16e
369de31853
...
Merge pull request #560 from adxeproject/ahead
Merge ahead to dev
2021-12-31 12:12:40 +08:00
halx99
64d7b55366
Update ci branch name
2021-12-31 11:00:35 +08:00
halx99
8710707a3e
Fix android ci
2021-12-29 13:44:39 +08:00
halx99
6e1f8f5953
Optimize cmake scripts
2021-10-12 15:39:37 +08:00
halx99
8d83891f30
Improve lua workflow on windows
...
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
rh101
c9c003a03f
[setup.py] Add download support. Add NuGet CLI download to tools folder.
...
Download NuGet Microsoft.Web.WebView2 package version 1.0.992.28
Add support for WebView for Windows builds.
2021-10-04 18:55:01 +11:00
姒嗘煶鏉?
35b658c90e
Merge: f5663f279c
d73d937894
...
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-05 20:45:32 +08:00
姒嗘煶鏉?
0aff165959
[fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout.
2021-09-05 20:44:14 +08:00
halx99
a3d51468f7
Fix #492 for win64 require larger stack for cpp-tests: 41
2021-09-03 20:37:34 +08:00
halx99
3905654659
Fix xcode build warnings
2021-08-12 15:54:16 +08:00
halx99
84a84a8931
Merge: 39eb09daad
861c356bb4
...
Merge pull request #447 from aismann/Box2D_TestBed_improvement
Box2D_TestBed_improvement
2021-08-12 15:34:24 +08:00
aismann
d0a18036b5
Update README.md
2021-08-12 07:03:14 +02:00
aismann
24a99d6e27
update CMakeList.txt
2021-08-12 06:02:01 +02:00
halx99
dc3b5292d7
Xcode Embed Frameworks support
...
refer to: https://gitlab.kitware.com/cmake/cmake/-/issues/22412#note_997156
2021-08-10 11:43:16 +08:00
halx99
48505bc10f
Update cmake link
2021-08-10 10:46:11 +08:00
aismann
b5d0326e6e
Add DebugDraw to Box2DTest, Improve Box2D-Testbed add some new classes to physics-nodes ( #444 )
...
* Update AppDelegate.cpp
Add '*Debug*' on the title
* Update CCPhysicsDebugNodeBox2D.h
* Improve Box2D-TestBed
* improvements
* Update CCPhysicsDebugNodeBox2D.cpp
* Improve the 2d physics stuff
* dirty fix for build android:
* Fix fatal error: 'GLFW/glfw3.h' file not found
* Add DebugDraw to Box2DTest, Improve Box2DTestBed, Add some new physicnodes
* fix settings, unknow labelDebugDraw;
2021-08-05 17:23:55 +08:00
aismann
a46bc403ae
Merge pull request #423 from aismann/dev
...
Enable box2d testbed on linux/macos
2021-07-07 02:29:38 +08:00
aismann
76b5bf8038
Merge pull request #419 from aismann/Box2D-TestBed
...
* Starting "Box2D - TextBed" adaption (most demos working)
* fix CMakeList.txt
* Update CMakeLists.txt
* Update CMakeLists.txt
* Update Box2dTest.cpp
* Update tests.h
* Update CCPhysicsDebugNodeBox2D.cpp
* Update controller.cpp
2021-07-06 21:02:47 +08:00
halx99
46a3ec8d6b
Merge: 2f570e4b64
3c25f74ef1
...
Merge pull request #420 from halx99/chipmunk-testbed
Chipmunk testbed adapt non-win platform compile issue
2021-07-06 20:46:56 +08:00
halx99
83bc1b77d6
Update CHANGELOG
2021-07-06 19:01:35 +08:00
halx99
d65529ea93
Fix case for linux
2021-07-06 18:46:07 +08:00
halx99
46d9f5cbf5
ChipmunkTestBed non-win platform adapte
2021-07-06 18:40:24 +08:00
halx99
97425dc655
Fix #413
2021-07-04 16:40:34 +08:00
halx99
3436c968e2
Remove yasio test since we implement HttpClient based on it [ci build]
2021-07-02 19:02:38 +08:00
aismann
289f2b0552
Update CMakeLists.txt
2021-06-24 00:21:36 +08:00
halx99
510cf21197
Tidy thirdparty [ci build]
2021-06-24 00:04:29 +08:00
aismann
6a0120644c
Update CMakeLists.txt
2021-06-23 17:32:34 +02:00
aismann
bd10049c23
Improved Chipmunk2D - TestBed ( #381 )
...
* Improved Chipmunk2D - TestBed
* for windows only (at this moment)
* Update CmakeLists.txt
* fix CmakeLists.txt
* some more fixes
* more fixes
* more fixes
* Create ChipmunkDemo.h
* Fix CMakeList.txt; improve Chipmunk TestBed
2021-06-17 14:22:52 +08:00
aismann
a8f7a7d7c1
Improve the "Physics part" ( #379 )
...
* 1. Add "initial" Chipmunk - TestBed
More demos comes later.
* 2. Removed unused source
* Update CMakeLists.txt
* Some fixes #1
* workaround #1
* workaround #1
2021-06-16 19:34:09 +08:00
halx99
827d384eef
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
rh101
95cf5b5c2b
Merge: 2aa2d69151
b7506fed0c
...
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101
54ffa13dff
Move PosixFileStream class to its own files
...
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
RH
1e15ed4839
Merge: 2cef9f2e76
844119d162
...
Merge pull request #3 from c4games/master
Sync with master
2021-04-22 21:48:49 +10:00
rh101
7540c06fd3
Use FileStream to write JPG images to disk
2021-04-22 21:36:26 +10:00
halx99
8ed6d34234
Explicit set cmake minimum version at app/build.gradle [ci build]
2021-04-22 11:40:53 +08:00
rh101
2bf12b2226
Add support for virtual file system via custom FileStream and FileUtils implementations.
2021-04-22 03:15:49 +10:00
halx99
473e51cee7
Set cmake min version to 3.10 [ci build]
2021-04-21 14:05:44 +08:00
Eismann
d126affebf
Update CMakeLists.txt
2020-11-20 06:38:09 +01:00
Eismann
232fea1442
add Box2D to CMakeList
2020-11-20 06:19:30 +01:00
halx99
db2e468e91
CMake, use file TO_CMAKE_PATH instead string replace [ci build]
2020-11-12 22:47:35 +08:00
halx99
534b2acc39
Lock name
2020-10-24 21:57:36 +08:00
halx99
0830fe9c14
Only needs updateUniformID when set a unstable uniform variable
2020-10-23 15:07:18 +08:00
halx99
cff35a61b8
Set CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET at toolchain file ios.mini.cmake
2020-10-22 17:50:25 +08:00
halx99
253b82c617
Make setup.py works with python3
2020-10-22 16:53:28 +08:00
halx99
b8a0e0a478
Finsih rename
2020-10-22 10:58:10 +08:00
halx99
9e6b360437
fix lua build link on android
2020-10-19 23:21:40 +08:00
halx99
4c128913c1
Sync SharedLoader template.
2020-10-19 19:19:17 +08:00
halx99
9019cb0d0f
Use system env var 'COCOS2DX_ROOT' to avoid copy whole engine sources when create new project with template
2020-10-18 01:05:36 +08:00
halx99
d02c9da98b
Use system env var 'COCOS2DX_ROOT' to avoid copy whole engine sources when create new project with template
2020-10-18 01:01:36 +08:00
halx99
7f6b6dfa90
Update CMake scripts and readme
2020-09-08 13:44:59 +08:00
halx99
4674b1e89d
Remove TMXLayer,TMXMap, remain FastTMXLayer,FastTMXMap enough
2020-08-28 15:42:40 +08:00
halx99
9eb32b634f
Make core lib can be build as dll, fix link issue for external
2020-08-18 12:36:44 +08:00
halx99
d084d9f61a
Improve shared library for android, remove mojoal,sdl2, still use OpenAL.framework on apple platform, alsoft on other platforms.
2020-08-17 18:45:14 +08:00
halx99
ec80ebd344
Optimize CMake scripts
2020-08-04 14:05:00 +08:00
halx99
c71642b14f
Optimize link, remove -Wl,--whole-archive for linking 3rd libs.
2020-07-29 18:55:45 +08:00
halx99
f98bcff3a6
Copy angle binaries
2020-07-23 10:32:50 +08:00
halx99
489fb1a50a
finish angle dependencies auto copy for win32, make flatbuffers dep header only
2020-06-14 12:50:20 +08:00
halx99
a95a49713a
Fix .so auto link when folder not exists
2020-02-04 20:57:20 +08:00
halx99
6aacce867f
solve auto link .so for android platform
2020-02-03 21:18:23 +08:00