Question about android.

0 favourites
  • 7 posts
  • Hi!

    On an android Tablet.

    Do C2 games run in background fully when switching to a other app?

    Or do they pauze and later on continue.

    In my case i would "want" them to keep running while switching.

    Kind Regards.

    Savvy001

  • Hmmm... I have the same question....

    From my test with cocoonJS it's not possible...

  • They always pause when switching away. Why would you want it to continue?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Disculpen pero no hablo ingles.. I need you help!!!! :) Yo tengo un problema mayor, ya compilado el juego instalo el APK en tablet con android 4.0 y las acciones para controlar el audio de fondo NO FUNCIONAN, la acci�n STOP, Muted y volumen. Al probar directamente en el computador la programaci�n funciona completamente, para la m�sica, sube y baja el volumen, etc. Lo llevo a CocoonJs Launcher y estas acciones ya no funcionan. Para descartar que fuera el lanzador CocoonJs subi el .ZIp de mi proyecto a la Nube Cocoon me llego mi APK para descargar, lo instalo en el Tablet con android 4.0 y se comporta de la misma manera que en el Launcher CocoonJs, o sea las acciones que controlan la m�sica NO FUNCIONAN. Alguna idea al respecto de como solucionar esto para dispositivos moviles? ya que muchas soluciones que hay en los foros son para versiones Web. �Esto implica alguna actualizaci�n de CONSTRUCT2? Agradecer�a la respuesta de alg�n desarrollador de CONSTRUCT2, necesito una respuesta urgente. Muchas gracias.

  • Ashley

    The goal for it was to keep the game playing.

    As in a realtime gameworld.

    Kind Regards.

    Savvy001

  • Savvy001 - you can determine how much time has passed since the app was closed by storing the time in 'On suspended' and 'On resumed'. You can then simulate that much time passing. It's a really bad idea to leave the game *actually* running because it would waste all the device's battery!

  • Ashley

    Thanx for the answer!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)