2024年4月8日发(作者:宾简)
卡马克卷轴算法研究
第 1 页 共 25 页
摘要与关键词
中文摘要
对于J2ME框架下的手机游戏程序的开发,其地图滚动的重绘有多种算法,由于手机性能的限
制和开发周期等其他非技术条件,需要根据情况灵活选择所需的技术。但在及其苛刻条件下,如系
统CPU资源不足,地图块尺寸较小等,会造成屏幕闪耀,帧数过低等情况,严重影响到游戏体验。
在开发中如此类问题无法绕过以及避免(指通过修改策划方案,以及程序使用的技术框架),则需要
考虑使用地图缓冲绘制技术,卡马克卷轴就是一种最经典的地图缓冲绘制技术。可有效的改善在地
图绘制中的屏幕闪耀,帧数过低等情况。
English Abstract
For J2ME Mobile Phone Games under the framework of the development process, and its rolling
redraw the map has a variety of algorithms, because of restrictions on mobile phone performance and
development cycle and other non-technical conditions required under the circumstances required the
flexibility to choose technologies. However, in its harsh conditions, such as system CPU resources are
insufficient, and a smaller block size, etc., will cause the screen shine, low frames, etc., seriously affecting
the gaming experience. At the development of such a category can not bypass the problem and to avoid
(referring to the adoption of amendments to planning programs, as well as the technology used in the
framework of the procedure), you need to consider the use of map rendering buffer, scroll Carmack is one
of the most classic map buffer rendering. Can effectively improve the mapping of the screen shine, frames
are too low and so on.
关键词
卡马克卷轴:一种经典的地图缓冲绘制技术。可有效的改善在地图绘制中的屏幕闪耀,帧数过
低等情况。
Title:地图的贴片,指在地图绘制时,系统重绘的最小地图单元。一般为正方形,尺寸有8、16、
24、32
Pixels等。
地图重绘:在游戏中由于角色移动造成的地图显示区域的改变,重新绘制地图的显示区域就称
为地图重绘。
缓冲:在内存中建立一个区域,该区域等于或者略大于屏幕大小。在重绘时,首先在缓冲区上
重绘,再一次性把缓冲区画到屏幕上。这种预先绘制的方式就是缓冲。
第 2 页 共 25 页
2024年4月8日发(作者:宾简)
卡马克卷轴算法研究
第 1 页 共 25 页
摘要与关键词
中文摘要
对于J2ME框架下的手机游戏程序的开发,其地图滚动的重绘有多种算法,由于手机性能的限
制和开发周期等其他非技术条件,需要根据情况灵活选择所需的技术。但在及其苛刻条件下,如系
统CPU资源不足,地图块尺寸较小等,会造成屏幕闪耀,帧数过低等情况,严重影响到游戏体验。
在开发中如此类问题无法绕过以及避免(指通过修改策划方案,以及程序使用的技术框架),则需要
考虑使用地图缓冲绘制技术,卡马克卷轴就是一种最经典的地图缓冲绘制技术。可有效的改善在地
图绘制中的屏幕闪耀,帧数过低等情况。
English Abstract
For J2ME Mobile Phone Games under the framework of the development process, and its rolling
redraw the map has a variety of algorithms, because of restrictions on mobile phone performance and
development cycle and other non-technical conditions required under the circumstances required the
flexibility to choose technologies. However, in its harsh conditions, such as system CPU resources are
insufficient, and a smaller block size, etc., will cause the screen shine, low frames, etc., seriously affecting
the gaming experience. At the development of such a category can not bypass the problem and to avoid
(referring to the adoption of amendments to planning programs, as well as the technology used in the
framework of the procedure), you need to consider the use of map rendering buffer, scroll Carmack is one
of the most classic map buffer rendering. Can effectively improve the mapping of the screen shine, frames
are too low and so on.
关键词
卡马克卷轴:一种经典的地图缓冲绘制技术。可有效的改善在地图绘制中的屏幕闪耀,帧数过
低等情况。
Title:地图的贴片,指在地图绘制时,系统重绘的最小地图单元。一般为正方形,尺寸有8、16、
24、32
Pixels等。
地图重绘:在游戏中由于角色移动造成的地图显示区域的改变,重新绘制地图的显示区域就称
为地图重绘。
缓冲:在内存中建立一个区域,该区域等于或者略大于屏幕大小。在重绘时,首先在缓冲区上
重绘,再一次性把缓冲区画到屏幕上。这种预先绘制的方式就是缓冲。
第 2 页 共 25 页