Discuz! Board

标题: [教程|Tutorial]SPR类型与用法|Sprite Types & Usages [打印本页]

作者: Jerry小坏    时间: 2017-7-13 13:18
标题: [教程|Tutorial]SPR类型与用法|Sprite Types & Usages
[CN]通常来讲我们所熟知的SPR在游戏里会永远地以正面朝向玩家,实际上那是因为SPR的类型被设定为了VP_PARALLEL。其实除了VP_PARALLEL还有很多SPR的类型在制作时可以选择:
[EN]Usually as we all know that Sprites always face to players, actually that's because the type of the sprite is set to "vp_parallel". Yet besides the type "vp_parallel" there are more types for sprites:


vp_parallel
这个类型会让SPR永远以正面面对玩家并与实体角度无关[]
This type makes the sprite always face to players and has nothing to do with angles of the entity.



oriented
这个类型会让SPR与实体的角度保持一致,并且看不到SPR的背面[]
This type matches the angles of the entity, but you can't see the back of the sprite.



facing_upright
和oriented一样,但该类型的SPR角度永远是垂直的[]
Same as the type "oriented", but this type makes the sprite stand vertically.

vp_parallel_upright
这个类型会让SPR以正面垂直面向玩家[]
This type makes the sprite face to players vertically.



vp_parallel_oriented
永远以正面面对玩家,但是会匹配实体的Z轴角度[]

Same as the type "vp_parallel", but matches the entity's Z axis angle.



[Q]如何设置SPR的类型?|How to set the type of the sprite?
[A]使用Sprite管理工具在新建SPR时可以输入SPR类型|Use Sprite Explorer when you are creating a sprite.







欢迎光临 Discuz! Board (https://esfbbs.foxnyx.top/) Powered by Discuz! X3.2