ChesVCF's Forum Posts

  • Hi,

    I am developing an app, and at the bottom of the layout is a Text Box. I have already exported the project to an apk and tested it on a mobile phone, but my problem is, when I write something in the Text Box, the keyboard pops up and overlaps the Text Box, so I can't see what I am writing.

    Is there any way to detect a keyboard popping up in a mobile phone, in order to make everything move up?

    Thak you

  • Well, after many days trying to get a free server that runs exe files (it's impossible), I've finally decided to export the chat as a html and run it on the server. But, whenever I log out from the server, the host also logs out. I thought it would keep running as a permanent host

    I don't get it, what's the difference between running the chat on a dedicated server and running it on a browser tab, if I have to keep both the server and the browser tab opened in order to keep the chat running? I thought there was a way to keep a permanent host using dedicated servers...

    PS: Does iOS already support WebRTC, or are iOS devices still unable to run the Multiplayer Plugin?

  • This tutorial may help https://www.scirra.com/tutorials/73/sup ... reen-sizes

    However, I would start setting "Fullscreen in browser " to "Sclae outer" (you can find this option in the Project Properties Bar) and adding to your background sprite the "anchor" behaviour and setting "Top edge" to "Window top" and "Bottom edge" to "Window bottom".

  • 1. To the "On touched object" event, add an extra condition "Pick top/bottom"

    2. Change every "On touched object" for "On tap object"

  • Please answer, I am a bit stuck.

  • Thank you.

    I already tried this Plugin some time ago, but, as you can see, the result doesn't look the same (in your capx) as when you run the script. There are no CSS Settings and, over the widget, there is a lot of code.

    This is the reason why I was looking for a way to run Javascript, I would like to get exactly the same result as in the link.

  • Thank you, Ashley!

    I did already export it to NW.js and I uploaded all the files in the "win64" folder to my dedicated server, but I don't know how to run it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use the action of the Browser plugin.

    Else you can create your own plugin

    I already tried to run this code with the Browser action (as I described in point 3), but it did not work.

    I don't know how to create a Plugin that is able to run the code I attached above.

  • Hi, I'm having some problems when setting CSS Styles (it doesn't happen anything). Any clue?

  • I would consider dedicated servers "normal" and peer-to-peer as an oddball.

    And why does C2 use peer-to-peer?

    For research to use a dedicated server, you just need to use your 000webhost server and do research on "PHP program application interface tutorial" and "PHP mySQLi" to find out how to take in HTTP parameters and place them into your database. Then you access your API via AJAX and use it to input items into your database.

    Ok, thank you. I am going to do research on these topics and I hope to be able to implement a browser emulator on my web server. Also thank you for all the information and the tutorials, they are very helpful.

  • Hi,

    I want to execute a Javascript (it's from a web widget, and I want to implement this widget into my game) and I've tried many things, and nothing has worked.

    1.- I tried to load the widget with the AJAX Plugin (didn't work)

    2.- I tried with the JSON Plugin (didn't work)

    3.- I tried loading the code with the AJAX and, once it was completely loaded, executing Javascript (AJAX.LastData) with the Browser (nothing happened)

    I'm sure there is a possible way to load web widgets into the capx. Could anyone help me to execute Javascript?

    Thank you

  • Hi,

    I don't even know if this is possible, but is there any way to load a widget from a web?

    There is a blogger.com widget (HTML/Javascript format) I want to include in my app, and I was wondering if there is any way to load it from the web (or if it is even possible to include the widget into the C2 project).

    I think there should be a way to include it into the project using the AJAX, because this widget basically requests a PHP and loads data (and this is something I can also do using the AJAX object). I already tried requesting the URL, but I always get an error <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad" /> I can attach the widget's code if this can help (it is not very long). The PHP's URL (that is requested) is apiclient.resultados-futbol.com /scripts/api/api.php?key=41d55642f6613d82dae41eac2ecc4d65&format=widget&req=w_results&category=1

    &grated=1&extra=logo&comments=1 (without the two spaces, otherwise I could not post the URL).

    If it is not possible to do it using the AJAX, how can I load it from the web?

    Any help would be appreciated.

  • ¡Está genial!

    Has hecho un gran trabajo con este juego, se nota que le has dedicado muchos esfuerzos. Quizá podrías añadir una lista con las mejores puntuaciones (Highscores) para aumentar la competitividad, aunque tal y como está el juego ahora ya va perfecto.

    ¡Un saludo desde Valencia!

  • Fine This was going to be my next solution, but I simply don't understand why the first solution didn't work.

  • I don't understand why this doesn't work for you, for me it works fine.

    Using my way, there are two conditions, and whenever they are true, an action happens. I can only imagine tant you have added some extra conditions, that aren't always true and therefore the action doesn't happen.

    Try this:

    • Toggle disabled (or delete) all extra conditions, that aren't the ones I told you
    • Make sure you are using the event "Is overlapping" and not "Is overlapping at offset"
    • Try using the event "On collision with an object"

    If this doesn't work, please attach a capx and I will take a look.