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? Do I have to set maually the Y of every single object to their own Y + the keyboard's height? Or is there any better way?

    Thak you

  • Hi, I'm ChesVCF and I'm trying to develop an app for my Instagram Valencia CF fan page (@ches_vcf)

  • Try this way:

    Event: Sprite22 Is overlapping Sprite1

    AND (another condition) Sprite22 is overlapping Sprite2

    and then you add your action. This should work, if it doesn't, let me know.

  • Please, could you tell what kind of game you have in mind?

    Try adding a Highscore/Leaderboard, so that the players try to beat their own highscores and the highscores other users made.

    You could also try to implement a system that allows the player to improve (for example paying coins that can be collected), this way players will have to play in order to improve.

  • It depends on the system you use to export your game. If you use the Intel XDK (which is the system that is normally used to export your game to an apk) you have to provide 4 different sizes (in PNG format) which are: LDPI - 36x36px; MDPI - 48x48px; HDPI - 72x72px and XHDPI 96x96px.

  • gumshoe2029

    1. a 000webhost.com server

    2. which is exactly the difference between normal and dedicated servers?

    I tried using the AJAX object to "contact" a database, but my problem is that all the tutorials are written for PHP 5.6 (which uses MySQL) and since the PHP 7 update, it is necessary to write MySQLi (I don't know and I didn't find the adequate code), so I decided trying with the Multiplayer plugin (which would be fine if the room's stability didn't depend on the host being connected). I don't want to give up the Multiplayer plugin yet, I hope to be able to find a solution.

    Anyhow, if you could kindly tell me what I exactly need to research on to implement a dedicated server (I do only have basic knowledge), it would be great.

    Thank you once again for your help, I really need it

  • gumshoe2029

    Thank you for your answer!

    After reading these posts I have 2 questions:

    1. How can I add a browser or a browser emulator on my server? I am not really an expert in servers. I suppose if I do this once it won't be necessary to mantain the server (excepting there is a bug or the server has any problem), isn't it?

    2. I read that the Multiplayer Plugin does not work with iOS, but this post is from 2015. Does it work now on iOS devices?

    Tank you once again for your reply

  • Hi,

    I want to make a chat where the host is always connected, so that the peers don´t get kicked from the room whenever the host leaves the chat room. I do already have a 000webhost-server which I could use, but I don't know how to make this server my chat room's host.

    Do I have to configurate anything in this website? Or can this be done only with events an actions?

    Thank you for your help

  • rexrainbow

    1. I know, I am dealing with the Firebase Plugin. My question is: How do I configure the Firebase's database, so that whenever the game updates the scores, it gets the scores from this concrete database? Is it necessary to do this with a JSON?

    2. This is very similar to question 1: once the player is authentificated (logged in), how do I automatically save his score to a database with his User ID, so the player is able to recover his current score if he logs in to his account from anther device?

    3. Which system do you recommend for exporting games to Android/iOS instead of Intel XDK?

    Thank you once again, once I solve this issues I will be able to publish my game (thanks to you! )

  • rexrainbow

    I've been trying them all (your scoreboard and authentification plugins) but there's still two things I don't know how to do:

    1-I want all players to post their own scores to a server and then request the server (e.g.) the 10 best scores and show them in the leaderboard (it's not a list of the player's personal best scores, but a ranking with the best players with their highest score).

    2- And is it posible to save the player's score (or any variable) when they login (for example via Google) with your authentification plugin? This way they can recover the advance they made if they login to their account from another device.

    I use many of your plugins and I have a last question, do I have to add your plugins to my XDK Project before exporting the project with Intel XDK? And if yes, where can I get the plugin's ID?

    Finally, I also wanted to congratulate you for your amazing plugins, they are really helpful and add necessary features to C2

    Thank you also for your help and for your answer

  • Hi, I don't know how to export a game with third party addons with the Intel XDK. I tried to export my game, but when I run the .apk on an Android device it doesn't load past 99% (it simply stops). Could it be because of the extra plugins and behaviours? I only added LiteTween Behaviour and many of rexrainbow's plugins. If this is the case, what do I have to do and where can I get the Behaviour's/Plugin's ID?

    And what would happen if I set my "Game Menu" layout as loader layout? Would it load faster?

    Thank you for your help

    PS: When I run my game in the Intel XDK Simulator I have the same issue.

  • Of course, the room you rejoin has to be the same as the one you were in before

  • I think I found a solution, Event: "On signalling error" Action: "Auto- join room"

    For me this has worked, although now it's impossible to be the host, you are always a peer and I don't know what acts now as host, but it is always connected and its name is "1"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • randomly No, it doesn't work this way. When the host leaves the room, peers get kicked from the room.

    I think there might be a way, because in the tutorial's comments someone wrote many years ago he had been able to implement this system.

    Anyway, if it is not possible, is there any other way to prevent players being kicked from the chat room whenever the host logs out?

  • Fine