Watch
2
0
Fork
You've already forked raylib-cs
0

Removed FormatText + SubText change

- Using built in string.Format instead of FormatText.
- SubText changed to extension method for a string that uses Substring and a bound limit.
This commit is contained in:
ChrisDill 2018-10-25 17:21:47 +01:00
commit ce89a3bc8d
18 changed files with 52 additions and 65 deletions

View file

@ -48,7 +48,7 @@ public partial class text_writing_anim
ClearBackground(RAYWHITE);
DrawText(SubText(message, 0, framesCounter/10), 210, 160, 20, MAROON);
DrawText(message.SubText(0, framesCounter/10), 210, 160, 20, MAROON);
DrawText("PRESS [ENTER] to RESTART!", 240, 260, 20, LIGHTGRAY);
DrawText("PRESS [SPACE] to SPEED UP!", 239, 300, 20, LIGHTGRAY);