Jump to content

Search the Community

Showing results for tags 'scaling.'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. I am sure I miss something. I did this to scale my game to available space in my Nexus 7: window.document.addEventListener('deviceready', function (event) {'use strict'; WML.gameObject.scale.scaleMode = Phaser.ScaleManager.EXACT_FIT; WML.gameObject.scale.forceOrientation(true, false); WML.gameObject.scale.pageAlignHorizontally = true; WML.gameObject.scale.pageAlignVertically = true; WML.gameObject.scale.setScreenSize(true); console.log("deviceready " + event);});So yes this event is fired, I get the last log command printed in console. But still the game doesn't fit all into the screen. Anything I should consider further? Plus on my real nexus7 it also goes into protrait and landscape but want it only in landscape. I also have this line in my index.html <script src="cordova.js"></script>Does XDK imports is automatically or I have to include this script in my folder? Not sure where to find it?
×
×
  • Create New...