roc/editor
2021-04-19 15:55:32 +02:00
..
benches arena heads-up comment, mem_arena -> arena, used seperate arena for GUI rects 2021-02-09 17:11:33 +01:00
src type tooltip rendering 2021-04-19 15:55:32 +02:00
tests Merge branch 'trunk' into editing_tests 2021-04-13 10:00:17 +02:00
.gitignore include shaders in repo 2020-12-15 15:34:39 +01:00
Cargo.toml initial solver for the editor's type constraints 2021-04-12 21:26:20 +02:00
creature.png wip w/ sampler and dots 2020-05-30 01:13:05 -04:00
editor-ideas.md ast_node based selection, node backspace in progress 2021-04-14 19:57:53 +02:00
Inconsolata-Regular.ttf Switch to wgpu for rendering 2020-05-30 01:13:05 -04:00
prep_benchmarks.sh expose modules automatically for benchmarks, actually run benchmarks 2021-01-25 19:16:03 +01:00
README.md ctrl+shift+up to select surrounding expression, backspace to replace selected expression with blank 2021-04-16 17:25:30 +02:00

Getting started

  • Install the compiler, see here
  • On ubuntu run the following to make the clipboard work:
sudo apt install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
  • Run the following from the roc folder:
cargo run edit

Troubleshooting

If you encounter an error like gfx_backend_vulkan ... Failed to detect any valid GPUs in the current config ... make sure the correct graphics card drivers are installed. On ubuntu sudo ubuntu-drivers autoinstall can resolve the problem.

If you encounter problems with integrated graphics hardware, install mesa-vulkan-drivers and vulkan-tools.

Inspiration

We thank the following open source projects in particular for inspiring us when designing the Roc editor: