tag:blogger.com,1999:blog-6029629494508626591.post2876575385976892013..comments2024-03-27T07:26:29.743+00:00Comments on Pedro's Tech Mumblings: Freehand drawing with Cocos2d-x and Box2dPedro Sousahttp://www.blogger.com/profile/17058685497255714267noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-6029629494508626591.post-4456684474598028012022-06-20T13:48:08.500+01:002022-06-20T13:48:08.500+01:00SAP ABAP Training In Noida<a href="https://www.reusealways.com/read-blog/159026_best-sap-abap-training-institutes-in-noida-by-erp-training-noida.html" rel="nofollow">SAP ABAP Training In Noida</a>ERP Training Noidahttps://www.blogger.com/profile/16035514502876470407noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-642356911896693012022-04-19T07:47:03.922+01:002022-04-19T07:47:03.922+01:00Pedro'S Tech Mumblings: Hand Drawing With Coco...Pedro'S Tech Mumblings: Hand Drawing With Cocos2D-X And Box2D >>>>> <b><a href="http://8on8.top/OM2Cm?25" rel="nofollow">Download Now</a></b><br><br>>>>>> <b><a href="http://8on8.top/OM2Cm?36" rel="nofollow">Download Full</a></b><br><br>Pedro'S Tech Mumblings: Hand Drawing With Cocos2D-X And Box2D >>>>> <b><a href="http://8on8.top/OM2Cm?28" rel="nofollow">Download LINK</a></b><br><br>>>>>> <b><a href="http://8on8.top/OM2Cm?37" rel="nofollow">Download Now</a></b><br><br>Pedro'S Tech Mumblings: Hand Drawing With Cocos2D-X And Box2D >>>>> <b><a href="http://8on8.top/OM2Cm?26" rel="nofollow">Download Full</a></b><br><br>>>>>> <b><a href="http://8on8.top/OM2Cm?64" rel="nofollow">Download LINK</a></b> Cq Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-29177402406488120952022-04-19T07:46:39.748+01:002022-04-19T07:46:39.748+01:00Pedro'S Tech Mumblings: Hand Drawing With Coco...Pedro'S Tech Mumblings: Hand Drawing With Cocos2D-X And Box2D >>>>> <b><a href="http://8on8.top/OM2Cm?25" rel="nofollow">Download Now</a></b><br><br>>>>>> <b><a href="http://8on8.top/OM2Cm?36" rel="nofollow">Download Full</a></b><br><br>Pedro'S Tech Mumblings: Hand Drawing With Cocos2D-X And Box2D >>>>> <b><a href="http://8on8.top/OM2Cm?28" rel="nofollow">Download LINK</a></b><br><br>>>>>> <b><a href="http://8on8.top/OM2Cm?37" rel="nofollow">Download Now</a></b><br><br>Pedro'S Tech Mumblings: Hand Drawing With Cocos2D-X And Box2D >>>>> <b><a href="http://8on8.top/OM2Cm?26" rel="nofollow">Download Full</a></b><br><br>>>>>> <b><a href="http://8on8.top/OM2Cm?64" rel="nofollow">Download LINK</a></b> Gw Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-91581105725299489152018-09-07T16:21:47.816+01:002018-09-07T16:21:47.816+01:00I'm going to make your this program by using c...I'm going to make your this program by using cocos creator.<br />Could you help me? Regards.Anonymoushttps://www.blogger.com/profile/07064631150401840625noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-27690770499071760222015-12-11T20:37:45.948+00:002015-12-11T20:37:45.948+00:00Not really, thanks anyway. I've been mostly aw...Not really, thanks anyway. I've been mostly away from iphone development for some time now.Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-32704574612553289872015-12-11T19:49:41.816+00:002015-12-11T19:49:41.816+00:00This comment has been removed by the author.özerhttps://www.blogger.com/profile/06684121498133965165noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-71105456118939907692015-12-06T21:16:00.551+00:002015-12-06T21:16:00.551+00:00This comment has been removed by the author.özerhttps://www.blogger.com/profile/06684121498133965165noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-7432107954706263952014-10-10T08:22:13.779+01:002014-10-10T08:22:13.779+01:00Yes, i have this problem too, It seems like the _b...Yes, i have this problem too, It seems like the _brush->visit(); isn't called in each iteration of the loop for .Anonymoushttps://www.blogger.com/profile/14559626777299236202noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-26482997554789316702014-09-29T08:14:48.589+01:002014-09-29T08:14:48.589+01:00Hi. I'm not really planning on using Cocod2dX3...Hi. I'm not really planning on using Cocod2dX3 so updating this code is not very likely to happen. SorryPedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-5411480901673381292014-09-29T04:51:43.626+01:002014-09-29T04:51:43.626+01:00I try to compile it with Cocos2dx3 and had problem...I try to compile it with Cocos2dx3 and had problems . It works but the line is not continuous. You can upload the compiled project with Cocos2dx3??Mauro Peltzerhttps://www.blogger.com/profile/08485853885010739764noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-4917039785379325932014-03-03T10:35:51.770+00:002014-03-03T10:35:51.770+00:00Anyone can give me idea for undo function for draw...Anyone can give me idea for undo function for drawing using CCRenderTexture as given in this post.<br />how can i remove most recent sprite from a point from CCRenderTexture.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-1773355930272545392013-06-08T12:43:00.218+01:002013-06-08T12:43:00.218+01:00I don't understand this code :
float anchorX =...I don't understand this code :<br />float anchorX = newBody->GetPosition().x * PTM_RATIO - bodyRectangle.origin.x;<br />float anchorY = bodyRectangle.size.height - (s.height - bodyRectangle.origin.y - newBody->GetPosition().y * PTM_RATIO);<br /><br />sprite->setAnchorPoint(ccp(anchorX / bodyRectangle.size.width, anchorY / bodyRectangle.size.height));<br /><br />Can you give me a explanation,pleaseAnonymoushttps://www.blogger.com/profile/01498747673229666489noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-70566256061173831142013-03-24T16:50:32.950+00:002013-03-24T16:50:32.950+00:00@brian:
I've created a complete XCode project...@brian:<br /><br />I've created a complete XCode project with the latest cocos2d-x version. I'm uploading it now and will update the post with it.Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-37020192269814786272013-03-24T06:14:25.945+00:002013-03-24T06:14:25.945+00:00Look I really need your help, I need something lik...Look I really need your help, I need something like this for part of my game I have to make for a course project. I cannot get it to work. Is there anyway you can help me, I'm running out of time and resources.<br />ThanksAnonymoushttps://www.blogger.com/profile/09779531213493964569noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-23738469999264001792012-12-30T02:07:29.355+00:002012-12-30T02:07:29.355+00:00Ouch, sorry about that. At the time that I've ...Ouch, sorry about that. At the time that I've made this blogpost my project was like a sandbox littered with misc stuff, thus the "incomplete" zip with just the meaningful classes. <br /><br />I'll try to create a working project as soon as possible.Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-58359794061055704672012-12-30T02:01:54.366+00:002012-12-30T02:01:54.366+00:00This comment has been removed by the author.TimothyMillahttps://www.blogger.com/profile/03006449717245931812noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-16690558826473293072012-12-14T05:46:16.343+00:002012-12-14T05:46:16.343+00:00Now it is working very well on both the versions a...Now it is working very well on both the versions as the community solved the opengl context saving problem..<br />http://www.cocos2d-x.org/boards/6/topics/19675<br />Thank you again..<br /><br />And yes is it possible to undo and redo drawing as per this approach or do you have some idea about it..Virajhttps://www.blogger.com/profile/18123138153182488531noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-7851808795946183982012-12-13T10:12:25.071+00:002012-12-13T10:12:25.071+00:00Viraj, I'm actually surprised that it ran at a...Viraj, I'm actually surprised that it ran at all on 0.13, as it used OpenGL ES 1.0 :)Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-88927090944464148202012-12-13T06:51:20.367+00:002012-12-13T06:51:20.367+00:00Ok its the version problem..May be some ccrenderte...Ok its the version problem..May be some ccrendertexture performance issues on old versions..<br />The same stuff regarding rendertexture working fine on 2.x<br />but not on 0.13.0<br />Virajhttps://www.blogger.com/profile/18123138153182488531noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-65098602004432690292012-12-13T05:40:51.951+00:002012-12-13T05:40:51.951+00:00Hello..first thank you very much for nice example....Hello..first thank you very much for nice example..<br />I have one issue in the free hand drawing..<br />Drawing comes after some time of touches move..<br />I am using cocos2dx 0.13.0<br />but i think that is not the problem of version..<br />Do you know what should be the issueVirajhttps://www.blogger.com/profile/18123138153182488531noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-4470105139686720932012-10-25T16:29:13.068+01:002012-10-25T16:29:13.068+01:00hi Pedro Sousa
i tied the code and i got some qu...hi Pedro Sousa <br /><br />i tied the code and i got some question.<br /><br />it is that<br /><br />in HelloWorld::ccTouchesEnded<br /><br />=====================================================<br />for(int i=0; i < plataformPoints.size()-1; i++) <br /> {<br /> CCPoint start = plataformPoints[i];<br /> CCPoint end = plataformPoints[i+1];<br /> addRectangleBetweenPointsToBody(newBody,start,end);<br /> }<br />=======================================================<br /><br />i try cclog plataformPoints.size and found the value is 1.<br />so addRectangleBetweenPointsToBody(newBody,start,end); <br />did't run.<br /><br />and i found <br />plataformPoints.push_back(location);<br />is in ccTouchesBegan, that make plataformPoints.size is 1.<br /><br />am i miss something?<br /><br />Purple bloghttps://www.blogger.com/profile/15629958228295204997noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-6982611902677472532012-10-25T10:31:30.373+01:002012-10-25T10:31:30.373+01:00Hi,
I haven't updated it yet to version 2.0....Hi, <br /><br />I haven't updated it yet to version 2.0.3Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-3461602179474806552012-10-25T10:25:01.344+01:002012-10-25T10:25:01.344+01:00i got the same error, CCGeometry.cpp, line 148.
T_...i got the same error, CCGeometry.cpp, line 148.<br />T_T"Purple bloghttps://www.blogger.com/profile/15629958228295204997noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-12329822903202254132012-10-01T08:13:55.884+01:002012-10-01T08:13:55.884+01:00Cool, will wait for your update then.
By the way, ...Cool, will wait for your update then.<br />By the way, like to clarify which platform your work was running under? Mine was running on Xcode 4.5 under Mac OS X 10.7.4Hello Objective-C!https://www.blogger.com/profile/06431603842095185986noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-49436179945259535312012-09-30T16:11:56.395+01:002012-09-30T16:11:56.395+01:00Hi,
My working project only had those files (besi...Hi,<br /><br />My working project only had those files (besides Cocos2d-x and box2d libraries). The main difference is that it targeted cocos2d-x2.0.1 instead of 2.0.3. <br /><br />I've probably deleted it as I made it specifically for this post, but I'll try to create it again, updated to cocos2d-x2.0.3Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.com