Jump to content
Sign in to follow this  
  • entries
    48
  • comments
    118
  • views
    32180

No more hardcoded entity instances!

Sign in to follow this  
gwihlidal

209 views

I am happy to say that I no longer have to manually instantiate entities into the renderer. You can fully use the user interface and place entities wherever you want. Now that this module works, I can jump into camera control and other input handling issues.

On top of more work with the entity system, I have also been tweaking the binary file format the editor saves. Each component is LZO compressed in chunks, and now I have added in a table of contents that uses offsets to index these chunks. Before, the stream had to be deserialized sequentially, yet now the resource reader can jump to the chunk in question without wasting time traversing the entire memory buffer.

Here are some screenshots showing the new entity definition and instancing dialogs.


Sign in to follow this  


1 Comment


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!