Sunday, January 9, 2011

5th Class Day

This class is just getting better and better. Today we started off by making the bullet shoot from the plane, instead of it just starting off from the middle of the screen. We encountered a problem when doing this though, which was if you held down the button, it would then look as if the bullet had a black tail attached to it. We therefore added intervals in between the bullets so that the tail would go away. The last thing we did before the bell rang was we made our enemy float around the screen randomly. Finally, we had a moving target to aim at, and it made it more difficult to kill than just a monster not moving in the middle of the screen. After this, we found a new problem: if the bullet hit the enemy, it would go right through and the enemy would not die. We were going to fix this problem as soon as we got back from lunch.

We got back from lunch and went straight to work. We started off by multiplying the enemies, and some went a little crazy with it (like me). I found that you can get around 3000 enemies on the screen without the frame rate dropping below zero! We then put in some funky code, and after clicking the build and run button, the enemies would disappear after being hit with the bullet! We had a game! Then to have a little fun with it, we made the plane's tale animate turning from dark to light every second. Then the bell rang and the day was over. It was very productive and we learned a ton. At the end of class, I installed the app on my iphone so that I could impress my friends and watch their jaws drop!

This class is going very well and I am having a great time learning about how apps are made. It was difficult starting off, but after lots of practice I am finally getting the hang of it.

1 comment:

  1. The frame rate drops below zero????

    Don't forget - the frame rate on your phone and the frame rate on the computer are likely to be different!

    ReplyDelete