Create Keyboard Movement Mechanics with C# in Unity

4.8
27 个评分
提供方
Coursera Project Network
1,766 人已注册
在此指导项目中,您将:

Set up objects with Rigidbody and Collider components and implement player movement mechanics

Detect and process keystrokes with Input.GetKey()

Create a simple follow-camera with adjustable zoom

Clock2 hours
Beginner初级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this two-hour, project-based course, you'll learn how to make your game's character move, jump, sneak and run using different keys on your keyboard. You'll also learn how to set up the camera to have it follow your character when it moves around your game's environment, and enable it to zoom in and out for better player experience.

您要培养的技能

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Introduction and License Activation

  2. Setting Up the Scene and Physics

  3. Move a Player with WASD Keys

  4. Make a Player Jump with the Space Bar

  5. Add Speed-Modifier Keys for Sneaking and Running

  6. Create Configurable Camera-Controller to Follow a Player

  7. Create Camera-Zoom Feature

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心