- 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!
推薦閱讀
- 零點起飛學(xué)Xilinx FPG
- Windows phone 7.5 application development with F#
- 新型電腦主板關(guān)鍵電路維修圖冊
- 計算機組裝與系統(tǒng)配置
- 辦公通信設(shè)備維修
- 硬件產(chǎn)品經(jīng)理成長手記(全彩)
- 單片機原理及應(yīng)用系統(tǒng)設(shè)計
- 從零開始學(xué)51單片機C語言
- AMD FPGA設(shè)計優(yōu)化寶典:面向Vivado/SystemVerilog
- Learning Game Physics with Bullet Physics and OpenGL
- 計算機組裝與維修技術(shù)
- VCD、DVD原理與維修
- CC2530單片機技術(shù)與應(yīng)用
- 面向?qū)ο蠓治雠c設(shè)計(第3版)(修訂版)
- Hands-On Deep Learning for Images with TensorFlow