Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMizu

Posted 04 October 2012 - 05:28 AM

You can make enums be byte-sized by doing the following:

That's... brilliant. Why have I never seen this before Posted Image

When doing chunks, do you then Deserialize small amounts on the run? Or how is it handled?

Naah, the easiest way should be to load the whole chunk at once. Just make sure you don't use too large chunks and load them in the background to not freeze the game, then it should be fine Posted Image Streaming sometimes has a tendency to become a bit complicated if you're not careful though, so if you're just starting out you might want to keep it simple and, if possible, use areas instead, showing a loading screen as the player walks from one area to the next.

Good luck!

#1Mizu

Posted 04 October 2012 - 05:27 AM

You can make enums be byte-sized by doing the following:

That's... brilliant. Why have a never seen this before Posted Image

When doing chunks, do you then Deserialize small amounts on the run? Or how is it handled?

Naah, the easiest way should be to load the whole chunk at once. Just make sure you don't use too large chunks and load them in the background to not freeze the game, then it should be fine Posted Image Streaming sometimes has a tendency to become a bit complicated if you're not careful though, so if you're just starting out you might want to keep it simple and, if possible, use areas instead, showing a loading screen as the player walks from one area to the next.

PARTNERS