Coin-coin le Canapin's Recent Forum Activity

  • Hi again. No idea?

  • Nice plugin !

  • Basically, if I do :

      if gamepad axis X > 0 -> 8 directions simulate right if gamepad axis Y > 0 -> 8 directions simulate down

    The movement will go right AND down even if my stick is 100X and only 1 Y, which is not really nice if I want only go left.

    So I made larger "areas" between X and Y to allow the player moving in only one direction even if the stick is a bit in another direction. I'm not fluent in english and I may be hard to undersand <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    That said, I made this :

    https://i.imgur.com/YTlfIjo.png

    Now my character will go to the right or left only even the stick points a bit to up or down (and the same if you invert X and Y).

    Is there any better way to do this?

  • Thanks for the example !

    Yes you are right about the keyboard limitations. I think I'll look toward another controller, like a gamepad.

  • Hi.

    I would like to have a zelda-like movement behavior, with two players on the same keyboard, each player controlling his own character.

    What is the best way to do this?

  • Thank you for your explanation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi !

    Currently, I have this in a foreach loop :

    As you can see I have identical events on both conditions. Is it possible to simplify this, like having a single conditions block or something like that?

  • Thank you.

  • Hi. I would like to store all my objects coordinates into an array . Does this work with a system -> pick all, or does this work only with a system -> foreach ?

    I tried this but it doesn't seem to work :

    I already have an array with all my elements coordinates and their corresponding array index number (stored in an object variable as chronobject.arrayIndex). I just want to use this new condition to update their coordinates into this array.

    Is it possible to do so like this? I tried with a foreach and it works perfectly, but I don't really want to use a foreach for some reasons.

  • Thank you very much! I read the manual about expressions but I didn't figured out that this operator was similar to !=.

    Why do you prefer two conditions instead of one expression? Is it faster?

  • If I want to do this :

    pick by evaluate -> object.variable = 100 & object.variable2 != 5

    Can I use a single expression or should I create two conditions as following :

    pick by comparison -> object.variable = 100

    pick by comparison -> object.variable ≠ 5

    ?

  • I made other tests and I'm not where does the issue come from. My issue is kind of hard to explain, and even more as I'm not fluent in english. Thank you very much for your help, I give up this time...

Coin-coin le Canapin's avatar

Coin-coin le Canapin

Member since 22 Dec, 2010

Twitter
Coin-coin le Canapin has 1 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies