Hi,

I want to draw say some squares after delay,ie if i need to draw 3
squares,i should get the square1 first,then after some delay square 2
second and so on.I used thread.sleep(msec),but what I get is , i get
all the three squares after the delay specified,i use something like
this:

                                gl.glPushMatrix();
                gl.glTranslatef(1.0f, 1.8f, 0);
                object.draw(gl);
                square.update();
                gl.glPopMatrix();
                try{
thread.sleep(100);
}
catch
{
s.o.p("_");
}

                gl.glPushMatrix();
                gl.glTranslatef(.2f, .8f, 0);
                square.draw(gl);

                ..............................so on

Can somebody help please???

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to