Joust icon indicating copy to clipboard operation
Joust copied to clipboard

Wait with game start until preloading has completed

Open beheh opened this issue 9 years ago • 4 comments

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

beheh avatar Mar 11 '16 14:03 beheh

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 avatar Mar 12 '16 12:03 azeier

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.

azeier avatar Mar 13 '16 12:03 azeier

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.

beheh avatar Mar 21 '16 14:03 beheh

Refs #81.

beheh avatar Jun 06 '16 11:06 beheh