oEtG Forum

General Category => Game Suggestions => Topic started by: Fippe94 on May 18, 2018, 09:50:13 am

Title: Load card images in background
Post by: Fippe94 on May 18, 2018, 09:50:13 am
It's annoying to have to mouseover a card and have it be blank for a little while before art is loaded. Load the art in the background (possibly this being optional, but I mean lofi art is already a thing if you need that), so that most art is already loaded when mousing over. Or even load all the art as the game starts, that is what pretty much every other game does.
Title: Re: Load card images in background
Post by: serprex on June 16, 2018, 12:53:24 pm
Way to do this properly involves having a build step to put art into a spritesheet & use that. Then gets into whether to have both individual art alongside spritesheet to make it an option which method one uses. Kind of want to benchmark a bit, but I'd want to be using http2 before going by any results. May also be best to bucket the art by element
Title: Re: Load card images in background
Post by: serprex on June 28, 2023, 12:32:26 pm
This is less of an issue due to a few changes made in past half decade

1. png converted to webp, making image size smaller
2. rust server rewrite has lower latency
3. cards in hand render card image so hovercard in match tends to have image loaded