Commit graph

29 commits

Author SHA1 Message Date
Carter Anderson
55d6ea64f3 slightly better short name calculation 2020-05-27 22:59:52 -07:00
Carter Anderson
830565ae2b scene: type registry refactor. use short type names when possible 2020-05-27 19:27:55 -07:00
Carter Anderson
91af49ede3 props: move property impls to their own mod 2020-05-27 16:08:24 -07:00
Carter Anderson
3ee5a67cdb scenes: polish scene example. prop->property attribute. derive(Resources) to derive(FromResources) 2020-05-27 15:57:12 -07:00
Carter Anderson
a76bb8b507 props: fix small issues. scene loading now works! 2020-05-27 13:46:43 -07:00
Carter Anderson
c03da2b728 props: fix dynamic property deserialization 2020-05-27 13:30:05 -07:00
Carter Anderson
563a6fc57c remove ron fork 2020-05-27 13:10:43 -07:00
Carter Anderson
59dbf22e39 rework scene format. use property value serializer, removing the need for ron fork / enabling any serde target 2020-05-27 13:07:32 -07:00
Carter Anderson
d86d3ddcbc props: move property serde impls to their own mod 2020-05-27 11:25:27 -07:00
Carter Anderson
76adb888d3 props: remove need for explicit serde::Deserialize impl. replace impl_property macro_rules with proc_macro_fn 2020-05-27 11:13:57 -07:00
Carter Anderson
da52b1b034 props: properties no longer directly implement the Serialize trait 2020-05-27 00:14:57 -07:00
Carter Anderson
d2d02f63f6 props: "Seq" properties 2020-05-26 19:47:33 -07:00
Carter Anderson
e337ff59b8 props: register "pbr" components 2020-05-25 21:57:48 -07:00
Carter Anderson
c8d55fe030 register bevy_transform and bevy_render components 2020-05-25 18:49:29 -07:00
Carter Anderson
cb3d60a87f props: add Property derive and implement Properties for Camera 2020-05-25 18:27:04 -07:00
Carter Anderson
a837741c64 props: move AsProperties into Property 2020-05-25 18:20:36 -07:00
Carter Anderson
83889c44e7 fix glam prop build 2020-05-25 17:57:56 -07:00
Carter Anderson
f0cbe8cd86 prop: impl prop macro. add impls for glam, legion, smallvec 2020-05-25 17:50:17 -07:00
Carter Anderson
cb6638ba06 props: add support for tuple structs 2020-05-25 16:35:46 -07:00
Carter Anderson
663f95e0fd impl Property for std collections 2020-05-25 15:35:47 -07:00
Carter Anderson
0826d74163 props: remove specialization, ignore fields, impl for Handle, fix world round tripping 2020-05-25 12:03:50 -07:00
Carter Anderson
1cd3b4c987 props: add type peeking to ron, support arbitrary property types 2020-05-24 19:36:01 -07:00
Carter Anderson
c5ab7df98f automatically detect bevy meta crate in derive macros 2020-05-24 12:39:23 -07:00
Carter Anderson
d3e0196cbb move derive(Properties) into bevy_properties 2020-05-24 11:01:48 -07:00
Carter Anderson
b7305046cf remove SerializableProperties wrapper struct 2020-05-23 22:39:23 -07:00
Carter Anderson
4c306e6d48 props: migrate scenes to props. loading / saving worlds from / to props. 2020-05-23 22:07:17 -07:00
Carter Anderson
f36a67ee96 props: support nesting 2020-05-23 12:26:13 -07:00
Carter Anderson
284afd4f94 props: deserialize (no nesting yet) 2020-05-22 19:01:48 -07:00
Carter Anderson
159acf52af props: rename prop/props to property/properties
its longer but a bit clearer
2020-05-22 15:36:48 -07:00