#4
|
|||
|
|||
I have tried to use box1.collidingwith(box2) but this made the game meet the condition once I run the code
Code:
ball=0 def task1(): global ball while ball <4: action=box1.collidingwith(box2) yield viztask.waitEvent(action) ball +=1 print 'Number of Balls is : ',ball |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tasks | Moh200jo | Vizard | 1 | 02-23-2009 10:57 AM |
Vizard Tip of the Month: Use Tasks to Simplify your Code | Gladsomebeast | Vizard | 5 | 05-02-2008 04:30 PM |