原文:
Day 11: More alien types and attack formations. First boss level
The first boss is on level 10. It's big and cube-shaped. I'm calling it Borg, although it does not assimilate you ;) It emits regular aliens. You have to hit the boss multiple times to destroy it. I set energy to 20 for the first one, it's challenging but not really hard. I added a big shake when boss is destroyed. Boss is made out of 10x10 pixel blocks, so explosion looks nice.
I also added a new snake like formation, aliens move down, then left/right and then down again, repeating it until they reach bottom. I made them a little bit faster in this formation, so it's challenging.
I have also drawn some nice aliens, and named all of them, as each type is represented by a Java class and I needed nice class names. Here they are: Hairy, Glider, Worker and Eater.
Here's a .jar file I made today, you can run in on Windows or Linux or Mac, as long as you have Java installed. On Linux I use: java -jar stardust.jar
Please note that you need to allow game's window to be at least 800px high, for it to work properly. I'm running it on my 1680x1050 desktop and it works fine, but on 1280x800 laptop the taskbar uses some space, so window size is reduced vertically and I need to click underneath the alien to shoot it. I guess I'll need to fix this if I even decide to release the PC version.
---------------------------------------------------------------------又加班啊-----------------------------------------------------------------------------------------------------------
第11天:更多类型和攻击外星人编队。第一个老板
第一个老板是10级。它是大的和立方体形状的。我称它为博格,虽然它不吸收你;)发出的定期的外星人。你要打老板多次摧毁它。我能到20的第一个,它的挑战性,但不是真的很难。我添加了一个大的震动时,老板被摧毁。老板是做出来的10x10像素块,使爆炸看起来不错。
我还添加了一个新的蛇形的形成,外星人向下移动,然后左/右然后放下,重复它,直到达到底部。我做一点这形成的速度更快,所以它的挑战性。
我也得出了一些不错的外星人,并命名为所有的人,为每种类型的Java类表示我需要好的类名称。它们是:毛,滑翔机,工人和水。
这是我今天。jar文件,可以运行在Windows或Linux或Mac,只要你安装了Java。在Linux上我使用:Java jar stardust.jar
请注意,你需要让游戏的窗口将至少为高,它的正常工作。我跑在我为1680x1050桌面,它工作正常,但在电脑任务栏使用1280x800一些空间,所以窗口尺寸减小垂直和我需要点击下面的外星人拍摄。我想我会如果我甚至决定发布PC版的需要解决这个问题。
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------