jphuttun / eris

Eris
0 stars 0 forks source link

Decide whether to use preload or load #23

Open pahuttun opened 10 years ago

pahuttun commented 10 years ago

In erisgame.js there are two kind of load functions used:

preloadSmthing(...) loadSmthing(...)

We should decide which one to use.

LoadSmthing: Will wait until it is loaded PreloadSmthing: Will continue executing when loading

Because this is init phase, load might be better because game can't start without everything loaded. However we should test both and check how does it affect performance