306 reputation
29
bio website tmogames.com
location Chubut, Argentina
age 35
visits member for 2 years, 9 months
seen 2 days ago

I'm a young developer, but and old gamer/animator/rigger and entrepreneur. I've always liked game development but I've started learning to code a few years ago, and it's great!. I code mostly with C++, using Cocos2d-x; but I'm used to Cocos2d-swift using Swift, HaxeFlixel using haXe and OpenFl, and some other frameworks and engines that I want to learn (Unity and Unreal) I'm co-founder of Teatro Magico, an animation studio, and TMO Games is our brand for making games.


2d
comment Counting multiple touches using Cocos2dx 3.2
I think this method is for cocos2d-x 2.x
2d
awarded  Commentator
2d
comment Counting multiple touches using Cocos2dx 3.2
Forget that, I just read "android" in your tags.
2d
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
Jul
31
comment Cocos2d-x Finding if a CCPoint is inside a sprite rect
With this code everytime I touch the screen I get "The little...". Instead, I've tried changing CCNode for CCSprite, and getContentSize for getTextureRect().size.width. Now looks like it takes the correct Rect, but now that rect is in the lower left corner. I know this is because a spritesheet has its 0,0 at upper left, and cocos work with 0,0 at lower left. But why if I use Rect(33,83,326,382) I do get the correct "activation rectangle"?