Rabu, 04 Desember 2019

Xna Game Loop






The monogame game loop (just like the xna game loop) in the previous section, we talked about what you can find in the monogame project, so these methods should look familiar. now i’ll explain a bit more about them, but first, a picture… the initialize() method is called only once, when your game first starts up.. I'm confused on how the game's methods are called and when. so i read that the sequence is: initialize loadcontent update draw unloadcontent where 3 and 4 are the game loop, so after update is c.... Game loop in xna / silverlight app. windows and windows phone apps , in general the xna game loops expects you to render the full screen every frame. you can use rendertargets and a dirty flag to minimize this if you have big parts of your scene that don't change frame to frame. in your case it sounds like absolutely nothing is changing.





5. MonoGame - The Game Loop


5. monogame - the game loop








0 komentar:

Posting Komentar