Danwood's Forum Posts

  • lol, I'm so used to directly update from the nw site that forgot about it

  • I've installed the new stable NW.Js v0.18.0 (http://nwjs.io/downloads/), and my game doesn't preview (perpetual white loading window). Do you happen to have the same problem?

  • To be honest I personally have no idea on how I could approach this. My game is based on the concept of an old GBA game, meaning that there are units off-screen that fight each other and I have no clue on how I could destroy them and keep the illusion of them fighting off-screen.

    I got a similiar game here. You can only work on the object that do not interact / fight while offscreen. You can use arrays to keep track of objects variables/position etc, and destroy/recreate them depending on their position/distance from the scrollx/y. Of course, this could be a double edged sword, as the performance impact of the creation/destruction (which should never happen every tick) could exceed the benefict of the reduced object number.

  • My game can only use solution 3, as it is a big game world with an emergent "ecology". Solution 1 is doable in theory, but the amount of layers is too high to use it, as many objects use their own layers also to trigger events and so on.

    There are some "persistent" objects which are destroyed / recreated based on camera position (happens on a timer, i carefully tested the trade-offs).

    All in all, if you know how to use timers and don't exceed with webgl effects, the main issue is number of objects, as we all know...

  • I made my own group watcher in the events, lol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wow, why didn't i find it, i've searched for hours for an expression xD ty!

  • 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.

  • 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?