Timeline for Cocos2d-x Finding if a CCPoint is inside a sprite rect
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 31, 2013 at 23:12 | comment | added | Jose M Pan | 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, 2013 at 21:05 | review | First posts | |||
| Jul 31, 2013 at 21:26 | |||||
| Jul 31, 2013 at 20:46 | history | answered | akg | CC BY-SA 3.0 |