Yesterday intends to go back to the dorm to write, to the dorm suddenly think of dorm no net, today morning to fill, today is practice day, 10 class, Evening eight o'clock self-study end, these two days said most of the training camp told the content, so I feel exceptionally easy!
yesterday because the first two days to talk about with the new students, too much content, so the morning only the day before the homework left to speak, the afternoon only talk about the call and generation method; then everyone watched a movie as a relaxing! -(return value type) method Name parameter description: (parameter type) parameter name and (parameter type) parameter name return; method call: [self method name] The contents and steps of the job are placed below:
Flying Game Implementation steps:
1. Construct the interface to correlate the associated code;
2. Create a global variable bullet (Uiimageview) When the button is clicked;
3. Create a timer in Viewdidload to execute the Moveaction method every time;
4. Write the code that changes the bullet center in Moveaction;
5. Make the bullets equal to empty in the Stop button;
6. In the Stop button Bullets equal to empty before the bullets and three bosses to determine whether cross if hit boss score 1, 2, 3 minutes before taking out the score This score is added let
7. When the bullet is fired, the number of bullets-1 if the number of bullets is 0 can not be launched again;
Lan Yi IOS Flying Game Implementation steps