Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by noway

  1. Hello! I've run some tests with my iPhone on iOS 9.3 and I can't hear any sound from the WebAudioAPI. Here's a test page: http://www.williammalone.com/posts/ios-9-web-audio-api-safari-mobile-issue/ All sounds work fine on my computer, but on my iPhone with Safari I hear absolutely nothing. Any idea how to make that work? Thanks!
  2. Hi, I'm building a small mobile platformer game with Phaser. Here's my code to make the player move left when I press a button on a touchscreen: create: function() { this.moveLeft = false; var leftButton = game.add.sprite(100, 300, 'leftButton'); leftButton.inputEnabled = true; leftButton.events.onInputOver.add(function(){ this.moveLeft = true; }, this); leftButton.events.onInputOut.add(function(){ this.moveLeft = false; }, this); leftButton.events.onInputDown.add(function(){ this.moveLeft = true; }, this); leftButton.events.onInputUp.add(function(){ this.m
  3. Hi, I'm toying with Phaser and PhoneGap for the first time, and I have some questions: To make an existing mobile friendly Phaser game work with PhoneGap, I basically only have to: create a config.xml file, and add "phonegap.js" in my index.html file, correct? I added <preference name="orientation" value="landscape"/> in my config file, yet when I try the game in their mobile app I can definitely rotate the game in portrait. Is this supposed to work only when I actually build the game to iOS/Android? Or does it mean that I'm doing something wrong? I don't have a de
  4. Hi, Do you know 2D games that are playable in a browser and are massively multiplayer? I only know agario and bombermine, and I'd like to discover more games like this. Thanks!
  5. This will be my first multiplayer project, so I'm looking for something simple! So socket.io is a better choice then?
  6. What's the differance between socket.io and this libraby?
  7. Hi, As a learning project I'm going to build a clone of the game agar.io with Phaser. Do you have any recommendation for the multiplayer aspect of the game? Which framework should I use? socket.io, eureca.io, something else? What are the pro/cons of each framework? Thanks!
  8. Any updates on when 2.4.7 will be released? It seems like it's going to improve a lot of things about Arcade physics!
  9. Hi, I'm using arcade physics, and I want all the objects in my game to have it enabled. So I have this in my create function: // Set physics game.physics.startSystem(Phaser.Physics.ARCADE); game.world.enableBody = true; // Create a sprite this.foo = game.add.sprite(42, 42, 'foo'); // Create a group of sprites this.bar = game.add.group(); for (var i = 0; i < 5; i++) { game.add.sprite(42*i, 42*i, 'bar', 0, this.bar); The physics woks fine for the sprite, but not for the group... why? Do I have to add "this.bar.enableBody = true;" ? This seems redundant... Thanks!
  • Create New...