Colludium's Recent Forum Activity

  • spongehammer, Waltuo, totoyan - thanks! And yes, you could make up a body of different densities by joining different objects with different densities using the assimilate joint (join them as fixtures). There's no way otherwise to set the center of gravity, but you can get it.

    Platform behavior is coming along. I expect it'll be ready in a couple of weeks if I can find time to work on it. If there's going to be a further delay then I'll release the main plugin and promise to follow up with the helpers asap.

  • Ok. Quick update. A platform behavior capx is all well and good, but I think it's a little complicated for a beginner to use. So I'm going to make a helper plugin that'll control the platform movement as well as making it easy to manage one way doors and floors. This'll take me a couple of weeks go get right, then I'll be ready to release the whole package. Cheers.

  • Prominent - good advice. I've now added the following expressions:

    • Joint anchor X. The anchor x position of the joint on this body.
    • Joint anchor Y. The anchor y position of the joint on this body.
    • Joint Type. The type of joint, using Box2D labelling. 0=unknown, 1=revolute, 2=prismatic, 3=distance, 4=pulley, 6=gear, 7=wheel, 8=weld.
    • Other UID. The UID of the other object connected in this joint.
    • Joint other anchor X. The anchor x position of the joint on the other body.
    • Joint other anchor Y. The anchor y position of the joint on the other body.
    • Joint anchor distance. The distance between the anchor points for each body in this joint.
    • Joint ratio. For gear and pulley joints, returns the joint's ratio.
    • Damping coefficient. For distance and wheel joints, returns the joint's damping coefficient.
    • Spring frequency. For distance and wheel joints, returns the joint's spring frequency.
    • Distance joint length. Returns the natural length of a distance joint.
    • Revolute angle limit. Returns the +/-angle limit, if set. Returns -1 if no limit is set.
    • Joint count. The number of joints on this object.
    • Joint type at Index. The type of joint at Index in the joint list for this object. 0=unknown, 1=revolute, 2=prismatic, 3=distance, 4=pulley, 6=gear, 7=wheel, 8=weld.
    • Tag at Index. The tag of a joint at Index in the joint list for this object.
  • I could add those easily, I think. What would you like to be able to do? Use a joint tag to get the UIDs of those attached by the joint, get UIDs of other objects attached to an object, get joint X and y positions by tag?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cipriux, please download the plugin again. I've added a linear tween option.

  • Unfortunately, Prominent, there are no methods in the library I am using to enable access to the emscripten joint reaction force values.

  • Thanks Cipriux! I'll add the linear type tween asap.

  • Instructions!

    The plugin will be ready in the next couple of days!

  • Colludium - That custom collision box drawing is awesome. Can that be done at runtime? to build / change collision box shapes on the fly?

    Thanks! Yes it can. I have an example where you can draw shapes - follow this link then click on the button at bottom left ("Draw Shapes") and you can see it in action. The hull is contained in an array of vertices that can be loaded directly into the plugin to form the outline (it loads as array.AsJSON). The plugin will include a capx of the editor and it will also have instructions that explain how to use it.

  • Added a helper function to check that a loaded polygon shape is not complex. Not long now....!

    Here's a demo of the editor capx: link

    Upload images and edit the collision shape, then download / copy the AsJSON string for the shape array.

  • Thanks justifun!

    Platform behavior now complete. Here's a demo: link. Open it in a mobile and it'll give you screen controls, otherwise use the arrow keys to move. It's hardly a massive puzzle platformer, but you get the idea .

  • Hull shape editor now complete. This works how the c2 sprite polygon editor should have worked... Right click on a line to create a vertex; left click on a vertex to delete it. Download the json or copy it from a textbox.

    Here's an example:

Colludium's avatar

Colludium

Member since 26 Aug, 2013

Twitter
Colludium has 11 followers

Connect with Colludium

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies