Jump to content

Search the Community

Showing results for tags 'external'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 4 results

  1. Hi I am new to Phaser. I have been asked to load an youtube thumbnail based on a given ID. Without using their API, the thumbnail can be retrieved this way: https://img.youtube.com/vi/<youtube ID>/0.jpg Is there some restrictions when using statements like this: game.load.image("youtubeTN", "https://img.youtube.com/vi/<youtube ID>/0.jpg"); ... ... var sprite = new Phaser.Sprite(game, youtube.x, youtube.y, "youtubeTN"); I was able to load an image locally but the image wouldn't load if it's from an external site. Thanks!
  2. I was talking to a 3d artist about the size of babylon files with animations. This has caused us some issue with loading but we worked around that by breaking up our files into smaller, more "digestable" pieces. We were wondering if anyone had thought about, or if there were any plans to create a way to apply animations to a mesh from an external file? I was thinking that separate animation files with just the animation data could be used to create and then play an animation. So I would load one mesh, and then just apply an animation to it rather than loading a mesh and all its associated animations with it. What are the implications of this? Maybe this is a terrible idea?
  3. Okay so I have a game I would like to integrate with drupal. What is the best way to go about doing this? For example, some levels are free, and some are paid, should php generate the script before the load, or should there be an ajax call? Anyone have an example to a safe way of doing this?
  4. I'm trying to extend an object to the sprite class in my game.js I know this is achived with: MonsterBunny.prototype = Object.create(Phaser.Sprite.prototype);MonsterBunny.prototype.constructor = MonsterBunny;But in the structure that is in the examples I'm not sure where to put it, I have it like this: BasicGame.Game.prototype = { MonsterBunny : function(game, rotateSpeed) { /*some code*/ }, Box : function(game, rotateSpeed) { /*some code*/ }, create: function () { }, update: function () { }}; /* I don't know where do I need to put this */ /*===========================================================*/ MonsterBunny.prototype = Object.create(Phaser.Sprite.prototype); MonsterBunny.prototype.constructor = MonsterBunny; MonsterBunny.prototype.update = function() { // Automatically called by World.update this.angle += this.rotateSpeed; }; /*===========================================================*/I know this is more a JS (noob) question, but i couldn't find a solution, so help would be appreciated
  • Create New...