amethyst / amethyst/bracket-lib

Gaps with multiple layers?

オープン
#279 コメント 9 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。