minggo
fdebbc77b7
dispatch show/hide event to js ( #1424 )
2018-07-26 09:32:37 +08:00
leda
b3b37cf457
Add AssetsManager to iOS & Mac & Android & win32 ( #1405 )
...
* Add incomplete AssetsManager to iOS & Mac
* remove Android.mk refer on Xcode project config
* re-add assetmanager for android
* re-add assetmanager for win32 project config
* remove unused macro define for win32
* remove unused marco define COCOS2D_JAVASCRIPT
* added header include for assetsManager
* Add CCAsyncTaskPool
* Fix AssetsManager event trigger issue
* update win32 project config, added CCAsyncTaskPool
* add CCAsyncTaskPool to extensions Android.mk
2018-07-23 17:50:04 +08:00
leda
84326c92b9
addRegisterCallback should done before script engine start ( #1400 )
2018-07-19 10:48:26 +08:00
leda
64643b4922
fix build crash on android when enable AnySDK ( #1397 )
...
* disable anysdk comments in link template
* extra init callback when JNI_OnLoad
* add some comment to explain both init function
* sync changes from link template to default for android
2018-07-19 09:55:51 +08:00
leda
b78d64a95a
add return 0 in main funtion ( #1391 )
2018-07-13 17:59:24 +08:00
leda
a142b03938
fix default template android lib path error ( #1362 )
2018-07-04 16:00:53 +08:00
leda
968678775c
remove proj.android files for creator2.0 ( #1352 )
...
* remove proj.android files
* sync cocos-console changes
2018-07-03 10:46:40 +08:00
minggo
25bf7c5162
Remove jar ( #1351 )
...
* readd jar files
* remove unneeded file
2018-06-29 15:51:21 +08:00
minggo
5b7cbcd9e7
Analytics issue ( #1347 )
...
* fix template compiling error on android
* fix compiling error on android
2018-06-29 15:26:40 +08:00
minggo
6c9b3f9b4a
fix template compiling error on android ( #1345 )
2018-06-29 14:56:30 +08:00
minggo
3d561fa281
Merge branch 'next' of github.com:cocos-creator/cocos2d-x-lite into merge-develop
2018-06-28 16:38:39 +08:00
leda
c9d7f54668
fix build error on win32/ios when using console ( #1340 )
2018-06-28 16:37:28 +08:00
minggo
9705967973
move analytics codes to game activity
2018-06-28 16:05:04 +08:00
leda
1d1c375516
correct copy jsb-adapter folder when build ( #1338 )
...
* update win32 build custom copy script
* update gradle build script
* update ios/macos project config
2018-06-28 13:50:24 +08:00
minggo
5b8919ccdf
merge develop branch
2018-06-27 17:27:04 +08:00
PP
7e6ca8a445
change jsb.js load path ( #1335 )
2018-06-27 15:52:50 +08:00
leda
723f52a472
win32 link/default template compile and link pass, but not works when run ( #1321 )
...
* modify file changes on project config
* correct libcocos2d compile
* add win32 props back
* Revert "fix windows link template (#1138 )"
This reverts commit 332d95e5b8 .
* correct compile error
* many link errors need to be solved
* added part lack methods
* add empty impl for canvas rendering context 2d
* update main.cpp
* correct audio/network compile and link error
* sync win32 application logic with mac
* remove wrong change on application-win32
* correct win32 default-template compile and link error
* win32 simulator part compile error fixed
* editbox define changes
2018-06-22 10:19:31 +08:00
leda
602636c855
link template works on mac, ios, android studio ( #1310 )
...
* re-add cocos-analytics for iOS
* include jsb_cocos2dx_network_manual into xcode project
* add jsb_module_register into cocos2d_libs xcode proj
* ios, mac link template adapt
* link template adapt for android studio
* add external a line space for gitignore
* update the returen value of cocos2dVersion()
* change "Cocos Runtime" into "Cocos Game" for template project
2018-06-11 17:21:42 +08:00
leda
89901807a5
default template works on android studio ( #1307 )
...
* adapt android studio build config files, compile success
* remove hard coded sign info
* remove -DHAVE_INSPECTOR, it have been defined in config.hpp
* remove anysdk related code
* revert wrong remove of anysdk and CocosAnalytics
2018-06-08 15:05:33 +08:00
leda
f82a4782ff
default template works on iOS ( #1304 )
...
* adapt ios controller, run success on ios device
* improve app controller by research runtime example
2018-06-07 17:07:17 +08:00
minggo
05bb9d46e4
[ci skip]default template works on mac ( #1300 )
2018-06-06 17:59:21 +08:00
minggo
160cbe8af3
template adpat ( #1284 )
2018-06-04 17:50:30 +08:00
James Chen
669f3cecb3
cocos_android_app_init returns Application*.
2018-04-19 11:17:18 +08:00
吴智明
173588b4ae
remove proj.android folder and remove config from cocos-project-template.json ( #1182 )
2018-04-04 18:11:50 +08:00
Jare Guo
58f7ea35c4
Merge v1.8 into develop
2018-04-04 17:09:49 +08:00
James Chen
4da873ecb8
Merge branch 'v1.8' into develop
...
# Conflicts:
# cocos/scripting/js-bindings/script/jsb_cocos2d.js
2018-02-23 10:26:48 +08:00
James Chen
3e5f8dd0f2
API Level is minSDKVersion now.
2018-02-05 11:18:13 +08:00
James Chen
52154d5f04
Best gradle configuration for Android.
2018-02-05 11:09: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
1b0965803c
fix CocosAnalytics issue for fireball/issues/6730 ( #1058 )
2018-01-16 18:30:13 +08:00
James Chen
901f4fa50c
Auto hide home indicator for iPhoneX. ( #1013 )
2017-11-28 13:36:14 +08:00
James Chen
cdad6b5868
Some Android Simulators don't support SSE instruction, so disable it for x86 arch. ( #1011 )
2017-11-23 15:13:34 +08:00
James Chen
7739e2c47d
Updates template AndroidManifest.xml.
2017-11-07 16:05:44 +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
50d6a4947d
Reverts jniLibs.srcDir
2017-11-02 11:50:09 +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
2youyou2
790ae1fcf4
fixed windows project
2017-10-18 10:26:26 +08:00
yinkaile
8ac7257a46
fixed merge errors
2017-10-12 18:15:21 +08:00
yinkaile
d38e168441
support native modules
2017-10-12 17:35:08 +08:00
James Chen
e1ac3249a2
jsb_enable_debugger() uses local IP "0, 0, 0, 0", then Android debugging doesn't need to change IP.
2017-10-11 12:30:08 +08:00
James Chen
d0992f2b2c
Updates win32 templates to link libuv.
2017-10-10 14:35:24 +08:00
James Chen
2e3e474c3e
[android] Adds APP_CFLAGS for template projects.
2017-10-10 14:28:51 +08:00
James Chen
3c74a04612
Fix compilation error while enabling libuv. Updates win32 template to remove include path of spidermonkey.
2017-10-09 17:29:13 +08:00
James Chen
ac6d74a915
Updates templates.
2017-10-09 16:14:26 +08:00
2youyouo2
859b9b1302
remove copy_resources from android-studio build-cfg.json
2017-09-29 16:10:56 +08:00
2youyouo2
bc8c5c1bee
add xxtea support
2017-09-27 16:03:07 +08:00
James Chen
5f19e5d7c2
iPhone X fullscreen support. Uses Images.xcassets for AppIcon and storyboard for launchscreen.
2017-09-26 18:12:30 +08:00
James Chen
a0a312814d
Merge branch 'v1.6' of git://github.com/cocos-creator/cocos2d-x-lite into fix/jsb2.0-sync-v1.6
2017-09-22 17:32:36 +08:00
pandamicro
c7e63f3769
Adjust png refs in xcode project
2017-09-20 17:49:33 +08:00