-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Changing states with box2d enabled causes crash #1884
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
Comments
Which version of the plugin is this testing with? because this bug was fixed some months ago now and a new zip file was sent to all customers at the time. |
Bought it yesterday (to the email weare@wild.as) and downloaded the link from the Paddle email I don't know how else to get to the codebase to be honest – where can I find it? package.json says it's 1.0.1 |
That is the current one, and state swapping definitely works in it. Here is a test case to try it with (the assets can be found in the examples repo if you need them)
|
Turns out I copied the |
Ahh thanks for the heads-up! I will make sure that is replaced with the next release. |
Sorry for posting on a closed issue, but I want to take the opportunity to just say thank you for the endless work on this Framework, on the first glance I threw in a Vector library just to see that every Vector method you'd need is already in there, then I threw in a Random generation library, well, just to see that everything you'd need is already in there. Then before throwing in an Array-Utility library I looked into the docs – well it's already f***ing in there! If there's another opportunity to throw money in your direction I won't hesitate. |
I also want to repeat that. Everytime I go to use something, it is magically there, and has always been there.... I just had not found it yet. It has been 18 months where I have been with Phaser in some capacity and I continue to find things which are just awesome! 👍 |
Thanks guys :) Now I'm back at work properly I'll be wrapping up Phaser 2.4 and then (finally) releasing the Advanced Particles Plugin - which I'm sure everyone will love :) |
See http://www.html5gamedevs.com/topic/13753-changing-states-with-box2d-causes-crash/
When calling
game.physics.startSystem(Phaser.Physics.BOX2D);
and changing the state afterwards it crashes. Stack Tracing paths tothis.world.GetGravity().Clone();
in World.js – it seemsGetGravity()
is not returning something and therefore crashing the followingClone()
with.Clone is not a function
.Any ideas/hacks/workarounds?
The text was updated successfully, but these errors were encountered: