摘要
总结当前基于Flash的教育游戏地图建设中存在的一些问题,如:资源可重用性较低,与XML文件交互过程中存在较大的数据冗余,可视化修改的复杂性较高。针对这些问题,在查阅相关文献资源之后,提出一种基于JSON(JavaScript Object Notation)的设计与开发方法。并结合等距投影技术,运用该方法开发出一款可视化地图编辑软件,以帮助用户根据自身需求快速、可视地进行教育游戏虚拟地图的建设。用户可通过该软件将所建设的地图以图片(png、jPg)或JSON文件格式存储到本机,以供其在后续的教育游戏开发中使用。最后对该软件进行测试,证明使用该方法能够较好地解决上述问题。
In this paper we summarise the problems in Flash-based educational game maps construction, such as the low reusability of resources, big data redundancy in the process of interacting with XML files, high complexity of visualised modification. To solve these problems, after accessing to the relevant literatures, we propose a new design and development method which is based on JSON. Moreover, we develop a visualised game map editor using this method and combining the equidistant projection technology, so as to help users to construct virtual maps in educational games quickly and to be visualised on the basis of their own demand. Meanwhile, users can export and save the constructed map as pictures (png, jpg) or JSON flies to local PC through this editor, as for their later use in subsequent education games development. Finally we make the test on the editor, it can be proved that the use of this method can well solve the problems above.
出处
《计算机应用与软件》
CSCD
北大核心
2013年第6期187-190,249,共5页
Computer Applications and Software
基金
广东省科技计划项目(2012B010100029)