I am developing an android game, i need some help regarding multi threading as i am considering it. I am attaching an image then i can explain what i need. The bird is moving perfectly in my game from left to right and right to left, also moving her feathers as two images used, but i run the code at some time which will start to give egg, forexample bird will fly for 4 minutes and after every 20 seconds it will drop the egg, now egg will move from top to bottom, and what i think, another game thread will be used, i have used GameLoopThread object for it and SurfaceHolder holds the surface, I have used this code http://www.edu4java.com/androidgame/androidgame3.html I can make the condition of 20 seconds to give egg, but i am confused how to make a thread for an egg which will move from top to bottom and on other-side bird will be keep moving.
切实提前感谢。
A. 窒息