platipy / spyral

http://platipy.org
Other
49 stars 12 forks source link

Extreme delay on scene change on XO #73

Open icarito opened 9 years ago

icarito commented 9 years ago

It was originally Parsley, but after removing it I still see a long delay when scenes change. It's not noticeable on my laptop, but a bit excruciating on the XO.

What is more grave, is that "scene.enter" event seem to trigger before the scene is rendered, or all resources are loaded. Thus, animations on scene start are always missing the first few seconds.

Currently suffering this at: https://github.com/icarito/peru-learns-english

acbart commented 9 years ago

We'll need to do timing tests with the killed parsley fork (ensure that it's fully gone) in order to find out where the delay comes from. Fortunately, the cpu/memory tracking for python is pretty good nowadays, so it should be an interesting investigation.

I think I've seen the "scene.enter" triggering problem. I'm not entirely sure the best way to approach this. I'll have to think about it - @icarito and @rdeaton, very open to ideas about this. Perhaps we can identify where the scene has actually started and trigger a new "scene.loaded" event a la JQuery.