Jonathan Wheeler Posted March 16, 2016 Share Posted March 16, 2016 Hello, In my repository hosted on the link below, I have a game I am doing for a research project. You'll notice in the src/game-behaviors.js file, I have a method to create a chicken. However, whenever I try to change the anchor on a created chicken in a group, the chicken renders for a frame or so, then disappears. https://github.com/wheelerj/chickens-in-space I've had to 'offset' the creation coordinate of these chickens in order to fix this, but it causes unwanted behaviors when I want to rotate them, and cause them to oscillate due to gravitational wave effects. Thank you for your help. (I have also asked this question here http://stackoverflow.com/questions/36036793/setting-anchor-on-group-sprite-destroys-them) Link to comment Share on other sites More sharing options...
Recommended Posts