Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new elements in editor #76

Closed
freezy opened this issue Jun 12, 2020 · 1 comment
Closed

Create new elements in editor #76

freezy opened this issue Jun 12, 2020 · 1 comment
Assignees
Labels
editor Editor-related changes for Unity enhancement New feature or request unity Concerns the Unity project
Milestone

Comments

@freezy
Copy link
Owner

freezy commented Jun 12, 2020

Right now, the editor can load and save VPX files, but new elements will be ignored. So instead of looping through the imported data structure, we should loop through the game objects and pull the data from authoring components (the Behaviors which I'll rename to Authoring soon).

This has a few consequences:

  • We should make sure only objects under the corresponding TableBehavior are exported, and if possible refuse to add those components outside of that tree.
  • The idea is that the author adds empty GameObjects and then adds the relevant authoring component on it - or maybe we can create an editor toolbox that does those steps at once.
  • When an authoring component is added, the relevant meshes should be created as well. It's desirable that children of a component cannot be moved around (e.g. the rubber and base children of a flipper)
@freezy freezy added enhancement New feature or request unity Concerns the Unity project editor Editor-related changes for Unity labels Jun 12, 2020
@freezy freezy added this to the Usable Editor milestone Jun 12, 2020
@rbxnk rbxnk mentioned this issue Jun 13, 2020
9 tasks
@freezy freezy self-assigned this Jul 2, 2020
@freezy
Copy link
Owner Author

freezy commented Aug 18, 2020

Obsolete, item creation is covered by #147 and the rest in #149.

@freezy freezy closed this as completed Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Editor-related changes for Unity enhancement New feature or request unity Concerns the Unity project
Projects
None yet
Development

No branches or pull requests

1 participant