Adds scene saving and loading functionality, using a component factory for dynamic component creation and serialization. This allows users to save and load the state of entities, including their components and textures. A new component factory is introduced to register and create different component types. Each component implements serialization and deserialization methods, which are used to store and restore the component's state. A new .ker scene file format is introduced to serialize entity data and to load it back into memory to restore the scene. Also adds a DemoScene_V12.9.0.ker file to showcase the engine.
9 lines
303 B
Plaintext
9 lines
303 B
Plaintext
Entity:0:86
|
|
IdentityComponent:0:86:Unknown
|
|
TransformComponent:0:50:0:0:-0:0:1:1:1
|
|
RenderComponent:HasModel
|
|
ShaderComponent:LIGHTING
|
|
ModelPathComponent:Content/Assets/Kobject/86.obj
|
|
TextureData:1:assets/Texture/Bricks2K.png:1:assets/Texture/BricksNRM2K.png:1:assets/Texture/BricksGLOSS2K.png:0
|
|
EndEntity
|