Constant777's Forum Posts

  • I think only Ashley can answer me...

  • Hi!

    I took the chat template from the Construct examples.

    Added a button to exit the chat and 3 text forms in which the multiplayer states are displayed:

    Then I export poject to Android, run it, push button "JOIN"

    Then I collapsed the chat and waited 10 minutes.

    During this time, the server apparently disconnected me.

    I clicked the exit chat button, it is clear that there is no connection with the server, but the system shows that I did not leave the room.

    And I can't go into the room again.

    How to log out of the chat correctly?

  • What platform?

    If you have a log in server, that can be used to verify the game version at the same time. What authentication method are you using?

    I need to check for updates on android.

    the game itself, but not the android system.

    because for some players, the update may be disabled.

    there are games that you go into and they show you a message that you need to update the game.

  • Hi!

    I need to check for game updates and show the user that it is necessary to update it or automatically update the game.

    It may be forbidden to log in before the update.

    How do I check for an updated version of the game and update it automatically?

    Tagged:

  • Try Construct 3

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

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

    I want to output the value through the text 10^30=1 000 000 000 000 000 000 000 000 000 000

    but I can see only 10^30=1e+30.

    I need help :)

  • Hi!

    I have an online chat with rooms. I need to create a password for an online rooms.

    If the password for the room matches the password of the host, then the user enters the room.

    Do you have any idea?

    I need help :)

  • You don't need to download/upload anything. You can do this:

    > Set myVar to Array.AsJSON
    Array clear 
    Wait 2 seconds
    Array Load from myVar
    

    Run project in Debug Mode and see what's happening with the array.

    I've never used Array.AsJSON.

    I'll try it now.

    Thank you very much! )))

  • You can use Array.AsJSON expression to get it as string. And "Array Load" action to load it back into the array.

    Thanks, but Array.AsJSON assumes that you need to download the file and then upload it. But I need it to be done in the program itself without additional file downloads.

    For example, I have a one-line array and I need to turn it into a string variable: 1;2;3;4;..... and then when it is necessary load it from the string variable into a single-line array

  • Hi!

    I need to convert array to string and then in some case convert back string to array.

    Please help me :)

  • Use a function on the action. On the function add a parameter for the variable and send through the function the hero.ID (it picks the overlapping one automatically). Then in the function, if param=left pick hero where ID= right and set variable, if param=right pick hero where ID=left and set variable.

    Thanks a lot! It works! :)))

  • Hi!

    On start of layout I create two the same sprites "Hero" (with DragDrop bahavior)

    with different instance variables:

    HeroID="Left" and HeroID="Right"

    Sprites "Hero" has one more instance variable: "Check"

    I need to change instance variable "Check" from the sprite "Hero" with instance variable HeroID="Left" when sprite "Hero" with instance variable

    HeroID="Right" is overlaping "SpriteOverlaping".

    If shorter...

    When "Hero" with HeroID="Right" is overlaping "SpriteOverlaping"

    I need to change instance variable "Check" from "Hero" with HeroID="Left"

    I can't solve this problem :) Need help :)

  • the scirra signalling server might have locked you out for having too many connection attempts, it does that to me too sometimes when i test my game, i think the default is like 200 per hour from the same ip ? around that ballpark

    it doesn't look like the problem of blocking from the number of attempts. because when I can not connect to the server and after 10 seconds I connected, then again the same problem can be ...

  • > Today I ran into the fact that right now the SCIRRA multiplayer servers are not responding to requests.

    I just checked, and it seems to be working fine for me.

    maybe you are too close to the server? :))

    I'm in Russia :) I test my new multiplayer game many times a day.

    but today in the afternoon the problems with the connection began.

    this was not the case before. I tested with sample game. So the problem is not in the code.

    There was no connection for about half an hour, and then I connected half the time. Everything works fine now. But if I make the game and players can't join it, it will be very bad.

    That's why I'm asking if I can set up my own server? and is it possible to make a choice of servers if one is unavailable?

  • Today I ran into the fact that right now the SCIRRA multiplayer servers are not responding to requests.

    They don't even work on sample games.

    That is, the problem is not in the game code.

    Please guide me on the settings for creating my own server.

    I have a domain and a website, how can I set it up?

  • Layout:

    Code:

    Result:

    Scaling of pinned Spritefont does not work (((