ghostly Posted February 18, 2014 Share Posted February 18, 2014 Hey! Thank you for the amazing Pixi.js Unfortunately, I have some problems with walls (DisplayObjectContainer) moving not smoothly. Would you mind helping me, please? Here is a link to my game: http://photoschool96.ru/ (click to start the game). Is it ok or not? Quote Link to comment Share on other sites More sharing options...
slstlr Posted February 19, 2014 Share Posted February 19, 2014 It runs smoothly for me. Quote Link to comment Share on other sites More sharing options...
enpu Posted February 19, 2014 Share Posted February 19, 2014 Smooth here too. Quote Link to comment Share on other sites More sharing options...
ghostly Posted February 21, 2014 Author Share Posted February 21, 2014 If watch continuously, some trees are yanking from time to time (it's ok in IE10, but it's not in chrome).It's driving me crazy for like 3 days now When i'am trying to find these yanks in this example i cant find them.. Also, I checked on different PC's and everywhere there are these yanks. I'll try to record a video. Quote Link to comment Share on other sites More sharing options...
chib Posted February 21, 2014 Share Posted February 21, 2014 The example seems to be down. Quote Link to comment Share on other sites More sharing options...
ghostly Posted February 21, 2014 Author Share Posted February 21, 2014 The example seems to be down. I'am so sorry, I uploaded it to http://photoschool96.ru/. Quote Link to comment Share on other sites More sharing options...
chib Posted February 21, 2014 Share Posted February 21, 2014 I'm also not seeing these "yanks", if they are happening then they may be imperceptible on this machine. It could be down to garbage collecting stalling the whole game every now and then. You could monitor the fps with https://github.com/mrdoob/stats.js/ and see if your noticing the framerate dip when you see the stuttering. Quote Link to comment Share on other sites More sharing options...
ghostly Posted February 21, 2014 Author Share Posted February 21, 2014 Chib, thank you for your reply, i have checked fps and i don't understand why this lag appears, fps meter shows me 0-4 ms for every frame (with stable 58 fps in google chrome). Maybe I should forget about this problem and continue working on the project. I'll optimize the code in order to minimize garbage collection. Thank you all! 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.