Create Keyboard Movement Mechanics with C# in Unity

4.8
25 個評分
提供方
Coursera Project Network
1,551 人已註冊
在此指導項目中,您將:

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 DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication 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

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心