GMU:Speculative Atmospheres/Anna Wißmüller: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 72: Line 72:


If the line leaves the canvas it should come back on the other side. I tried to use the line  
If the line leaves the canvas it should come back on the other side. I tried to use the line  
if ( x > width ) {
 
"if ( x > width ) {
   x = 300;
   x = 300;
   y = 300;
   y = 300;
}
}"


placed in the void draw, to make the line reappear at the given coordinates, but the agent did only drew a short line and then stopped
placed in the void draw, to make the line reappear at the given coordinates, but the agent did only drew a short line and then stopped