Jump to content


  • Content Count

  • Joined

  • Last visited

About wexing

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yeah, ball slightly entering the right_hoop. I have changed gravity y to 2000 and thats solved my problem.
  2. Hi, i have the problem that body overflows another static body on first collision(gif file attached). Maybe somebody knows some solution? Thank you. Code: this.physics.startSystem(Phaser.Physics.P2JS); this.physics.p2.restitution = 0.63; this.physics.p2.gravity.y = 3000; this.physics.p2.gravity.x = 0; this.ballCollisionGroup = this.game.physics.p2.createCollisionGroup(); this.hoopCollisionGroup = this.game.physics.p2.createCollisionGroup(); this.groundCollisionGroup = this.game.physics.p2.createCollisionGroup();
  3. Thank you for reply I think you are right, just dowloaded blender app and checked this model. It seems that wheel have child, but how to reach it on babylon?
  4. Hey(sorry for bad english), i started learning babylon framework few days ago and encountered one problem. I have some vehicles model from internet, and trying to spin his wheel unsuccessfullly. Wheel is rotating but unfortunately his pivot isn't correct. How shoud i fix that? Here is example: www.baloo.lt. And here is my code(cound't put it on playground becouse of external 3d model): var canvas = document.getElementById('canvas'); var engine = new BABYLON.Engine(canvas, true); engine.enableOfflineSupport = false; // Dont require a manifest file var createScen
  5. Solution here: https://github.com/photonstorm/phaser/issues/2913
  6. Hi, i can't play sound only on android chrome, getting error "phaser.min.js:21 An AudioContext in a cross origin iframe must be created or resumed from a user gesture to enable audio output". Any solution?
  7. Amm don't know how to explain right.. Its okay with chaning to x.I tryied it before this post, but that makes animation move not exactly what i want. When i change it to x she move left to to right but deformating my image. You can check it there https://phaser.io/sandbox/edit/dsaxRcPd . Btw movment should be like trees in this gif (didn't find a better example)
  8. Hello i'm new in phaser. There is this rope example on website https://phaser.io/examples/v2/sprites/rope. Can anyone explain how to make same effect just move it from left to right (for example trees in a wind image).
  9. Hello im new in phaser and can't find solutions for this problem. So i have sprite like: this_object.symbolA = this_object.add.sprite(this_object.world.centerX, this_object.world.centerY, "symbolA"); this_object.symbolA.anchor.setTo(0.5, 1); this_object.symbolA.scale.set(0.7, 0.7); And tween: this_object.symbolA_tween = this_object.add.tween(this_object.symbolA).to({ x: this_object.symbolA.x - 5, y: this_object.symbolA.y - 30, width: this_object.symbolA.width + 10 }, 1000, Phaser.Easing.Linear.None, true, 0, -1, true); so my tween is working on center of
  • Create New...