diff options
| author | raysan5 <raysan5@gmail.com> | 2016-08-06 19:29:58 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-08-06 19:29:58 +0200 |
| commit | 865b216ebef8e62a19f3a264001ddf17601f95c5 (patch) | |
| tree | f31468099c8d85cf8767161c3e9c4b16391276d1 /examples/text_writing_anim.lua | |
| parent | 7f9513fbf41e9d340307fc0f9aeed8e5f4293a96 (diff) | |
| download | raylib-865b216ebef8e62a19f3a264001ddf17601f95c5.tar.gz raylib-865b216ebef8e62a19f3a264001ddf17601f95c5.zip | |
Updated Lua examples
Most of the examples already working! Only some of them still fail,
mostly related to data arrays...
Diffstat (limited to 'examples/text_writing_anim.lua')
| -rw-r--r-- | examples/text_writing_anim.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text_writing_anim.lua b/examples/text_writing_anim.lua index 05195dc4..f4af9f58 100644 --- a/examples/text_writing_anim.lua +++ b/examples/text_writing_anim.lua @@ -38,7 +38,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC ClearBackground(RAYWHITE) - DrawText(string.sub(message, 0, framesCounter/10), 210, 160, 20, MAROON) + DrawText(string.sub(message, 0, framesCounter//10), 210, 160, 20, MAROON) DrawText("PRESS [ENTER] to RESTART!", 240, 280, 20, LIGHTGRAY) |
