Lumberyard Tutorials Lumberyard Tutorials Lumberyard Tutorials Lumberyard Tutorials
Total Page:16
File Type:pdf, Size:1020Kb
Lumberyard Tutorials Lumberyard Tutorials Lumberyard Tutorials Lumberyard Tutorials Lumberyard Tutorials: Lumberyard Tutorials Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Lumberyard Tutorials Lumberyard Tutorials Table of Contents Amazon Lumberyard Tutorials ............................................................................................................. 1 Written Lumberyard Tutorials .............................................................................................................. 2 ................................................................................................................................................ 2 ................................................................................................................................................ 2 Creating a Controllable Entity ...................................................................................................... 2 Prerequisites ...................................................................................................................... 2 Creating a Controllable Entity .............................................................................................. 3 Setup a Smooth Follow Action Camera ............................................................................... 28 Move an Entity with PhysX Impulse Forces .......................................................................... 32 Video Lumberyard Tutorials ............................................................................................................... 45 Lumberyard Editor .................................................................................................................... 45 Download and Install Lumberyard ...................................................................................... 45 Install Lumberyard Using GitHub ........................................................................................ 46 Customize Your Lumberyard Installation with the Lumberyard Setup Assistant ......................... 46 Build Your Lumberyard Installation for Android .................................................................... 47 Create a New Project in Lumberyard ................................................................................... 47 Assets ..................................................................................................................................... 47 Importing an FBX File into Your Scene ................................................................................ 48 Importing Characters into Lumberyard from FBX .................................................................. 48 Import Animations as Motions ........................................................................................... 48 Importing Assets Additional Reading .................................................................................. 48 Basics of Motion ...................................................................................................................... 49 Series Prerequisites ........................................................................................................... 49 Part 1 - Handling Input and Entity Movement ...................................................................... 49 Part 2 - Using Linear Interpolation with the Lerp Node ......................................................... 50 Part 3 - Entity Acceleration and Deceleration in Script Canvas ................................................ 50 Part 4 - Entity Rotation using the Mouse and Enable Kinematic Actors .................................... 50 Part 5 - NVIDIA PhysX Movement by using the Apply Linear Impulse Force Node ....................... 51 Component entities .................................................................................................................. 51 Creating Slices to Use in Multiple Levels ............................................................................. 51 Save and Push Slice Overrides ........................................................................................... 52 Modify a Parent in the Slice Hierarchy to Create a New Slice .................................................. 52 Iterate on Game Objects with Nested Templates and Slices .................................................... 52 Spawn Dynamic Slices ....................................................................................................... 52 Gems ...................................................................................................................................... 53 Code and Asset Gems ....................................................................................................... 53 Level creation .......................................................................................................................... 54 Import a Height-map and Use the Terrain Editor .................................................................. 54 Apply Terrain Texture Materials and the Infinite Ocean Component ......................................... 54 Configure a Sky-box ......................................................................................................... 54 Animation ............................................................................................................................... 55 Animation Editor .............................................................................................................. 55 Animation Graphs ............................................................................................................ 56 Animating an Aiming System ............................................................................................. 58 Rendering ................................................................................................................................ 59 Use the Time of Day Editor to Light a Scene ........................................................................ 60 Advanced Environment Lighting with Light Entities .............................................................. 60 Script Canvas ........................................................................................................................... 60 Tour of Script Canvas ........................................................................................................ 60 Explosive Red Barrel ......................................................................................................... 61 Tank Demo ...................................................................................................................... 62 Using Trigger Areas and Capturing Player Input .................................................................... 63 PhysX system ........................................................................................................................... 65 Series Prerequisites ........................................................................................................... 65 iii Lumberyard Tutorials Lumberyard Tutorials Use the Terrain, Collider, and Rigid Body Components PhysX Components ............................... 65 Create and Apply a Physical Material .................................................................................. 66 Use Collision Filtering in PhysX .......................................................................................... 66 Editor Python Bindings ............................................................................................................. 66 Working with the Python Console ..................................................................................... 67 Writing an Automation Test Python Script ........................................................................... 67 Debug Python Scripts with Wing IDE .................................................................................. 67 User Interfaces ......................................................................................................................... 67 Build an FPS Target with the UI Editor ............................................................................... 68 Construct a Main Menu UI Canvas ...................................................................................... 68 Create a Registration Screen .............................................................................................. 68 Use String Compares to Add Cheat Codes and Powerups ....................................................... 68 Script an In-Game Timer ................................................................................................... 69 Audio and Sound ..................................................................................................................... 69 Create a New Wwise LTX Project ....................................................................................... 69 Work with the Audio Controls Editor .................................................................................. 69 Work with Ambient Audio using