- Tota la API canviada. Fent la documentació.
- v1.0 RC1
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
other = require "other"
|
||||
--other = require "other"
|
||||
|
||||
x=0
|
||||
|
||||
function _init()
|
||||
text=other.peiv()
|
||||
keyRight = tonumber(getconf("keyright")) or KEY_RIGHT
|
||||
keyLeft = tonumber(getconf("keyleft")) or KEY_LEFT
|
||||
_update=normal_update
|
||||
--text=other.peiv()
|
||||
--keyRight = tonumber(getconf("keyright")) or KEY_RIGHT
|
||||
--keyLeft = tonumber(getconf("keyleft")) or KEY_LEFT
|
||||
--_update=normal_update
|
||||
--turbo(false)
|
||||
local perico = "péricòñ"
|
||||
print(utf8.len(perico))
|
||||
--local perico = "péricòñ"
|
||||
--print(utf8.len(perico))
|
||||
end
|
||||
|
||||
function _update()
|
||||
if key.press(key.ESCAPE) then
|
||||
sys.quit()
|
||||
end
|
||||
|
||||
draw.cls(5)
|
||||
draw.print("HOLA",0,0)
|
||||
end
|
||||
|
||||
function normal_update()
|
||||
|
||||
Reference in New Issue
Block a user