Make the FPS/debug output render in a better place and not so in your face.
This commit is contained in:
parent
bfe0d797c8
commit
f10498425e
2 changed files with 7 additions and 4 deletions
5
gui.cpp
5
gui.cpp
|
@ -24,8 +24,9 @@ namespace gui {
|
|||
{
|
||||
$window.setVerticalSyncEnabled(VSYNC);
|
||||
$window.setFramerateLimit(FRAME_LIMIT);
|
||||
$text.setPosition({43,300});
|
||||
$text.setFillColor({255,255,255});
|
||||
$text.setPosition({RAY_VIEW_X,RAY_VIEW_Y});
|
||||
$text.setCharacterSize(20);
|
||||
$text.setFillColor(ColorValue::LIGHT_DARK);
|
||||
$textures.load_tiles();
|
||||
$textures.load_sprites();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue