Update web examples -WORK IN PROGRESS-

This commit is contained in:
Ray
2017-04-01 00:51:31 +02:00
parent 0a33fbf8bb
commit e6ed85e993
70 changed files with 1204427 additions and 1274472 deletions

View File

@ -68,8 +68,8 @@ int main()
for (int i = 0; i < 8; i++)
{
positions[i].x = screenWidth/2 - MeasureTextEx(fonts[i], messages[i], fonts[i].size*2, spacings[i]).x/2;
positions[i].y = 60 + fonts[i].size + 50*i;
positions[i].x = screenWidth/2 - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2, spacings[i]).x/2;
positions[i].y = 60 + fonts[i].baseSize + 50*i;
}
#if defined(PLATFORM_WEB)
@ -118,7 +118,7 @@ void UpdateDrawFrame(void)
for (int i = 0; i < 8; i++)
{
DrawTextEx(fonts[i], messages[i], positions[i], fonts[i].size*2, spacings[i], colors[i]);
DrawTextEx(fonts[i], messages[i], positions[i], fonts[i].baseSize*2, spacings[i], colors[i]);
}
EndDrawing();