Sergey
055a143f9d
Label performance problem
2014-08-19 15:02:09 +04:00
teivaz
db805ee2c8
* Fixed WP8 cocos library project
...
* Fixed profiling macros
2014-08-19 19:24:56 +03:00
minggo
22fa650bbf
Merge pull request #7807 from samuele3hu/v3_3_3d_module
...
Split 3d module from cocos2d and adjust related cpp and Lua project setting on the different platforms except wp8
2014-08-18 22:38:58 +08:00
samuele3hu
6259aebdab
Split cocos3d from cocos2d on the android、win32 and linux platform and adjust the related test project
2014-08-17 23:45:56 +08:00
songchengjiang
2b1efc59cb
GLProgram Added Light Shader
...
GLProgram Added Normal Matrix
2014-08-15 19:15:14 +08:00
Dmitry Bushtets
1257f642c7
- added export to dll for: ZipFile, CGAffineToGL, GLToCGAffine, XXH32 (in .def file)
2014-08-15 13:20:37 +03:00
songmiao
08a4ebba06
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into billboard
...
Conflicts:
cocos/2d/libcocos2d.vcxproj.filters
tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp
tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h
2014-08-15 17:43:04 +08:00
songmiao
361770e0f3
add BillBorad and BillBoardTest
2014-08-15 16:15:29 +08:00
minggo
f2f8035724
Merge pull request #7708 from super626/obb
...
AABB, OBB
2014-08-15 15:32:14 +08:00
songchengjiang
1e9c02dfa3
Added Light Class
2014-08-15 14:51:23 +08:00
minggo
aa052eb1c1
add CCModuleManager into vs project
2014-08-15 14:39:15 +08:00
songchengjiang
7ed40a8051
Added Light
2014-08-15 10:32:07 +08:00
teivaz
90e5870499
* Fixed WP compilation errors (added CCPrimitive, CCPrimitiveCommand, CCVertexIndexBuffer and CCVertexIndexData to the project)
2014-08-14 15:35:36 +03:00
teivaz
885fd16b9e
* Fixed WP8 compilation error (Added missing files CCCamera.h/cpp to the project)
2014-08-14 15:20:48 +03:00
teivaz
e9563696db
* Fixed WP8 compilation errors (added path to CCGLView.h)
...
- Modified filters for CCCamera.h/cpp
2014-08-14 15:14:25 +03:00
yangxiao
a508477eda
remove unused code
2014-08-14 19:07:40 +08:00
yangxiao
2786e63824
Merge branch 'newcode' into obb
2014-08-14 18:58:46 +08:00
yangxiao
ab783d2702
merge cocos2d
2014-08-14 17:12:39 +08:00
yangxiao
1942a27a5c
Merge branch 'newcode' into v3_merge
2014-08-14 13:55:57 +08:00
yangxiao
032ba062a9
rename isVisibleByVisitingCamera to isVisitableByVisitingCamera
2014-08-14 10:26:37 +08:00
minggo
f9e6dab507
Merge pull request #7770 from Dhilan007/v3-label-issue
...
close issue#5734:Label:The letters sometimes slightly cut.
2014-08-14 10:04:00 +08:00
yangxiao
4629d257e1
rename checkCameraMask to isVisibleByVisitingCamera
2014-08-14 09:58:11 +08:00
minggo
e468beea86
Merge pull request #7760 from dabingnn/v3_addCallBackForRenderTexture
...
add comment for the limit of RenderTextue::saveToFile
2014-08-14 09:43:54 +08:00
minggo
0b86e129b0
Merge pull request #7762 from andyque/addAlignmentToUILabel
...
add UITextField color & place hold color, fix double delete bug
2014-08-14 09:38:57 +08:00
minggo
7d2ca95988
Merge pull request #7749 from zawasp/virtual_pause_resume
...
virtual Node::pause() / Node::resume()
2014-08-14 09:31:10 +08:00
Dhilan007
ff147b6cf8
close issue#5734:Label:The letters sometimes slightly cut.
2014-08-13 18:40:35 +08:00
yangxiao
76329f9e53
add camera mask check to visit
2014-08-13 12:06:51 +08:00
andyque
e2d609c05d
add UITextField color & place hold color, fix double delete bug
2014-08-13 11:28:37 +08:00
Huabing.Xu
5b99ee71c1
add comment for the limit of RenderTextue::saveToFile
2014-08-13 10:14:26 +08:00
minggo
d223629477
Merge pull request #7754 from dabingnn/v3_addCallBackForRenderTexture
...
add callback for RenderTexture::saveToFile
2014-08-13 10:05:08 +08:00
Mircea Rila
0154f7a94a
virtual Node::pause() / Node::resume()
2014-08-12 21:05:09 +03:00
yangxiao
5ce9afbd69
create default camera at Scene constructor
2014-08-12 23:34:06 +08:00
yangxiao
46e59f1150
Merge branch 'newcode' into v3_merge
2014-08-12 17:34:58 +08:00
minggo
46cdd6f8dd
Merge pull request #7701 from dabingnn/v3_renderPrimitive
...
V3 render primitive
2014-08-12 16:11:40 +08:00
yangxiao
32645c1622
fix default camera, add listener for projection change
2014-08-12 14:42:08 +08:00
Huabing.Xu
1145859d38
remove commented codes
2014-08-12 11:44:06 +08:00
Huabing.Xu
3a7b673164
add callback for RenderTexture::saveToFile
2014-08-12 10:50:57 +08:00
boyu0
790ef9e818
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into feature5537_physics_step
...
Conflicts:
tests/cpp-tests/Classes/PhysicsTest/PhysicsTest.cpp
tests/cpp-tests/Classes/PhysicsTest/PhysicsTest.h
2014-08-12 10:20:34 +08:00
minggo
b34e97cfd6
Merge pull request #7729 from andyque/fixCascadedColor
...
fixed Widget's Children reload textures change RGBA issue
2014-08-11 15:33:36 +08:00
andyque
cdb2b9f59f
fixed Widget's Children reload textures change RGBA issue
2014-08-11 15:04:00 +08:00
minggo
43a3603a8b
Merge pull request #7720 from samuele3hu/v3_module
...
Modify the mechanism that files copy to lua-empty-test and lua-template and fix some bugs
2014-08-11 15:01:28 +08:00
Huabing.Xu
6aff707eab
windows work now for renderPrimitive
2014-08-11 14:18:07 +08:00
yangxiao
fd314261b7
Merge branch 'newcode' into obb
2014-08-11 13:21:44 +08:00
Huabing.Xu
2a28744dc5
Merge branch 'v3' into v3_renderPrimitive
2014-08-11 12:48:23 +08:00
yangxiao
6d15c26a61
move create default camera to Scene::initWithSize
2014-08-11 10:55:14 +08:00
yangxiao
2576622778
move create camera to Scene::initWithSize
2014-08-11 10:07:23 +08:00
minggo
437257e7e6
Merge pull request #7683 from andyque/fixWidgetDefaultCascadColorAndOpacity
...
Let Widget class don't support cascaded opacity and cascaded color on default.
2014-08-11 09:37:51 +08:00
jimmystar
63c9780c49
Update CCScene.cpp
...
in line 157, here need to create and add camera, if not ,in the function createWithPhysics, will show black screen.
2014-08-09 17:37:18 +08:00
samuele3hu
2dacbf6f26
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_module
2014-08-08 16:59:33 +08:00
yangxiao
ceb6549ec8
merge cocos2d
2014-08-08 16:25:52 +08:00
minggo
213f2f5a6c
Merge pull request #7702 from super626/v3_merge
...
Camera and Camera test
2014-08-08 15:56:38 +08:00
yangxiao1
61eaa082a2
fix windows
2014-08-08 15:33:30 +08:00
samuele3hu
6aa667c912
Add CC_DLL for FontFNT
2014-08-08 15:22:43 +08:00
lvlong
fe58c43b2d
add abb and obb to vc2012-project
2014-08-08 14:06:54 +08:00
yangxiao
4dce59582b
visiting camera
2014-08-08 11:49:59 +08:00
minggo
800ab18457
Merge pull request #7700 from GavinThornton/patch-1
...
Update CCSpriteBatchNode.cpp
2014-08-08 11:49:39 +08:00
minggo
b9e84370f6
Merge pull request #7699 from huangshiwu/v3_wp8fix
...
V3 wp8fix
2014-08-08 11:49:02 +08:00
minggo
2f638c67fd
Merge pull request #7598 from AppleJDay/master
...
Add Feature :EventMouse should support getDelta, getDeltaX, getDelt...
2014-08-08 10:43:32 +08:00
huangshiwu
8ee4340db3
fix winrt complie error
2014-08-07 18:38:11 +08:00
Huabing.Xu
ba2ae6826c
Merge branch 'v3_migrateFastTMX' into v3_renderPrimitive
2014-08-07 15:36:41 +08:00
GavinThornton
8cc5e66e73
Update CCSpriteBatchNode.cpp
...
Setting opacity of a sprite (via setOpacity or FadeOut/In action) has the sprite turning black, it should simply be opaque.
Cause is in bool SpriteBatchNode::initWithTexture, third line, "if(tex->hasPremultipliedAlpha())"
Fix is making it "!if(!tex->hasPremultipliedAlpha())"
2014-08-07 00:31:33 -07:00
yangxiao
3c9483899e
camera, cameratest, drawNode3D squash
2014-08-07 15:23:31 +08:00
huangshiwu
0016c7af70
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_wp8fix
2014-08-07 11:58:01 +08:00
huangshiwu
24d68305e1
WP8 compile fix
2014-08-07 11:56:28 +08:00
minggo
7b11c6a74e
Merge pull request #7237 from martell/v3
...
Cmake update and remove old scripts from build folder
2014-08-07 10:36:10 +08:00
minggo
4542b1882d
Merge pull request #7617 from rny/SpriteFrameCache
...
SpriteFrameCache load from plist file content data
2014-08-07 10:20:36 +08:00
martell
75911658aa
Make CMake More Robust
2014-08-06 15:43:19 +01:00
andyque
ab33e6f9a2
Let Widget class don't support cascaded opacity and cascaded color on default.
2014-08-06 16:21:00 +08:00
minggo
6ee0c4171f
Merge pull request #7622 from rny/LabelTTF
...
fix LabelTTF::getBoundingBox() position error
2014-08-06 14:33:28 +08:00
minggo
f786190349
Merge pull request #7652 from zhiqiangxu/labelbmfont_getboundingbox
...
bug fix for LabelBMFont::getBoundingBox()
2014-08-06 14:28:52 +08:00
andyque
e2e8325f58
add safe guard when remove component from node componentContainer
2014-08-06 13:51:16 +08:00
minggo
9f51adfafa
Merge pull request #7461 from joshuastray/fix_constructor_access
...
fix LabelAtlas constructor protected to CC_CONSTRUCTOR_ACCESS
2014-08-06 10:15:02 +08:00
Huabing.Xu
b1954ef516
clean up primitive code
2014-08-05 17:49:35 +08:00
Huabing.Xu
01b69c9e4f
Merge branch 'v3' into v3_migrateFastTMX
2014-08-05 17:30:11 +08:00
Huabing.Xu
56551e6787
fast_tmx migrate to primitive command
2014-08-05 15:08:01 +08:00
minggo
1bad9ddbc2
Merge pull request #7657 from huangshiwu/v3_wp8glviewhookpr
...
V3 wp8glviewhookpr
2014-08-05 13:51:15 +08:00
minggo
cd98034f16
Merge pull request #7631 from maltium/v3
...
added 3D rotation support to the RotateTo action
2014-08-05 13:30:43 +08:00
Huabing.Xu
f7ad98b15b
using primitve->draw in Fast_tmx on draw
2014-08-04 17:57:31 +08:00
huangshiwu
9c87522199
little more modefy
2014-08-04 17:34:50 +08:00
huangshiwu
9a3f231771
merge v3 into v3_wp8glviewhookpr
2014-08-04 16:49:42 +08:00
Huabing.Xu
414d67851f
add _vertexBuffer back in Fast_tmx
2014-08-04 16:36:20 +08:00
Huabing.Xu
bbf11f5d06
refactor vertex data
...
using vertex data in fast_tmx
2014-08-04 16:08:54 +08:00
huangshiwu
efcb8b9962
wp8 glview hook solution 1
2014-08-04 14:17:14 +08:00
yangxiao
4452d9579a
merge cocos2d, fix lua
2014-08-04 12:07:27 +08:00
Huabing.Xu
a44f4c95e1
using indexBuffer instead of raw VBO
2014-08-04 10:40:07 +08:00
huangshiwu
372479d812
wp8 GLView Hook
2014-08-02 16:31:16 +08:00
xuzhiqiang
85dd898319
bug fix
2014-08-02 08:04:29 +08:00
Huabing.Xu
3d4bfe7780
using VertexBuffer instead of raw buffer
2014-08-01 17:50:22 +08:00
AppleJDay
2239fafade
Merge branch 'v3' of github.com:AppleJDay/cocos2d-x
2014-08-01 17:22:43 +08:00
huangshiwu
575c9787c0
Merge branch 'v3' into v3_pr
...
Conflicts:
cocos/2d/libcocos2d.vcxproj.filters
2014-08-01 15:11:34 +08:00
AppleJDay
bcecf09b6c
Merge branch 'v3' of git@github.com:AppleJDay/cocos2d-x.git
2014-08-01 09:18:22 +08:00
maltium
baba808391
RotateBy action now uses just Vec3() to keep track of the state
2014-07-31 23:28:33 +02:00
maltium
98354e9f8e
RotateTo action now uses Vec3() to keep track of the state
2014-07-31 23:05:58 +02:00
yangxiao
e03d284e26
merge cocos2d
2014-07-31 18:55:41 +08:00
zhangbin
d224c77bd4
Move the CCProtectedNode.cpp & .h from ui to cocos2d on wp8.
2014-07-31 17:51:06 +08:00
samuele3hu
ee4e479ce1
Remove CCProtectedNode.h/.cpp from ui/base to 2d and modify the related project setting
2014-07-31 16:38:55 +08:00
songmiao
58c32e52c7
windows works
2014-07-31 14:08:05 +08:00
maltium
3d44439e2a
added 3D rotation support to the RotateTo action
2014-07-30 21:42:47 +02:00
huangshiwu
ef69faf3ba
GLView Hook
2014-07-31 00:53:04 +08:00
Ningyu
d53cdc39df
tab to spaces
2014-07-30 16:20:58 +08:00
Ningyu
52ca596b3d
code tidy
2014-07-30 16:19:05 +08:00
Ningyu
61a87e7e8b
fix LabelTTF::getBoundingBox() position error
2014-07-30 14:00:01 +08:00
Ningyu
aebe8317bd
spaces
2014-07-29 17:22:13 +08:00
Ningyu
d5242ef4fa
add
...
SpriteFrameCache::addSpriteFramesWithFileContent()
SpriteFrameCache::removeSpriteFramesFromFileContent()
2014-07-29 17:06:43 +08:00
Ningyu
23e0ed3767
add
...
SpriteFrameCache::addSpriteFramesWithFileContent()
SpriteFrameCache::removeSpriteFramesFromFileContent()
2014-07-29 16:58:33 +08:00
Huabing.Xu
ea802580a2
add script to copy sqllite3.dll to output dir on windows
2014-07-29 15:02:34 +08:00
minggo
5d63ce17ad
Merge pull request #7610 from dabingnn/v3_windowChangeModule
...
V3 window change module
2014-07-29 14:29:01 +08:00
boyu0
c63d64e385
set emission rate when setTotalParticles()
2014-07-29 10:48:20 +08:00
Huabing.Xu
aaa65dcae4
Merge branch 'v3' into v3_windowChangeModule
2014-07-29 10:20:23 +08:00
AppleJDay
0bd4b608b7
Merge pull request #1 from cocos2d/v3
...
Merge pull request #7604 from minggo/xcode-project-fix Xcode project fix
2014-07-29 08:34:15 +08:00
Huabing.Xu
4a4f05c827
change cocos2d to libcocos2d for windows
2014-07-28 20:55:58 +08:00
minggo
7ad7b5b3f7
Merge pull request #7585 from wagulu/patch-1
...
Update CCParticleSystem.cpp
2014-07-28 10:54:05 +08:00
AppleJDay
bd5ca6a244
Add Feature #5633:EventMouse should support getDelta, getDeltaX, getDeltaY functions
2014-07-28 10:39:35 +08:00
Dhilan007
b9cfa4a8b5
fix warn
2014-07-25 14:38:02 +08:00
LiuZhuo
2f10e8e468
Update CCParticleSystem.cpp
2014-07-25 11:40:23 +08:00
Huabing.Xu
58cd01b2f6
reverse cocos2d.vcxproj
2014-07-24 10:37:54 +08:00
wagulu
46ac5d12b2
Update CCParticleSystem.cpp
...
diff is base on WorldSpace, when you scale scene,you will get the wrong value.
2014-07-23 21:04:17 +08:00
minggo
3662077025
Merge pull request #7556 from Dhilan007/v3
...
fixed FontAtlasCache::getFontAtlasCharMap may returns the same instance when using different arguments.
2014-07-23 11:29:26 +08:00
LinWenhai
0fe02b3636
Update CCFontAtlasCache.cpp
2014-07-22 22:07:19 +08:00
LinWenhai
815d063a0a
replace sprintf with snprintf
2014-07-22 22:05:56 +08:00
Sergey
84e82bf497
stopAllActionsByTag && removeAllActionsByTag
2014-07-22 17:14:27 +04:00
Sergey
2acce6771f
software per decompression support
2014-07-22 15:49:36 +04:00
Dhilan007
f38b48914f
fixed FontAtlasCache::getFontAtlasCharMap may returns the same instance when using different arguments.
2014-07-22 18:31:53 +08:00
zhangcheng
6cfc5b72dc
1. CocosStudio adapt to cocos2d-x v3.2.
2014-07-21 17:45:56 +08:00
Huabing.Xu
e666ab88ed
fix windows compile error
2014-07-21 14:59:47 +08:00
Jialong Zhai
012f5403d9
protected -> CC_CONSTRUCTOR_ACCESS
2014-07-21 11:17:58 +08:00
Huabing.Xu
23db16b0bd
convert indention to space
2014-07-18 14:53:00 +08:00
Huabing.Xu
8afd7614d1
Merge branch 'v3' into v3_dll
2014-07-18 14:01:17 +08:00
minggo
462f9bdd78
Merge pull request #7502 from visiblelight/render_texture_disabled
...
The orientation of render texture should be rotated
2014-07-17 20:09:01 +08:00
visiblelight
7e7c3aeb1c
The orientation of render texture should be rotated when _keepMatrix is true
2014-07-17 19:53:35 +08:00
Huabing.Xu
52ac47aea8
Merge branch 'v3' into v3_dll
2014-07-17 18:27:36 +08:00
minggo
91a537dec6
Merge pull request #7493 from visiblelight/render_texture_disabled
...
no need to save/restore for render texture when entering background
2014-07-17 17:07:54 +08:00
vision
a2413a6538
no need to save/restore for render texture when entering background
2014-07-17 17:03:10 +08:00
minggo
c482e2e14f
Merge pull request #7491 from Dhilan007/v3-320final
...
fixed text line wrap issue in UITextField.
2014-07-17 16:48:41 +08:00
Dhilan007
8ac1398037
fixed text line wrap issue in UITextField.
2014-07-17 16:23:38 +08:00
Huabing.Xu
3c6e87d34e
Merge branch 'v3' into v3_dll
...
Conflicts:
cocos/base/ccUtils.h
2014-07-17 14:12:10 +08:00
andyque
4f5cd2a368
change FastTileMap to TileMap
2014-07-17 14:09:53 +08:00
andyque
880c2c4c3f
change FastTiledMap namespace to cocos2d::experimental
2014-07-17 10:46:20 +08:00
minggo
2403bc2e50
Merge pull request #7343 from zhouxiaoxiaoxujian/feature/COC-10
...
Add getChildByName method for get a node that can be cast to Type T
2014-07-17 10:02:57 +08:00
Huabing.Xu
a0be6d9ac7
remove Storage project, merge code into cocos2d
2014-07-16 14:49:05 +08:00
joshuastray
190460018f
use CC_CONSTRUCTOR_ACCESS in ParallaxNode
2014-07-16 11:40:09 +08:00
Huabing.Xu
0350186589
Merge branch 'v3' into v3_dll
2014-07-16 11:15:16 +08:00
joshuastray
da9563f623
fix LabelAtlas constructor to CC_CONSTRUCTOR_ACCESS
2014-07-15 15:26:37 +08:00
Huabing.Xu
63de5f6acc
add CC_DLL
2014-07-15 12:00:31 +08:00
Huabing.Xu
8bbce767f3
add CC_DLL for ActionEase
2014-07-14 22:42:44 +08:00
Dhilan007
5e10575ab0
disable warn on zero-sized structures.
2014-07-14 17:53:55 +08:00
Huabing.Xu
9806b37398
add CC_DLL of DrawPrimitive
2014-07-14 17:40:02 +08:00
minggo
981922eb95
Merge pull request #7432 from joshuastray/transition_ctor_access
...
move constructors and destructors to CC_CONSTRUCTOR_ACCESS and add needed constructors for js bindings
2014-07-14 16:28:18 +08:00
Huabing.Xu
52c0bd365b
add chipmunk.lib for release
2014-07-14 14:47:00 +08:00
Huabing.Xu
469dbea7da
window dll version work now
2014-07-14 14:40:47 +08:00
joshuastray
98b1c0bbed
add needed constructors for js bindings
2014-07-14 14:25:36 +08:00
joshuastray
e14c2587b5
move constructors and destructors to CC_CONSTRUCTOR_ACCESS
2014-07-14 14:25:06 +08:00
minggo
cfc291e49d
Merge pull request #7379 from joshuastray/v3
...
move JumoTo's copy constuctor and operator= to private
2014-07-12 20:19:03 +08:00
Dhilan007
d8cdb75851
Fix compile errors on WP8
2014-07-11 15:10:19 +08:00
minggo
6c37541657
Merge pull request #7363 from Dhilan007/v3-event-clear
...
Dispatch EVENT_RENDERER_RECREATED event when renderer was recreated on android/wp8.
2014-07-11 13:36:52 +08:00
Huabing.Xu
60dd7a4514
Merge branch 'v3' into v3_dll
2014-07-11 11:10:26 +08:00
Huabing.Xu
f5cffba6c9
change pure virtual function to virtual function in action series
...
remove unimplemented function to deprecated and give an empty implementation
add CC_DLL to Vec2
2014-07-11 10:19:49 +08:00
joshuastray
7396f447a4
move initWithDuration to CC_CONSTRUCTOR_ACCESS
2014-07-10 17:56:20 +08:00
minggo
831b0b332b
Merge pull request #7371 from minggo/enumerateChildren-fix
...
Node::enumerateChildren just searches from itself
2014-07-10 15:46:04 +08:00
minggo
c7856b21fd
Merge pull request #7366 from Dhilan007/v3-fixed-warn
...
fixed warn and replace NULL with nullptr.
2014-07-10 15:42:02 +08:00
joshuastray
30574af6c5
move JumoTo's copy constuctor and operator= to private
2014-07-10 14:30:08 +08:00
minggo
0ba3f6c1c9
Merge pull request #7376 from joshuastray/v3
...
use CC_CONSTRUCTOR_ACCESS to replace protected/private
2014-07-10 14:14:08 +08:00
joshuastray
6b22870e27
use CC_CONSTRUCTOR_ACCESS to replace protected
2014-07-10 14:00:23 +08:00
minggo
316564d58a
Node::enumerateChildren just searches from itself
2014-07-10 11:07:39 +08:00
Dhilan007
6cff8cb564
fixed warn and replace NULL with nullptr.
2014-07-10 00:45:27 +08:00
Dhilan007
dbcb20b886
Dispatch EVENT_RENDERER_RECREATED event when renderer was recreated on android/wp8.
...
Make clear EVENT_COME_TO_FOREGROUND event.
2014-07-09 23:03:04 +08:00
minggo
f7af8938bd
Merge pull request #7277 from darkdukey/fix_rotation3D
...
Fix setRotation3D
2014-07-08 22:05:27 +08:00
Dhilan007
10defddc2e
fixed memory leak cause by singleton.
2014-07-08 18:22:48 +08:00
Frank.Xu
5db9fa6e4b
Add getChildByName method for get a node that can be cast to Type T
2014-07-08 15:58:34 +08:00
Dhilan007
e31abe3f54
fixed opacity issue in SpriteBatchNode.
2014-07-08 14:08:53 +08:00
Dale Stammen
021ee7d1e7
check if _itemsPerRow == 0 to avoid divide by zero
2014-07-07 11:17:05 -07:00
Dale Stammen
fa62f4273f
fixed missing zlib.h header path
2014-07-07 10:14:57 -07:00
mannewalis
f238593bfb
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3
...
# By chuanweizhang2013 (30) and others
# Via chuanweizhang2013 (19) and others
* 'v3' of https://github.com/cocos2d/cocos2d-x : (78 commits)
fix ui::Helper::seekWigetByName can not find pages in pageview
[AUTO][ci skip]: updating cocos2dx_files.json
add const for getter. fixed redefinition of 'registerListeners'
Update CCController-android.cpp
fixed missing function
issue #4689 : Refactoring game controller API[ios]
Add resources
version1.2
Remove useless codes
Refactoring game controller API
should not include android cpp files in win/wp project
Remove useless codes
Remove useless codes
Add Lua bindings for utils and CaptureScreen test case
revert Android.mk
issue #4689 : Refactor controller API.
add setXXTEAKeyAndSign
fix indent problems
initialize member variable
fix windows compile and running error
...
2014-07-05 12:26:44 -07:00
minggo
83b7dccdfc
Merge pull request #7314 from joshuastray/fix_win_proj
...
should not include android cpp files in win/wp project
2014-07-04 16:51:27 +08:00
joshuastray
8ab8caf751
should not include android cpp files in win/wp project
2014-07-04 16:44:10 +08:00
minggo
95fe74a34b
Merge pull request #7299 from dabingnn/fast_tmx
...
Fast tmx
2014-07-04 09:49:30 +08:00
mannewalis
4b1f2ccc91
prefixing ivars
2014-07-03 10:16:10 -07:00
mannewalis
96605f801c
prefixing ivars
2014-07-03 10:13:46 -07:00
mannewalis
69341095fe
adding accessors to the on*Callback variables
2014-07-03 09:13:52 -07:00
mannewalis
92e08265cd
changes needed for swift bindings to work
2014-07-03 08:42:06 -07:00
Huabing.Xu
0214131bb2
optimise tile map rendering
2014-07-02 17:16:03 +08:00
minggo
d8c9f6a0a6
add regular support in Node::enumerateChildren()
2014-07-02 17:07:36 +08:00
Huabing.Xu
efa452e0c4
support for fast tmx hex
2014-07-02 15:19:11 +08:00
Nite Luo
4cb59683e4
Add Sprite3DRotation test
2014-07-01 12:36:53 -07:00
Nite Luo
a81bea886e
Rotate around anchor point
2014-07-01 10:26:47 -07:00
minggo
cc3a9d0737
fix crash caused by std::regex()
2014-07-01 16:09:25 +08:00
minggo
eb6ddea26e
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into fix-crash
2014-07-01 10:01:24 +08:00
Dhilan007
3eea298428
unbind the VAO anyway to for safety.
2014-06-30 21:08:43 +08:00
Dhilan007
79264daf1e
fix the crash on WP8 for FastTileMapTest
2014-06-30 20:56:59 +08:00
minggo
9bcc66912a
fix crash cause by std::regex
2014-06-30 20:45:01 +08:00
Dhilan007
26f3445311
add missing files for the projects
2014-06-30 17:07:55 +08:00
Huabing.Xu
d506cf613a
fix bug for tileset searching
2014-06-30 11:08:57 +08:00
Huabing.Xu
c50394c4f3
fix merge conflitcts on windows
2014-06-29 20:30:26 +08:00
Huabing.Xu
47471e202d
Merge branch 'v3' into fast_tmx
...
Conflicts:
cocos/2d/cocos2d.vcxproj.filters
2014-06-29 20:23:43 +08:00
minggo
4f79176da2
Merge pull request #7234 from boyu0/iss5614_physics_transform
...
closed #5614 : add transform support for physics
2014-06-29 17:23:20 +08:00
Huabing.Xu
9227c4f30a
refactor updateTiles
2014-06-27 19:41:34 +08:00
Huabing.Xu
46e5b8e5bd
refactor FastTMXTiledMap::tilesetForLayer to a more elegant implementation
2014-06-27 18:28:59 +08:00
Huabing.Xu
3771654e66
remove deprecated function
...
rename enum to static const member of class
remove hex tile map(we do not support it yet)
2014-06-27 18:00:06 +08:00
boyu0
91126341bd
fix transform for physics.
2014-06-27 17:30:21 +08:00
Huabing.Xu
33a8b6563f
windows works for fast tmx
2014-06-27 16:56:26 +08:00
Huabing.Xu
eba84b5dea
fix wrong indentions
2014-06-27 14:45:30 +08:00
Huabing.Xu
1152f77ed7
clean up fast tmx code
2014-06-27 14:42:53 +08:00
Huabing.Xu
b232896f85
roll back fps compute logic
...
fix crash bug
2014-06-27 13:41:06 +08:00
Huabing.Xu
6292ed05be
improvement for fast tmx rendering
2014-06-27 11:50:44 +08:00
Huabing.Xu
a04b5fc5d5
use custom command for fast_tmx rendering
2014-06-27 10:30:21 +08:00
yangxiao
392a769c8f
merge cocos2d v3
2014-06-26 22:48:42 +08:00
Huabing.Xu
81aa9c2c74
use custom command for rendering
2014-06-26 20:45:08 +08:00
Huabing.Xu
87e5e1460e
adjust some code to reduce indentions
2014-06-26 11:45:15 +08:00
minggo
6a3d3aa4a4
Merge pull request #7186 from billtt/v3_fixNodeSetScale
...
fix a bug that Node::setScale(float) may not work properly
2014-06-25 14:41:15 +08:00
minggo
66703addb2
fixed #4693 : override addChild by name
2014-06-25 11:27:48 +08:00
Huabing.Xu
c1b5984ce8
using stable sort for quads
2014-06-25 11:08:47 +08:00
Huabing.Xu
290897af14
Merge branch 'v3' into fast_tmx
...
Conflicts:
build/cocos2d_libs.xcodeproj/project.pbxproj
2014-06-25 10:10:08 +08:00
Huabing.Xu
bda9708206
clean up Fast TMX code2
2014-06-25 10:06:37 +08:00
Huabing.Xu
67f83f43b0
clean up Fast TMX code
2014-06-25 10:04:20 +08:00
minggo
7155eb4ebb
use reference instead
2014-06-24 18:23:10 +08:00
minggo
3336f7edad
use reference instead
2014-06-24 14:53:02 +08:00
Huabing.Xu
740372ceb3
new version of rendering for tile map
2014-06-24 11:04:17 +08:00
minggo
4bb6545250
Merge pull request #7166 from boyu0/bug5541_rotation_action_for_physics
...
closed #5541 : Add rotation action support for physics.
2014-06-24 10:46:10 +08:00
boyu0
f2ecb31958
closed #5541 : add more warning for unsupported functions.
2014-06-24 10:33:21 +08:00
Zhou Yuntao
50a1449af9
fix a bug that Node::setScale(float) may not work properly if (_scaleX != _scaleY || _scaleX != _scaleZ)
2014-06-24 10:05:52 +08:00
boyu0
c40c461848
closed #5541 : add warning code and comment.
2014-06-23 13:55:52 +08:00
Dale Stammen
5e1f0b5799
added missing files and tests that broke wp8 build
2014-06-20 09:07:51 -07:00
yangxiao
2a6dfaf91b
Merge branch 'newcode' into v3
2014-06-20 22:55:27 +08:00
boyu0
2fc8889791
issue #5541 : change RotateTo/RotateBy for Physics.
2014-06-20 18:40:21 +08:00
Huabing.Xu
bb4128036c
use quad command for tile map rendering
2014-06-20 18:10:18 +08:00
lvlong
478ea8949a
Merge branch 'v3' of https://github.com/lvlonggame/cocos2d-x into v3
...
Conflicts:
tools/bindings-generator
tools/cocos2d-console
2014-06-20 16:14:46 +08:00
lvlong
69436ddd65
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
...
Conflicts:
cocos/3d/CCBundle3D.cpp
cocos/3d/CCBundle3D.h
cocos/3d/CCBundle3DData.h
2014-06-20 16:02:22 +08:00
zhangbin
ec62f05b12
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3
2014-06-20 10:51:13 +08:00
zhangbin
0019d9a061
Optimize the win32 projects configuration.
2014-06-20 10:50:43 +08:00
gin0606
3ae8e29ce5
Add new line at the end of a file to *.h
2014-06-19 20:45:49 +09:00
gin0606
bf4f30d14b
Add new line at the end of a file to *.cpp
2014-06-19 20:45:24 +09:00
Huabing.Xu
f82be936b5
Merge branch 'fast_tmx_copy' into fast_tmx
...
Conflicts:
cocos/2d/CCFastTMXLayer.cpp
2014-06-19 18:10:44 +08:00
Huabing.Xu
e03c412e71
refactor fast tmx rendering
2014-06-19 18:05:21 +08:00
boyu0
5f10ff2c29
issue #4437 : change name TMXLayer2 and TMXTiledMap2 to FastTMXLayer and FastTMXTiledMap, change Point to Vec2
2014-06-19 15:57:13 +08:00
lvlong
8493c4579b
before switch branch save
2014-06-19 15:43:02 +08:00
minggo
136033c282
not set _orderOfArrival to 0 after visit
2014-06-19 15:09:27 +08:00
minggo
e60e3c217d
Merge pull request #7046 from Dhilan007/v3-label-improve
...
1.Support setting up the line height and additional kerning of label.
2014-06-19 09:44:51 +08:00
boyu0
d89c2176c3
issue #4437 : add vertex z support, fix some bugs.
2014-06-18 18:19:13 +08:00
Dhilan007
9351172baf
add test case for new API of Label.
2014-06-18 18:01:55 +08:00
minggo
08453b911d
Merge pull request #7071 from pandamicro/Script_onEnter_fix
...
Fixed #5563 : Wrap override onEnter function by script call detection code to solve bugs in JSB
2014-06-18 13:37:57 +08:00
pandamicro
94fdff1da9
Fixed #5563 : Make sendNodeEventToXXX as static functions of ScriptEngineManager in CCScriptSupport
2014-06-18 11:51:52 +08:00
minggo
6ecca08340
Merge pull request #7039 from minggo/get-child-by-name
...
issue #4693 : add getName(), setName() and getChildByName()
2014-06-18 11:30:14 +08:00
Dale Stammen
da9a652868
added missing files to project
2014-06-17 09:27:36 -07:00
minggo
4da24dfade
issue #4693 : correct comment
2014-06-17 16:21:24 +08:00
lvlong
ef32bffceb
modify bundle3D load()
2014-06-17 13:59:03 +08:00
minggo
53963a2441
issue #4693:enumerateChildren() support regular expression
2014-06-17 11:43:03 +08:00
lvlong
ae5965f05f
test new version and modify vs2012 project
2014-06-17 10:52:55 +08:00
yangxiao
452fdc047a
Merge branch 'newcode' into v3
2014-06-16 22:36:01 +08:00
yangxiao
927d29f334
bug on Repeat when diff bigger than duration
2014-06-16 18:21:47 +08:00
pandamicro
d00c9fe70a
Fixed #5563 : Add sendNodeEventToJSExtended function to fix issues and remove lua event send (unnecessary)
2014-06-16 12:50:35 +08:00
minggo
111e08062f
Merge pull request #7056 from visiblelight/render_texture
...
Use RGBA when saving a file from render texture
2014-06-16 10:44:30 +08:00
yangxiao
dd8f66ce57
merge loader
2014-06-16 00:01:38 +08:00
pandamicro
d524ba1013
Fixed #5563 : Wrap override onEnter function by script call detection code to solve bugs in JSB
2014-06-13 17:59:23 +08:00
vision
33fb1dd050
Make the API more extendable
2014-06-13 15:27:59 +08:00
vision
7e99121af7
Change the default pixel format from RGB to RGBA for render texture when saving as PNG.
2014-06-13 13:35:18 +08:00
boyu0
ee919b673f
issue #4437 : config for android and linux.
2014-06-13 11:07:21 +08:00
pandamicro
7ccff325b6
Issue #5554 : Define __NodeRGBA's constructor as CC_CONSTRUCTOR_ACCESS for JSB usage
2014-06-13 10:29:40 +08:00
lvlong
742ea7f2df
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
...
Conflicts:
cocos/2d/cocos2d.vcxproj.filters
cocos/3d/CCBundle3D.cpp
cocos/3d/CCBundle3D.h
2014-06-12 15:53:41 +08:00
boyu0
acb87f414e
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into fast_tmx
2014-06-12 14:44:28 +08:00
Dhilan007
b2d8e4fc93
add assert.
2014-06-12 14:41:01 +08:00
boyu0
a3f32cf894
closed #5537 : add setAutoStep, isAutoStep and step method for PhysicsWorld.
2014-06-12 12:45:21 +08:00
Dhilan007
3511d1e87e
1.Support setting up the line height and additional kerning of label.
...
2.Add more annotation
2014-06-12 12:01:15 +08:00
minggo
5c718e27da
Merge pull request #7044 from Dhilan007/v3-label-improve
...
Ensuring release cache texture in timely.
2014-06-12 11:39:36 +08:00
minggo
05a65a68bb
issue #4693 : added enumerateChildren()
2014-06-12 10:41:08 +08:00
lvlong
9fe7c1a9da
loader
2014-06-12 10:01:54 +08:00
Dale Stammen
775832a710
added missing files
2014-06-11 13:18:10 -07:00
Dhilan007
7cc3879257
Ensuring release cache texture in timely.
2014-06-11 22:03:10 +08:00
minggo
8a5bfb9840
issue #4693 : add getName(), setName() and getChildByName()
2014-06-11 16:57:43 +08:00
pandamicro
8bc531a0fb
Fixed #5533 : Fix usage of new SpriteFrame in engine
2014-06-10 12:04:20 +08:00
pandamicro
92a33225ff
Fixed #5533 : Make SpriteFrame's constructor and init functions public temporarily to avoid issues
2014-06-10 11:39:48 +08:00
pandamicro
bb7cf801e6
Fixed #5533 : Add SpriteFrame's constructor and make constructor & init functions protected
2014-06-10 11:28:34 +08:00
minggo
0ca9a98f4a
Merge pull request #6920 from minggo/orrderOfArrival
...
don't have to set _orderOfArrival to 0 after visit
2014-06-10 10:28:38 +08:00
minggo
9517f9b852
Merge pull request #6996 from newnon/v3_setparent_fix
...
move node from one parent to another fix
2014-06-09 17:13:59 +08:00
boyu0
3975f55de7
issue #4437 : fix crash when doesn't support VAO, and make calculation more precisely.
2014-06-09 15:28:49 +08:00
boyu0
dff0fada28
issue #4437 : fix some bugs.
2014-06-09 11:36:44 +08:00
Dhilan007
4e0759533b
close issue#5158:Label's display may go bonkers if using outline feature.
2014-06-09 10:12:22 +08:00
Sergey
904f157c2c
move node from one parent to another fix
2014-06-07 12:25:20 +04:00
boyu0
fc5e58b521
issue #4437 : add dirty tag.
2014-06-06 18:03:44 +08:00
boyu0
560053d23c
issue #4437 : add test and fix transform.
2014-06-06 17:33:27 +08:00
boyu0
a8a5f6b230
issue #4437 : add new tmx.
2014-06-06 16:15:46 +08:00
Ricardo Quesada
79ebc546f8
Merge remote-tracking branch 'cocos2d/v3' into normalized_position
...
Conflicts:
CHANGELOG
cocos/ui/UILayout.cpp
2014-06-04 09:19:22 -07:00
andyque
d1e664fd44
fix win7 compile error
2014-06-04 15:43:53 +08:00
minggo
5432698674
Merge pull request #6969 from boyu0/bug5482_setPhysicsBody
...
closed #5482 : Node::setPhysicsBody() doesn't work after node added to another node.
2014-06-04 13:52:43 +08:00
boyu0
dd0eecb905
closed #5482 : fix issue: Node::setPhysicsBody() doesn't work after node added to other node.
2014-06-04 11:58:04 +08:00
Ricardo Quesada
b24c674d25
Little fixes for setNormalized
2014-05-30 21:50:39 -07:00
Ricardo Quesada
1b8d0d88df
Adds setNormalizedPosition()
...
Changes in `visit()` were done in order to do it
in a robust and fast way.
2014-05-30 16:42:05 -07:00
minggo
e76feceada
fix coding style
2014-05-30 15:13:59 +08:00
minggo
402dc9f9ce
fix memory leak
2014-05-30 15:10:57 +08:00
minggo
2e7865a4f6
coding style fix
2014-05-28 17:41:34 +08:00
minggo
1618d2a4e2
don't have to set _orderOfArrival to 0 after visit
2014-05-28 15:50:42 +08:00
minggo
99290b83c7
Merge pull request #6871 from asuuma/v3_Repeat_fix
...
Fix Repeat will run one more over in rare situations
2014-05-27 16:22:42 +08:00
Ricardo Quesada
5601048829
Fixes compiler warnings for mac and ios
2014-05-22 16:34:16 -03:00
Ishiguro Yusuke
90cea76008
Fix Repeat will run one more over in rare situations
2014-05-22 15:59:47 +09:00
minggo
3b5417a325
Merge pull request #6854 from MSOpenTech/wp8-v3-fix
...
Wp8 v3 fix for precompiled shaders and precompiled headers
2014-05-21 14:31:18 +08:00
Dhilan007
d13ed93fc1
issue #5277:Label:It could be possible that for using outline and invoking 'Director::setContentScaleFactor' cause label show nothing.
2014-05-21 14:08:30 +08:00
Dhilan007
ac258439b0
close issue#5277:Label:It could be possible that for using outline and invoking 'Director::setContentScaleFactor' cause label show nothing.
2014-05-21 11:38:45 +08:00
minggo
40df6a28a2
Merge pull request #6844 from Dhilan007/v3-labelfix
...
closed issue#5252:Label:It could be possible that for using outline cause crash.
2014-05-21 11:19:12 +08:00
minggo
5a309fbc6e
Merge pull request #6721 from zifter/FixNodeConst
...
[ci skip]Getter always must be a const method.
2014-05-21 09:48:27 +08:00
Dale Stammen
3971666426
updated pch file for wp8
2014-05-20 10:06:24 -07:00
Dale Stammen
f0e4c97bc6
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into wp8-v3-fix
2014-05-20 07:50:12 -07:00