Danwood's Forum Posts

  • I'm trying to calculate the difference between 2 angles, but if i use the .angle expression, as you may expect, it doesn't work well, because it reaches 360 and then jumps to 0. So for example, is angle 1 is, say, 345, and angle 2 15, it calculate the difference of 330, while it is just 30.

    Is there another way to do this?

  • Short answer: you can.

    Long answer: yes, you can,

  • Although i'm very happy NW gets updated very often, i agree with Silver that it's better to be "stuck" to a stable version and update only when a major version comes out, it's better both for time purposes and continuity.

  • I have to add more stuff before post it but Danwood already own a beta version

    Exactly, i can't wait for the final version though

  • add a blur effect to the shadow layer

  • A way i found to "fix" the search not-always-working on unexpanded events: save and reload, then search.

    With huge projects such as mine, missing a single entry could potentially lead to nasty issues later on, so a proper search feature is mandatory.

    Also it would REALLY help if results were highlighted.

  • We've been working on a game where a natural ecosystem is represented, and you survive as part of it.

    Subscribe to Construct videos now
    Subscribe to Construct videos now

    It's not a "big game" in term of levels, story or content, as it's totally sandbox, but the game mechanics (or to better say, simulation mechanics) are extremely sophisticated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Still in pre alpha version, I really hope to see moar performance improvements

    You can get it from the NW repositary.

  • I quickly created a node-webkit-advanced plugin with node-webkit original features plus extra features (Quit app, SetWindowPositionToCenter, enter fullscreen, leave fullscreen, trigger when lost focus, trigger on focus, force quit app when on close event...)

    Is it hard to do, could i do it myself too or i need to get the plugin?

  • Danwood

    You could test this little app (64b) to test center position if you want.

    Works on Win7 64b, I don't trest on win8.1/win10 atm.

    That works! how to integrate it in my project?

  • If you're talking about your game in a window centered on the users screen/desktop

    Yes that is my issue. The prblem is whenever the window changes from NW.js it is no longer centered on the desktop, so the user must manually reposition it, and that's what i want to prevent. It's a minor thing, i now xD

  • Are you talking about centering in a browser? Phone?

    Do you have an example/screenshot?

    Centering the game window (in windows)

  • I've set up a system that remember and sets a custom window width/height every time you start the game, the only problem is that when it triggers, the game window is not centered on my screen. Is there some java code allowing me to do that?

  • Thanks for fixing that!

  • Problem Description

    Changing a layer effect doesn't make C2 save / undo

    Attach a Capx

    No need for it, very simple issue

    Description of Capx

    -

    Steps to Reproduce Bug

    • Add a layer w/ an effect
    • Save
    • Change an effect parameter from the editor

    Observed Result

    C2 doesnt allow you to save or undo the parameter change, and in some cases, even if you change something else in the editor and save, the layer effect change is not saved as well.

    Expected Result

    Layer effect change should be identified as a change, allowing you to save/undo

    Affected Browsers

    • Editor

    Operating System and Service Pack

    win 10

    Construct 2 Version ID

    r225