马上注册CG织梦网,结交更多CG好友,下载更多CG素材,让你轻松学习。
您需要 登录 才可以下载或查看,没有帐号?立即注册
QQ登录
x
Lynda - Unity 5 2D: Movement in an RPG Game
Learn how to move a player on a tile-based 2D map and use that movement to trigger events—creating a gaming experience similar to classic RPGs. In this course, Jesse Freeman builds upon the lessons learned in the Unity 5 2D: Random Map Generation: adding a player, moving the player from tile to tile, and making the camera follow the movement, as well as triggering events on the map. Jesse also shows how to add a "fog of war" effect that reveals parts of the map as the player moves around and explores, and how to detect and update the artwork for visited tiles.
学习如何在基于二维地图和使用运动触发事件创建一个类似于经典RPG游戏体验移动播放器。在这个过程中,Jesse Freeman建立在统一5个2D的教训:随机地图生成:添加一个播放器,移动玩家瓷砖瓷砖,让相机跟随运动,以及地图上的事件触发。杰西还展示了如何添加一个“战争迷雾”的效果,揭示了地图的部分玩家移动和探索,以及如何检测和更新访问砖的作品。
Topics include:
主题包括:
Setting up the project
建立项目
Adding and repositioning the player in the map
在地图中添加和重新定位
Listening to movement
听运动
Moving the player
移动玩家
Triggering events from movement
从运动触发事件
Adding fog
添加雾
Tracking visited tiles
跟踪走访瓷砖
Expanding the player's field of view
扩大玩家的视野
-------------------------------------- 以上翻译来自互联网,仅供参考!
|