[go: nahoru, domu]

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

Wait with game start until preloading has completed #59

Open
beheh opened this issue Mar 11, 2016 · 4 comments
Open

Wait with game start until preloading has completed #59

beheh opened this issue Mar 11, 2016 · 4 comments

Comments

@beheh
Copy link
Member
beheh commented Mar 11, 2016

We should preload card textures (the turn in advance)?

@azeier
Copy link
Member
azeier commented Mar 12, 2016

Could also add a loading screen at the start to give a bit of a cleaner experience.

Either loading all textures or just the assets plus texture for the first (few) turn(s).

@azeier
Copy link
Member
azeier commented Mar 13, 2016

Having played around with this a bit now, I'm fairly certain preloading the assets and textures right off the bat is the way to go. It really does improve the experience a lot.

What I'm thinking:

  1. Queue asset and image downloads
  2. Wait for assets and first ~20 images to load (assuming ordered by turn)
  3. Start game

This way, everything needed at the start will be there and everything needed for later turns should be already loaded at that point as well, meaning the user won't see and textures loading in, period.

With jpg textures we are currently looking at 5-6MB per game.

@beheh
Copy link
Member Author
beheh commented Mar 21, 2016

This is much better which the metadata caching now. This is mainly because we can only fetch the textures once we have the metadata (since it contains the texture path). Nevertheless we should look into preloading.

@azeier azeier added wip and removed help wanted labels Apr 7, 2016
@beheh beheh changed the title Preload card textures Wait with game start until preloading has completed May 24, 2016
@beheh
Copy link
Member Author
beheh commented Jun 6, 2016

Refs #81.

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

No branches or pull requests

2 participants