AkiraWong's Forum Posts

  • Hi~

    I encountered a question and no idea how to solve it~

    I have several objects, I name it A,B,C,D,E for example~

    What I need is if those A,B,C,D,E objects are not existed anymore~

    Then mission complete, reset the level~

    The question is, how do I detect the condition~

    I found out that there has a "Is on-screen" condition~

    But how do I make it become "Is not on-screen"?

    Or there have other ways to do this actually?

    In addition, how to reset level?

    As my guess, I think is reload the layout?

    Hope someone can help~

    Thanks~

  • Thanks you JohnnySix~

    Finally solved this question~

    I learned a lot from these~

    Thanks~ ^o^

  • Try Construct 3

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

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

    I have an object (Player) which will only follow the mouse.x axis~

    The y axis is a fixed value because I don't wanna to move up & down~

    But I want the object move just within a range~

    For example, I set a x axis range between 100 and 400~

    So that the object will only move within this range~

    Even if my mouse axis is over or less than this range~

    In detail, let's assume that my mouse is currently at x axis 500~

    But the object will still stay on maximum x axis 400~

    When my mouse get back to x < 400, the object will follow back~

    Same as above, let's assume that my mouse is currently at x axis 30~

    But the object will still stay on minimum x axis 100~

    When my mouse get back to x > 100, the object will follow back~

    How can I do this, I try a whole day still haven't figuring out~

    I thought if I make 2 invisible collision objects on left and right~

    It will block the player going out from the range but it won't work~

    I think is because solid object won't affect mouse controlling object?

    So... how can I do this?

    Hope somebody know~

    Really appreciated~ ^_^