Commit Graph

35 Commits

Author SHA1 Message Date
一线灵 d6bfe25f76
Fix typo [skip ci] 2022-06-13 15:44:25 +08:00
halx99 6c63c55abb Improve code style 2022-06-13 14:28:09 +08:00
halx99 1339c325ba Improve code style 2022-06-13 09:45:33 +08:00
halx99 de069f201c Improve code style 2022-06-13 09:26:10 +08:00
一线灵 bd2cff3dfd
Improve text rendering (#652)
* Improve text-rendering
a. Separate outline texture data upload for GL and Metal backend
b. Fix memory leak of FontAtlas::_currentPageDataRGBA
b. Add FontFreeType::setMissingGlyphCharacter for rendering a missing char
d. Improve FontFreetype::renderCharAt with memcpy
2022-06-13 01:44:31 +08:00
halx99 3ac444efa6 Fix #651 2022-06-11 17:58:02 +08:00
halx99 345c9e11f9 Fix ci 2022-06-11 16:21:47 +08:00
halx99 f6f6ea126d Fix ci 2022-06-11 10:14:32 +08:00
halx99 beebd22266 Fix #648, remove GB2312 charset handle, only support UNICODE font 2022-06-11 09:50:07 +08:00
halx99 6f4fe63208 Remove feature filename lookup dictionary 2022-06-09 16:48:59 +08:00
halx99 f9ad35af3b Delete unused code 2022-05-18 10:29:29 +08:00
halx99 e4089b4ec8 Don't include freetype internal header 2022-05-14 15:16:39 +08:00
halx99 30a164c31a 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
Turky Mohammed f8b7f20e96
Update core/2d/CCMotionStreak.cpp [skip ci]
Co-authored-by: 一线灵 <halx99@live.com>
2022-05-04 10:00:38 +03:00
Turky Mohammed 6be3ac3d50
Update CCMotionStreak.cpp 2022-05-04 09:26:54 +03:00
DelinWorks edf0f5632e Update CCMotionStreak.cpp 2022-05-03 20:54:44 +03:00
DelinWorks 646f04f1c9 Update CCMotionStreak.cpp 2022-05-03 20:14:12 +03:00
DelinWorks d042af2d99 Update CCMotionStreak.cpp 2022-05-03 20:10:26 +03:00
DelinWorks 1cf7440ca0 Update CCMotionStreak.cpp 2022-05-03 20:01:12 +03:00
Turky Mohammed ad789839ef
[Fix] Camera masking bug deep child nesting (#623)
Co-authored-by: 一线灵 <halx99@live.com>
2022-04-27 16:23:57 +08:00
halx99 ef56d0d335 Update copyright notices 2022-04-25 19:15:46 +08:00
Turky Mohammed 04f7cd1295
[Fix] Node Camera Masking Design Flaw (#621)
* Update CCNode.cpp

* Add a separate method for assigning mask to children

* Update CCNode.cpp

* Tidy Up Stuff
2022-04-25 09:37:41 +08:00
halx99 36fa5ad84e Remove CC_CONSTRUCTOR_ACCESS, refer to #603 2022-03-18 21:46:07 +08:00
halx99 64e678c84a Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
halx99 722b6af026 [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 2a6e749ad4 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 a6a38679c1 Update uthash to 2.3.0 and move to thirdparty 2022-01-04 11:18:44 +08:00
Delin 4d56ed2948
Update CCLabelTextFormatter.cpp 2022-01-03 08:57:40 +03:00
Delin dde46fd5ee
Update CCLabel.cpp 2022-01-03 08:56:25 +03:00
Delin 2da2cad6ad
Update CCLabel.h 2022-01-03 08:55:52 +03:00
Delin a99a842bac
Update CCLabel.cpp 2022-01-03 08:39:18 +03:00
Delin e4bc205e0f
Update CCLabel.cpp 2022-01-03 08:33:00 +03:00
Delin c443b5e466
Update CCLabel.cpp 2022-01-03 08:20:34 +03:00
halx99 7110de393a Fix TTFconfig construct with nullable customGlyphCollection 2022-01-01 21:21:34 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00