View Single Post
  #2  
Old 10-27-2010, 04:37 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
1. Theres a variable called scoreLabel.score that it incremented in the onCollide function. When that is equal to 10 you can change the scoreLabel message to say congratulations.

2. You can change the ball speed after a GUI event occurs. For example, if you are using a slider, once the slider position is changed you could get it's position and base the speed on that. The documentation has examples of using GUI objects and handling GUI events.
Reply With Quote