MagicPlain
2013-12-31 11:47
120 查看
简介
一个用Java写的2D的游戏,类似于炸弹超人,不过比炸弹超人内容更加丰富。不仅道具的种类很多,而且炸弹爆炸效果也是多种多样的。游戏设置了多个场景,十六张地图,每个场景的道具都不相同。游戏采用纯Java编写,绘图方面采用了双缓存技术,使得动画比较流畅。地图的制作用到了Tilemap,但没有找到合适的解析库,通过研究tmx文件的结构,总结出了tmx的构造规律,所以决定自己来写的解析代码。
游戏中加入了人工智能,敌人会靠近玩家并放置炸弹来攻击玩家,会躲避炸弹,还会寻找并收取道具。人工智能采用的是A*算法结合模糊算法。
源代码
相关文章推荐
- AIX的sar命令详解
- INS-20802: Oracl Cluster Verlfication Utility failed
- ulimit命令&pthread_create() error: Resource temporarily unavailable
- 每天学点English Email(商务性结尾3)
- Failed to open file 'file_name' , error: 2
- file is universal (3 slices) but does not contain a(n) armv7s slice
- Process.EnableRaisingEvents 属性
- Inbound web service failed-[SWSE] Failed to obtain a session ID. Session context not found
- chain of responbility 职责链模式
- AI如何只选取指定区域内容
- 严重: Dispatcher initialization failed Unable to load configuration. - bean - jar:file:/D:/Program Fil
- The source attachment does not contain the source for the file SignatureParser.class错误
- TRAILING NULLCOLS
- AIX的LVM管理之文件系统在线扩容总结
- WebDriver等待:Explicit and Implicit Waits
- (yum中途中断)There are unfinished transactions remaining. You might consider running yum-complete-tra
- rails 4.0.2 + mongoid 对mongodb进行增删改查
- LeetCode之Climbing Stairs
- 《Dell HP服务器命名规则》转自-http://hi.baidu.com/chenshake/item/2f1bbd336d688e159cc65ef6
- Insufficient free space: 25 extents needed, but only 0 available