|
|
@ -24,8 +24,9 @@ namespace gui { |
|
|
|
{ |
|
|
|
{ |
|
|
|
$window.setVerticalSyncEnabled(VSYNC); |
|
|
|
$window.setVerticalSyncEnabled(VSYNC); |
|
|
|
$window.setFramerateLimit(FRAME_LIMIT); |
|
|
|
$window.setFramerateLimit(FRAME_LIMIT); |
|
|
|
$text.setPosition({43,300}); |
|
|
|
$text.setPosition({RAY_VIEW_X,RAY_VIEW_Y}); |
|
|
|
$text.setFillColor({255,255,255}); |
|
|
|
$text.setCharacterSize(20); |
|
|
|
|
|
|
|
$text.setFillColor(ColorValue::LIGHT_DARK); |
|
|
|
$textures.load_tiles(); |
|
|
|
$textures.load_tiles(); |
|
|
|
$textures.load_sprites(); |
|
|
|
$textures.load_sprites(); |
|
|
|
} |
|
|
|
} |
|
|
|