amethyst / amethyst/bracket-lib

Gaps with multiple layers?

Đang mở
#279 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
1.7k
Fork
126
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.