Jirka1111 Posted August 27, 2014 Share Posted August 27, 2014 I have atlas with one spike. I need exactly same sprite but in different angles. I've tried some stuff but not even one was working. I've just managed how to rotate image in axis x, but no y. And the spike sprite is in group. Link to comment Share on other sites More sharing options...
rich Posted August 27, 2014 Share Posted August 27, 2014 Sorry I don't really understand your question. Try re-phrasing it, providing a graphic example, etc. Link to comment Share on other sites More sharing options...
Jirka1111 Posted August 27, 2014 Author Share Posted August 27, 2014 Sorry I don't really understand your question. Try re-phrasing it, providing a graphic example, etc. Link to comment Share on other sites More sharing options...
kidos Posted August 27, 2014 Share Posted August 27, 2014 How about using angle?http://docs.phaser.io/Phaser.Sprite.html#angle Link to comment Share on other sites More sharing options...
Jirka1111 Posted August 27, 2014 Author Share Posted August 27, 2014 It is strange. I've used angle yesterday but without luck. Now it is working. I see that everything is working in Chrome. But in iOS simulator (with Appgyver Steroids) there is not a single spike. Bird from atlas is working (is showing), but spikes don't. Link to comment Share on other sites More sharing options...
kidos Posted August 27, 2014 Share Posted August 27, 2014 It is strange. I've used angle yesterday but without luck. Now it is working. I see that everything is working in Chrome. But in iOS simulator (with Appgyver Steroids) there is not a single spike. Bird from atlas is working (is showing), but spikes don't.Sorry I didn't understand what you're saying...Anyway, I'd recommend you to try CocoonJS, I have a better experience with this tool on iPhone (and android). Link to comment Share on other sites More sharing options...
Jirka1111 Posted August 28, 2014 Author Share Posted August 28, 2014 Appgyver Steroids - can't see sprites in atlasChrome - I can see them Anyway, now I have sprites in all angles in my atlas and performance is still great. But thank you for recommendation, I will try CocoonJS And spikes are triangles in my game Link to comment Share on other sites More sharing options...
Recommended Posts