Search found 22 matches

by Phantom Ppepper
Wed Nov 13, 2013 7:35 pm
Forum: R.U.B.E discussion
Topic: Using the Accelerometer with a specific body from RUBE Scene
Replies: 7
Views: 11662

Re: Using the Accelerometer with a specific body from RUBE S

Ahh I see, you are correct. Apply force is MUCH better :) thanks!!
by Phantom Ppepper
Wed Nov 13, 2013 2:29 am
Forum: R.U.B.E discussion
Topic: Using the Accelerometer with a specific body from RUBE Scene
Replies: 7
Views: 11662

Re: Using the Accelerometer with a specific body from RUBE S

ahh! I am anxious to get home and try another go at this. My current force values are m_player->SetLinearVelocity(b2Vec2(acceleration.x *20,m_player->GetLinearVelocity().y*20)); I had previously tried using "applyforce" and probably still will, now that I have your link! Thanks! In my othe...
by Phantom Ppepper
Tue Nov 12, 2013 8:47 pm
Forum: R.U.B.E discussion
Topic: Using the Accelerometer with a specific body from RUBE Scene
Replies: 7
Views: 11662

Re: Using the Accelerometer with a specific body from RUBE S

:( After applying the same practices from the video, I still cannot seem to control my body with the accelerometer. To verify, acceleromter is enabled, and I am using the -(void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration method in my class. I cannot s...
by Phantom Ppepper
Sun Nov 10, 2013 12:10 am
Forum: R.U.B.E discussion
Topic: Using the Accelerometer with a specific body from RUBE Scene
Replies: 7
Views: 11662

Re: Using the Accelerometer with a specific body from RUBE S

Actually, to be more specific to what I am trying to do, how would I control a "ball" from a top down view with the accelerometer?
by Phantom Ppepper
Sat Nov 09, 2013 11:50 pm
Forum: R.U.B.E discussion
Topic: Using the Accelerometer with a specific body from RUBE Scene
Replies: 7
Views: 11662

Using the Accelerometer with a specific body from RUBE Scene

Hello,

I've been breaking several things from the sample loaders in an effort to try to control a specific body from a RUBE scene. For example, the truck from the *"images" sample loader. Any advice would be greatly appreciated.
*Cocos2D Sample Loader
Thanks!
by Phantom Ppepper
Wed Oct 23, 2013 7:35 pm
Forum: Box2D tutorial discussion
Topic: spawning random actors
Replies: 4
Views: 13381

Re: spawning random actors

Ah, I see. Thanks!
by Phantom Ppepper
Sat Oct 19, 2013 2:43 am
Forum: Box2D tutorial discussion
Topic: spawning random actors
Replies: 4
Views: 13381

Re: spawning random actors

Oh, sorry for the vagueness - :oops: After several concussions, I am close to scrapping the idea all together. The thought was to create a scene where rocks would generate "spawn" just to the right of the screen and disappear once off the screen after making contact with a sensor, for memo...
by Phantom Ppepper
Fri Oct 18, 2013 11:40 pm
Forum: Box2D tutorial discussion
Topic: spawning random actors
Replies: 4
Views: 13381

spawning random actors

Hey iforce2d,

I've been beating my head on the desk for several hours now trying to figure out how to spawn actors to my box2d world (created with RUBE, of course).

I'm trying to make something similar to the classic "Astroides" game
by Phantom Ppepper
Sat Oct 12, 2013 3:34 am
Forum: R.U.B.E discussion
Topic: Pause/Resume and other simple concepts I can't figure out.
Replies: 2
Views: 6574

Re: Pause/Resume and other simple concepts I can't figure ou

ok - I think I might have this one... In my hud layer, ive got a pause button with the action "pauseGame" assigned to it. And I've got a pause layer - another rube scene - with 2 buttons: one ruturns home and the other resumes the game. the resume button has an action called "resumeGa...
by Phantom Ppepper
Fri Oct 11, 2013 11:19 pm
Forum: R.U.B.E discussion
Topic: Pause/Resume and other simple concepts I can't figure out.
Replies: 2
Views: 6574

Pause/Resume and other simple concepts I can't figure out.

First of all, BRAVO with the recent update! I feel like I'm able to move 10 times faster since the new RUBE menu tutorials, by the way. But if you give me long enough, I'll manage to break something :roll: I'm trying to figure out the best way to go about making a simple pause/resume menu while usin...