James Chen
fd0f172b41
Supports faster TypedArray operation for iOS lower than 10. Uses some code in Ejecta. ( #1163 )
2018-03-23 14:59:18 +08:00
James Chen
7667b00f87
More WebGL binding fixes. ( #1160 )
...
* Less opengl binding files.
* recreateBuffer in CanvasRendereringContext2D constructor.
* gl.bindFrameBuffer(gl.FRAME_BUFFER, null) needs to set to default frame buffer .
* Fixes JSB_glGetActiveUniform use GL_ACTIVE_ATTRIBUTE_MAX_LENGTH to get the max length, we need to use GL_ACTIVE_UNIFORM_MAX_LENGTH instead.
* glBufferSubData supports typedarray with 0 length. Adds more API for CanvasRenderingContext2D.
2018-03-22 16:03:34 +08:00
James Chen
1edc19dd3d
Custom ttf font works on iOS/macOS ( #1154 )
...
* Custom ttf font works.
* Remove unused log.
* better code logic, less if .
* comment debugging code.
2018-03-20 14:51:24 +08:00
James Chen
bf1b4f7124
[runtime] Audio works. ( #1151 )
2018-03-17 11:22:56 +08:00
James Chen
9b2aaf1cd0
getImageInfo is async method now. Clear autoreleasepool at the end of frame. ( #1150 )
2018-03-17 09:48:32 +08:00
James Chen
77ebc9ae12
ios ctx.fillRect fix.
2018-03-12 16:12:32 +08:00
James Chen
5fcd99a151
Fix compilation error after merging from upstream.
2018-03-12 16:05:11 +08:00
minggo
0d483a9b07
add back network ( #1141 )
...
* add back network
* add network back on windows
2018-03-09 16:20:48 +08:00
minggo
aebdc1c77f
fix compiling isssue of link template on iOS, Mac and Android ( #1139 )
2018-03-07 17:06:15 +08:00
minggo
c4c24c9d54
windows works with new renderer ( #1137 )
2018-03-07 14:31:46 +08:00
minggo
fd99785ef4
simplify xcode project ( #1136 )
2018-02-28 17:56:38 +08:00
minggo
aa3d6f0cde
remove unneed files ( #1135 )
2018-02-28 17:24:34 +08:00
minggo
93090fea87
can run js on iOS and Mac ( #1124 )
2018-02-24 10:27:31 +08:00
minggo
c01325313d
refactor ios gl context setting process ( #1123 )
2018-02-23 11:18:16 +08:00
minggo
fee7afc74a
mac main loop work ( #1112 )
...
* mac main loop work
* fix some issue
2018-02-11 14:25:14 +08:00
minggo
695c26695c
ios main loop work ( #1107 )
...
* ios main loop work
* fix compiling error
2018-02-09 16:44:46 +08:00
minggo
15b34c81dc
dispatch touch event on iOS ( #1101 )
2018-02-09 09:26:44 +08:00
minggo
802e48080e
New renderer ( #1097 )
...
* build work on mac
* build ok on iOS
* fix compiling error on android
* fix android link error
2018-02-08 10:40:29 +08:00
James Chen
69798998db
Adds cc.sys.getBatteryLevel & cc.sys.getNetworkType APIs ( #1071 )
...
* Adds cc.Device.getBatteryLevel interface.
* Adds CCReachability.h/.cpp
* Adds CCReachability.h/.cpp
* Reachability supports macOS either.
* Adds cc.Device.getNetworkStatus interface.
* Removed debug log.
* cc.Device.NetworkStatus -> cc.Device.NetworkType
* API to sys namespace
* Update CCDevice-win32.cpp
2018-01-29 17:37:15 +08:00
James Chen
0ef60bfeb7
Updates cocos analytics lib for iOS.
2017-10-19 18:37:55 +08:00
2youyouo2
2405d0c917
remove unused extensions
2017-10-10 10:30:55 +08:00
2youyouo2
bc8c5c1bee
add xxtea support
2017-09-27 16:03:07 +08:00
James Chen
0e951c20ae
iOS project configuration fix.
2017-09-26 17:48:24 +08:00
Jare Guo
1ea2fc1715
revert TextureCache, use ThreadPool instead
2017-09-26 10:18:01 +08:00
2youyouo2
6771164c5d
remove unused ccui
2017-09-18 18:16:51 +08:00
James Chen
0fbfc9a470
Updates xcode project configuration.
2017-09-08 10:06:23 +08:00
James Chen
4bc223f8fa
WebSocket-apple.mm should be compiled with ARC.
2017-08-28 13:48:23 +08:00
James Chen
43d0fb1e24
updates xcode project configuration.
2017-08-10 17:37:29 +08:00
James Chen
e5eac44c0f
cleanup
2017-08-02 14:41:10 +08:00
James Chen
ad648e7236
Removes old 3d code.
2017-07-31 16:01:38 +08:00
James Chen
ceaf5a1ed0
cleanup
2017-07-20 17:49:56 +08:00
James Chen
91359f1f75
first commit
2017-06-15 17:24:30 +08:00
James Chen
fc98b4bdc0
Sync with cocos2d-x v3 branch ddb4dc8 commit.
2017-04-24 10:49:02 +08:00
2youyouo2
2612e32ef1
optimize physics with cache object
2017-03-30 16:06:09 +08:00
2youyouo2
4a10f29666
fixed physics memory leak
2017-03-29 16:57:25 +08:00
2youyouo2
04910aa3c4
add CameraNode
2017-03-24 11:55:32 +08:00
2youyouo2
f178b8e759
add fractions to raycast callback
2017-03-17 14:43:58 +08:00
2youyouo2
6e57af7aca
fixed xocde and android project
2017-03-14 16:55:37 +08:00
2youyouo2
c278e1cce8
support physics binding
2017-03-08 14:16:13 +08:00
James Chen
87992ffe19
Updates ios project configuration.
2017-02-16 11:15:45 +08:00
pandamicro
a4d8fd375b
Improve xcode project settings
2017-01-16 14:23:22 +08:00
pandamicro
7a9e3a3b1d
Add FileUtils::listFiles and FileUtils::listFilesRecursively
2017-01-13 10:32:14 +08:00
pandamicro
277ec259a7
Fix compilation issue caused by Manifest::Asset conversion
2017-01-10 14:44:25 +08:00
zhangbin
34b5595d3a
Update the Spine runtime to version 3.5.35.
2017-01-05 14:36:52 +08:00
James Chen
21d032b62d
iOS project configuration fix.
...
AudioDecoder.mm was added to macOS, but it’s missing on iOS, therefore, a linking error will be triggered.
2016-12-12 10:04:38 +08:00
James Chen
51a5cda2b7
Sync Pull Request https://github.com/cocos2d/cocos2d-x/pull/16946
2016-12-02 10:06:22 +08:00
pandamicro
f88c6fa3cc
Support webp in native
2016-10-19 18:36:35 +08:00
zhangbin
ed591faa19
Merge branch 'develop' into dragonbones
...
# Conflicts:
# build/cocos2d_libs.xcodeproj/project.pbxproj
# external/config.json
2016-09-08 09:52:09 +08:00
zilongshanren
e8f195cf82
refactoring scale9sprite and fix gray scale shader
2016-09-07 14:52:50 +08:00
pandamicro
86ae89f85f
Fix win32 compilation issues
2016-09-01 10:38:54 +08:00