Reputation
316
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 2 9
Impact
~17k people reached

  • 0 posts edited
  • 0 helpful flags
  • 39 votes cast
Feb
16
awarded  Famous Question
Apr
25
comment Counting multiple touches using Cocos2dx 3.2
I think this method is for cocos2d-x 2.x
Apr
25
awarded  Commentator
Apr
25
comment Counting multiple touches using Cocos2dx 3.2
Forget that, I just read "android" in your tags.
Apr
25
comment Counting multiple touches using Cocos2dx 3.2
Is Multi-Touch enabled? cocos2d-x.org/wiki/How_to_Enable_Multi-Touch
Nov
7
comment Randomize and display sprites in a 4x6 grid - Cocos2d-x
Probably you wrote addChild(cards) as an example? You should use addChild(cards.at(n))
Jul
14
awarded  Yearling
Jun
23
awarded  Self-Learner
Jun
23
awarded  Student
Mar
29
awarded  Notable Question
Nov
28
awarded  Popular Question
Oct
7
comment CCMoveBy values on update()
Finally, I get it working; but with other method. However, I'm interested in your answer. How should I do the CCSpawn?
Sep
19
awarded  Tumbleweed
Sep
12
asked CCMoveBy values on update()
Aug
17
comment Cocos2d-x Finding if a CCPoint is inside a sprite rect
This works even without the "touchPoint = littleHouse->converToNodeSpace(touchPoint);" lines
Aug
17
accepted Cocos2d-x Finding if a CCPoint is inside a sprite rect
Aug
3
awarded  Scholar
Jul
31
answered Cocos2d-x Finding if a CCPoint is inside a sprite rect
Jul
31
comment Cocos2d-x Finding if a CCPoint is inside a sprite rect
Your answer is almost correct, :), I've just finished with the "translation" to cocos2d-x. The only problem is the boundingBox(). With boundingBox I get all the screen as the "little house". I've solved using the same rect that I've posted initially: CCRect *graneroRect.
Jul
31
comment Cocos2d-x Finding if a CCPoint is inside a sprite rect
To clarify a little more: I have a house in a 1024x768 image, located at 33,83 (x,y) with size 326,382 (w,h). I packed that with TexturePacker, now I want to check if the touch location is in that rect (33,83,326,382)... But I have a coordinate mess