disfey's Forum Posts

  • 15 posts
  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • create a variable and every X seconds add to it 1, then Text -> set text (Variable)

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • If you want to pass a value from the indicator, just specify its value in the Ajax request

  • Ajax does not transmit in percents the progress of its request, it only transfers the result, you can do as I wrote above, if you successfully receive data, simply set the width of your Progress Bar through a variable, or if you use a regular Progress Bar, set it to a number from a variable, if this number = 100, you carry out your further actions.

  • well, you can pass the value to the width of the object

  • I think that specifying the percentage of request loading is not very effective, since it happens very quickly.

    But if you want to do it for the sake of a visual effect, then you can start the timer if the request is successful.

    Create a variable and, if the request is successful, start a timer, add 1 to it every 0.02 seconds, and output the variable to the text.

  • You do not have permission to view this post

  • you can't just disable CORS.

    API request can be sent if your game is uploaded to a hosting that does not block CORS requests.

    What are you trying to do, what API do you want to use?

  • Create a column called "month" in the database on the server. When the player logs into the game, load this value and compare with the current date

    if you need to update it automatically, create another column called "new month". Now the game needs to compare these two values. (old / new)

    Well, and then send a new value to the database.

  • like this?

  • 15 posts