halx99
5f04e88dc7
Improve android gradle script axistools.gradle
2022-07-12 13:07:27 +08:00
涓€绾跨伒
bf77f46dce
Migrate engine namespace to `axis`(abbv: `ax`) ( #743 )
2022-07-11 17:50:21 +08:00
涓€绾跨伒
9b4a7b1446
Merge: 04ca16125b
9ee4181976
...
Merge pull request #739 from axis-project/migrate-engine-test-extension-config
Migrate tests, extensions and configs
2022-07-10 09:47:41 +08:00
涓€绾跨伒
d4c4d395a5
Merge: 18076d09f0
2f8d5dd2f6
...
Merge pull request #738 from solan-solan/index_array_to_stl
IndexArray to stl
2022-07-10 09:47:27 +08:00
halx99
c2acb3a744
Migrate tests, extensions and configs ReSquash for unexpected changes +2
2022-07-09 22:23:34 +08:00
halx99
906c60e40e
Fix setup cmake files and some relative sources
2022-07-08 14:20:41 +08:00
DelinWorks
955c42c7a2
[skip ci]
2022-07-08 07:36:32 +03:00
DelinWorks
519eef7cc4
Fix project creation tools. [skip ci]
2022-07-08 07:27:10 +03:00
DelinWorks
70cd6095cc
Fix CMAKE
2022-07-08 02:10:35 +03: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
96158090db
Add stride functions and remove unneeded UNSPEC value.
2022-07-04 19:20:04 +03:00
DelinWorks
7e199cce21
Update lua_cocos2dx_auto.cpp
2022-07-04 18:34:50 +03:00
halx99
a31ba3caae
Improve meshdata load
...
- Avoid GC alloc when store indices
- Fix indices iterator by IndexArray::for_each
2022-07-04 23:23:33 +08:00
DelinWorks
0d9f8d8d5d
Fix compilation.
2022-07-04 17:55:41 +03:00
halx99
0e300d7d3e
Improve project template [skip ci]
2022-06-24 03:09:20 +08:00
Turky Mohammed
5a0f0f9073
Merge: 101f09d912
820ad21a46
...
Merge branch 'adxeproject:dev' into camera-2d-zoom-feature
2022-06-17 17:16:55 +03:00
DelinWorks
fed10a0197
Add comment. [skip ci]
2022-06-17 17:16:39 +03:00
Turky Mohammed
7c1c0a0f56
Merge: 610711a164
990531ecdc
...
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-16 19:41:56 +03:00
DelinWorks
fd4bfb0fd5
Apply orthographic zoom values non-destructively.
2022-06-16 16:41:40 +03:00
halx99
4301448ba4
Set default encoding to UTF-8 [skip ci]
2022-06-16 21:18:31 +08:00
Turky Mohammed
fc2ff5003f
Update CCParticleSystem.h
2022-06-16 14:13:59 +03:00
halx99
51b6e5391f
Fix ci, astc only support sse2 for x86 target
2022-06-16 12:22:39 +08:00
DelinWorks
73b29e235e
Add cpp_tests and improve system.
2022-06-15 23:04:08 +03:00
halx99
5c9ab14d3e
Fix astc cmake simd check for windows x64
2022-06-15 21:16:51 +08:00
DelinWorks
82722eefc2
Fix rotation override and node base class calls.
...
Make sure Node class calls it's base functions and NOT the ones overridden when changing position, and make sure the rotation set for the camera isn't altered when calling applyCustomProperties().
2022-06-15 16:10:47 +03:00
aismann
a0dfe6e2ab
SimpleSnake small updates
...
- CodeCleanup
- MIT License file
- readme update
2022-06-15 07:02:08 +02:00
DelinWorks
14666d9c1f
Add position rotation setters & getters override for custom behaviors.
2022-06-15 03:48:26 +03:00
aismann
f829e50afb
SimpleSnake example
2022-06-14 19:48:06 +02: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
涓€绾跨伒
03c8056078
Merge: 5138d701d6
5c35eda3b9
...
Merge pull request #650 from adxeproject/ndk-r23c
Upgrade android toolsets to ndk-r23c LTS
2022-06-11 16:57:37 +08:00
halx99
89c075f679
Fix ci
2022-06-11 16:21:47 +08:00
halx99
9bf295d8e4
Upgrade android toolsets
...
- ndk to r23c
- gradle plugin to 7.2.0
- gradle wrapper to 7.4.2
- config ndk ver at adxetools.gradle
2022-06-11 16:16:47 +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
349a53fce6
Improve cmake scripts
2022-05-19 10:54:42 +08:00
halx99
98294c911a
Fix cmake link
2022-05-18 22:27:43 +08:00
halx99
0811b361a6
Fix app link with prebuilt msedge webview2
2022-05-18 12:49:12 +08:00
涓€绾跨伒
fc374633b0
Delete unused code
2022-05-17 11:32:43 +08:00
halx99
429918baa9
Fix lua template duplicate res error on mac
...
Fix typo
Fix cmdline fail on new macos
2022-05-15 16:36:06 +08:00
halx99
680f14a5e2
Improve VS Ninja workflow
2022-04-28 11:43:59 +08:00
Shatyuka
d9d6509c2b
Compatible with Ninja
2022-04-26 15:16:02 +08:00
halx99
fbd892677a
Sync zlib file name for templates
2022-04-23 09:01:34 +08:00
halx99
d9a113741e
Fix libc++_shared.so not found in old devices(API 22)
2022-04-05 11:45:59 +08:00
halx99
da18a94e7e
Improve optional libs linking on non-win32 platforms
2022-04-02 14:03:46 +08:00
halx99
1b0d6d0873
Improve use prebuilt engine libs for windows
...
a. Fix msedge webview2 include for win32
b. Fix msedeg webview2 linking for apps which use prebuilt libs
c. Improve optional libs linking for apps which use prebuilt libs
d. Auto build optional libs which not dependent by engine, such as yaml-cpp
2022-04-02 13:50:53 +08:00
halx99
5e893f3b4d
Update project urls
2022-02-24 18:45:25 +08:00
halx99
cb6035d6a7
Fix use prebuilt engine libs for win64
2022-02-22 19:09:34 +08:00
halx99
8e4a97c469
Finish #564
...
Add new cmake variable:
- AX_PREBUILT_DIR: specific engine build directory relative to ADXE_ROOT, such as "-DAX_PREBUILT_DIR=build_x86"
2022-02-20 17:07:13 +08:00
halx99
f7d3d37ae5
[cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA
2022-02-17 21:31:39 +08:00
halx99
6a00ee1017
Improve run.bat.in
2022-02-09 11:50:06 +08:00
deal
77be82dfd2
Update run.bat.in
2022-02-08 23:18:15 +08:00
deal
9b84a46b12
Fix run.bat path
2022-02-08 23:17:06 +08:00
halx99
b500212314
Improve run.bat.in, use relative build dir
2022-02-07 20:36:44 +08:00
halx99
392ca76e05
[Android] Upgrade MIN_SDK_VERSION from 16 to 17
2022-01-30 20:38:01 +08:00
halx99
1ca9505fdc
[Android] By default, build single arch: arm64-v8a
2022-01-30 20:36:41 +08:00
halx99
6131b237b2
[Android][freetype] Change streamingParsingEnabled to true
...
Add noCompress config to build.gradle for all templates & tests project
Exists project, please add follow config
android {
// Other configs
// ...
// noCompress config
aaptOptions {
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
}
}
2022-01-29 14:54:32 +08:00
halx99
231ba0cf5c
Improve gradle script to find cmake
2022-01-28 18:25:50 +08:00
halx99
54be4a1732
Fix gradle wrapper url
2022-01-28 13:41:18 +08:00
halx99
0f212a69c8
Update recommend android studio and gradle
...
- Android Studio 2021.1.1+ (More intelligent)
- Gralde wrapper to 7.2: https://services.gradle.org/distributions/gradle-7.2-bin.zip.zip
- Gradle Plugin to 7.1: com.android.tools.build:gradle:7.1.0
These upgrades will fix the issue: #573
2022-01-28 12:47:05 +08:00
halx99
61646f5550
Update gradle wrapper to 6.9.2
2022-01-27 18:44:59 +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
74271f207b
Tidy audio folder
2022-01-03 11:34:58 +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
deal
a813aac10e
Merge: 6639f55c0f
bec2e07a00
...
Merge pull request #561 from adxeproject/dev
Merge Crash Fix #559 from dev
2021-12-28 21:27:32 +08:00
halx99
13927aa1bc
Fix #559 , match number type for get CURLINFO_RESPONSE_CODE
...
a. On linux x64, will crash with stack protector
Reported by @rh101
Signed-off-by: halx99 <halx99@live.com>
2021-12-28 21:00:45 +08:00
halx99
b0aee13b7f
Committing clang-format changes
2021-12-28 08:06:23 +00:00
halx99
b63f815488
Modify some extensions for string_view
2021-12-27 13:52:08 +08:00
halx99
0fd737c85f
Update run.bat.in [skip ci]
2021-12-21 10:46:28 +08:00
halx99
555849be36
Improve templates, auto generate quick stater run.bat on windows
2021-12-21 10:41:33 +08:00
halx99
6c30619021
Improve starter lua template HellLua
...
a. Use lua search path for scripts instead FileUtils
b. Put new lua search path to front of LuaStack
2021-12-19 14:59:00 +08:00
halx99
066b0834f2
Remove unnecessary AudioEngine::end() at AppDelegate::~AppDelegate of HellCpp & HelloLua
2021-12-16 19:00:19 +08:00
halx99
6e1f8f5953
Optimize cmake scripts
2021-10-12 15:39:37 +08:00
halx99
8d2dd47cc6
Fix #522
2021-10-12 13:16:27 +08:00
halx99
c8362b93fd
HelloCpp use safe origin to position corner stubs
2021-10-09 14:48:18 +08:00
halx99
73add5df3f
Update lua debug project file template
2021-10-08 11:07:06 +08:00
halx99
2f11c39f0f
Rename templates/cpp-template-default/HelloLua.xsxproj to templates/lua-template-default/HelloLua.xsxproj
2021-10-08 00:00:06 +08:00
halx99
7fb6b9f8c9
Add lua debug project file [skip ci]
2021-10-07 23:18:09 +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
halx99
3815b98a34
Merge empty project
...
a. Remove cpp-empty-test, use HelloCpp as starter
b. Remove lua-empty-test, use HelloLua as starter
2021-09-07 17:24:07 +08:00
halx99
3905654659
Fix xcode build warnings
2021-08-12 15:54:16 +08: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
5a6045ab19
Make gradle utils file as shared [ci build]
2021-06-02 06:27:19 +08:00
halx99
dc11adb950
[Gradle] Find ndk with env ANDROID_NDK [ci build]
2021-06-02 05:37:18 +08:00
halx99
99cdafb661
Fix adxe new lua project issue
2021-05-25 21:56:21 +08:00
halx99
84a8ec8e2e
Fix lua build [ci build]
2021-05-24 19:18:15 +08:00
halx99
827d384eef
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
halx99
93173d860b
Replace jcenter with mavenCentral [ci build]
2021-05-15 12:15:38 +08:00
halx99
e367689ca9
Gradle Plugin no longer support cmake 3.10.0+
2021-05-15 11:58:56 +08:00
halx99
4a12425a1b
Fix android ci [ci build]
2021-05-15 00:12:41 +08:00
halx99
b68f7b8948
Update gradle stubs [ci build]
...
a. wrapper to 6.9
b. plugin to 4.2.0
2021-05-14 12:11:19 +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
halx99
e7f294adca
Ensure build native first before compile java code
...
3ff5b16
2021-04-20 20:27:38 +08:00
halx99
c2596efd04
Ensure build native first before compile java code
2021-04-20 20:25:32 +08:00
halx99
1c2daaf4ae
Set gradle-wrapper to 6.8.3 [ci build]
2021-04-08 22:42:15 +08:00
halx99
6e304959a9
Remove unnecessary targets for cpp template
2020-11-18 18:35:00 +08:00
halx99
f75e87c88a
Use env ENGINEX_ROOT for templates
2020-11-18 13:01:17 +08:00
halx99
a976e217c1
Rollback gradle plugin version 4.0.1, since there is no benefit upgrade to 4.1.0
2020-11-12 22:50:38 +08: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
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
2e7546eca4
Update gradle plugin to 4.1.0
2020-10-21 10:55:32 +08:00
halx99
2c884eb6df
Also replace so name for proj.android when new project
2020-10-20 16:26:53 +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
3741bbd7e2
Finish cpp and lua template to use env var 'COCOS2DX_ROOT' to avoid copy whole engine source when new project.
2020-10-19 18:33:10 +08:00
halx99
fdf2d5f668
Remove gradle compile lua to fix compile error, needs tools to compile and encrypt lua later
2020-10-18 01:12:11 +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
cca0739793
Refactor pixel format manipulate ( #217 )
...
* PixelFormat use table
* Correct PixelFormat name to match 'GL_LUMINANCE'
* Up
* fix cube update texture enum
* linux build
* Refine ci
* fix linux build
* Remove unused function, match mtl framebuffer pixel format
* readPixels always RGBA format
* fix ci for linux
* fix linux build
* Remove unused functions
* fix travis
* fix android ci
* Update config.json
* linux glad
* Update CCGLViewImpl-desktop.cpp
* fix linux build
* Fix linux build
* Link issue [skip appveyor][skip travis]
* Update CMakeLists.txt
* Refine GL enums use
* Update test case name [skip appveyor][skip travis]
* fix linux link issue
* for mtl
* fix ci
* Tidy pixelformat enums
* fix ci
* fix rgba8 to abgr4 error
* fix ci
* fix ci for GLES
* Fix linux build, require glibc-2.27+
* Use properly dist for travis [skip appveyor]
* fix linux build [skip appveyor]
* Update install-deps-linux.sh
* Remove unused members for pixel block info, update external to v73
* Sync from compile linux warnings
* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format
* metal doesn't support rgb8 (#3 )
* Update CCTexture2D.cpp
* Refine code
* Pixel Format Descriptor Table
* fix ci
* BGR5A1
* Simplfy texture format convert function name
* Update
* rgba4 match mtl render format
* Add note about RGBA4
* Remove unused function
* fix osx
* Already converted at texture2d
* Clearly comment
* fixup
2020-09-25 11:07:56 +08:00
halx99
6e7e117a0d
RenderTarget abstract, in-progress ( #210 )
...
RenderTarget abstract
2020-09-21 22:10:50 +08:00
halx99
0e0a28e033
Merge: 1740c444f8
5c850e00ac
...
Merge pull request #171 from halx99/feature-170
Add utils::createInstance to instead macro CREATE_FUNC
2020-08-24 23:55:37 -07:00
halx99
feb4e1783a
fix warning
2020-08-25 14:47:51 +08:00
halx99
d39f803459
Add utils::createInstance to instead macro CREATE_FUNC
2020-08-25 13:49:45 +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
abc9d5f411
fix #146
2020-08-18 10:51:32 +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
b456364167
Sets Gradle Plugin version to 3.4.0 to fix cmake can't recognize ninja
2020-08-10 15:04:12 +08:00
minggo
4f6a6b0960
set xcode installation path to ( #20402 )
2020-01-18 20:40:21 +08:00
Arnold
a0e24c4c42
[bugfix] set CFBundleExectuable in template info.plist ( #20425 )
...
fix #20414
2020-01-18 20:40:00 +08:00
Arnold
e564e12f3a
[bugfix] set Info.plist path ( #20405 )
...
fix bug introduced in #20205
2019-12-12 23:55:18 +08:00
CocosRobot
f584ce4bc5
[ci skip][AUTO]: updating luabinding & cocos_file.json automatically ( #20393 )
2019-12-12 23:48:51 +08:00
Arnold
d87bdcf065
fix template ( #20377 )
2019-11-30 16:54:54 +08:00
halx99
8df3d5e274
Init Commit
2019-11-23 20:27:39 +08:00