rSimulate / Cosmosium

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

don't reload the webGL scene when switching pages #72

Closed 7yl4r closed 9 years ago

7yl4r commented 9 years ago

"I noticed the other day that to go from the game "home screen" (dashboard) to the solar system view, the webGL context is lost and then regained. Was having some issues with rendering the textures correctly. Just ended up re initializing them on regain context events"

the whole system redraws whenever we want to change the asteroids being shown. It was just the quickest way to get it done. We'll just need to add an asteroidClear and asteroidAdding functions to the main scene I think

7yl4r commented 9 years ago

related #42

BrianErikson commented 9 years ago

Fixed issue with latest merge