じ☆ve冰风 发表于 6 天前

Camera Control Techniques for your Game

http://www.himeworks.com/blog/wp-content/uploads/2014/02/cameraControlTechniques1.jpg


When you're playing your game, you may notice that the camera follows the player and is always centered on the player unless you've reached the edge or corner of the map.


Sometimes, you may want to focus the camera on a different object, or an arbitrary position on the map. For cut-scenes where the player is not involved, for example, you would typically have to set the player's graphic to transparent and then move the player to the cut-scene's location.  After the cut-scene is over, you would then move the player back to where they were.


This is not a difficult task, but it is not really something that you have to do just to look at somewhere else on the map. One solution that would make your cut-scenes and overall eventing experience so much easier is the ability to control the game camera using the Camera Target script.


Read the rest at Hime Works!


本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/camera-control-techniques-for-your-game.24009/
页: [1]
查看完整版本: Camera Control Techniques for your Game