万本电子书0元读

万本电子书0元读

顶部广告

Building an RPG with Unreal电子书

售       价:¥

14人正在读 | 0人评论 9.8

作       者:Steve Santello

出  版  社:Packt Publishing

出版时间:2016-01-28

字       数:98.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Get to grips with building the foundations of an RPG using Unreal Engine 4About This BookUtilize a mixture of C++, Blueprints, and UMG to create a role playing game (RPG) efficientlyCreate reusable code chunks and elements that can easily be integrated into other gamesA cost effective, step-by-step guide to building and customizing an entire framework for your RPGWho This Book Is ForIf you are new to Unreal Engine and always wanted to * an RPG, you are this book’s target reader. The lessons assume you understand the conventions of RPG games and have some awareness of the basics of using the Unreal editor to build level.What You Will LearnProgram gameplay elements in C++ in UnrealCreate custom game data for entities such as players and enemiesCreate a turn-based combat engineDesign menu systems and blueprint logicCreate an NPC and dialog systemIntegrate equipment and itemsDevelop the foundations of a saving and loading systemIn DetailNow that Unreal Engine 4 has become one of the most cutting edge game engines in the world, developers are looking for the best ways of creating games of any genre in the engine. This book will lay out the foundation of creating a turn-based RPG in Unreal Engine 4.The book starts by walking you through creating a turn-based battle system that can hold commands for party members and enemies. You’ll get your hands dirty by creating NPCs such as shop owners, and important mechanics, that make up every RPG such as a currency system, inventory, dialogue, and character statistics. Although this book specifically focuses on the creation of a turn-based RPG, there are a variety of topics that can be utilized when creating many other types of genres.By the end of the book, you will be able to build upon core RPG framework elements to create your own game experience.Style and approachYou will follow a series of lessons detailing the elements that contribute to an RPG. By the end of the book, you will have considerably leveled up your ability to make your own game
目录展开

Building an RPG with Unreal

Table of Contents

Building an RPG with Unreal

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Getting Started with RPG Design in Unreal

Tools for game design

Google Drive

Google Docs

Google Spreadsheets

Pencil and paper

The design and concept phase

Concept

Design

Describing the game's features and mechanics

Tropes in existing role-playing games

Stats and progression

Classes

Special abilities

RPG design overview

Setting

Exploration

Dialogue

Shopping

Gold

The pause screen

Party members

Equipment

Classes

Soldier

Combat

Combat stats

Combat actions

Attack

Ability

After combat/victory

Loot

Experience

Experience and leveling

Stat increases

Learning abilities

Game over

Victory

Choosing the right formula

Summary

2. Scripting and Data in Unreal

Downloading Unreal

Downloading Visual Studio

Setting up Visual Studio for Unreal

Adding the Solution Platforms drop-down list

Disabling the Error List tab

Setting up a new Unreal project

Creating a new C++ class

Blueprints

Creating a new Blueprint

Adding a Blueprint to the scene

Blueprints for Actor classes

Using Data Tables to import spreadsheet data

The spreadsheet format

A sample spreadsheet

The Data Table struct

Importing the spreadsheet

Querying the spreadsheet

Summary

3. Exploration and Combat

Creating the player pawn

The interface

The PlayerController

The Pawn

The GameMode class

Adding the skinned mesh

Creating a Camera Component

Defining characters and enemies

Classes

Characters

Enemies

Party members

The GameInstance class

Turn-based combat

Performing actions

Making decisions

Target selection

Dealing damage

Combat UI with UMG

UI-driven decision making

Creating the game over screen

Summary

4. Pause Menu Framework

UMG pause screen initial setup

UMG background color

UMG text

UMG buttons

The UMG inventory submenu

The UMG equipment submenu

Key binding

Button programming

Summary

5. Bridging Character Statistics

Getting character data

Getting player instances

Displaying stats

Summary

6. NPCs and Dialog

Creating the NPC Character Blueprint

Interacting with the NPC

Dialog box setup

Creating an NPC welcome box

Adding an NPC talk box

Summary

7. Gold, Items, and a Shop

Setting and getting gold instances

Item data

The shop screen framework

The item button framework

Linking the item data

Summary

8. Inventory Population and Item Use

Creating the FieldPlayer Booleans

Determining whether the inventory screen is on or off

Logical difference between the inventory and shop items

Finishing the inventory screen

Buying items

Using items

Summary

9. Equipment

The weapons Data Table

Setting the weapon and equipment screen variables

Creating the weapon button

Revisiting the equipment screen

Setting the equipment screen Text Blocks

Correcting the character stats when equipping

Summary

10. Leveling, Abilities, and Saving Progress

XP and leveling source code

Data Table starting values

Displaying levels and experience in the pause menu

Applying the correct damage in combat

Setting up the abilities array

Abilities logic

Saving and loading game progress

Saving

Loading

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部