The blog has now moved!

Thursday, April 26, 2007

Progress?

I got up and went to the Group Project lab, it's not looking good but next week we've got our presentation. I'm going to be making the report, as such the Breakout game is going to have to slow-down a little. Speaking of which, the latest version is here. And the changes are... V0.3 - Some basic graphical acceleration used, it now redraws less per cycle than in V0.2, there might be more I can do so I am going to leave it as a "to do" item - The game now has three levels, the blocks change colour each level (Black, Green, Blue) - Lives and current level down the bottom are now colour coded - Speed is now displayed in the label at the bottom and increments by 1 for every 12 blocks removed, there are 48 blocks per level Tomorrow I hope to have some powerups functioning along with some cooler effects and the ability to turn said effects on or off with keys (for those with slower computers). If you're wondering why a slower computer is struggling under such a basic game, well, it's because of Java. I shall explain why. "Compiled" Languages such as C, C++ and Objective-C are saved in a language the computer understands. "Interpreted" Languages such as PHP, Python and Ruby are saved in a language the computer does not understand very well, but there is an on-the-spot translator saved with them Java I believe falls somewhere in between the two. I shall now explain the above concept in linguistic terms. C (a very fast language) saves itself in English (we're assuming computers speak English). PHP (not as fast as C) saves itself in German. As such, to run PHP programs, the computer must translate the program before it performs each instruction, thus, slowing it down. Java stores itself as a German language with some English notes in it, thus making it easier. Does that make any sense to anybody or have I simply confounded the issue?

1 comments:

Brett Jordan said...

i was fine up to 'i got up...'

your ever-luvvin' uncle brett