oceldot's Forum Posts

  • great work

    You are too kind

  • Hello,

    Did you update BOTH places in your build options page? Both have to be incremented.

    HTH.

    [attachment=0:2cpegmo1][/attachment:2cpegmo1]

    You are a god amongst men.

  • This is probably a stupid question, but I have never updated a published app before.

    I have tried to update the version number both in Construct and in Intel XDK (from 1.0.0 to 1.0.1 in both these programs), but for some reason in the Google Play developer console there is a mention on version 20001, and when I try to upload my updated APK, it says "Upload failed

    You need to use a different version code for your APK because you already have one with version code 20001."

    Does anyone know of another place I can update the version number?

    [attachment=0:2ja1ugwm][/attachment:2ja1ugwm]

  • Has anyone else noticed a warning message in Google Developer Console lately?

    Security alert

    This app is built on a version of Apache Cordova that contains security vulnerabilities. This includes a high severity cross-application scripting (XAS) vulnerability. Under certain circumstances, vulnerable apps could be remotely exploited to steal sensitive information, such as user login credentials. Please see the alerts page for more information, including how to address the vulnerabilities.

    Is the only option to wait for an update for Intel XDK?

  • Nice work!

    Thanks! I feel like there still is stuff to improve though. Hopefully I can do some tweaks here and there in the near future. For example it's probably way to difficult, as even I still haven't manage to beat it

  • Have you tried to regenerate the obstacle map at the beginning of the layout? I had to do this to make it work some time back. Not exactly sure why.

  • I have made a game called Turn for Android.

    It's quite simple and easy to learn, but it's hard to master. In fact so hard that even I haven't manage to beat it yet. Edti: I have managed to finish it! <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    Hope you like it.

    Demo:

    https://play.google.com/store/apps/deta ... .turn.demo

    Full version:

    https://play.google.com/store/apps/deta ... horse.turn

  • Am I the only one having issues making my music files loop without a tiny delay when played back on mobile (crosswalk for android)?

    Testing it on desktop works fine, but when it's exported there is this tiny delay before the file plays again.

    In my loader layout I have tried to preload the audio files on start of the layout as well, but it doesn't seem to change anything.

    Kind of annoying.

    Edit: another audio related issue I don't understand is that even if I have the Stop all audio action on start of one of my layout, it happens from time to time that a music file that was playing in the previous layout (with loop=yes) continues to play when opening the layout where I stop all audio...

  • I'm now attempting to set up a database following this tutorial:

    https://www.scirra.com/tutorials/346/on ... -php-mysql

    It seems to be a pretty good alternative, and I have almost everything set up by now. However, I was wondering if anyone knew a way of getting a rank back as well (position in the list)? Say, in one layout I want to display a list showing the 10 best scores, but in another layout I want to display to the user what position in the list they are at.

    The table I'm testing with now was created like this:

    CREATE TABLE `scores` (

    `id` INT NOT NULL AUTO_INCREMENT ,

    `name` VARCHAR( 20 ) NOT NULL ,

    `score` INT NOT NULL ,

    PRIMARY KEY ( `id` )

    ) ENGINE = InnoDB;

    To retrieve the data I do this (lower is better in my game):

    $sql="SELECT * FROM scores ORDER BY score ASC LIMIT 10";

    $result=mysql_query($sql);

    But how can I get and display the position in the list? I'm thinking I would need to have another column in the table, but that's as far as I've come by now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I will give this a try over the next few days. Have been desperately trying to add a leaderboard but still no luck. Are there any hidden fees or anything else I need to know for using ?

  • I have been trying lately with Clay.io myself (for Android only), and it doesn't look very promising. I fear I have to drop the leaderboard all together. Not very impressive that something so basic and also something that really could make or break a game is still lacking.

  • Ah, thanks. I think it helps to add dt every tick as well, instead of adding 0.1 sec every 0.1 sec as I have tried.

  • I'm sorry, but how would I do the calculations if I wanted to display 2 decimals?

  • Would it be possible to store the score for example in a public Google Drive Excel sheet document and have that updated automatically and then display the user's rank in the app picked from that document?

    Agan, just thinking out loud here

  • Thanks, but I don't have my own server and was hoping to avoid that as I don't really have the knowledge about it.