Minor - Implements scene saving and loading - V12.10.0

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.
This commit is contained in:
2025-09-06 18:59:42 +02:00
parent 118e635415
commit defc1cb795
13 changed files with 518 additions and 374 deletions

View File

@@ -16,7 +16,7 @@ DockId=0x00000005,0
[Window][render Stats]
Pos=0,630
Size=792,231
Size=1584,231
Collapsed=0
DockId=0x00000009,0
@@ -27,14 +27,14 @@ Collapsed=0
DockId=0x0000000B,0
[Window][Terrain]
Pos=236,19
Pos=0,19
Size=266,842
Collapsed=0
DockId=0x00000007,0
[Window][Log Window]
Pos=794,630
Size=790,231
Pos=0,630
Size=1584,231
Collapsed=0
DockId=0x0000000A,0
@@ -42,11 +42,11 @@ DockId=0x0000000A,0
Pos=0,19
Size=234,609
Collapsed=0
DockId=0x0000000B,1
DockId=0x0000000B,0
[Window][Engine Settings]
Pos=1267,631
Size=317,230
Pos=1267,462
Size=317,166
Collapsed=0
DockId=0x00000006,0