Jump to content

Search the Community

Showing results for tags 'forceOrientation'.

  • 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 2 results

  1. What I expect from forceOrientation(false, true, 'orientation') is nice orientation image in landscape. What I got is slightly different. Vertically distorted in chrome and scaled down image everywhere else. Is there any way to get around this?
  2. Hi there, I have additional question about forceOrientation and Group index mechanism: 1. How do we use forceOrientation correctly in the game? I'm using forcePortrait inside the game but I don't see anything different when rotating my device. 2. I'm currently using Group to composite a game component (a puzzle tile with a separate sprite on top of it), but I seem can't order the child index of these Groups. My current Group creation: var tiles = this.game.add.group();tiles.create(0,0, 'tile_bg');tiles.create(0,0, 'tile_char'); My usual way for index sorting: this.game.world.group.remove(tiles);this.game.world.group.addAt(tiles, 1); But I encounter error, Cannot read property 'onRemovedFromGroup' of undefined. Any help will be appreciated. Thanks.
×
×
  • Create New...