-
|
Hi, I’ve created a custom frame animation asset in Stride. It can be created in GameStudio and loaded at runtime via Now I’d like to build an external console tool to convert JSON exported from Aseprite into my custom asset format. Is there a way to use Stride’s asset/content pipeline directly (e.g., serialization or content management APIs) to generate asset files from class data, instead of manually constructing the asset YAML/text files? Any recommended approach for this kind of workflow would be greatly appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
https://doc.stride3d.net/latest/en/manual/scripts/custom-assets.html |
Beta Was this translation helpful? Give feedback.
Custom assets are not just some datatype, they also act like an importer, or a parser.
There is nothing special about 'asset files', they are just Yaml with a few additional serialization features. You can reference Stride's yaml serializer in an application and use it to produce them. I don't see why you would want to do that though, you could create your asset like shown in that document, and like Stride's models, textures and audio asset, have a path field on that asset that points to the JSON file the asset should handle. Then in
DoCommandOverrideyou would o…