|
Post by serprex on Jul 14, 2014 13:45:20 GMT
Inspired by this thread: elementscommunity.org/forum/general-discussion/game-coding-qaOn the one hand, we don't need this because you can RTFS on github But on the other hand, I'd like to help anyone who wants to help contribute to programming openEtG. & this seems like a good place to consolidate an FAQ of how openEtG's designed from a programming perspective
|
|
chap
Junior Member
Posts: 54
|
Post by chap on Jul 16, 2014 10:12:01 GMT
Would it take too long to load ALL the art when the game starts instead of only the menus and the card art only when needed? That seconds before the art appears for the first time you need them makes the game viewing lose quality.
|
|
|
Post by serprex on Jul 16, 2014 13:24:47 GMT
Assets are currently 2.2MB. The incomplete card art is 5.3MB
I personally find the 2.2 to take too long to load & want to find ways to reduce how much we preload (ie, don't load Quest graphics unless someone clicks on Quests). That said, downloading all card art could be done in the background
|
|
|
Post by Fippe94 on Jul 28, 2014 9:49:04 GMT
Once it has been loaded once it will be saved in cache. I don't know how slow/fast internet others have, but for me right now the asset-loading takes about a second. First time after hard-refreshing it takes about 5 seconds. Using the numbers serprex posted, this would take about 17 seconds first time, and less than 4 seconds otherwise other times. Another option could have to have a "Load all card art" button on the menu, which you can click if you want to preload all card arts before playing.
|
|
chap
Junior Member
Posts: 54
|
Post by chap on Jul 28, 2014 19:23:47 GMT
That would absolutely not be elegant
|
|