脚本/功能 【更新】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

发布6988

热门作品推荐
glow
Finger Soccer Game Kit 2.0.2 指尖足球游
glow
Simple Space Interiors - Cartoon Assets
glow
Simple Military - Cartoon War 1.35卡通军
glow
Advanced Dissolve 2022.3 溶解
glow
Advanced Dissolve 2022.2 高级溶解透视切
glow
Wireframe Shader 2022.1 线框着色器插件
glow
118 sprite effects bundle 5.0火焰血液爆
glow
《穿墙透壁--剖视中国经典古建筑》手绘图民
glow
明代画家文徵明150幅绘画作品山水诗画兰竹
glow
实时动画渲染Reallusion iClone 8.02 + Cha