Tomycase's Forum Posts

  • Okay so, when you say "kill those sprites", you don't destroy them right? They are still somewhere in the layout? Just to be sure

  • Hi, to begin with, did you make sure that all the conditions are met so the sub events can run?

  • I found an issue about the NWjs zoom pinch (togglable with ctrl+mouse wheel) that can't be disabled in viewport, which can be very inconvenient if used by accident by an unexperimented player and can ruin the game display, as well as making ctrl+mousewheel impossible to use in the events;

    (I am using the latest version of NWjs for C2)

    Also I tried to add the "js-flags" property to the package to use the "--disable-pinch" flag following the example of this topic, but I get this error message :

    Any idea of what could be the cause? Thanks in advance ~

    Edit : I tried to put the flag and export the game but it still doesn't work

    Edit 2 : Found another bug, it seems to concern HTML elements only, I'm using a slider bar and a list in my project, and this is how it looks before and after export :

    My project is 1980x1080, tested with both Letterbox scale modes, resizable windows enabled and disabled, it happens everytime after export;

    (just tested with a previous version to be sure, the problem happens only in the latest one)

  • Wow I was about to message you since I know you are qualified when it comes to NWjs, I'll make a post in your topic right now, thanks!

  • Thanks for the answer, sadly it doesn't work, and I need letterscale anyway, I'll continue looking for a solution

  • Hello everyone, I recently discovered that NWjs allows the user to zoom/unzoom during runtime with CTRL+Mouse wheel, however it can be incovenient for a user who toggle it by accident, and can screw the game display, so my question is, is it possible to disable this function with a chromium arg or something?

    Thanks ~

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Alright, what is your language so I can make it easier for you to understand?

    Also tell me if I get it right : the goal of your game is that the player doesn't touch the blue zone, right?

  • Hi, I think I get your problem, it is because even if on top of your boat, the player is still overlapping the water, the overlapping doesn't take in account the z elevation, all those 3 objects are currently overlapping, what you need to do is use inverted condition, example : player is overlapping water + player is not overlapping boat, so the game can make the difference

  • Unless you use an ancient version of NWjs, this should not be a problem. If you experience this with the most recent version, I'll have to take a look at it.

    Yes all the problems I encountered are from the last version, the background process bug included

  • Hi, I just tested the latest version, and noticed that nw.js was running up to 6 process at the same time, preview and exported (tested with the in-gpu-process method but didn't change anything), I was wondering if that was normal :

    Next, there is still an issue with the windows size in preview and export, here different results I obtained with Letterbox Scale and Letterbox Integer Scale :

    One of the problem with that issue is resizing during runtime with Integer Scale, for example resizing to the original size (here 320 x 180) will scale down to the lower integer instead :

    Resizing with Letterbox Scale only will cause distortions, especially in pixelart games;

    A last issue I had is at multiple time the game lauchned as a background process, I had to use the task manager to shut it down;

    I hope I detailed everything correctly, thanks for your hard work~

  • The button finally shows up after I reached 15 posts, it didn't disappeared since then, thanks for the information ~

  • Plinkie's method works, there is also a method where you separate the events for the animations and the death animation in groups, a group for common anims and another group or separated event for death;

    When player collide with object, set animations group desactivated and play death anim, then reactivate it on start of layout

  • No I mean, the layer where the objects are is transparent, the green bg is on another layer, the result is the same without that green background;

    But thanks for taking a look ~

  • Yes it's a case where it doesn't appear on my own posts, thanks for the links!

  • No problem ~

    Welp looks like it's even more broken now :')

    The objects become black and the shadow is drawn only inside the objects (the green bg is on a separated layer, and fx still applied to the objects layer)