Search the Community

Showing results for tags 'url'.



More search options

  • 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 Platform
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

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 9 results

  1. hi, I'm try load an image from url for my game.it shows cross origin error. I try like this,(sample code) game.load.baseURL = 'url'; game.load.crossOrigin = 'anonymous'; game.load.image('image', 'assets/images'); If anyone know solution to load image from url please help me. Thanks in advance.
  2. Hi guys, I've tried multiple solutions found online opening a new tab when a button is hit. buyBtn.on('pointerdown', function (event){ openWindow(myurl); }, this); function openWindow(url) { var result = window.open(url, "_blank") } function openWindow(url) { document.getElementById('newlink').href = url; document.getElementById('newlink').click(); } function openWindow(url) { window.location.assign(url); } This are some of them. All of these solutions work on other browsers, but not on Safari. Does anyone have a working solution for Phaser3? Thank you.
  3. What should work fine with "../" doesn't work in my case. If I put my .ogg sound effect in a folder of higher level I can't load it anymore. Trying different sound formats and styles of the relative URL didn't help. How do I solve this? I don't wanna copy the same file into every scene folder directly D:
  4. Hi, I am behind a proxy and the following behaviour on different browsers occour. If I call a PG with appended Scene ID like http://www.babylonjs-playground.com/#H82GNB#1 the playground loads and allways shows me the basic scene. New URL is then http://www.babylonjs-playground.com Seems that there is a redirection or something else? What could be the reason for that?
  5. https://www.dropbox.com/s/l2l67aququd7she/Patch.babylon?dl=0 or https://ajna4taiga.no-ip.org/BabylonBall/Patch.babylon Hire is playground which doesn't work ok any more http://www.babylonjs-playground.com/#CKEHJ#1 or http://www.babylonjs-playground.com/#CKEHJ#3 How can I load my .babylon file from dropbox or my server? This code has worked. What is goging on now? I see with F12 new problem XMLHttpRequest cannot load https://ajna4taiga.no-ip.org/BabylonBall/Patch.babylon. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.babylonjs-playground.com' is therefore not allowed access. But this things has worked before. How can I make this example to work again? Any alternatives? (I also try like this http://www.babylonjs-playground.com/#YEKUO#1 set data (copy/paste from .babylon file) but here is problem with string of data ! I try \" and \' also but no luck.) I would like to make some playground to ask something and I can't meke playground to load .bayblon file. Greetings Ian
  6. I want to add a voice-command recognition library externally on the PG, but it's not working, here's the PG: http://www.babylonjs-playground.com/#1RZMCX#2
  7. Hi guys! Does anyone know how I can make a button with PandaJS that links to an URL? Thank you in advance.
  8. Hello comrades! I'm working on my new gamemaker game at the moment, and the sponsor is asking me too make the game running fullscreen on mobile chrome browsers. I've tried to use the code from this article http://code.tutsplus.com/tutorials/remove-address-bar--mobile-7509 but seems that it doesn't work in my game, and i have no reason why( Here is the body of my index file: <body> <div class="gm4html5_div_class" id="gm4html5_div_id"> <!-- Create the canvas element the game draws to --> <canvas id="canvas" width="480" height="720"> <p>Your browser doesn't support HTML5 canvas.</p> </canvas> </div><script type="text/javascript">function hideAddressBar(){ if(!window.location.hash) { if(document.height <= window.outerHeight + 10) { document.body.style.height = (window.outerHeight + 50) +'px'; setTimeout( function(){ window.scrollTo(0, 1); }, 50 ); } else { setTimeout( function(){ window.scrollTo(0, 1); }, 0 ); } }} window.addEventListener("load", hideAddressBar );window.addEventListener("orientationchange", hideAddressBar );window.setInterval(function(){hideAddressBar()},10);</script> <!-- Run the game code --> <script type="text/javascript" src="html5game/Farm Jelly Puzzle.js?ZJGAC=254850927"></script> </body>Could you please help me ow can I run the game fullscreen on chrome? As I understood the only function I need here is scrollTo but it doesn't work
  9. I'm trying to create a button to link to an external website using Phaser and CocoonJS: function rate(){ if (navigator.userAgent.match( /iPad/i ) || navigator.userAgent.match( /iPhone/i ) || navigator.userAgent.match( /iPod/i )){ window.open("http://www.apple.com"); } else if (navigator.userAgent.match( /Android/i) ){ window.open("http://www.google.com"); }} It works fine in the browser, but when compiled with Cocoon nothing happens! Any help would be greatly appreciated!