您的位置:首页 > 其它

Game的基本元素.[小糊涂的灵感]

2004-11-03 10:41 337 查看
GameManager Handles keyboard input, updates sprites, provides collision detection,
and plays sound and music.

TileMapRenderer Draws the tile map, parallax background, and sprites.

ResourceManager Loads images, creates animations and sprites, and loads levels.

 

On Windows machines, the granularity of the system timer isn't accurate enough for
smooth scrolling.  "Optimization Techniques."

Using sprite bounds for collision detection isn't accurate enough. Smaller collision
bounds could be used instead.

Also, you could use better collision handling for times when the sprite travels across
large distances between frames.

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: