szymek's Forum Posts

  • Finally my WGT proceed to emulator,

    but now I get message:

    index.html (9) :Viewport target-densitydpi is not supported.

    c2runtime.js (3) :[Construct 2] Suspending

    (I use HTML5 exporter method, just FYI)

  • Blacksmith

    I doubt if you can somehow "sign" (certify, like in Tizen IDE) Tizen project exported from Construct 2 without using Tizen IDE. Anyway: Tizen exporter was anounced in may 2013, so 5 months ago. And now, 5 months later, we had to fight for any informations (thanks Joannesalfa sosensible for tutorials, thehen for checking WGT on real device) and still fighting with "Landscape" issue. Is it some bad dream?

  • Blacksmith

    On back button - works OK on Web Simulator (from Tizen IDE)

    Landscape - don't work even with 'Landscape' in config.xml and 'Lock orientation' in C2

  • Ashley

    there are still problems with getting "Landscape" display on Web Simulator...

  • thehen

    thanks for all support,

    hope you will succedd

  • does anyone get Landscape layout (when setup correctly on their C2 app) on Web Simulator?

    it's good to know if it is Web Simulator issue (and Landscape is working fine) or Construct 2 issue

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nomad

    when I build or run on Web Simulator - it just runs fine

    when I try to run on emulator - I got:

    step SDB shell handle failed

    failed to `step sdb shell handle '/usr/bin/wrt-launcher -l' command` operation

    (Return Code:30)sdb execute shell command - sdb time out exception

    on Tizen IDE level

  • thehen

    but your game looks landscape also on Web Simulator

    or only on real test device?

  • Kurz

    in Tizen IDE go to config.xml and click "Features" tab - it's safer to add new things via such pre-configured tabs

    anyway: this feature will just make that your app will be avalaible for 1280x720 screens (so other screens will not see your app, I guess)

    still no working solution for Landscape layout and this is really sad

  • xXxForsakenxXx

    you have to put AdMob banner ID on MoPub dashboard:

    wiki.ludei.com/cocoonjs:extensions:ad

  • also I can't use Ashley hack, I mean: action Browser > Execute Javascript > paste

    "screen.lockOrientation("landscape");"

    because Construct 2 gives Syntax Error

  • thehen

    clean + rebuild,

    and also changing portrait/landscape on Web Simulator

    in my c2runtime.js I see:

         Acts.prototype.LockOrientation = function (o)

         {

              o = Math.floor(o);

              if (o < 0 || o >= orientations.length)

                   return;

              var orientation = orientations[o];

              if (screen["lockOrientation"])

                   screen["lockOrientation"](orientation);

              else if (screen["webkitLockOrientation"])

                   screen["webkitLockOrientation"](orientation);

              else if (screen["mozLockOrientation"])

                   screen["mozLockOrientation"](orientation);

              else if (screen["msLockOrientation"])

                   screen["msLockOrientation"](orientation);

    and then it is used,

    so for now I have done everything (?) as it should be

  • thehen

    I got "Landscape" in config.xml (as you show on screenshot)

    and I got locked "Landscape" as a 1st action on 1st layout

    and Web Simulator still shows portrait

  • Construct 2 is great tool for making apps/games

    but with very low support ("ask 3rd party company") when it comes to exporting ready projects

  • Locking orientation (to i.e. Landscape) from latest Construct 2 does not work, checked on Tizen IDE and Web Simulator