- Unreal Development Kit Game Programming with UnrealScript:Beginner's Guide
- Rachel Cordone
- 141字
- 2021-08-27 11:59:04
Chapter 2. Storing and Manipulating Data
Variables are a Programmer's Best Friend
If someone asked if it were raining, or which bag had more apples in it, it would be a pretty simple conversation. But how do you have that same conversation with a computer? In this chapter we're going to take a look at how to use variables and flow control to get our code to react to what's going on in the game.
In this chapter we will:
- Discuss different types of variables including booleans, structs, enums, and arrays.
- Learn how to set default properties for variables and how to let level designers change them.
- Use operators on variables to add, subtract, and more.
- Learn about using flow control to do different things under different circumstances.
Let's get started by learning about the different types of variables!
推薦閱讀
- Linux KVM虛擬化架構實戰指南
- 電腦常見問題與故障排除
- Intel FPGA/CPLD設計(高級篇)
- Manage Partitions with GParted How-to
- Svelte 3 Up and Running
- 嵌入式系統中的模擬電路設計
- 面向對象分析與設計(第3版)(修訂版)
- 龍芯自主可信計算及應用
- 無蘋果不生活:OS X Mountain Lion 隨身寶典
- Java Deep Learning Cookbook
- Spring Security 3.x Cookbook
- Angular 6 by Example
- Instant Website Touch Integration
- 計算機應用基礎案例教程(Windows 7+Office 2010)
- 從企業級開發到云原生微服務:Spring Boot實戰