-->

main-navbar

Friday, April 5, 2013

My new laptop came in about a week ago. Now I can start really working on this project. During the time I didn't have a laptop up I came up with a better way of handling the code as well as some new ideas that will make it simpler, allow for more complexity, and make programming easier. My main focus is going to be implementing this new system.

How the new system will work: 

Instead of everything being called components, and ships, there will be 3 different types of objects.

-The first is the Module. This is going to take the place of the components, so all the modules will be the building blocks of your project.


-The second is the Assembly. The assembly, in a nut shell, is an assembly of Modules, that together, do something. Everything that combines two or more Modules will be considered an assembly. An assembly will also only save the tree structure of the ship. In other words, when you save an assembly, instead of it saving the positions of all the components, it will save which components are connected to what. This will make it simpler code and build wise.


-The third is the Accessory. The accessory is like a modification for the Modules. These go on the outside of modules, and allow things like armor plating, shield generators, laser turrets, etc. Basically an accessory is anything connecting to a Module that can only connect to one Module at a time.


Comments, thoughts, questions, ideas? Fire away!