mirror of https://fem.mint.lgbt/m/Rhythmblock.git
first steps
This commit is contained in:
parent
13c8cc4e97
commit
bc4c7aaefe
|
@ -0,0 +1,15 @@
|
||||||
|
local accentColor = colors.gray
|
||||||
|
local buttonColor = colors.lightGray
|
||||||
|
local backgroundColor = colors.black
|
||||||
|
|
||||||
|
function playDisk()
|
||||||
|
disk.playAudio()
|
||||||
|
|
||||||
|
|
||||||
|
if disk.isPresent() and disk.hasAudio() then
|
||||||
|
playDisk()
|
||||||
|
elseif disk.isPresent() then
|
||||||
|
print "Not a music disc"
|
||||||
|
else
|
||||||
|
print "No disc"
|
||||||
|
|
Loading…
Reference in New Issue