Начинающий
-
Автор темы
- #1
i am trying to add a rect to the logs just like in neverlose V1 but i just isnt working for me someone pls help me if you know how to fix it
im trying to get this:
But in end up with this:
This i the code i have now
im trying to get this:
But in end up with this:
This i the code i have now
Код:
auto logs_size_inverted = 10 - logs.size ();
render :: get (). rect_filled (log.x, last_y + log.y - logs_size_inverted * 0.5f, 120, 20, Color (20, 36, 61, 255)); // test
render :: get (). text (fonts [LOGS], log.x, last_y + log.y - logs_size_inverted * 14, log.color, HFONT_CENTERED_NONE, log.message.c_str ());
[/ CODE]