roc/editor
2021-02-08 11:52:46 +01:00
..
benches fmt 2021-01-26 19:40:56 +01:00
src report unexposed values 2021-02-07 01:17:46 +01:00
tests progress integrating text rope 2021-01-11 19:46:15 +01:00
.gitignore include shaders in repo 2020-12-15 15:34:39 +01:00
build_shaders.rs don't recompile shaders unnecessarily 2020-12-15 15:00:24 +01:00
Cargo.toml trying fork of clipboard crate 2021-01-30 16:23:54 +01:00
creature.png wip w/ sampler and dots 2020-05-30 01:13:05 -04:00
editor-ideas.md more editor ideas 2021-02-08 11:52:46 +01: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 expanded README, ignored copy_paste test 2021-01-30 19:30:14 +01: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 examples/hello-world/Hello.roc

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: