> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 2D 平台跳跃游戏触控控制布局

> 2D 平台跳跃游戏触控控制布局

两个平台跳跃类游戏的触控控制示例布局。

**简单平台跳跃布局**

<img src="https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-sample-layouts-platformer-simple.png?fit=max&auto=format&n=UZTRJSf0emX1fheE&q=85&s=bf0c0db05f4ca467e395e2e7d176ff42" alt="2D 平台跳跃游戏的简单布局" width="2280" height="1080" data-path="images/gdk/features/common/game-streaming-sample-layouts-platformer-simple.png" />

**具有更多玩家操作的平台跳跃布局**

<img src="https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-sample-layouts-platformer.png?fit=max&auto=format&n=UZTRJSf0emX1fheE&q=85&s=8e995ef4e6255d96a2eb54d5ddbfb170" alt="2D 平台跳跃游戏的进阶布局" width="2280" height="1080" data-path="images/gdk/features/common/game-streaming-sample-layouts-platformer.png" />

## 说明

*简单平台跳跃* 布局展示了基础 2D 平台跳跃游戏如何提供非常精简的触控体验。

关键要素包括：

* 左手可用于移动的摇杆。如果游戏更适合方向键输入，也可以考虑使用方向键。
* 根据玩家交互的预期优先级，将三个关键操作（开火、跳跃、互动）呈弧形放置在右手区域。

*平台跳跃* 布局在简单平台的基础上进行扩展，展示了在何处为玩家添加额外的控件。

关键附加要素：

* 物品栏管理放置在右上角
* 关键操作（剑、跳跃、弓）的位置经过优化，其他使用频率较低的操作则放置在其周围。

## 可用性

1. 属于 TAK [sample-layouts](https://github.com/microsoft/xbox-game-streaming-tools/tree/main/touch-adaptation-kit/samples/sample-layouts) 示例的一部分。
2. TAK 命令行工具 [create 命令](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-create-command)


## Related topics

- [标准 XBOX 控制器触控控制布局](/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-tak-sample-full-layout.md)
- [驾驶类触控控制布局](/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-tak-sample-driving.md)
- [格斗类触控控制布局](/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-tak-sample-fighter.md)
- [第一人称射击触控控制布局](/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-tak-sample-first-person.md)
- [示例](/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/samples/index.md)
