PianoScoreJP

Members
  • Content Count

    8
  • Joined

  • Last visited

About PianoScoreJP

  • Rank
    Newbie

Contact Methods

  • Twitter
    pianoscorejp
  1. I posted my code to github. https://github.com/GoodBoyDigital/pixi.js/issues/1808 And I have another problem in this code Somtimes , renderer width is larger than I specified in autoDetectRenderer. And texture is overflowed from may device screen sometimes. How renderer width or heigth determined? Is it depended on loading image size or devicePixelRatio? Thank you.
  2. PIXI.autoDetectRenderer supports pixicelDeviceRatio as resolution parameter. Following code works good in Android Chrome and Opera but not in Android browser (4.2.2) and Android Firefox var renderer = PIXI.autoDetectRenderer(640,360,{backgroundColor:0xFFFFFF,resolution:window.devicePixelRatio || 1});); Android browser shows noting(white screen) Firefox , browser is clashed. This works in Android browser also Firefox but image rendered with poor quality. var renderer = PIXI.autoDetectRenderer(640,360,{backgroundColor:0xFFFFFF}); Please see below screenshot. Android Chrome or Opera with resolution setting without resolution setting. Is there anyway to show high quality without resolution setting? screen shot's devicePixcelRatio is 3 My goal is fit container to device width when page loaded. Loading image size is 1920 x 1080;
  3. Thank you. .... container.alpha=0.9 ...loding or generate texture ..... var sprite = new Sprite(texture); sprite.alpha=0.9; container.addChild(sprite); renderer.render(container); ..... In this case , sprite.worldAlpha shows 0.81(0.9 x 0.9) after renering. Is my understanding right?
  4. What is difference of alpha and worldAlpha in DisplayObject? How should I use these properties ? This code works cotainer.alpha=0.1; This code does not works container.worldAlpha=0.1;
  5. Thanks. How can I know MAX_TEXTURE_SIZE ? Is It depended on browser or device?
  6. PianoScoreJP

    v3 loader

    where is documents about new loader ? (or pixi.js v3?)
  7. Hello. I have a problem using sprite sheet. I have a sprite sheet which original image size is 6000 x 1080 px. There is no problem in Chrome browser(v.42.0.2311.135 m) for windows. However In Android Chrome v42.0.2311.111 (Android OS version is 4.2.2) , sprite images are not shown( shown as black square). I've tried several image size and I found if image size exceed 4096px , problem caused. Json text {"frames":{ "a.png":{"frame":{"x":0,"y":0,"w":228,"h":436},"rotated":false,"trimmed":false,"spriteSourceSize":{"x":0,"y":0,"w":228,"h":436},"sourceSize":{"w":228,"h":436}}, "b.png":{"frame":{"x":229,"y":0,"w":228,"h":436},"rotated":false,"trimmed":false,"spriteSourceSize":{"x":0,"y":0,"w":228,"h":436},"sourceSize":{"w":228,"h":436}}},"meta":{"image":"test.png","format":"RGBA8888","size":{"w":4097,"h":436},"scale":1}} Please see screenshot. Windows Android resize original image to 4096 px. Android There is no problem in 4096px. Is this bug or specification ? Anyone know solution ?