flare-game
flare-game copied to clipboard
monster drops "0" gold, but indeed it is 8 gold.
the defeated monster drops "0" gold. but hero get the "0"gold, then Hero's gold raise 8. After the hero get the "0" gold, the hero's gold changes from 2311gold to 2319.
I think that is actually an '8', but scaling blurred out the middle part. This makes it look like a zero. Compare the zoomed in screenshots of a pile of 8 gold:
If you look closely at the center of the '0' in the top screenshot, you can see that some of the pixels in the center are lighter and create a similar shape to the bottom screenshot. Also note that the borders on the tooltip appear different.
The bottom screenshot was taken on Linux, whereas yours was taken on Windows. SDL's accelerated rendering backend is different between the two platforms (OpenGL vs DirectX), so it's likely a difference in the linear scaling filter. Launching Flare with the software renderer via --renderer=sdl
would likely resolve this.
Similarly in stats, I confirmed that 8 is displayed as if it were 0. This bug seems to spread beyond gold. Since offence and defennce were 7 until just before, it looks like 0 but this is definitely 8.
Launching Flare with the software renderer via --renderer=sdl would likely resolve this.
If possible, Could you please program so that display settings can be changed with only flare without using terminal commands? I don't know what to do with windows.
I've added a renderer selection option to the video configuration menu: https://github.com/clintbellanger/flare-engine/commit/86d5ea0579151e0f4aaa4cf1cb64eb74299b6794
To change the setting manually on Windows, settings.txt
is located in %APPDATA%\flare\config
. You can paste that path into explorer to get there. In settings.txt
, you can change renderer=sdl_hardware
to renderer=sdl
.
This follow picture is the result of v1.01 , and the result of setting Renderer as "SDL_hardware",
As a result of testing the v1.01, unfortunately, despite setting Renderer as "SDL_hardware", "8" still looks like "0". Of course, even if it is set to "SDL", it looks like 0 in the same way.
The reason why the issue happens is all the texts look blur, which makes thin lines disappear. Maybe changing font or increasing font size can solve the problem.