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 a content explorer window for Unity #20

Open
1 of 15 tasks
Fydar opened this issue Feb 29, 2020 · 3 comments
Open
1 of 15 tasks

Create a content explorer window for Unity #20

Fydar opened this issue Feb 29, 2020 · 3 comments
Assignees
Labels
📦 RPGCore.Packages Issue related to the RPGCore.Packages package New feature or request

Comments

@Fydar
Copy link
Owner

Fydar commented Feb 29, 2020

Create a content explorer window that can be used to launch content editing windows.

Use the virtual folder structure APIs from #19 to create a hierarchy that is rendered inside Unity using it's TreeView API.

Create a platform for adding more ways of rendering and editing the content of a resource.

Examples include:

  • Image files rendered using an image viewer.
  • Json, XML and YAML files using syntax-highlighted text.
  • EditorSession Json file editing

Tasks

Explorer

  • Create a tree view that renders the content of projects
  • Render the content of recently built packages
  • Render project and package dependencies
  • Create a UI for building and summarising projects

Package Editing

  • Create a UI for editing .bproj files
  • Allow for the renaming of resources
  • Allow for the moving of resources
  • Allow for the deletion of resources
  • Allow for the creation of resources
  • Allow for the duplication of resources
  • Allow for the renaming of directories
  • Allow for the moving of directories
  • Allow for the deletion of directories
  • Allow for the creation of directories
  • Allow for the duplication of directories
@Fydar Fydar added New feature or request 📦 RPGCore.Packages Issue related to the RPGCore.Packages package labels Feb 29, 2020
@Fydar Fydar self-assigned this Feb 29, 2020
@Fydar
Copy link
Owner Author

Fydar commented Mar 1, 2020

Work-in-progress screenshot of Json and raw text rendering to the content explorer window.

wip-content-renderer

Fydar added a commit that referenced this issue Mar 2, 2020
Abstracted text document rendering.
Automatically increase the line number column width.
Improved tab controls in the Content Editor.
Fixed UniformScrollController not rendering the last line of the document.
Added a content renderer that attempts to render images (png and jpeg).
@Fydar
Copy link
Owner Author

Fydar commented Mar 12, 2020

More work-in-progress gifs.

ec3b014c05df703d03115529a13c304b

Now with integration with the node-based behaviour editor.

b6267d74acae78d14be539cbd45cf10f

@Fydar
Copy link
Owner Author

Fydar commented Oct 19, 2020

Previously this editor worked on the notion of "Resources"; however, it's clear to me now that there is rarely a one-to-one correlation of a resource to a file on disk.

It's fine for the editor to interact with resources, however, it should edit on a per-file basis, rather than a per-resource basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 RPGCore.Packages Issue related to the RPGCore.Packages package New feature or request
Projects
Development

No branches or pull requests

1 participant