2 Months Ago
Give components an ID, add ComponentList.Get( guid ), serialize and deserialize component references properly Add backwards compatibility when deserializing component references (find type) Started on ComponentDefinition GameResource Proof of concept generate component type at runtime https://files.facepunch.com/ziks/2024-02-05/sbox-dev_Ga8FKcNpIW.png Implemented properties in component definitions https://files.facepunch.com/ziks/2024-02-05/sbox-dev_KJpUex47QT.png Fixed hotloading ComponentDefinition changes BaseResourceEditor.SavedToDisk() Started on a ComponentDefinitionEditor Property editing mostly working Get rid of Asset.SaveToMemory Avoid re-deserializing GameResources after they have just saved to file Fix ComponentDefinition not building on change WIP editor for adding methods to components https://files.facepunch.com/ziks/2024-02-06/sbox-dev_eh9gkCe81q.png Generate method stubs based on component definition Implemented calling methods on generated components ActionGraphComponentTemplate Action Graph editor tweaks Fix Action Graph node pulsing being unreliable Make sure graph is saved to file on Ctrl+S when embedded in resource Create methods from inside the Action Graph editor Action Graph: Double-click on a property to edit it https://files.facepunch.com/ziks/2024-02-07/devenv_aHfLD4Qsb5.mp4 Action Graph: double-click on method node to go to definition Use CodeEditor.OpenFile() when double-clicking nodes https://files.facepunch.com/ziks/2024-02-07/devenv_u7cl3d2Gzu.mp4 Enter name when creating method out of nodes ActionGraph, ShaderGraph: store view in cookie per-asset Can create component properties from within the Action Graph editor https://files.facepunch.com/ziks/2024-02-08/devenv_AN2eN6L2BR.mp4 Node grouping tweaks More node list tweaks https://files.facepunch.com/ziks/2024-02-08/sbox-dev_gRcj5bOB44.mp4 Can directly use component properties as node inputs https://files.facepunch.com/ziks/2024-02-08/sbox-dev_sjs44F0SQM.mp4 Fixed private [Property] not showing up in node list Menu.AddOptions() Refactor GraphView to use Menu.AddOptions TypeControlWidget now uses Menu.AddOptions too More node list tweaks Fix clearing and expanded output Double-click on an output to auto expand / hide expanded outputs https://files.facepunch.com/ziks/2024-02-08/sbox-dev_KZJs1sxKKy.mp4