Nicolas Wak's Recent Forum Activity

  • Bypass button info with bool values…

    If 1 is pressed set button_1 true

    If 2 is pressed set button_2 true

    If 3 is pressed set button_3 true

    if 1 is released set button_1 false

    if 2 is released set button_2 false

    if 3 is released set button_3 false

    if button_1 & button_2 & button_3 then do your stuff

    And… it's done.

  • Hello,

    I think it is browser related, but I'm wondering if there is a way to detect if a Keyboard is present/attached to the game (or like the Gamepad Object, if there is a Count event, or similar thing…).

    It's not mandatory, it's a polish thing. In my game, when the player press a key or a button, I spawn a notification to warn what is the "main" (last) used controller…

    Thanks you!

    Tagged:

  • Hello,

    You can find many tutorials on pinterest. So you could try

    patreon.com/posts/fire-animation-18225585 for fire

    patreon.com/posts/ice-and-snow-17113157 for ice

    Good luck!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Learn something today, doesn't know that. Thank you Ashley!

  • Hello,

    Used a json file as default, and I think it's the culprit… Anyway, used same file for boolean, and it's a nightmare to retrieve value into a boolean var ^^

    So finally found a workaround, 0 or 1 as bool, -1 as infinity (don't need neg lives or credits), and some checks when retrieving prefs…

    If there is a better way to do, I'm in!

    Thanks for your reply!

  • Hi Team,

    I found very convenient for lives or credits to use infinity value, because when you substract 1 to infinity, you have infinity, without more tests.

    But can you save this value in a dictionary? I've tried infinity, Infinity, "infinity", but when you retrieve the value with Get(), I got 0.

    In debugger is stored as infinity…

    If someone as any clue about this.

    Thanks you all!

  • You can use "Wait for previous actions to complete" before picking objects.

    And you can nest picking, it's reliable :

  • You can make your own (Black & White) and use a Replace Color FX…

    A colored letter from my own, and 4 FX to replace color ex.

  • And for info you can have the "is not" when you RMB on your condition : the X invert

  • Have found a "workaround", use a boolean to stop when I need it.

    In early days when I needed to stop, I could use goto or return :angel:

    Thanks for your help!

  • Hello everyone,

    I search a way to stop/exit/bypass my event to next dt when a condition is met, I've nested "if" and it would be convenient to stop when my 'if' is okay for me…

    Or do I need to write my code differently?

    Thanks forum!

  • Precious advices of you both. Thanks you!

Nicolas Wak's avatar

Nicolas Wak

Member since 31 Jul, 2015

None one is following Nicolas Wak yet!

Trophy Case

  • 9-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies