Ok, so I think I have a (very) basic concept of how to use mickey. Here's the function I have written so far:
function zoom()
{
while(1)
{
object1.scale_x = (mickey.z*0.1*time_step);
object2.scale_y = (mickey.z*0.1*time_step);
wait(1);
}
}
A couple of things I'm not getting:
1. How do I zoom so that the smaller versions of the object don't also stay on the screen? I'm thinking it has to do with my while/wait, but I'm not sure how to correct it.
2. Once I zoom in, do I have to write a separate function to zoom out? (essentially changing * to /)?