James Chen
c341d94d1a
Adds missing function implementation. ( #1161 )
2018-03-22 16:16:10 +08:00
James Chen
febfbe67df
Custom TTF font is supported for Android too. ( #1155 )
2018-03-20 15:49:25 +08:00
James Chen
d1abdf6065
Adds Cocos2dxRenderer.setOnGameEngineInitialziedListener. ( #1152 )
2018-03-17 11:49:27 +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
5122d14e24
[runtime] CocosRenderer.nativeInit supports to pass a default resource path. ( #1149 )
...
* FileUtils::setDefaultResourcePath fix.
* CocosRenderer.nativeInit supports to pass a default resource path.
2018-03-16 11:00:19 +08:00
James Chen
c3602eb1e3
[runtime] Android testcase works. ( #1148 )
...
* Adds jsb_run_script_module for CommonJS module, reverts original `require`.
* Uses window.gameTick for sending tick event.
* Removes unused scripts.
* Android testcase works.
2018-03-15 18:12:38 +08:00
James Chen
2c3a86f7b1
[new-renderer] Label on android works. ( #1146 )
...
* Android HelloWorld without label works.
* Label on android works.
2018-03-14 21:19:51 +08:00
James Chen
f0a79242d7
Android compile ok. ( #1145 )
...
* Android compile ok.
* Fixes for Android build .
2018-03-14 10:28:03 +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
c4c24c9d54
windows works with new renderer ( #1137 )
2018-03-07 14:31:46 +08:00
minggo
aa3d6f0cde
remove unneed files ( #1135 )
2018-02-28 17:24:34 +08:00
minggo
cd0e15cd7f
refactor android with new renderer ( #1133 )
2018-02-28 14:55:33 +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
Jare Guo
d9bd3d763c
update license ( #1089 )
...
* updating license
* update license
2018-02-01 15:20:01 +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
Knox
7c81e99b67
add Volume and Mute to CCVideoPlayer for fireball/issues/6811 ( #1056 )
...
* add Volume and Mute to CCVideoPlayer for fireball/issues/6811
* refine code
2018-01-16 10:49:00 +08:00
James Chen
0cfbfd08f7
Kill process if Cocos2dxActivity.onDestroy is invoked to resolve crash if app goes to background for a long time and Activity is recycled by system. ( #1027 )
2017-12-12 11:10:51 +08:00
James Chen
44813f4166
Sync PR: cocos2d-x #18299 : JNI ERROR (app bug): local reference table overflow (max=512) ( #1024 )
...
* Sync PR: cocos2d-x #18299 : JNI ERROR (app bug): local reference table overflow (max=512)
* Fixes potential memory leak if can't find class by jsb.reflection.callStaticMethod.
2017-12-08 18:25:04 +08:00
James Chen
2b463b2b84
Updates libcocosanalytics.jar
2017-11-07 16:05:22 +08:00
James Chen
6a8106c5f3
Updates Cocos Analytics relevant code.
...
Adds missing onPause, onResume, onDestroy invocation.
Disabled local debug by default.
Uses AnySDK channel ID in APK or IPA file if channel ID isn't found.
2017-11-03 15:19:03 +08:00
James Chen
2c793ac5ba
Android Studio 3.0 Support.
...
Depends on https://github.com/cocos-creator/cocos2d-console/pull/49
2017-10-30 11:28:34 +08:00
James Chen
873cb81a27
Adds missing file CAAgentWrapper.java ( #933 )
2017-10-26 10:05:08 +08:00
James Chen
4c8e57762b
Adds jsb bindings of Cocos analytics for iOS and adds missing libcocosanalytics.jar.
2017-10-19 17:39:24 +08:00
James Chen
ae8dc9ce35
Safer code in Cocos2dxHttpURLConnection.java
2017-10-12 15:05:52 +08:00
knoxHuang
3b3f80712e
fix editorBox setText error for engine/issues/1961
2017-09-26 15:00:50 +08:00
James Chen
f19fb0b1f8
[android] Fixes AppAcitivity (Sub class of Cocos2dxActivity) is re-created which causes crash if launching app first time and re-opening from icon.
2017-09-15 10:41:32 +08:00
James Chen
53e07c1da7
Merge branch 'v1.6' of git://github.com/cocos-creator/cocos2d-x-lite into jsb2.0
2017-09-07 18:32:24 +08:00
James Chen
703e857352
Synchronize network changes from cocos2d-x.
2017-08-30 13:56:41 +08:00
pandamicro
f17696d7dd
Merge pull request #783 from pandamicro/v1.6
...
Fix crash caused by physics proxy management
2017-08-30 00:01:46 +08:00
pandamicro
4722594327
Remove mistaken error log
2017-08-29 17:52:16 +08:00
knoxHuang
4147b27e3b
fix WebView bug for fireball/issues/6328
2017-08-29 17:19:28 +08:00
James Chen
2f8bc2529e
Event class should be new ed.
2017-08-10 16:56:03 +08:00
zilongshanren
811346cc58
fix invisiable issue
2017-05-10 17:34:27 +08:00
zilongshanren
1a6e0ed7c1
sync changes from cocos2d-x v3
2017-05-10 17:22:02 +08:00
zilongshanren
fd72938523
fix editbox textchagned event call times on Android
2017-05-05 11:16:48 +08:00
zilongshanren
25bd7d7923
fix editbox duplicated text when change text in textChange callback
2017-05-03 15:03:21 +08:00
Wang Nan
77c4b7b9be
Merge pull request #600 from dumganhar/fix/sync-v3
...
Sync with cocos2d-x v3 branch ddb4dc8 commit.
2017-04-25 10:28:55 +08:00
James Chen
fc98b4bdc0
Sync with cocos2d-x v3 branch ddb4dc8 commit.
2017-04-24 10:49:02 +08:00
2youyouo2
1f7545af2b
android-studio
2017-04-19 18:21:29 +08:00
pandamicro
3eee19339a
Fix download resuming issue on Android
2017-01-06 17:00:47 +08:00
zilongshanren
c76bfb50fe
fix label shrink effect infinit loop on Android 4.4.2
2016-12-28 14:49:17 +08:00
Nan Wang
9a934c8b46
Merge branch 'v1.3' of github.com:cocos-creator/cocos2d-x-lite into develop
2016-11-07 15:21:33 +08:00
James Chen
725aa66556
Updates lite audio engine sources from upstream (cocos2d-x).
2016-10-28 11:30:29 +08:00
zilongshanren
be642ec1af
add ready to play event
2016-10-17 11:59:38 +08:00
zilongshanren
65a677e51a
improve VideoPlayer
2016-10-14 18:16:40 +08:00
zilongshanren
58be2ff238
add metaloaded and click event
2016-10-14 11:37:31 +08:00
zhangbin
ddda30122d
Solve the error application name of Android Studio project.
2016-10-10 13:44:38 +08:00
zilongshanren
0b658267be
fix textChange event
2016-09-05 17:01:38 +08:00
zilongshanren
b2c56ff88a
fix editbox issue
2016-09-05 16:48:45 +08:00