changing colors by button problem #2239
Unanswered
Diddlybabble
asked this question in
Q&A
Replies: 1 comment
-
Tyr this color=0
function TIC()
cls(color)
if btnp(2) then
color = color+1
elseif btnp (3) then
color = color-1
end
end |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ay mates i wanted to change the screen color by pressing a button but it doesn't work anyways here is it code :color=0
function TIC()
cls(color)
if btnp(4) then
color = color+1
elseif btnp (13) then
color = color-1
end
end
Beta Was this translation helpful? Give feedback.
All reactions