Currently you have to restart both the client and the server each time you want to change/reload a scene. This can be very cumbersome for the level designer. Therefore I'm implementing a small gui for entering the scene to load and at the same time a shortcut for reloading the current scene from server. This way you can edit the scene file and hit reload, and you quickly get to view your changes.
I order for this to work I had to introduce the first client gui code and refactor at bit on the client side as well. But now you actually get a nice gui where you can enter the scene to load, and a request is sent to the server. The only missing part is for the server to actually load the selected scene. This is not as simple as it might sound, because an existing scene may already be loaded and must be unloaded first. This is currently problematic because I cannot identify scene specific and engine specific objects that has been created from the scene script. When this issue is solved the rest should be a walk in the park.
But I really should get the last win32 bug fixed first. Luckily I'll meet up with some friends for some gaming in the weekend, and I hope the get the last bugs squashed there.
No comments:
Post a Comment