RagingPineapples's Forum Posts

  • 5 posts
  • Noooo!!

    Mine needs to be an offline solution under Windows 7.

    I really don't want to have to create my own database and sorting. It's more to go wrong.

  • Hi all,

    Is there a database plugin akin to SQLite for C2?

  • I'm trying to use zoom in my DirectX Game and find a) the layer zoom doesn't work, and b) when I zoom out the whole display, my sprite vanishes when it goes beyond a certain distance (I imagine the runtime switches the sprites' displays off when they go offscreen, but doesn't notice that the display area has grown because of the zoom out.

    That's what i'm guessing. If I had any online space I'd upload the cap.

    The app is sized at 1024x768 and the layout is 8000x4000 with gradients in the background, all set as lower than the main sprite, so they're not coming in front of it.

    If this is a bug, are there any workarounds?

  • All joints have a reaction force and torque. This the reaction force applied to body 2 at the anchor point. You can use reaction forces to break joints or trigger other game events. These functions may do some computations, so don't call them if you don't need the result.

    b2Vec2 GetReactionForce();

    float32 GetReactionTorque();

    Please?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Guys,

    Been playing with Construct for a few days, it's awesome! I want to give hinges a maximum load strength, but am not quite sure how I can work it out.

    I can break the hinge, that's not a problem (I've yet to find a 'break hinge' action, so I just spawn a temporary object and carry the velocities across, then destroy the original and in a separate event spawn another instance of the first object based on the temporary object, which seems to work nicely. Then kill the temp).

    My problem is the actual working out of a threshold. I originally tried comparing velocity of object A with the velocity of object B, but that broke too early when swinging around. In other words, it didn't check that that velocity was in fact being pulled against the hinge itself.

    Next attempt was to base the whole thing on centrifugal force (thanks Google), and that didn't work either, likely because of my formula. You move above a certain speed, and your hinges start to fall apart.

    So I need some way to tell how much stress the hinge is under, and then trigger my cool hinge-snappin' function. Mercilessly.

  • 5 posts