blob: a8d87f3b16fe37798150dca37b73e80bb1a66689 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
for i = 0, 3 do
print(string.format("Hi %d times", i))
end
local file = io.open("test/test.txt", "r")
local content = file:read("*a")
print(content)
file:close()
open_window(600, 600, "My Game")
set_fps(60)
BLACK = { r = 0, g = 0, b = 0 }
while window_running() do
begin_drawing()
clear_window(color.VIOLET)
draw_fps()
end_drawing()
end
close_window()
|