Ravi Kapuriya

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. I am trying to add Lottie animation in the Phaser 3 in my game. But I am not able to add. Lottie Animation link. This is how I am adding into my code : this.animation = bodymovin.loadAnimation({ container: document.getElementById("game"), // Required path: "assets/json/RainLoop.json", // Required renderer: "canvas", // Required loop: true, // Optional autoplay: true, // Optional name: "Hello World", // Name for future reference. Optional. }); But here problem is, this animation is attaching to the HTML DOM elements and so that the animation comes above the Phaser game canvas, Due to what I am not able to interact with my phaser game elements.
  2. Hi all, I want to implement a see-saw mechanic in my project, where the desired weight is kept on both sides and see-saw will work accordingly. Link to the image I am attaching below. https://www.freepik.com/free-photo/learning-wall-digital-bargain-arm_1078051.htm