12 lines
186 B
Lua
12 lines
186 B
Lua
function frame()
|
|
local x = 10
|
|
local y = 20
|
|
local result = x + y
|
|
|
|
if result > 25 then
|
|
gfx.clear(color.green)
|
|
else
|
|
gfx.clear(color.red)
|
|
end
|
|
end
|