Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthortemtem
- CommentTimeJul 10th 2008 edited
Hi,
I don't know if you already talked about that.. but if you right click on the movie with the particles... and the contextual menu opens..
when you click back to the movie some particles are killed..
the more you stay in the contextual menu, less particles you'll find when you click back..
you can easily notice that by right clicking 2 or 3 times and waiting for a while with contextual menu open on this example:
http://flintparticles.org/examples/gravity-wells
actually i'm looking for a way to disable right click and contextual menu..
or if there is a better approach please let me know..
thanks for this great system! -
- CommentAuthorRichard
- CommentTimeJul 10th 2008
This is a mac only issue caused by the MacOS freezing the flash movie while the context menu is visible. As a result, when you release the context menu and the movie starts again, the next frame update has a large period of time to update for (all the time the context menu was visible). When this happens, all the particles move a long distance, some of them getting too far away to ever return to the screen area.
I did have some code in the library to deal with this, but took it out because of complexities in dealing with different frame-rates. I then worked something up again but didn't include it because it's dependent on having access to the stage, and in the new version I'm developing (in the three_d branch of svn) the emitter knows nothing about the rendering environment so has no access to the stage to find the framerate.
Anyway, the code is still in the library, it's just commented out. You'll find it in the frameLoop method of the Emitter class. If you uncomment it it should work, although it is untested.
While writing this I've had an idea about how to solve this for the next version, so I'll write that up soon and backport it to the current version. -
- CommentAuthortemtem
- CommentTimeJul 11th 2008
Thanks Richard for your quick reply!
I've uncommented the code and everything works fine..
I'm trying this with a simple endless animation and that solved the trouble..
thanks again for your amazing work and support!
1 to 3 of 3
