amethyst / amethyst/bracket-lib

Gaps with multiple layers?

Open
#279 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.7k
Forks
126
PR merge metrics
No merged PRs in 30d

Description

On some lines there are gaps or the renderer renders too much of the next tile, I don't know how to describe this:

![grafik](https://user-images.githubusercontent.com/18561536/182220227-1dad20c5-8853-4c5d-aacb-c6f2c86e1d8e.png)

(first line in the log and under the player)

I initialize the console like this:
```rust
let font = "terminal8x8.png".to_string();
let context = BTermBuilder::simple80x50()
.with_font(font.clone(), 8u32, 8u32)
.with_sparse_console(80, 50, font.clone())
.with_sparse_console_no_bg(80, 50, font)
.with_title("vortex")
.build()?;
```

Any idea how this happened?
On a side note, I don't know exactly what I'm doing there with no_bg, I just needed two console layers and this looked like it worked.

Edit:
It looks fine when I don't scale it, but when I resize the window to some resolutions, it shows these artifacts on some lines.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.