Entity [ | |
MyComponent, | |
Scale { x: 2.0, y: 2.0, z: 2.0 }, | |
PropDemo { | |
value: "hello", | |
sequence: [0,1,2], | |
map: {field: 1.0, hello: "hi"}, | |
nested: {field: [{test: 1.0}]} | |
}, | |
// Children entities are nested | |
// Entities can have a specific ID | |
Entity(5646142) [ | |
// this entity is empty | |
], | |
// Inserting components inside a scene patches its content | |
MyScene [ // basically a div | |
Size { width: "100%", height: "50%" } // those components are just flexbox style options | |
Margin { top: "25%" } | |
Container [ | |
AlignContent { kind: "Center" } | |
Size { width: "50%" } | |
] | |
Container [ | |
AlignContent { kind: "Center" } | |
Size { width: "50%" } | |
] | |
] | |
] |
This comment has been minimized.
This comment has been minimized.
Hey guys, I have a few questions as I'd like to help out how I can... |
This comment has been minimized.
This comment has been minimized.
@kabergstrom @zutils I have a feeling those comments here are a bit hard to find here as comments on a gist. There is an issue in the bevy repository which is a bit more visible than than comments here. bevyengine/bevy#92 |
This comment has been minimized.
This comment has been minimized.
Hey sorry everyone I let this get buried in my email. Lets definitely move the conversation to github. Lots of good ideas here. @zutils maybe just copy/paste your questions there and i'll answer them. @kabergstrom: we've already synced up on this, but im definitely excited for collaboration on this front :) |
This comment has been minimized.
Nice blog post! On the topic of scene/prefab formats, have you had a look at this? https://community.amethyst.rs/t/atelier-legion-integration-demo/1352😄
It supports nested prefabs, field overrides in referenced prefabs, diffs/patches for fields etc.
Looks like we've been working on similar problems in different parts of the Rust community