这几天公司比较有空闲。我未曾设计过游戏。不过出于学习的原因也搞了些玩玩。现在我设计了一个手机雷电弱智版本。
游戏只是实现了最基本的功能。比如飞机移动。产生飞机。发射子弹。击中敌方,爆炸等功能。还有很多的地方不好。不过话又说回来,只是入门的。所以大家做个参考,学习学习就ok了。里面的注释也写的比较详细。希望大家多多指教
源代码下载
<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-9660229364187431&dt=1175308484000&lmt=1175308483&prev_fmts=160x600_as&format=468x60_as&output=html&channel=3226979720&pv_ch=3226979720%2B&url=http%3A%2F%2Fwww.blogjava.net%2Fgooogle%2Farchive%2F2007%2F03%2F22%2F105585.html&ad_type=text&ref=http%3A%2F%2Fwww.blogjava.net%2Fgooogle%2Farchive%2F2007%2F03%2F22%2F105585.html&cc=100&u_h=800&u_w=1280&u_ah=748&u_aw=1280&u_cd=32&u_tz=480&u_his=6&u_java=true&u_nplug=16&u_nmime=55" frameborder="0" width="468" scrolling="no" height="60" allowtransparency="allowtransparency">
游戏只是实现了最基本的功能。比如飞机移动。产生飞机。发射子弹。击中敌方,爆炸等功能。还有很多的地方不好。不过话又说回来,只是入门的。所以大家做个参考,学习学习就ok了。里面的注释也写的比较详细。希望大家多多指教
源代码下载
<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-9660229364187431&dt=1175308484000&lmt=1175308483&prev_fmts=160x600_as&format=468x60_as&output=html&channel=3226979720&pv_ch=3226979720%2B&url=http%3A%2F%2Fwww.blogjava.net%2Fgooogle%2Farchive%2F2007%2F03%2F22%2F105585.html&ad_type=text&ref=http%3A%2F%2Fwww.blogjava.net%2Fgooogle%2Farchive%2F2007%2F03%2F22%2F105585.html&cc=100&u_h=800&u_w=1280&u_ah=748&u_aw=1280&u_cd=32&u_tz=480&u_his=6&u_java=true&u_nplug=16&u_nmime=55" frameborder="0" width="468" scrolling="no" height="60" allowtransparency="allowtransparency">