Kyatric's Forum Posts

  • Not just like this.

    As indicated in the manual - construct.net/en/make-games/manuals/construct-3/plugin-reference/json - there is need for keys names.

    Also arrays in Construct go under a specific format :

    {"c2array":true,"size":[10,1,1],"data":[[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]],[[0]]]}

    This is a blank 10,0,0 array in Construct. It is an object named "c2array" with a "size" and "data" keys/parameters.

    Your provided string does not even contain a key name and put as is in the JSON object will just trigger an error on parsing.

  • I do indeed mean Local Storage, sorry I wasn't all awaken at the time of my answer I guess.

    Editing it in my previous post to prevent further confusion.

  • The system expression "unixtime" could help you with that.

    Save it to the local storage when you exit the game, and on start of your game subtract the current unixtime from the one you saved, this will give you the amount of milliseconds that went by since you last exited your game (or saved the unixtime at the time).

  • You cannot access instance variables in this way.

    You have to name them the exact way they are so in your expression, to match the first instance variable you would have to :

    self.n0

    For what you are trying to do, you should rather look into arrays and their for each condition that allows to loop through them.

  • : Please keep things civil.

    Being aggressive towards people and calling them stupid when they are just participating in a discussion is counter-productive and can result in moderation actions against your account.

  • Your browser is not correctly configured.

    At worst save the document as a .capx file and you should be able to open it in Construct.

  • Consider using the safe mode : construct.net/en/make-games/manuals/addon-sdk/guide/safe-mode

    This will allow you to reinstall some of the third-part addons you had to have C3 initialise again.

  • You do not need the "Every tick" condition.

    Your array condition only concerns the value that is stored in the cell of X 30 in your array.

    When the value for this cell is greater than the value of the instance variable ZealotHealth of your array, the action happens.

    "whenever the array becomes 30+"

    It means that it has more cells than 30, right ?

    Well, it does not matter as your condition only applies to the cell of index 30.

    You should rather explain clearly what you are trying to attempt, post the c3p of what you have done, what you expect the code to do, what you experience it doing instead.

    Be as clear and detailed as possible.

    This way you'll get the more accurate answer possible.

  • The manual is your friend : construct.net/en/make-games/manuals/construct-3/behavior-reference/pin

    Yes, pin it using "Position only" and the angle will be kept the original angle.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you know if it's possible to rotate de image/text keeping them in the same position, as the roulette wheel is spinning?

    Use the pin behavior possibly.

  • It would be very useful but all the links that are in the linked post are always expired (the links to dropbox)

    Then post in the topic asking the author to post another working link, or if the community could post the projects.

  • Sticky topic in this forum : construct.net/en/forum/scirra-website/website-issues-and-feedback-35/arcade-132925

    You can also look in this topic in order to find a website that will host your games.

  • That is by design.

    Only a single layout "lives" in memory at a time, and objects on a layout are loaded when the layout is loaded.

    As soon as you go to a different layout, all objects/instances (except for those which are explicitly global in their properties) will be destroyed.

    It is still not clear what exactly you are trying to do.

    The big picture, "updating an object on a different layout" is the solution you decided was answering what you were trying to do.

    What are you trying to do exactly ?

  • You have not added picking conditions to your "SpeedCheck" function.

  • Consider providing your project.

    With what you are describing, this is nothing more than a guessing game.

    With the project, users of this forum are going to be able to investigate exactly what is going on and how to fix it.

    You have at least two layouts, so are you sure that the event sheet that contains your code is the one that is set in the layout's properties ?

    Are you sure your destination layout is really named "Overworld screen" and not " Overworldscreen" or "overwOrld screen" ?