Jump to content

Search the Community

Showing results for tags 'Not Working'.

  • 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
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • 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 7 results

  1. I'm trying to add a bubble-pop spritesheet animation to my game. I have added other sprites fine, and when I add the sprite for the bubble, everything is still good. However, when I go to add the animations, I get an error, "Cannot read property 'add' of undefined. How can I animate the bubble? var config = { type: Phaser.AUTO, width: 1366, height: 768, parent: "canvas", scene: { preload: preload, create: create} }; var game = new Phaser.Game(config); function preload () { this.load.image('freeplayBG', 'images/freeplay-BG.png'); this.load.image('shark', 'images/nice-shark.png');
  2. Hello! Im new here, and I'd like some help. I was coding, made a new spritesheet and tried making it play while I press a key. It doesn't seem to be working, and I don't know why. If you could help in any way, it'd be greatly appreciated. Thanks! CODE - https://pastebin.com/Sciaw2uY SPRITESHEET -
  3. I am just starting with phaser and have built Pong as my first project to digg into it. There is one problem I just can't solve: If I test the game locally the audio plays, if I publish it to my webserver, the audio does not play. I sense it may have to do something with access rights (do I maybe need to add an htaccess?), or the web server settings are not correct. My dev environment: Visual Studio 2013, Typescript, Phaser 2.3.0. If you need any further details (e.g. from my web hoster) to tell me what's going wrong, please don't hesitate to ask. Game on the web server: http://games.mar
  4. Here is my simple code: <html> <head></head> <body> <canvas id="renderCanvas"></canvas> <script src="jquery-2.1.4.min.js"></script> <script src="babylon.2.2.max.js"></script> <script> var canvas = $("#renderCanvas"); var engine = new BABYLON.Engine(canvas, true); var scene = new BABYLON.Scene(engine); var camera = new BABYLON.ArcRotateCamera("Camera", 1, 2, 10, new BABYLON.Vector3(0, 0, 0), scene); scene.activeCamera.attachControl(camera);
  5. Hello, I'm having trouble getting Phaser.blendModes.MULTIPLY to work with the Android Native Browser, instead of being transparent when full white, it displays as full white. Anyone has any ideas why is this happening or how could I fix this. Thanks.
  6. Hi all, So I'm trying to add background music to my game, and I've provided phaser with a .ogg and a .mp3 file so it has a fallback. Problem is, the audio doesn't play/load at all in Google Chrome (latest build). In Firefox the audio is working fine for me. I've looked at some examples on examples.phaser.io and added the audio the same way they did there, like this: game.load.audio('backgroundMusic', ['assets/audio/TakingFlight.mp3', 'assets/audio/TakingFlight.ogg']);Later in the javascript I play the music using this code: backgroundMusic = game.add.audio('backgroundMusic');backgroundMu
  7. Hi, First of all; I'm using Phaser 2.0.0, I have two sprite groups, "newspaper" and "home" and I'm moving the home group with clockwise movement of mouse. I do "game.physics.arcade.enable(sprite);" thing for all sprites in these groups. When i'm trying detect overlap with this code, this.physics.arcade.overlap(this.newspaper, this.homes, (newspaper, home) => { if (newspaper.name == 'newspaper' && home.name == 'newspaper') { newspaper.name = ''; home.name = '';
×
×
  • Create New...