Jump to content

Gabbar Sisodiya

  • Content Count

  • Joined

  • Last visited

  1. Hello everyone, I am new tophaser. I am trying to draw small circle using bitmapData. when the function lunchFrom and loop calling without time event function it's fine working but when I am tryting call the function using this.game.time.event then nothing to draw on canvas. please help me. Thanks is advance . Please find below the code which I am using. this.game = new Phaser.Game(1152, 648, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update }); let particles = [];
  2. Hi Thanks in Advance I am new to phaser game development. I am trying to add tween on one member of a group. but problem is that if one member of a group is tween all the other member also tween with the same tween. here is code var circleGroup = game.add.group(); const bmd = this.game.add.bitmapData(800, 500); this.game.add.sprite(170, 40, bmd); var uPosX = 20; var uPosY = 20; var tempChild;
  • Create New...