Day 4 & 5
Ok, I am busy doing my work these days (I mean my job, I have to live rely on it)Anyhow, I am struggling about try to finish my 5-stage game in plan, I have to stay up these days. Or I just finish 3-stage game, polish my code, fully tested it and try to modified all the errors and bugs. For myself, I still want to finish the 5-stage game according to my schedule, because I want to do some challange, and also I know, if I just finish 3 stages, the stage would be 3 stages forever...
And I think 5-stage is fine, I can generate the stage enemies randomly by computer, I just creat the boss class. In fact, boss class is fine, bosses are seperate classes, if one class can not solve the problem, use two classes. But I meet problem on bullet class :) there are many conditions on bullet, I use pygame.sprite.Sprite, Bullet, EnemyBullet classes to manage my enemy bullets. It is really a mess, and with a lot of copy and paste, I do not think I am OOP. Anyhow, first let my code work, then clean it :)
I want to post my code tomorrow, for one thing, I am not sure I have time to test my game, maybe other people run it can tell me the error, then I have one day to fix it, for another, If I know tomorrow is the deadline, I will go straight to the theme, though I still want to make a clear how the Rect.colliderect in pygame works, is it use quadtree? is it fast than boundary comparison?