roc/editor
2021-03-31 12:58:49 +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 got room for one more char in ArrayString 2021-03-31 12:58:49 +02:00
tests more ui refactoring progress 2021-02-16 20:02:42 +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 new caret structure progress, renamed BigSelectedText to BigTextArea 2021-03-22 20:13:49 +01:00
creature.png wip w/ sampler and dots 2020-05-30 01:13:05 -04:00
editor-ideas.md do all tree modifications when user presses { 2021-03-23 19:38:42 +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: