Dev_spuz Posted March 7 Share Posted March 7 Hey guys, I am making a tripple chance game where each slice of the wheel is separate and i am providing a target angle to stop the wheel after completing the rotation by the help of tween but the case is initially it is rotating fine but after certain number of rotation it is generating unwanted jerks at the time of rotation, I am using Phaser.AUTO for rendering, how can i fix that issue, cheers for any help Quote Link to comment Share on other sites More sharing options...
salmawisoky Posted March 15 Share Posted March 15 (edited) Best way to make it smooth would be to manually update the angle in update, using constant speed (so something like container.angle += angleSpeed * dt). Then afterwards, when you get the backend response, just start the easeOut tween with the correct end position, and specify speed rather than the … Drift Boss Edited March 18 by salmawisoky Dev_spuz 1 Quote Link to comment Share on other sites More sharing options...
Dev_spuz Posted March 18 Author Share Posted March 18 Thank you salmwisoky salmawisoky 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.