clouddesign's Forum Posts

  • 9 posts
  • Thanks that solved it!

  • I have a very simple setup where i want to connect 2 dots with a line, i have everything working properly (angle, position, .. ) except the width is set to the distance and it scales from te center (not from the origin).

    So my question is how do i make sure the line does not scale in both direction but rather from the origin towards the 2nd sprite.

    Tx in advance!

  • I've put the biggest sprites in the first layout, yet the game still freezes for the same amount of time (5 sec or so, project download is 20MB) after clicking a character.

    I don't think a fake loading screen is possible because all animations / sprites freeze, or should I just put a basic "loading..." text?

  • My project has 4 layouts:

    [1: Choose language]

    [2: Choose character]

    [3: Game]

    [4: End screen]

    I've read the loading documentation, which says: "The rest of the project loads while showing the loader layout."

    Am I right that everything should be loaded before the first layout is shown if "Use loader layout" is set to "No"?

    Now, when I choose the character in layout 2, everything freezes (animations stop) for a few sec, then layout 3 is shown. I only get a loader at the start of the project but it seems to be loading the first layout only.

    Or I don't get the loading concept or somethings wrong.

  • It's working. Thanks for your help mate!

  • I found the problem. I have 3 layouts. In the first layout I've put the Dictionary object and set all instance variables through the property panel (thats the good way, right?).

    When I display the KeyCount in the second layout, it gives 0. Looks like it forgets the instance variables in the second layout... How can I use the Dictionary throughout all my layouts?

    edit: Global is set to On.

  • Hmm, I'm getting a 0 result when I try to get the value from the Dictionary.

    When I display the text I get the correct result: welcomeTextN or welcomeTextF, depending on the chosen language.

    Yet when I do Dictionary.Get("welcomeText" & language) it returns 0. I'm 100% sure the key value is welcomeTextF & welcomeTextN. Strange... Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a lot!

  • Hi all,

    I was wondering what the correct way was to create a multilingual game.

    I'll have to develop a game which lets you choose your language before you start. If chosen French, all the text should be in French and if Dutch... you get the point.

    Now how should I do this? Should I create a global variable "language" and check what it is after the option screen, then set all text to its correspondent language? Seems like the only way to go but it looks so devious to me.

    Thanks for your help!

  • 9 posts