rSimulate / Cosmosium

:earth_americas: js game engine for space-based games
Other
23 stars 7 forks source link

be more clever with js dependencies using bottle templates #44

Closed 7yl4r closed 9 years ago

7yl4r commented 10 years ago

Best option we have right now is to define a header template that we use in all pages. It's not very efficient, and it means that there is tons of unneeded code getting loaded into each scene.

Solution: Using Bottle.py with RequireJS

iontom commented 10 years ago

Also see Cesium Post, if we can get Require to work we can reference Cesium's setup for the libraries

https://github.com/rSimulate/Cosmosium/issues/33

BrianErikson commented 9 years ago

This issue might not be as big of a pain with latest merge. Consider revisitng this to see if it is still needed.

BrianErikson commented 9 years ago

All framework content is now loaded on start, rendering this issue pretty much moot. Modern web browsers can effeciently use up to 100MB of memory before websites start to slow down, so this isn't something to be concerned with. All game content is streamed on request now. Closing issue