amethyst / amethyst/bracket-lib
Fancy Console glyphs persistent across renders?
- Vorherrschende Sprache
- Rust
- Sterne
- 1.7k
- Forks
- 126
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
This is possibly me not understanding or doing something wrong.
I am using the fancy console.
In my code I have a condition that determines if a glyph is rendered.
```
if condition {
draw_batch.set(offset_pos, render.color, render.glyph);
} else {
println!("false");
}
```
The issue I have is that the glyph is being rendered even when the condition is false.
I added an else condition and `println!` and can see that output in my terminal, but the glyph will appear in the last location it was rendered.
Is this expected behaviour for the fancy console?
My current workaround has been to render an empty glyph at 0,0 - that is the only way I've been able to get the original glyph to disappear.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.