R0J0hound's Recent Forum Activity

  • There's no plugin but you can play mod files with examples here:

  • The physics is updated every frame. 1/30 just means the amount of time simulated in a frame.

    It looks like it's just a difference between the libraries. It may be corrected in a newer version of the chipmunk library since it changed it's collision detection code. Unfortunately there isn't an updated js port.

  • anpur

    Just to point out, the same simplifications you did by typing can be done in events by using families.

  • Drawing with effects is currently an incomplete hybrid of how c2 internally draws them. The edge problem likely isn't fixed. The plugin needs to set the proper bounds for drawing.

    I initially had o's instead of zeros in my username, but I lost the password and no longer had that email. It only has maybe 3 posts, and I imagine is a pm graveyard.

  • Somebody

    It uses a texture the same size as the paster object's texture. It's simpler since it can be created once. If the size of the object being pasted in was used the texture would have to be created and destroyed per object pasted. Also it would crash if you tried to paste in an object larger than the supported texture size.

    That being said, I'll probably make it so the second texture will only be created once an object with an effect is pasted to save memory when it's not needed.

  • Fixed the "paste object" action. It was a typo. Now it also uses an object's bounding box to cull instead of it's collision polygon.

    Did the preliminaries for pasting objects with effects and transparency. Not working quite right for some reason, but it'll have to do for now. A side effect is paster object's now need twice as much vram.

    The internal process is:

    1. draw to a blank off-screen texture with an effect.

    2. draw that texture to the paster's texture with opacity.

  • Update 2.2b

    Download in first post.

    Fixed: "idle speed threshold" action was broken.

  • Slide joints should be like pin joints, but you specify a minimum and maximum distance instead of using the distance between anchor points.

  • icepam

    I added an improved "draw quad" action that can set the texture uv's of an image. Attached is an example. It uses and updated paster plugin so you'll need to re-download it.

    Notice it still doesn't look right since without z it's an affine transformation. For a correct look the z would need to be calculated for each point and the perspective drawing would have to be done manually.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cursors

    In event 4 of the capx I posted. In the capx I use -1, and in the quote I'm suggesting to use -2.

  • icepam

    That's not really possible using this plugin.

    You could of course calculate the transformation matrix from the points on the left to the points on the right, and apply the same transformation on the corners of the image on the left. It's a rough idea and a little tedious to do, especially if you've never done any matrix math. I could also instead possibly add another "draw textured quad" action that let's you specify uv coordinates to use.

    The second and probably more pressing problem is the "draw texture quad" action doesn't do any perspective correction since it has no z knowledge. It looks like "affine" in this link:

    http://en.wikipedia.org/wiki/Texture_ma ... orrectness

    So you'd either have to write an effect to do the perspective drawing or do it with math in events a pixel at a time, which is relatively very slow. The math is basically in the above link but it doesn't cover everything.

    I was able to use it a few posts back with horizontal lines but it's not enough for what you're after.

    plugin-paster_p875157?#p875157

  • Update 2.2a

    Download in first post.

    Fix: JointAnchor expressions were not giving the correct positions right away if objects were moved.