Jump to content

Search the Community

Showing results for tags 'address bar'.

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

  1. I have my game set to Phaser.ScaleManager.SHOW_ALL On an iPhone 4 and some android devices, it automatically removes the address bar at the top of the screen. Can I - tell Phaser to not to do that? or - get the new window height (window.innerHeight) after the status bar has been scrolled away so I can reset game.height thanks
  2. Hi all! I'm trying to hide address bar on iOS 6.1.5 in a Scirra Construct 2 project. I know this is a trivial task, and I managed to do it with GameMaker, but for some reason I can't make it work here. Here's what I'm doing: On start of layout: Browser: Execute Javascript if (!document.getElementById('space')) { var space = document.createElement('div'); space.style.height = '60px'; space.style.clear = 'both'; space.id = 'space'; document.getElementsByTagName('body')[0].appendChild(space);}Browser: Execute Javascript if (window.location.hash.indexOf('#') == -1) { setTimeout(function() { window.scrollTo(0, 1); }, 0);}When the page loads for the first time, it works perfectly. However, after the page has been refreshed, what happens is that the address bar still hides, but the canvas doesn't take all available space, but there is a blank space at the bottom of 60px (the height of the bar, and the height of the div I add to the page to increment space). What am I doing wrong? Thank you in advance!
  3. Considering the Safari (IOS7) and last version of Chrome mobile, How did you handle this situation? Did you find coding workarounds or simply expain that these are not your fault? In the last case, what was the sponsors reaction?
×
×
  • Create New...