Commit Graph

50 Commits

Author SHA1 Message Date
aismann 9d4f114b11 Update SimpleSnakeScene.cpp 2022-07-05 11:55:22 +02: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 0b4363bfc0 Refator sampler name in shader 2022-07-04 21:26:48 +08:00
DelinWorks a8d704babe Improve function naming and add descriptions. 2022-07-04 05:55:29 +03:00
DelinWorks 6a7a77c604 Update CCDirector.h 2022-07-04 04:58:13 +03:00
halx99 38743291e2 Improve class IndexArray 2022-07-04 09:13:06 +08:00
DelinWorks c97042be2e Fix android arm64 incorrect random number generation. 2022-07-04 03:28:55 +03:00
DelinWorks 35d3df7075 Fix mobile compilation.
Treat `CC_ENABLE_CACHE_TEXTURE_DATA` portion of code accordingly.
2022-07-03 22:50:19 +03:00
DelinWorks 0ff762b835 Move global enums to their own file. 2022-07-03 20:43:55 +03:00
halx99 5f4e2c0463 [WIP] Wrapper IndexArray with byte_buffer 2022-07-03 17:24:10 +08:00
aismann 6209d8db4c use engine global namespace 2022-07-03 07:26:37 +02:00
halx99 addfea9ec1 Move enum FPSPosition to engine global namespace 2022-07-03 11:24:00 +08:00
halx99 508836ed44 Enable switch fps position on mobile device 2022-07-03 11:17:22 +08:00
DelinWorks 2043e4734f Remove buffers stat and add quad mesh shaders.
Remove drawn buffers label and Add a simple position_texture_color shader for simple primitives like quads to implement static sprite batching in the future.
2022-07-02 18:22:31 +03:00
aismann 384f22e29e Update SimpleSnakeScene.cpp 2022-07-02 11:55:10 +02:00
aismann 08a40bd804 Update AppDelegate.cpp 2022-07-02 11:42:13 +02:00
aismann cd7743f627 add 'no change' check. 2022-07-02 06:02:22 +02:00
涓€绾跨伒 224c499e19 Merge: e7f5f28931 a09a6ea800
Merge pull request #671 from aismann/dev

SimpleSnake:  Add background, small finish effect, polish the look
2022-06-25 10:16:54 +08:00
涓€绾跨伒 9593275451 Merge: 5ffae45e2d aa372510a4
Merge pull request #653 from DelinWorks/camera-2d-zoom-feature

[PROPOSAL] Add camera zoom, near, far, fov, aspect features & fix camera anchoring.
2022-06-25 10:15:31 +08:00
aismann 4a2c196353 Update README.md 2022-06-25 02:11:03 +02:00
aismann cefc8fd39f Small improvemnts"
This reverts commit 945b65716f.
2022-06-25 02:06:20 +02:00
aismann b79fab0a97 Small improvemnts 2022-06-25 02:00:10 +02:00
aismann bb0548cf24 Merge: 981cbea7b8 5ffae45e2d
Merge branch 'adxeproject:dev' into dev
2022-06-25 01:54:14 +02:00
DelinWorks a13c059ce4 Update SimpleSnakeScene.cpp [skip ci] 2022-06-25 02:38:55 +03:00
aismann bd8433ce12 Add background and a small effect (finished sequence)) 2022-06-25 01:17:37 +02:00
DelinWorks 37f46a9170 Update SimpleSnakeScene.cpp 2022-06-25 01:11:01 +03:00
aismann b281deee25 update resources 2022-06-24 15:15:18 +02:00
aismann 765f55e153 SimpleSnake improvments 2022-06-24 15:12:31 +02: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
涓€绾跨伒 941f69380e Merge: bb145b2042 589e0af3fd
Merge pull request #660 from aismann/dev

Small updates (source and readme), add license.
2022-06-15 23:37:18 +08: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 aa022faf86 Update README.md 2022-06-15 07:10:54 +02: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 b630c4ad34 Create README.md 2022-06-14 21:42:00 +02:00
aismann 4b86a32eed @aismann Codacy Static Code Analysis fixes 2022-06-14 20:23:55 +02:00
aismann e2e168926f Codacy Static Code Analysis fixes 2022-06-14 20:10:15 +02:00
aismann f829e50afb SimpleSnake example 2022-06-14 19:48:06 +02:00