GMU:Human and Nonhuman Performances II SS16/Shuyan: Difference between revisions

From Medien Wiki
No edit summary
(r)
Line 105: Line 105:
[[File:guacode11..jpg]]
[[File:guacode11..jpg]]
[[File:guacode12.jpg]]
[[File:guacode12.jpg]]
Order is the varible created to count the times of keypressed, any time when a key is pressed, it is to be judged if it is within 8 times
[[File:guacode13.jpg]]
[[File:guacode13.jpg]]
If the times exceeds to 9th time, it is to be assigned to "0" which represents the first time again, and the "refresh" to be true which will consequently draw background to black to make the canvas refresh again.