• Content count

  • Joined

  • Last visited

About rossi46

  • Rank
    Advanced Member

Recent Profile Visitors

805 profile views
  1. How to set and cancel pixi game in mobile. I use some code but not work: if (document.documentElement.requestFullscreen) { document.documentElement.requestFullscreen(); } else if (document.documentElement.mozRequestFullScreen) { document.documentElement.mozRequestFullScreen(); } else if (document.documentElement.webkitRequestFullscreen) { document.documentElement.webkitRequestFullscreen(); } else if (document.documentElement.msRequestFullscreen) { document.documentElement.msRequestFullscreen(); }
  2. how to create effect lines like this?

    ok thanks. i will try and post result here for your help.
  3. how to create effect lines like this?

    Here is another example. I think it is particles, but i don't know how to do it.
  4. How to create effect lines line this. I attack images. Line have change position. Thanks
  5. webgl has hit a snag

    I deleted all game and i just have create canvas it is hitting the snag. I load one image size 1110x624 and just create game loader.add("iconsAnimation", ConfigSt.BASE_URL + "assets/images/anim.png"); = new PIXI.Application(1140, 500, { antialias: false, transparent: true, resolution: 1 }); // = 2; // = 60; $("#gamePlay").append(; this.mainContainer = new Container(); this.containerColumn1 = new Container(); this.containerColumn2 = new Container(); this.containerColumn3 = new Container(); this.containerColumn4 = new Container(); this.containerColumn5 = new Container(); this.effectContainer = new Container(); this.iconsContainer = new Container(); this.mainContainer.addChild(this.containerColumn1, this.containerColumn2, this.containerColumn3, this.containerColumn4, this.containerColumn5, this.iconsContainer);, this.effectContainer);
  6. webgl has hit a snag

    here is memory of my game. I do not use particles.
  7. webgl has hit a snag

    I create pixi game. when i change tab it normal. but when i minimize browser. it has "webgl has hit a snag". and my canvas fail. console log has: "webgl: context_lost_webgl: losecontext: context lost". How to fixed it. Thanks
  8. how to user pixi timer or eventemitter?

    I use original example of pixi-timer. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Pixi.js Test</title> <script src=""></script> <script src="js/pixi-timer.js"></script> </head> <body> <script> var renderer = new PIXI.autoDetectRenderer(800,600); document.body.appendChild(renderer.view); var stage = new PIXI.Container(); function animate(){ window.requestAnimationFrame(animate); renderer.render(stage); PIXI.timerManager.update(); } animate(); var timer = PIXI.timerManager.createTimer(1000); timer.repeat = 15; timer.on('start', function(elapsed){console.log('start')}); timer.on('end', function(elapsed){console.log('end', elapsed)}); timer.on('repeat', function(elapsed, repeat){console.log('repeat', repeat)}); //timer.on('update', function(elapsed, delta){console.log('update',elapsed, delta)}); timer.on('stop', function(elapsed){console.log('stop')}); </script> </body> </html> it doesn't run.
  9. how to user pixi timer or eventemitter?

    i've just tried pixi 4.5.3. it didn't work. i say "Cannot read property 'update' of undefined", but when i use pixi 3.0.8, it works. I use file pixi-timer.js in plugin. I use many timer in game. ticker can replace for setTimeout??
  10. I use pixi timer plugin. it works on pixi 3.0.8 but not work on 4.5.1. How to fixed and build it. Link: Or how to use eventemitter as timer
  11. mask on renderercanvas errror?

    when i create some mini game with other canvas in one page. the main slots games tween very lag. How to prevent that. example site: Use iframe in the main slot canvas??? Thanks
  12. mask on renderercanvas errror?

    thank for your help. How smothie slot game. When i open 4 tab of game and spin. It lag and not smooth. how do maximum performance and fps smooth?? i usually create prototype and after one sence i destroy all container. have any good idea to manage memory, my game init about 120mb after many spin slots, memory up to 1gb or greater than that. thanks. Sorry for my bad english
  13. mask on renderercanvas errror?

    thanks. i did it. it work perfect
  14. mask on renderercanvas errror?

    can you give me an example. or how to set position of mask as sprite mask when game canvas resize. thanks