from day i will to study this book<killer Game Programming in java>,because my English is so weak ,i want to change this .i know these are many mistakes.if you find ,you can laugh at me ,and you can tell me which place is mistake,thanks !
2007-5-14
Chapter 2. An Animation Framework 一个动态的框架
A core technology for a good game is an animation algorithm that produces reliably fast game play across various operating systems (e.g., flavors of Windows, Linux, and Macintosh), and in different kinds of Java programs (e.g., applets, windowed, and full-screen applications).
好游戏的核心技术是动态的运算规则,可以制造出快速可靠的游戏在不同的操作系统上,和在不同类型的java项目里。
The common ground between windowed and full-screen application is the game's animation algorithm, which is the subject of this chapter.
The algorithm is embedded in a JPanel subclass (called GamePanel), which acts as a canvas for drawing 2D graphics (e.g., lines, circles, text, images). The animation is
managed by a thread, which ensures that it progresses at a consistent rate, as independent of the vagaries of the hardware and OS as possible. The rate is measured in
terms of frames per second (FPS), where a frame corresponds to a single rendering of the application to the canvas.
这章的主题是 window的和全屏应用程序的共同点是游戏的动态运算。运算是