0
Random image at uniform rate.
I have 10 images. I want them to come from top to bottom randomly one by one. Like if one reaches to mid way then only second image should come. Can someone plz help me. Only in java.
6 Réponses
+ 5
Sorry, I don't understand your question. Do you want the images to show up randomly or at a specified condition?
+ 4
You could start by using Math.random to choose the random image. Then I need to know which GUI API you use...
+ 3
Can't help with Android API, sry.
+ 1
Okay Tashi thanks for you efforts.
0
I want images to show up randomly. Suppose I have 3 images. Image1, Image2 and Image3. First Image1 should show up at the center of the screen. Then I want it to have speed on "x-axis -= 5" when its x-axis reaches to "0" then image2 or Image3 should show up at the center and have speed x -=5. Hope I'm clear this time.
0
I m using Android API