boyu0
75dd32cde9
issue #2771 : fix physics test compile error
2013-11-06 14:34:27 +08:00
Luis Parravicini
8b1d3af720
added | operator for Control::EventType
2013-11-05 23:55:24 -03:00
boyu0
af129e25f0
issue #2771 : change some coding style
2013-11-05 20:02:58 +08:00
2youyou2
16c23d0ad3
remove CC_PROPERTY and CC_SYNTHESIZE.
2013-11-05 19:53:38 +08:00
boyu0
8c62bf813f
issue #2771 : enhance API and add Slice demo
2013-11-05 15:54:33 +08:00
2youyou2
3eef64c3b8
1. Change NULL to null
...
2. Remove CocoStudio/Armature files
2013-11-05 15:32:13 +08:00
2youyou2
b076711b69
fix compile error
2013-11-05 13:42:27 +08:00
boyu0
00acd67ff3
issue #2771 : finish OneWayPlatform demo and fix some bugs
2013-11-04 14:36:38 +08:00
minggo
25b0ffe853
Merge pull request #4022 from boyu0/iss2771_physical
...
issue #2771 : physical
2013-11-03 18:40:14 -08:00
James Chen
8f213420eb
closed #3106 : Update NewEventDispatcherTest.cpp.
2013-11-02 22:05:04 +08:00
James Chen
7dc6513687
Adding more tests for EventDispatcherTest.
2013-11-02 21:47:00 +08:00
boyu0
04c8e9f34e
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
2013-11-02 00:12:14 +08:00
boyu0
6d37aa8cd5
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
2013-11-01 17:39:09 +08:00
James Chen
c754e1b64f
Merge pull request #4035 from darkdukey/mousewheel_mac
...
issue #3099 : Adding MouseEvent and MouseListener, Adding Mouse Support For Desktop Platform.
2013-11-01 02:33:28 -07:00
boyu0
2f67ceb495
issue #2771 : fix some code style
2013-11-01 16:26:03 +08:00
boyu0
b2951b70ff
issue #2771 : enhance Listener use EventListener mechanism
2013-11-01 14:50:06 +08:00
2youyou2
a9054ba14a
1.add method to set collider filter
2013-11-01 14:36:44 +08:00
Dhilan007
150f1aeaab
issue #2893:improve new label
2013-10-31 20:17:30 +08:00
boyu0
dec749a692
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
2013-10-31 18:20:32 +08:00
2youyou2
005d3c0121
1. fix if frame event is at the last frame, it may emit event several times
...
2. add method for removing single data info
3. add test TEST_DIRECT_LOADING
4. add test TEST_FRAME_EVENT
5. add method for getting calculated collider vertex
2013-10-31 17:28:14 +08:00
Nite Luo
49a2acfbd4
Merge branch 'develop' into mousewheel_mac
2013-10-31 00:10:45 -07:00
Nite Luo
fe04448c8d
Merge folder changes from develop
2013-10-30 23:19:36 -07:00
Dhilan007
12db6a32ab
issues #2893 :
...
1.Texture atlas are create on demand, based on the characters used in the label.
2.Create Quads (and not sprites) for each letter.
2013-10-31 10:49:37 +08:00
samuelhu
1f07a659a6
issue #3069:Modify layer lua register and add some compatible lua binding functions
2013-10-31 09:49:04 +08:00
boyu0
e8d06496d0
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
2013-10-30 17:27:09 +08:00
boyu0
391cda44ef
issue #2771 : edit listener
2013-10-30 15:53:58 +08:00
yinkaile
80b97be6f4
update develop
2013-10-30 11:34:16 +08:00
yinkaile
8fa8b9f844
update develop
2013-10-30 09:41:40 +08:00
boyu0
cae9a3e54f
issue #2771 : add physics pump demo and fix bugs
2013-10-29 17:31:35 +08:00
James Chen
cb7a762584
issue #3069 : Updating EventDispatcherTest.
2013-10-29 14:59:05 +08:00
boyu0
66d1bbd89f
issue #2771 : edit physics effect with all bodies and fix some bugs
2013-10-28 16:17:19 +08:00
James Chen
a829325240
issue #3069 : Updating EventDispatcherTest.
2013-10-28 16:00:19 +08:00
boyu0
d0d8694091
issue #2771 : fix some retain/release bugs
2013-10-28 11:08:41 +08:00
James Chen
e6b0134080
issue #3069 : Updating Custom event test.
2013-10-28 10:49:43 +08:00
James Chen
48ce5e39fe
EventDispatcher is managed by Director now, like Scheduler and ActionManager.
2013-10-26 15:04:01 +08:00
James Chen
9bf44a6c83
issue #3069 : Renaming 'removeListeners' to 'removeEventListeners'.
2013-10-25 16:34:26 +08:00
James Chen
27b71ba73c
Use integer as event type and listener type.
2013-10-25 10:53:47 +08:00
James Chen
b5cac51f97
PhysicsTest update.
2013-10-25 10:53:47 +08:00
James Chen
9c4bc9e8ed
Update physicsTest.
2013-10-25 10:53:47 +08:00
James Chen
7854a13278
Small fix for Bug-422.cpp and MenuTest.cpp.
2013-10-25 10:53:47 +08:00
James Chen
b131e8c509
Update menu test.
2013-10-25 10:53:46 +08:00
James Chen
9ed263056c
Use eventDispatcher to dispatch event. Remove controller codes in Layer.
2013-10-25 10:53:46 +08:00
James Chen
1f3863e787
Event Dispatcher refactor commit. TestCpp could run.
2013-10-25 10:53:45 +08:00
James Chen
cfaef2a01a
Adding onEnterHook, onXXXHook for Node.
2013-10-25 10:53:45 +08:00
boyu0
a8ddca81bd
issue #2771 : fix some compile error in win32
2013-10-23 18:52:09 +08:00
boyu0
899f720efa
issue #2771 : implement getShapeAtPoint and getShapesAtPoint
2013-10-23 17:28:23 +08:00
boyu0
17422c3123
issue #2771 : fix some compile error in win32
2013-10-23 11:08:21 +08:00
boyu0
51801d9218
issue #2771 : fix some compile error in android and win32
2013-10-23 10:11:08 +08:00
boyu0
24561860f0
issue #2771 : add ray cast test
2013-10-22 18:00:24 +08:00
boyu0
6aef4476d9
issue #2771 : edit some mistake when merge
2013-10-18 15:55:47 +08:00
boyu0
d12ee5f120
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
2013-10-18 15:34:13 +08:00
boyu0
89448135ad
issue #2771 : implement some joint definition.
2013-10-17 10:57:48 +08:00
minggo
8f7a489a4d
issue #2905:make cocostudio and gui flat
2013-10-16 16:48:39 +08:00
James Chen
7dc8aeb156
issue #2905 : Updating include path for 'cocostudio' module, adding 'cocostudio' prefix.
2013-10-16 11:19:01 +08:00
minggo
6fc2be62f5
issue #2905 : testcpp bild ok on Android
2013-10-15 18:00:03 +08:00
boyu0
d1fead368d
issue #2771 : migrate the PhysicsBody definition
2013-10-15 16:55:08 +08:00
boyu0
5c7603e0ce
issue #2771 : change angular damping to moment. (these two have different meaning, change to the correct one)
2013-10-14 13:56:08 +08:00
Nite Luo
ddf21e8bd1
Implement mouse callback for windows
2013-10-11 16:33:49 -07:00
Nite Luo
09c0e23b5d
Mouse working on mac
2013-10-11 14:35:38 -07:00
minggo
0130aae044
Merge pull request #3916 from boyu0/iss2771_physical
...
[ci skip]issue 2771: physical
2013-10-10 19:50:19 -07:00
boyu0
acf1d72213
issue #2771 : delete #define RAND_MAX in PhysicsTest.cpp(already defined in stdlib.h)
2013-10-11 10:24:55 +08:00
boyu0
775a81ae19
issue #2771 : Let the sprites added to SpriteBatchNode support physics.
2013-10-10 18:31:43 +08:00
Dhilan007
5ea5c394e7
fix compile fail on vs2012.
2013-10-10 17:17:10 +08:00
boyu0
381f904cd4
issue #2771 : add PhysicsMaterial
2013-10-09 17:53:12 +08:00
boyu0
4747e37acf
issue #2771 : let PhysicsShape::create doesn't need to pass the PhysicsBody
2013-10-09 13:41:19 +08:00
Nite Luo
a2c2546942
Implement MouseWheel Event, also fix a typo in EventListener interface
2013-10-04 10:07:39 -07:00
boyu0
35259588a3
issue #2771 : fix some bugs in PhysicsShape
2013-09-30 21:48:25 +08:00
boyu0
9c16a45f33
issue #2771 : separate the PhysicsBody and the PhysicsShape.
2013-09-30 20:43:19 +08:00
samuelhu
6aa18423e6
issue #2792 : Performance Test: Sprite drawing
2013-09-30 16:22:55 +08:00
boyu0
18a4b18368
issue #2771 : move _physicsBody from sprite to node
2013-09-30 13:02:17 +08:00
boyu0
3dbe74db1a
issue #2771 : refactor PhysicsTest
2013-09-29 15:09:53 +08:00
Ricardo Quesada
cc4695507a
Test compiles with box2d enabled
2013-09-26 16:23:13 -07:00
James Chen
3ffad35f0e
Merge pull request #3741 from signmotion/develop
...
Fixed some compiling-warnings (MSVC2012).[ci skip]
2013-09-24 02:27:14 -07:00
CaiWenzhi
fa892c2158
Remove layoutexecutant class
2013-09-23 19:16:20 +08:00
signmotion
7d139a3bc3
Fixed compiling-warnings (MSVC2012): C4996(* was declared deprecated), C4305 (* truncation from 'double' to 'float'), C4018 (* signed/unsigned mismatch), C4800(* forcing value to bool 'true' or 'false').
2013-09-22 23:50:54 +03:00
minggo
bcb171e3c9
fix line end in windows
2013-09-20 22:23:13 +08:00
minggo
4c9771ba3c
rename some class names to obey cocos2d-x coding style
2013-09-20 19:19:31 +08:00
James Chen
3d41b7e33c
Adding EventDispatcher Test of removing all touch listeners.
2013-09-20 14:14:03 +08:00
James Chen
dadf6b3d0b
Merge pull request #3710 from Dhilan007/develop
...
restore AccelerometerTest
2013-09-19 07:20:23 -07:00
James Chen
2ebdb440bf
Merge pull request #3706 from ricardoquesada/cpp_best_practices
...
Small fixes to comply with C++ best practices
2013-09-19 07:15:32 -07:00
Dhilan007
2504b8e029
restore AccelerometerTest
2013-09-19 19:05:52 +08:00
James Chen
153794ba6c
Updating MutiTouchTest.cpp. Adding title. Removing unused codes.
2013-09-19 18:54:26 +08:00
James Chen
d32fb93e07
Fixing SchedulerTest crash. We need to invoke parent's onExit in subclass::onExit.
2013-09-19 18:53:45 +08:00
James Chen
b05796e1a5
issue #2087 : Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.
2013-09-19 13:55:49 +08:00
Ricardo Quesada
0674948325
Small fixes to comply with C++ best practices
...
Small fixes to comply with C++ best practices
2013-09-18 19:38:21 -07:00
James Chen
e051903b38
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2087-new-event-dispatcher
2013-09-19 09:22:31 +08:00
James Chen
3fbf61ad52
issue #2087 : Adding CustomEvent and CustomEventListener classes. Make Event and EventListener as abstract classes.
2013-09-19 09:14:51 +08:00
James Chen
a842b6de2f
Merge pull request #3699 from Dhilan007/develop
...
Unify Accelerometer coordinate on IOS and Android.[ci skip]
2013-09-18 17:20:38 -07:00
Dhilan007
479355ee32
Unify Accelerometer coordinate on IOS and Android.
2013-09-19 00:04:50 +08:00
James Chen
c7612fee15
Fixing MenuTest crash.
2013-09-18 23:43:04 +08:00
James Chen
4288160d50
issue #2087 : Renaming EventDispatcherTest name to EventDispatcherTest(NEW)
2013-09-18 22:47:50 +08:00
James Chen
8bb406a1ec
issue #2087 : Enabling acc when testing it.
2013-09-18 22:45:48 +08:00
James Chen
32089fa517
issue #2087 : Adding new EventDispatcher Test.
...
1) RemoveListenerWhenDispatching
2) CustomEventTest
3) LabelKeyboardEventTest
4) SpriteAccelerationEventTest
2013-09-18 22:23:02 +08:00
James Chen
a2d9f2d7cf
Make XXXEventListener as friend class of XXXEvent. Move the test of eventdispatchertest.
2013-09-18 18:35:42 +08:00
James Chen
f7fa92aea9
issue #2087 : Sorts listeners only when flag is dirty. setPriority is only valid in fixed priority listener.
2013-09-18 17:46:00 +08:00
James Chen
40a6f84585
Merge pull request #3680 from Dhilan007/develop
...
1.android platform:handle key event and fix Accelerometer value error [ci skip]
2013-09-18 00:01:32 -07:00
minggo
801b7831df
Merge pull request #3671 from chengstory/#4684
...
Remove unused files from mk files.
2013-09-17 22:08:38 -07:00
Dhilan007
fd3a03a6ee
1.android platform:handle key event
...
2.android platform:fix Accelerometer value error
2013-09-18 12:04:35 +08:00
zhangcheng
820b8630dc
1. fixes failed to build linux.
2013-09-18 11:51:14 +08:00
James Chen
f403f7d683
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into keyboard_test
...
Conflicts:
samples/samples.xcodeproj/project.pbxproj
2013-09-17 23:24:14 +08:00