Search found 16 matches

by therealcos
Thu Sep 26, 2013 6:51 pm
Forum: Box2D tutorial discussion
Topic: Applying an impulse to a body in the direction of a touch
Replies: 4
Views: 13047

Re: Applying an impulse to a body in the direction of a touc

Yeah, I assumed as much - pretty straightforward and not too complicated to figure out I guess. It wasn't behaving as I'd liked, though, and I just realized (once I actually started printing out the CGPoint values) that the touch and the body were on different scales... Here goes another noob questi...
by therealcos
Thu Sep 26, 2013 4:39 am
Forum: Box2D tutorial discussion
Topic: Applying an impulse to a body in the direction of a touch
Replies: 4
Views: 13047

Applying an impulse to a body in the direction of a touch

Hi there, I have a zero gravity environment with a single body to which I'd like to apply an impulse. When I touch the screen at a given location, I'd like to apply a linear impulse to the body so that it travels in the direction of that touch location. I know I would need to get the body location a...
by therealcos
Thu Sep 12, 2013 7:01 pm
Forum: R.U.B.E discussion
Topic: Cocos2d v2 Sample Project
Replies: 7
Views: 12102

Re: Cocos2d v2 Sample Project

Just reading this now, and that's exactly what I started doing last night - working from the ground up. ;) Turns out it's not too hard this way - only a few minor details that need to be changed in BasicRUBELayer, RUBELayer, etc. (e.g. rather than scheduling the tick function with a selector, there'...
by therealcos
Wed Sep 11, 2013 7:08 pm
Forum: R.U.B.E discussion
Topic: Cocos2d v2 Sample Project
Replies: 7
Views: 12102

Re: Cocos2d v2 Sample Project

Hmm, I just tried replacing these two lines (after dropping the new cocos2d folder in there) and it seems there are a few references in your code to some things that may have been deprecated between v1 and v2. I worked through a number of these, but I'm currently hunting for v2's new implementation ...
by therealcos
Tue Sep 10, 2013 3:42 am
Forum: R.U.B.E discussion
Topic: Cocos2d v2 Sample Project
Replies: 7
Views: 12102

Cocos2d v2 Sample Project

I'm having a bit of trouble replicating several things shown in the tutorials on this site when I start an XCode project using a template for v2 of Cocos2d. Is there any chance you could upload a Cocos2d sample project just like the one that's already up there (that uses BasicRUBELayer, RUBELayer, e...
by therealcos
Tue Aug 20, 2013 7:36 am
Forum: R.U.B.E discussion
Topic: Pay without PayPal ?
Replies: 4
Views: 9493

Re: Pay without PayPal ?

My Paypal fails every time I try to purchase R.U.B.E. - any way around this?