Colludium's Recent Forum Activity

  • A new demo of how to use the array.AsJSON shape import.

    The demo can be seen here. It's quite simple - left mouse to draw a shape, left mouse drag on a rectangle to drag it around. The shape you draw is loaded into the shaded rectangle as an array.AsJSON set of points. Thus you can create bespoke shapes during runtime if you wish.

    The demo capx can be downloaded from here.

  • Update v 1.15

    Bugfix. I noticed that some vertices were being omitted after a custom shape was loaded by AsJSON import. This has now been fixed.

  • No worries - it prompted me to add a functional check of the other attached plugins - the behaviors will tell you if there's an error now, rather than showing up as a javascript error.

  • Update.

    Bug fixes.

    Platform now v 1.08

    Flow ctrl now v 1.08

  • matriax, you have to add the Box2D+ together with the Box2D Platform behavior to enable the behavior (the Platform behavior is a helper / controller and requires the Box2D+ plugin).

    Edit: I have updated the platform behavior helper so that it warns you if the Box2D+ behavior is not present.

  • Update v 1.14

    Minor bug fix in collision trigger function

    Added ability to use helper plugin to set the world scale to Large (0.10 instead of 0.02). matriax - I hope this helps

    Helper plugin can be downloaded from here. Just add it to your project somewhere and the Box2D+ plugin will set the Large world scale value.

  • matriax,

    I am sorry, the modification I tried to make would require you to restart the layout once the world scale setting has been changed - it is not possible to implement the change I want to make to the engine via events. The problem is caused by the way the plugin starts inside c2/c3 - the world is created before any events take place, and changing the world scale after the world has been created would cause all sorts of other problems.

    Short term solution: you can change the setting in the plugin yourself using Visual Studio Code / Notepad++ etc. Search for:

    this.data.worldScale = 0.02;[/code:3je73aih]
    
    Then replace [code:3je73aih]0.02[/code:3je73aih] with [code:3je73aih]0.1[/code:3je73aih]
    
    Long term (hopefully later today...) I will try to make a helper plugin that, if loaded inside the project, the Box2D+ plugin will change the world scale.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • matriax - already on it. I will give a World global setting Action to choose between Default (0.02 scale) and Large (0.1 scale). Should take 20 mins.

  • matriax, the minimum size is a 'feature' of the r2.3.0 Box2D library I used - there is nothing directly that I can do to affect it.

    What I can do is provide you with a method of changing the default world scale. It is currently a hidden value (0.02 - same as for standard Physics). If it is changed to 0.1 then the plugin will support 1 pixel tilemaps (I just tested it and it works ok). If the number is set too high then the plugin library's collisions become visible (objects that should be at rest appear to jostle and move around). Of course, the world gravity will have to be changed as well. Would this suit your needs - it'll take me a few minutes to add a method to do this and then upload?

    Edit - I will create another draw example (the one in the demo broke because of changes to the plugin).

  • matriax,

    Thanks for the bug report - apologies for you finding it immediately upon purchase. The plugin supports a minimum vertex length of 2.5 pixels - I hadn't anticipated anyone using a tilemap where each tile is 1 pixel long (if I understand you correctly). It is highly likely that the engine will not support such a small tile size. Please let me know if this is going to be a problem for you and I'll try to help any way I can.

    Edit: I have tested the minimum tile size - the minimum size that is supported is 3 pixels (assuming a box collision shape per tile).

  • Update: v 1.13

    Bugfix: type-o in the runtime.js file. Please re-upload to get the latest version.

  • matriax, feel free to pm me a link - as long as it's not too complex then I'll be able to take a look today .

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