force a draw update
Monkey Forums/Monkey Programming/force a draw update| 
 | ||
| Hi, Is there any way to force an onRender screen update (from the onCreate section)? so i can implement a loading screen on wp7. I tried using a gamestate system with a preloader state but im getting a long black delay then a flash of my loading screen before the main app runs. xna forums suggest i have to force a screen draw to display my loading screen while im still in the initialisation/onCreate stage. | 
| 
 | ||
| No, but you can load your resources in the onUpdate event too. | 
| 
 | ||
| That's what i've been trying, still getting long black pause then quick flash of loading screen. | 
| 
 | ||
| What if you were to get the OnUpdate to load things on the second frame (not the first)? | 
| 
 | ||
| i'll try adding a flag to skip first frame then load. | 
| 
 | ||
| I'm pretty sure everyone goes through this on their first game with Monkey. I think we should make a banana illustrating the loading process by skipping OnCreate and moving asset loading into OnUpdate after an initial frame is displayed showing the loading screen first. |