Search the Community
Showing results for tags 'rich'.
-
Game not working in Android mobile but working fine in browser
Nishanth M posted a topic in Phaser 2
Hi I have created a game with phaser 2 this game is working fine in browser but not working in android mobile. I used crosswalk-webview as well but its not working same issue occurring again.. anyone please give some solution.. Thanks in advance -
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; for (var i = 0; i < 52; i++) { var c = bmd.circle(uPosX, uPosY, 5, 'rgb(0,200,0)'); var sp=this.game.add.sprite(170, 40, c); circleGroup.add(sp); if(i==5){ tempChild=sp; } uPosX += 15; } game.add.tween(tempChild.scale).to({ x:2,y:2 }, 2000, Phaser.Easing.Linear.None, true,true,2000);
-
- kenttt
- nickbyfeet
- (and 5 more)