Skip to content
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

Extreme delay on scene change on XO #73

Open
icarito opened this issue Dec 27, 2014 · 1 comment
Open

Extreme delay on scene change on XO #73

icarito opened this issue Dec 27, 2014 · 1 comment

Comments

@icarito
Copy link
Contributor

icarito commented Dec 27, 2014

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
Copy link
Member

acbart commented Dec 29, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants