当前位置:网站首页>Cocos Creator 3.2 中实现2D地图3D人物45度角RPG游戏完整效果
Cocos Creator 3.2 中实现2D地图3D人物45度角RPG游戏完整效果
2022-07-21 05:16:00 【dgflash_game】
接着之前摄像机的设置实现了2.5D游戏的视觉效果,考虑到未来用到商业化游戏中,又实现了一些功能满足角色可在自定义地图上自由行走与地图切换。
- 2D 正交摄像机只显示地图
- 2D AStar地图编辑
- 2D 地图空间坐标转3D空间坐标,实现3D角色可放2D地图上正确位置
- 3D 正交摄像机只显示3D世界角色模型、粒子特效
3D 世界设置为正交摄像机,是为了让所有模型看上去一样大,不会出现近大远小的效果,这样角色渲染到2D地图上层时会看起来更加适合 - 通用的角色控制器
2D场景 + 3D角色效果
2D场景 + 2D角色效果
边栏推荐
- 328. 奇偶链表
- Creative programming / primary school group (grades 4-6) - Graphic Creativity
- 1046. 最后一块石头的重量
- Probability theory - law of large numbers and central limit theorem
- 2022acm summer training weekly report (II)
- 006: floating point data type storage space size
- P1111 修复公路(并查集)
- Analysis of the characteristics of matter protocol (I) support non matter protocol, private protocol, and technical analysis of matter Bridge
- Why is Le Xin in a hurry to release esp32-c3 when there are few words
- Atcoder beginer contest 218 problem solution
猜你喜欢
随机推荐
第一周ACM训练报告
P1111 highway repair (and collection)
110. 平衡二叉树
1046. 最后一块石头的重量
n factorial
2022ACM夏季集训周报(二)
What is PCBA? What is the importance of PCBA testing?
Leetcode hash
Redis发布订阅
Programmation créative / groupe primaire (4e - 6e année) - graphisme créatif
P1111 修复公路(并查集)
Watermelon book chapter 2 Notes - Performance Measurement
力扣记录:单调栈——739 每日温度,496 下一个更大元素I,503 下一个更大元素II,42 接雨水,84 柱状图中最大的矩形
74. 搜索二维矩阵
第九周ACM训练报告
2022acm summer training weekly report (III)
Subsequence
Small practice: implementing myArray
234. Palindrome linked list
力扣记录:动态规划3打家劫舍——198 打家劫舍,213 打家劫舍II,337 打家劫舍III