Colludium's Forum Posts

  • Ruskul - thank you very much indeed!!

  • Ruskul, that would be awesome! Any format I can use would be great - NP++ is my friend and I would like to learn how to edit a behavior - it sounds like the perfect time to start!

    I have mixed feelings about editing the stock behavior because there's: a) a small burden of re-updating it after each c2 update, and b) it's possible that Ashley might one day provide us with more than a light version of box2d. However, I have no problem with setting parameters using event sheets, so that is what I would like - the code to copy / paste into the stock behavior. I really appreciate the help - thank you!!

    Also, while I think about it, do you know a way to add joints / apply forces / apply impulses to an object using real world coordinates, rather than just via imagepoints? Thanks again!

  • Ruskul - you're a gent. To be honest, I'm not sure if I want to commit to trying to create more features by editing the physics plugin since it seems like you've already done the work and found problems trying to do the same (I am javascript level zero, by the way...), but it's very kind of you to offer to help! I am primarily interested in creating kinematic bodies - I have a poor-man's work-around involving moving immovable objects using events, but they don't collide nicely with other physics objects unless they are limited to moving very slowly. I should probably start another thread rather than hijack this one! I've experimented a bit with r0j0's chipmunk plugin but the joints seems slightly less stable, IMO, and I was hoping that asm.js might produce the goods in time for me to complete what I'm doing.... I'm probably being picky and should give that another go, even though it would mean I have to start again on my current project.

  • Change the collision polygon so that the square must be inside for it to trigger an overlap.

  • I'm liking this a lot - great idea!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How did I miss this?!? Ruskul, this could save me a lot of stress... Any code or tips you could share would be much appreciated - thanks for looking at this.

  • C2 allows you to quickly throw a draft layout together. It also enables you to easily experiment with some eye pleasing visual candy using default or plugin behaviors and effects. This does not mean that a quality game can be thrown together nearly as quickly - planning and patience are not provided by the editor....

  • To work with positive and negative values: the integer of a variable Var = int(abs(Var)) * abs(Var) / Var

  • matrixreal, you can use lots of different types of pre-conditions providing none of them involve objects that comprise the subsequent collision check. Every x seconds, a Variable equals, and so on.

  • - excellent!!

  • . It allowed me a quick break from (failing at) planning a layout.

  • TiAm, thanks for testing 10.5 - I should have thought of that!

  • Eisenhans & JamardaDigital,

    Bug report submitted - here.

  • Problem Description

    Physics layout does not run if exported to NW (v12) with asm.js and script minify selected (black screen). All other export options and Box2d Web function correctly, including HTML5 export in all browsers. Additionally, all previews including NW function correctly....

    Attach a Capx

    [attachment=0:2xaoefb2][/attachment:2xaoefb2]

    Description of Capx

    The capx is a probably not required - it is the Physics Rolling Platformer demo saved using r198.

    Steps to Reproduce Bug

    • Export to latest NW, select minify script
    • Run the NW export

    Observed Result

    Black screen only when exported to NW with script minify - 32 and 64 bit.

    Expected Result

    Not black screen.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)
    • NW: (YES)

    Operating System and Service Pack

    W8.1 x64

    Construct 2 Version ID

    r198 64 bit / NW v0.12.0

  • What does the debugger profile page show? It's cpu loading is less as well, so you'll see a more representative game play / frame rate - but most importantly you'll see what's eating up most of your cpu time. As long as you've broken your events into groups it'll be easy to identify what's using up the most cpu time.