amethyst / amethyst/bracket-lib

Gaps with multiple layers?

未关闭
#279 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
1.7k
派生
126
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。