Kyatric's Forum Posts

  • Hi,

    I try :

    remote preview or editor on android device

    The page at 'https://preview.construct.net/local.html' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.0.12/'. This request has been blocked; this endpoint must be available over WSS.

    The message basically says that the security protocol for the signalling server (the secured layer) is not activated.

    Possibly a server configuration issue.

    Attempt to connect to 'wss://192.168.0.12/'

    Make sure that your node.js server supports and serves WSS protocol.

  • Uhhhh... what? Chrome isn't Safari. Chrome is Chrome, Safari is Safari.

    Chrome, on Mac, is Chrome's interface using Safari's engine.

    Which makes it, basically, Safari disguised as Chrome.

    At least it was the case a couple of years ago.

    In any case, I have looked through every browser & OS menu I can find and haven't been able to disable this behaviour. It really seems like a C3 issue.

    Have you filled a bug report ?

  • I must say I'm not convinced about the browser/OS settings thing. I don't have this issue with any other program (eg. CMD+scroll gesture does nothing in Chrome, or even in the Construct start page - only in the editor tabs). It seems to be a 'Construct zoom', not a 'browser zoom' (I can trigger a browser zoom separately, anyway).

    I must admit I'm not super familiar with Mac. On windows, ctrl+mouse wheel is the shortcut, in any browser, to control its zooming feature/make the text font bigger in any web page.

    Chrome on Mac is actually the Safari browser, so consider checking Sfari's settings.

    It is "normal" that ctrl(cmd)+mousewheel does zoom in the event sheets, it is treated like any web page in which you can zoom/make the text font bigger.

    I've tried a few things, including disabling trackpad zoom in System Preferences and disabling Chrome zooming with extensions, but the event-sheet zoom problem still occurs. No other web pages zoom in/out when holding command and moving two fingers on the trackpad - it certainly feels like a Construct zoom feature, so hopefully it can be an option we can disable.

    Maybe that is the case.

    If so, consider filling a bug report for our dev team :

    If you run in to a bug or issue in Construct 3, please post it to the GitHub issue tracker here:

    https://github.com/Scirra/Construct-3-bugs

    You must follow the bug report guidelines or your issue will be closed without investigation.

    If you have suggestions for new features or improvements in Construct 3, we have a feature suggestion platform here which lets everyone vote on their favourite ideas. You can find out more in this forum thread about posting suggestions.

    Your must follow the suggestion guidelines or your suggestion may be declined.

  • Have you followed the instruction indicated in this topic : https://www.construct.net/en/forum/construct-3/general-discussion-7/mobile-adverts-plugin-changes-161613 ?

    Are you using the latest beta release ?

  • My android phone is on the same wifi network and I can ping my laptop

    Consider plugin your phone onto a PC and check for errors in the browser while executing the chat room example to possibly have more informations from the console :

    Plug your phone to your PC through USB (be sure to activate USB debug mode on your Android phone) and in the Chrome browser on the PC, reach the URL "chrome://inspect/#devices".

    construct.net/tutorials/checking-for-errors-in-browsers-5

  • I personally made it work in the past.

    There should not be major cons, as long as you make sure the menu interface still is available on the host, in case the mobile cannot connect.

  • This type of zoom is actually related to your browser/OS configuration (especially the mouse wheel sensitivity).

    So you should check if your browser, in its configuration, if you can disable that zoom shortcut.

    The shortcut to get back to 100% original zoom is ctrl (cmd) + 0 (@, not the 0 of the numeric keypad).

  • I just buy the server on the store. I need to create dialog between Win10 app and android app with C3.

    I change config.js with this :

    server_host: "192.168.0.12",

    ssl: false,

    On my laptop which have node.js, it's working (I use room chat example to test it with ws://192.168.0.12)

    On my android phone, I have "signalling error:error"

    Any ideas ?

    Ashley Tom

    By the sound of it, your computer is executing as a local server/on a local network, but your phone is not likely connected to that network.

    You need to check your configuration so that your phone will be connected to that local network and access the signalling server.

    Otherwise, host the signalling server on a distant server over the internet, with a proper configuration for your laptop and your mobile to both access it through a proper URL.

  • Those type of errors would raise up if you are disconnected.

    Make sure your internet connexion is working, make sure you do not have some kind of firewall/network policy that would prevent you from accessing the construct.net domain, and any sub-domains as well.

  • Yes, you can place comments in the Event Sheet and even now place comments within the events themselves, as part of the actions.

    As you can read in How events work, event sheets are read from top to bottom, so no difference to what you are used to here.

    At last, to start in a project, check the event sheet attached to the first layout of the project.

    That first layout is set in the project's properties and by default is the first layout in the project bar, in the folder "Layouts".

    Open this event sheet and read from top to bottom.

    You can encounter included event sheets, acting like in object oriented programming.

  • BTW any idea about my first query?

    My answer should apply as well. I'll ask DiegoM to confirm.

    Edit: Next stable release should have all fixes in the Mobile Advert plugin, and all should be fine as long as you update using the version in that release.

  • Is your game exported with the updated release of Mobile Advert in R257 and later ?

    Have you followed the changes to the plugin from R254 and updated accordingly ?

    If not, then you should and this message would be of no worry.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Indeed, you will need a distant server to host your database and will use the AJAX plugin from Construct to communicate with that server and retrieve the values you are looking for from the client's side.

    You can check some tutorial like this one :

    construct.net/en/tutorials/creating-own-leaderboard-1032

    or

    construct.net/en/tutorials/online-high-score-table-ajax-202

    in order to see how AJAX works with communicating with a distant server, and what kind of script you can have on your server.

    The tutorials use Construct 2, but the theory is the same with Construct 3, and you can even make use of the JSON plugin and data structure for your exchanges with Construct 3.

  • The way the multiplayer plugin works is explained through 4 tutorials that can be found in the manual article.

    You could have a single sprite object, but displaying a different animation (if the controls are pretty much the same), and using "Send message" action in order to let the host know what animation/object type is to be assigned to what peer (using the PeerID expression in order to identify the peer).

    This likely will mean keeping some array from your host's side, in order to know what PeerID is associated with what animation

    The same think applies if you want to spawn/associate a specific object type instead of instances (the tutorials display how to use instances but the logic is the same for you if you want to rely on different object types).

  • Mke sure to properly follow up the instructions for Building Android apps (APKs) in Construct 3, to first make a debug APK/unsigned release APK. Make sure to properly set your application properties in your PlayStore game's page, according with the type of release you are making.

    And then make sure to properly follow the instructions in order to be Building a signed APK for Android in Construct 3.

    Make sure you are signing each export using the proper keystore you generated the first time (and only THIS keystore, as indicated).