v0.5.2:
[FEAT] play(str) [FEAT] Chime on boot [FEAT] simple song example on 'game.lua'
This commit is contained in:
14
game.lua
14
game.lua
@@ -1,17 +1,9 @@
|
||||
function init()
|
||||
setmode(0)
|
||||
cls()
|
||||
play("o4v5l1crcl4dcferl1crcl4dcgfr")
|
||||
end
|
||||
|
||||
function update()
|
||||
cls()
|
||||
locate(0,0)
|
||||
if mousebutton(1) then
|
||||
print("Has pulsat el boto esquerre")
|
||||
elseif mousebutton(2) then
|
||||
print("Has pulsat el boto del mig")
|
||||
elseif mousebutton(3) then
|
||||
print("Has pulsat el boto dret")
|
||||
else
|
||||
print("No has pulsat cap boto")
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user