• Content Count

  • Joined

  • Last visited

  1. Hey! I am under phaser CE 2.11.1 and just bought Particle Storm. I am using example particle effect. Every-time I switch browser tab, it just freezes, like some infinite loop is running. Any idea, how can I report/push this bug to get fixed?
  2. Hi! I have this function, which pre-fills sms text message on click: This works on Android, but on any version if iOS, it just open new empty window. Any idea, why?
  3. Hi! I am dealing with old iOS bug, where on orientation change, whole game gets zoomed in. The way to fight this is to set: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui" /> It really helps, no more zoom on rotation. But, my visuals of whole game becomes blurry, not sharp. Any suggestions, how can I solve that? Its either I have that zoom bug, or not the sharp visuals.
  4. I see, no problem, thanks for answering! This is probably too hard for me to solve, so I'll just use 3rd party scripts to play audio for now. Hope it will get addressed and fixed later at some point.
  5. I need the sound to keep on playing, that is the reason why I am struggling with it. Yes, it might be so that iOS fades sound out of focus lost, but, it does not happen for other website, which has webaudio player and does not use Phaser framework. So this must be phaser-specific. Too bad, I have no clue where to start looking, I did not find and focus-related code for the sounds inside source code of phaser, and my idea of setting forceSetTimeOut: true made no difference
  6. Hi! I am using the latest stable phaser build. When I minimize the app, sound fades out, but it keeps on 'playing', because when I get back, I can see sound position updated further way in sound debug info. But, the actual sound is played from the position I left. Can anyone confirm, that it is a bug? The should not be any fade in/out at all, sound should just continue playing. this.stage.disableVisibilityChange = true; this is set. I tested on iphone 4 and iphone 6; It can be reproduced with this simple example: http://phaser.io/examples/v2/audio/play-music (just need to add this.stage.disableVisibilityChange = true);
  7. RyuMaster

    Add Music

    Hi! Is there any way to add music? When I try to upload mp3 file into assets manager, it just fails. I wanted to upload mp3 in there, and then just manually preload and use it.
  8. Hi! I have several buttons in the loop, create like so: and this is function called on click: The first 2 cards on table always alerts '0'; then it is fine - 1,2,3,4 e.t.c; For some reason, the click event for card number 1 actually brings card number 0 object; Why?
  9. Hmmm, seems like image loading problem, this code doesn't work: Though, image will get displayed ,it I load it normally via Boot-Preloader routine;
  10. This is odd, but I can't get it working with any combination. After event complete, sprite is not changing. loadTexture works with pre-defined sprites I have on general Preload.js, but if I load later in the game, all I got from loadTexture is empty green square.
  11. Thank you a lot, will try this out!
  12. Hi! I have place holder sprite with empty avatar image, and I want to swap it with real avatar after user uploads it; Place holder image has 'avatar_large' id and is loaded during boot time; This code actually clears the texture from cache, and also removes place holder image, but never shows proper one. What else am I missing?
  13. Hi! I need to have several DOM elements displayed on top of phaser canvas. It is going to be swf, some input forms; I'm filling full screen with the application, using SHOW_ALL; So, basically it scales; I can use div with absolute position to overlay on top of phaser canvas, calculate scaling; But this is somehow complex stuff, in overall, and I'd like to look on some examples on tutorials. Can anyone share a link or code snippet? For example, I will have swf inside DIV. What is the best way to overlay it on top of phaser, and resize on screen changes? Something like that. I can imagine how to code it, but I'd like to avoid potential minefields and get some advices on how this is handled properly, as I never did all those DOM operations.
  14. Hi! For some reason, can not google any info on this. Is it possible to play video file with phaser, for example, stream youtube video on top of current canva/stage?