脚本/功能 【更新】Adaptive Split Screen 1.2.0多人游戏分屏

Unity插件信息
插件名称: Adaptive Split Screen
插件官网: https://assetstore.unity.com/packages/tools/camera/adaptive-split-screen-223436
版本: 1.2.0
解压密码:
素材类型: 脚本/功能













This package contains fast lightweight solution for split screen It is developed with DOTS in mind, as result it takes advantage of Unity's latest technology stack like SIMD mathematics, Jobs and Burst compiler.

It is recommended for co-op style games. Especially if world is not small and players can be far away from each other.

This is novel solution of split screen based on voronoi diagrams. One can think of it as extension of traditional dynamic split screen for up to 4 players.

Key Behaviours
Fairness - option for each player to have similar screen region area.
Centered - option for each player to be centered in their screen region.
Direction Indicated - each split indicates direction to other player.
Fusible - players screen regions can be merged once they are close enough.

The package is designed to be easily customizable and approchable from artist's to developer's background.

There are 4 layers of API
SplitScreenEffect - the main MonoBehaviour component that applies split screen effect on camera.
Modifier - custom MonoBehaviour components for modifying logic of SplitScreenEffect.
SplitScreen4, SplitScreen3 and SplitScreen2 - structs for generating split screen effect.
VoronoiBuilder, VoronoiDiagram - structs for generating voronoi diagrams from sites.


本软件包包含快速、轻量级的分屏解决方案,它是以DOTS为基础开发的,因此它利用了Unity最新的技术栈,如SIMD数学、Jobs和Burst编译器。

推荐用于合作类游戏。特别是当游戏世界不小,玩家之间距离较远时。

这是基于Voronoi图的新颖分屏解决方案。我们可以将其视为传统动态分屏的扩展,最多可支持4名玩家。

关键行为
公平性 - 每位玩家可选择拥有相似的屏幕区域。
居中 - 每个玩家可选择在其屏幕区域居中。
方向指示 - 每个分屏向其他玩家指示方向。
Fusible - 玩家的屏幕区域一旦足够接近就可以合并。

该软件包的设计易于定制,从艺术家到开发人员都可以使用。

有4层API
SplitScreenEffect - 主要的MonoBehaviour组件,用于在摄像机上应用分屏效果。
Modifier - 用于修改SplitScreenEffect逻辑的自定义MonoBehaviour组件。
SplitScreen4、SplitScreen3和SplitScreen2 - 用于生成分屏效果的结构体。
VoronoiBuilder, VoronoiDiagram - 结构体,用于从站点生成Voronoi图。




作者 cg小白兔 发表于 2023-7-18 15:40:16
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布4050

热门作品推荐
glow
Amplify Shader Editor 1.8.1 Unity3d材质
glow
【更新】A Pathfinding Project Pro 5.0.6
glow
C4D中世纪木质道具高品质栅栏桌椅板凳木箱
glow
Clayxels 1.9 雕刻模型工具
glow
Shader World procedural landscape, ocea
glow
Shader World procedural landscape, ocea
glow
Tree Felling System 适配UE5.1
glow
Photoscanned Trash Vol. 1 by Unimodels
glow
魔兽中的怪物模型合集下载
glow
Essential Sword & Shield Animation Pack