Tizen landscape

0 favourites
  • Hey all,

    I have been trying to find out how to lock the orientation of the screen to landscape in Tizen, and someone from the Tizen forums linked me to this.

    I'm useless with code, so I was wondering if anyone could help me with this? As in which files I need to change and where. I've searched the forums and seen a number of people with the same problem, but so far haven't found anyone who was successful.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • it seems easy:

    screen.lockOrientation("landscape");

    but for sure there should be some advice (where to put? etc.)

  • You should be able to run that line with the Browser object's 'Execute javascript' as a hack to work around for the time being. I'll add a proper action for it in the next build.

  • Ashley & szymek thanks guys! That's really great to hear.

  • Oh, thanks, Ashley, happy to read this !

    More Tizen features very helpful

  • Would be nice to see that feature in the next build <img src="smileys/smiley17.gif" border="0" align="middle" /> <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Ashley

    swweeeeeet

    i made my game for landscape and made it so any screen size would work and had to make my app portrait because there was no way to make it landscape for tizen

    ***** <img src="smileys/smiley32.gif" border="0" align="middle" />only wish i could give you a high five

  • Also I was wondering if there is a file size limit for Tizen? I haven't been able to find that out anywhere.

  • This is cool, but I'll throw this small question in that I've already made an assumption of but just want confirmation :P :

    Does Tizen support .OGG? I've been using .ogg for all my sounds and music and just making sure it's supported.

  • I'm afraid I don't know about a file size limit on Tizen. However it definitely does support Ogg Vorbis, and the Tizen exporter will automatically remove any .m4a files since it knows it can play the .ogg.

  • Oh that's good to hear that the landscape thing will be fixed next update!

  • Anyone know smth about preload on Tizen ??

    I'm afraid to add this because it doesn't work correctly on devices using HTML5 (((

    But without preload , there is a big chance to have a pain with lagging music. To example music on menu is late to play and player afore played in levels. In my case music from menu start plaing after 30 seconds where there should not play even with event "stop tag "menu"". It's time to play levels music and two songs overlap each other and ... thats all.

    Hope, someone understand me )

  • Tobye Ashley Just got the r146 update and now am wondering how to properly use the orientation lock with the browser object for a tizen game. Do I have to use it on the start of every layout? On start of layout -> Browser: Lock Orientation Landscape ? or would it work for the whole game to just use it on my first layout?

  • lazybed

    I'm already ask for this and Ashley said that you have to lock orientation only once at startup.

    Any body can tell me how you make your audio events ? Did you use preload or tags ?

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

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