Danwood's Recent Forum Activity

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

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

Danwood's avatar

Danwood

Member since 2 Jan, 2014

None one is following Danwood yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

16/44
How to earn trophies