Week 1 & Week 2 (Programming) Mohammed

Introduction to Variables in Programming

In our first lesson of programming, in the NextGen course, we've been introduced to different variables in programming.


Integers

  • Are whole numbers represented as binary values - stored as variables.
  • Integers can be positive, negative or zero
Float

  • Are numbers that isn't a whole number so 1.5, aka Decimals.
  • It can be any decimal value
String

  • A data type which are made up of a sequence of characters aka text.
  • Numbers can be used but they'll be classed as string numbers
Boolean
  • A data type that has two values True or False or On or Off. 
Vector

  • A type of array (list) that's one Dimensional - used for storing data
  • We will be using vectors in Unreal Engine for locations. 
Arrays

  • Lists can be 1 dimensional or 2 dimensional 
  • A list of integers - holds lists of information eg; 7 
                                                                                   4
    

                                                                                   5

                                                                                   6 

                                                                                  10

Arrays can be used in games to store the many pieces of information of a player's stats.

Comments

Popular posts from this blog

Sculpting in Blender

TARDIS Compositing Project

Mohammed's Synoptic Project (MOCK)