Basen's Forum Posts

  • I don't have anything from Apple, but I checked a video. The first thing that strikes me as odd is that your control schema is different, but that's not important. If I understand correctly, you want to stiffen the knee as long as the key is held down? It also looks like something is going on with the hip idk. It is really not clear what you want this thing to do. You need to be able to articulate it in plain language, even if it in Slovenian. I will not take the game apart for you.

    I noticed that you are directly applying force to the goraj/thigh, which has the effect of propelling it like a rocket. I don't think that is what you want. The next thing you should do is OnKeyPress, create a Rotary Limit Joint between the Thigh and Shin. OnKeyRelease, destroy that joint. This will stiffen the knee while the key is held down. I think you need to work to understand exactly what Daddy Long Legs is doing.

    Hey,

    I don't expect you to take the game apart for me, sorry about that.

    So what I need the physics to do : - On key press create a 210 degree angle between the Thigh and Shin

    - The head should have prevented rotation

    - On key release the thigh and shin should be lined up straight and as stiff as possible.

    That's basically all there is too it, but I'm strugling to create a stiff joint and when I try adding a limited rotary joint it just propells everything everywhere... Perhaps I am doing it wrong, I think I certainly am...

    Could you help me on the issues I listed, how would I tackle those?

    Thanks again for sticking with this thread.

    -

  • to use tilt you need touch and gama orientation I think.

  • Maybe post a capx so we can see what you are trying?

    This is what I have so far, nothing close to anything really, check out Daddy long legs and you'll see what I wish to recreate.

    Thanks

  • Greetings,

    Does anyone know how to achieve the ropes from breaking ?

    I've attached a capx file.

    Could something like this be easier achieved with chipmunk physics?

    How would I generate ropes there?

    Thanks for your time

  • What is Daddy Long Legs? I am familiar with a type of arachnid.....

    If you are trying to make a spider, I would say that pivot joints, one for the shoulder and one for the elbow would be correct. It might be helpful to play with the weight: the body should be about 1/4 the total mass, in my experience with articulated contraptions. It may be difficult to get the legs moving so it can walk, depending on what you are trying to do.

    Daddy long legs is an iOS game, give it a look

    I was able to stop the springyness to some degree, however now I would love to know how to make a joint stiff on keypress?

  • Greetings,

    I am trying to reverse engineer Daddy long legs, I was wondering which physics engine would be best suited?

    I'm trying with Chipmunk physics atm but everything is too "springy".

    Am I correct in using pivot joints?

  • Bumpsies?

  • This is what I use: I spawn the trail sprite every tick while the player or in this case missile speed > 0. Then I use the following formula to adjust the opacity: lerp(self.Opacity,0,A*dt). Adjust A with a number of your choosing, it determines the length of the trail. THen do an event compare opacity, when opacity <= 10 destroy that trail sprite

    Best of luck!

  • Greetings,

    Newb here. Have some questions: - Is there anyway to set the scroll to to only the y coordinate of the player?

    - Sometimes when I spawn objects infront of me and destroy the ones behind me, then when I restart the layout everything doesn't return to the original layout?! How can I fix that?

    - I'm using bullet movement by adjusting the angle with left and right, can I move in a similar fashing if I stay in place and stuff moves towards me? but with only 2 control buttons?

    Thanks for you time!

  • s

  • Ok, Did what you said, I'm facing a different problem now...

    I got to spawn things normally but then after I start destroying them behind me, to free up memory, then when I die(return to homescreen) and then go to layout the destroyed things are still destroyed, they don't refresh as if I F5d...

  • > Hey Egon, mind me asking, how do you get the gates to open and close?

    > I've been trying with custom movement but I cant get it to work properly.

    >

    Just use sine movement? Easy as pie.

    Thanks mate! Works like a charm One more thing how can I spawn these gates infront of me? Should I be using a collision model or checking for coordinates?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey Egon, mind me asking, how do you get the gates to open and close?

    I've been trying with custom movement but I cant get it to work properly.

  • Greetings,

    I've always took interest in space. And I love physics and I love Construct 2!

    I've used my physics knowledge to make a few planets and give them gravitational or should I say force fields. They get stronger with less distance as IRL.

    Everything is working fine EXCEPT I don't know how to make something "catch" orbit... ie if I fire an object with a certain speed and a certain distance from the planet how to retain the angular momentum around the planet and catch the orbit speed? I know it would eventually fall to the surface but still...

    Any ideas?

    Thanks, have a good one.