oceldot's Recent Forum Activity

  • Hi folks,

    I'm trying to create a game that can be played both in portrait mode and in landscape mode on Android. The thing is, when switching orientation, only certain elements should rotate. I've tried to set the project setting Orientations to Any as well as to Portrait, and then use the Browser Is Landscape/Portrait event to rotate the buttons, but it seems I can only either rotate the whole screen or nothing at all.

    Am I close?

  • Thanks, I'll check it out.

  • frenzyace: Hi, I just made a quick one about this, hopefully it can be of some assistance:

    https://www.scirra.com/tutorials/1249/h ... oogle-play

  • great work

    You are too kind

  • Try Construct 3

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

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

oceldot's avatar

oceldot

Member since 23 Feb, 2014

None one is following oceldot yet!

Connect with oceldot

Trophy Case

  • 10-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies