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

Animating scale property beyond screen size quickly eats up memory #70

Open
icarito opened this issue Jun 30, 2014 · 2 comments
Open

Animating scale property beyond screen size quickly eats up memory #70

icarito opened this issue Jun 30, 2014 · 2 comments

Comments

@icarito
Copy link
Contributor

icarito commented Jun 30, 2014

I'm doing a visual-narrative style game and wanted to zoom in on a map (animating). Beyond the size of the screen the machine quickly depletes RAM. I would appreciate advice on achieving the same effect. Thanks!

@rdeaton
Copy link
Member

rdeaton commented Jun 30, 2014

How large are you scaling the image to? Currently, spyral immediately scales the image to it's full size so that it can be cached, and then crops around the areas that are actually on screen. There's an argument for lazily doing the transformations also, depending on the use case for the individual via a setting or something.

@icarito
Copy link
Contributor Author

icarito commented Nov 20, 2014

Sorry for not responding to this in such a long time. So here I finally took the time to upload the game I was working on at the time. https://github.com/icarito/Iluminacion.activity
Just run it and be prepared for it to eat your RAM. That means, open up a RAM monitor and ctrl-c the script before it freezes your computer out of ram.

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