-
-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with AnimationSheet #171
Comments
Hi, about I had the same issue, and this is due to the context to if you change it to the following, then it should work again :
note that bind could be use as well, doing something like (untested): |
and I forgot, but thank you very much for testing :) |
Hi Olivier With the code above (var self = this....) it's worked. But this is the right behavior? This is done by the change in the ObjectEntity? And the second problem, when enabling me.sys.dirtyRegion, any idea? Disabling this option the error is not show in the log. Thanks for your dedication and for the well done job! |
For the first one I would rather say (if i'm not wrong) that the previous behavior was not really good, as using for the second one, sorry I did not look at it yet, I was busy yesterday working on the Texture Packer stuff and did not take the time to do any debugging :( but from the top of my head i'd say that this is maybe due to the getRect() function in Object Entity not doing what she should do, i'll see to fix that asap. are you actually using dirtyRect in Vibrant Recycling ? you're welcome and thank you again for doing a beta-tester ! |
Hi Olivier Thanks for the clarification abot the first "issue" :) And about the second, yes, I use the dirty region in Vibrant Recycling because the Tiled levels in the game are static ;) I tested also the me.sys.useNativeAnimFrame = true; and noticed an improvement in FPS. The old version has a bug, decreasing the FPS when activate it! I thank you for your dedication, the least I can do is testing :) Thanks again! |
the second bug should be fixed now. I used the dirtyRect example to reproduce it and with this fix, no more exception ! if you could give it another shot to confirm, that would be great :) |
Hi Olivier Works like a charm! Thanks again! |
Hi
Testing the lastest version 0.9.7 with changes made in ticket #15, I detected some issues:
But the code this.renderable.setCurrentAnimation("start", function(){this.renderable.setCurrentAnimation("end"); this.status = "OK";});
Show the error "Uncaught TypeError: Cannot call method 'setCurrentAnimation' of undefined."
In the 0.9.6 the code above works and comparing the two versions, in the 0.9.7 has removed the this.parent(); in the line 581 of sprite.js file.
I will be testing in the next days the support for JSON map formats as ticket #140 ;)
Thanks!
The text was updated successfully, but these errors were encountered: