The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
The Powder Toy/Lua scripting
/
TPT clock
«
1
2
3
4
»
TPT clock
Vou-II
28th Oct 2011
Banned
0
Permalink
This post is hidden because the user is banned
jenn4
28th Oct 2011
Member
0
Permalink
What are you talking?
Vou-II
28th Oct 2011
Banned
0
Permalink
This post is hidden because the user is banned
Marte2007
28th Oct 2011
Member
0
Permalink
Use a bool variable to store on and off state, and put the "drawing command" in an if. toggle the var in the keypress handler using
var=not var;
Vou-II
28th Oct 2011
Banned
0
Permalink
This post is hidden because the user is banned
BlueAmulet
28th Oct 2011
Member
0
Permalink
Deleted
Edited once by BlueAmulet. Last:
13th Apr 2024
Vou-II
28th Oct 2011
Banned
0
Permalink
This post is hidden because the user is banned
mniip
28th Oct 2011
Developer
0
Permalink
@Vou-II
(View Post)
why so complicated toggling?
var=1-var
wont that be easier?
Vou-II
28th Oct 2011
Banned
0
Permalink
This post is hidden because the user is banned
BlueAmulet
28th Oct 2011
Member
0
Permalink
Deleted
Edited once by BlueAmulet. Last:
13th Apr 2024
«
1
2
3
4
»