osinski

Members
  • Content Count

    19
  • Joined

  • Last visited

About osinski

  • Rank
    Member

Recent Profile Visitors

619 profile views
  1. Hey guys have any of you ever faced IOS 14 beta and PIXI 5 trouble with WebGL lost context? When I try force canvas it still not working and try to do something with WebGL. I have such error on my loader
  2. In Phaser 2.4.8 mouse events onInputOver and onInputOut are working only when you press and hold the mouse button and drug it over a sprite and out. Is it normal behaviour?
  3. Hi! Could you explain why bounds are different after timeout? function create() { var sprite = game.add.sprite(0, 0, 'phaser'); var group = game.add.group(); group.add(sprite); group.x = 200; group.y = 200; console.log(group.getBounds());///c.Rectangle {x: 0, y: 0, width: 27, height: 40, type: 22} setTimeout(()=>{console.log(group.getBounds());}, 1);///c.Rectangle {x: 200, y: 200, width: 27, height: 40, type: 22} }
  4. Hi! How can I separate object in the same scene and render them in different way? For example I have main hero and he need rendering all the time, and backstage or some static object - it need rendering once or maybe twice per level. Could you help me? Thx!
  5. I loaded 2 png rectangles instead of Graphics rectangles and made something like that var bmd = this.game.make.bitmapData(880, 881);bmd.draw('bigRect').blendDestinationOut().draw('mask', 110, 250).blendReset();this.game.add.image(897, 122, bmd);Anyone know better way?
  6. Hi! I draw 2 rectangles var bigRect = this.game.add.graphics(0, 0); bigRect.lineStyle(0); bigRect.beginFill(0x3a1603,.43); bigRect.drawRect(900, 120, 880, 880); var smallRect = this.game.add.graphics(0, 0); smallRect.lineStyle(0); smallRect.beginFill(0xFFFFFF,1); smallRect.drawRect(1100, 250, 100, 100); Can I get a hole in bigRect http://joxi.ru/8AnGvx9sNQk8rO using mask? Is it possible without mask?
  7. Hey, I have a some sort of problem. In "Chrome Beta" for android, game not scaling at all. In other browsers scale works good, but not in "Chrome Beta" . Could anybody help me? I tested phaser 2.2.1 and 2.1.1 same result(((
  8. osinski

    Customize tween

    Hi! How can I customize tweens? For example in Bounce tween I need constant bounce, not depends on distance from point A to point B. Thx!
  9. Sorry, just had seen your answer after I published mine). Thx, i'll try that
  10. Its nice plugin, thx! But It stops render at all. I want to stop render after my gamescreen created and rendered only a some area of game screen. For example when user dont click on gamescreen - I want to render only this area in the red square http://joxi.ru/dp27OkW3iX8Y27 After users clicked on gem - only gems area, and timer area, but not buttons, background, etc. Is it possible?
  11. Hey! In my game I have some groups of sprites I dont need to redraw every frame. Some backgorunds, GUI, decoration. Even games objects, when players do nothing. Can I select what sprite I need to redraw at current moment? Thx