Constant777's Recent Forum Activity

  • Hi! I opened an example: "Multiplayer chat example".

    How do I change a text color (and make it bold) of one word in the "Text input"?

  • > > There is a run in background plugin you can use.

    >

    >

    > Can you write more details? I don't know what you're talking about.

    https://www.construct.net/en/make-games/addons/462/run-background/ace

    Dont know if it will work in ur case tho.

    The server returned an HTTP 404 error. That requested URL could not be found.

  • There is a run in background plugin you can use.

    Can you write more details? I don't know what you're talking about.

  • My standard response is: don't do that, it will waste the device battery. Why do you need to send a message on a regular basis? If you need to do something like simulate the passage of real-world time in a game, then you can just measure the time between the app suspending and resuming, and simulate that much time passing, allowing the device to save battery in between.

    I need to do an in-game chat.

    To do this, I took an example of a multiplayer chat.

    But if you are absent from the chat for 10 minutes, the chat closes. And if the chat is minimized, then messages do not come to it.

    How do I solve this problem?

    P.S. There is a bug in the chat itself.

    If you turn off the Internet and then turn it on, you will need to restart the app to enter the chat. Because the app thinks that I am IN the room, but NOT connected to the server and NOT logged in.

    Some kind of paradox :)

    read more about this bug here: construct.net/en/forum/construct-3/how-do-i-8/leave-room-mutliplayer-chat-164494

  • Hi!

    I uploaded an example of a multiplayer chat.

    Added an action: send a message every 10 seconds.

    Then I exported it to android (I didn't choose "Pause on unfocus").

    After I minimize (collapse, make app not active, choose another app) the application, messages stop being sent.

    How do I fix this?

    I need to keep app alive after collapse the application.

    Tagged:

  • > VIBRATE iOS PROBLEM

    >

    > Hi!

    >

    > When I export my project for iOS, the vibrate always has the same (very) strong (long) intensity. But the same project exported to Android works correctly (with the intensity that I wanted).

    >

    > Any suggestion regarding how to fix this? Is it a Cordova Vibrate Plugin bug?

    >

    > Maybe I should specify a different intensity for iOS, Ashley Ashley?

    >

    > I REALLY need help...

    IOS 15?

    Yes. 15.0

  • VIBRATE iOS PROBLEM

    Hi!

    When I export my project for iOS, the vibrate always has the same (very) strong (long) intensity. But the same project exported to Android works correctly (with the intensity that I wanted).

    Any suggestion regarding how to fix this? Is it a Cordova Vibrate Plugin bug?

    Maybe I should specify a different intensity for iOS, Ashley Ashley?

    I REALLY need help...

  • Hi!

    I downloaded an example of a multiplayer chat.

    Added 1 Button: "Leave room"

    Added 3 text fields to it that display the connection status:

    1. is connected to the server (is NOT connected to the server)

    2. is logged in (is NOT logged in)

    3. is in room (is NOT in room)

    I made an output to the android file.

    Started the chat.

    The text became like this:

    1. is connected to the server

    2. is logged in

    3. is in room

    Turn off WiFi.

    The text became like this:

    1. is NOT connected to the server

    2. is NOT logged in

    3. is in room

    Why doesn't the chat leave the room?

    It is not possible to re-enter the chat.

    When I click "Leave room" button, the server writes:

    Error: not in the room.

    But the system thinks I'm in the room and informs me about it:

    3. is in room

    How do I make the correct exit from the chat so that it does not stay in the room when the connection is lost?

    Ashley, I need help!

    The problem still remains. Maybe Ashley Ashley can help solve it?

  • Today I exported a project that used to work without problems.

    I noticed that if I set the value of minifying the script to "Advanced" then the App does not start on Android.

    Although a couple of days ago everything worked. I tried a few more projects that worked before and got the same effect - the App does not start on android.

    The application icon is shown in full screen and nothing happens further. If I choose "Simple" when minifying the script, then everything works as before.

    What could be the problem?

    Ashley

    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 need to change the color of top action bar and bottom navigation menu bar in an Android App or make it transparent.

    How can I do it?

    Tagged:

  • Hi!

    I decomposed the music by frequency using Audio.AnalyserFreqBinAt and got the data every 1 second.

    How do I play this data?

  • Hi!

    In my project there is a variable VarProject and there is also an array ArrayProject.

    I need to access them via Java in main.js.

    How can I get this data?

Constant777's avatar

Constant777

Member since 5 Apr, 2021

None one is following Constant777 yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies