Constant777's Forum Posts

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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:

  • 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?

  • It's a PNG icon. It's supported everywhere. There's no need to use .ico.

    Ashley thank you very much for your answer!

    I really want you to make an official good plugin for the layout of the site with <dev> tags, with a feedback forms, with resizing for mobile devices and so on.

    So that the site turns out like in Wordpress, but with the capabilities of Construct it will be even cooler! You will attract even more users :)

    Construct has an unofficial plugin for website layout, but it's not good :(

  • Construct does already add <link rel="icon" ...> inside the <head> tag.

    Maybe I'm doing something wrong, but I don't have an icon.ico (!) inside the <head> tag :((((

    <head>

    <meta charset="UTF-8">

    <title>Title</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">

    <meta name="generator" content="Construct 3">

    <meta name="description" content="Official site">

    <link rel="manifest" href="appmanifest.json">

    <link rel="apple-touch-icon" sizes="128x128" href="icons/icon-128.png">

    <link rel="apple-touch-icon" sizes="256x256" href="icons/icon-256.png">

    <link rel="apple-touch-icon" sizes="512x512" href="icons/icon-512.png">

    <link rel="icon" type="image/png" href="icons/icon-512.png">

    <link rel="stylesheet" href="style.css">

    </head>

    Can you tell me how do I insert an icon.ico (!) inside the <head> tag?

    I would really appreciate your help :)

  • What I usually do is put .ico file in the root of exported project. Then modify index.html and add this inside <head></head> tag:

    > 	<link rel="icon" href="/favicon.ico" />
    

    I do the same EVERY time I update site :(((((

    And I couldnt type "?" to <title> in Construct :(((

  • Exported Construct games set the favicon automatically for you. See Icons and Splash in the manual.

    Yes, I see an icon on the site, but search robots don't see it.

    It must be in <head> such string:

    <head>

    ...

    <link rel="icon" href="https://site.org/favicon.ico" type="image/x-icon">

    ...

    </head>

    and the icon should be at this address (https://site.org/favicon.ico).

    Otherwise, search engines do not see the icon on the site and does not show the icon in the search results.

    There is a great wish you to make an official good plugin for website layout. It will be a bomb! ;)

  • Hi! I need to place a favicon when exporting a website to html. How can I do it?

    Tagged:

  • 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?

    The problem is that if the Internet connection lost, the program shows that there is no connection to the server, but I am in the room. How is this possible?

    Because of this error, it is impossible to create a room since I am supposedly already in it.

    And when I try to say to SERVER leave the room, the server reports that I am NOT IN the room but the PROGRAM says that I am IN the room.

    And all this happens on the example of a multiplayer chat without any changes in signalling.

    I need help!

    can any of the developers answer my question?

  • 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?

    The problem is that if the Internet connection lost, the program shows that there is no connection to the server, but I am in the room. How is this possible?

    Because of this error, it is impossible to create a room since I am supposedly already in it.

    And when I try to say to SERVER leave the room, the server reports that I am NOT IN the room but the PROGRAM says that I am IN the room.

    And all this happens on the example of a multiplayer chat without any changes in signalling.

    I need help!

  • Not too clear from your description, but issues like this usually result from misunderstanding and getting the signaling connection and the room connection mixed up. The can be disconnected from separately, make sure you're using the right one. Also note that disconnection is an asynchronous action, it doesn't happen in one tick so make sure to use the 'on disconnected' and 'on left room' triggers to log and diagnose.

    The problem is that if the Internet connection disappears, the program shows that there is no connection to the server, but I am in the room. How is this possible?

    Because of this error, it is impossible to create a room since I am supposedly already in it.

    And when I try to say to SERVER leave the room, the server reports that I am NOT IN the room but the PROGRAM says that I am IN the room.

    And all this happens on the example of a multiplayer chat without any changes.

  • 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!

    Tagged: