Digital FXtbook
Easy Contacts
  • Home
    • Software
    • The Author
    • Former Students Hall of Fame
    • A tribute....
    • Treasure Hunt
  • Video Game Training
    • 3d Motion Graphics >
      • Unity >
        • Unity Essentials >
          • Unity's Interface >
            • Our First Assignment
          • Modeling and Level Design >
            • The Essentials
            • The Floor is Lava Name Project
            • ProBuilder >
              • ProBuilder Pro Skater Park
              • ProBuilder Pro Skater Park 2
              • ProBuilder Image Planes
              • ProBuilder Steve Modeling
              • ProBuilder Steve Texturing
          • Programming >
            • Getting Started with Scripting
            • Default Scripting
            • Scripting a Game Object
          • Real Time Audio >
            • Adding Background Music
            • 3-d Audio effects
          • 2d Essentials >
            • 2d Game Objects
            • Objects on 2d Game Objects
        • Creative Core >
          • Introduction to Creative Core
          • Shaders and Materials
          • Lighting
          • Animation
          • VFX
          • Cameras
          • Post Processing
          • Audio
          • User Interface
          • Proto-Typing
    • C# Programming >
      • Visual Studios >
        • First Program >
          • Getting input from the User
        • Comments >
          • PsuedoCode
        • Variable Types >
          • AlphaNumeric Variables
          • Numeric Variables
          • Putting it all together
        • Operators >
          • Assignment and Arithmetic Operators >
            • Use of Parenthesis
            • When is Easter??
          • Comparison and Logical Operators >
            • Logical Data, Illogical Assignment
          • Random Class
        • Conditional Statements >
          • Number validator
          • Number tester
          • Speed Camera
        • Loops >
          • For Loops >
            • Adding Numbers
          • For Each Loops
        • Arrays >
          • Simple Arrays
          • Complex Arrays
      • Intro to Unity >
        • Unity Essentials >
          • Unity's Interface
          • The Essentials
          • Programming >
            • Getting Started with Scripting
            • Default Scripting
            • Scripting a Game Object
        • Intro to Programming 1 >
          • Player Control 1 >
            • Player Control 1.2
            • Player Control 1.3
            • Player Control 1.4
          • Player Control 2 >
            • Player Control 2.2
            • Player Control 2.3
            • Player Control 2.4
          • Player Control Challenge
        • Intro to Programming 2 >
          • Sound and Effects >
            • Sound and Effects 3.2
            • Sound and Effects 3.3
            • Sound and Effects 3.4
          • GamePlay
          • User Interface
          • Feedback and Testing
          • Next Steps
        • Intro to Programming 3 >
          • Manage Scene Flow and Data
          • Apply Object-Oriented Principles
    • Modeling and Rigging >
      • Modeling >
        • Introduction: The Temple
        • Name Text Curve
        • Character Modeling >
          • Minecraft Steve
          • Minecraft Steve UV
          • Roblox Character modeling
          • Big Daddy
          • Character Modeling Legion the Geth
          • Character Modeling Geth Armor
        • Weapons >
          • Minecraft Tools and Weapons
          • Minecraft Movie Pickaxe
          • Minecraft Movie Sword
          • Thor's Hammer
          • Hammer
          • LOL Sword
          • Sword of Light
          • Buzz Axe
          • Weapon
      • Rigging >
        • Intro to Rigging
        • Controls
        • Rigging Basics
        • Rigging Creating Skeletons
        • Rigging: Body Controls
        • Rigging: Hands
        • Rigging: Skinning
        • Smooth Skinning
      • Animation >
        • Character Animation
    • Advanced >
      • Modeling >
        • Image Planes
        • Polygon Modeling >
          • Coke Can
          • Low Polygon Character
          • Character Modeling Legion the Geth
          • Character Modeling Geth Armor
          • Face Modeling
        • NURBS Modeling >
          • Intro to NURBS
          • Lofting
          • CV Curves
          • Organic Modeling
          • Autombile
      • Linda Training >
        • Advanced Modeling >
          • Modeling Basics
          • Modeling Room Objects
      • Texturing
      • Rigging >
        • Rigging with HumanIK
        • Smooth Skinning
  • Student Films
    • Advanced Student's movies
    • Beginning Student's movies
  • Links
    • BPA >
      • BPA Computer Modeling
    • The Top Six Animation Schools
    • The Top Video Game Design Schools

Numeric Variables

in our previous section we talked about this AlphNumeric variable types. In this section we are going to talk about its counter part numeric Variables. Numeric variables give the us the opportunity to take data and use it mathematically. The four variables that we work with the most are

int, long, float and double 

int - is a variable type that can store a large whole number.
The range for an in is -2147483648 to 2147483647.
You may notice that the positive number is one smaller than the negative number. The reason for this is that the computer recognizes 0 as a positive number.  


long - is a variable type that can store a much larger whole number.
The range for an in is -9223372036854775808 to 944227203685477807.
​You may notice that the positive number is one smaller than the negative number. Once again the reason for this is that the computer recognizes 0 as a positive number.  


float - is a variable type that can store a number with a decimal point. The number that can be store in this variable type is pretty huge or pretty small. it depends on how many numbers you have following the decimal point instead of leading it. 
The number that it can store is 3.4e to the power of -38 - to - 3.4e to the power of 38. 


double - is a variable type that can store a number with a decimal point. The number that can be store in this variable type is pretty huge or pretty small. it depends on how many numbers you have following the decimal point instead of leading it. 
The number that it can store is 1.7e to the power of -308 to 1.7e to the power of 308.
Very rarely do we ever need a number this large so we use floats most commonly 
  

The Videos

Intro

Order of Operation and Operators

Modulo, Increment, Decrement

.NET Framework

The Assignment

Where do the numbers go?

Copy and paste the following block of PsuedoCode into Visual Studios.
1. Create variables for every line of PsuedoCode that needs one.
2. For other lines of PsuedoCode Print out what is contained in those variables to the console.
3. Use Concatenation to output correct lines of text to the Console, when needed.
4. Screen shot your code (including your name block) and your Console results
​5. Turn both Screenshots into google Classroom



​Psuedocode

// First variable should contain this number 3.14 and be named Pi
// Second
variable should contain the number 457 and be named Num1
// Third variable should contain the number 782 and be named Num2
// Fourth variable should contain the 25.5 and should be named building Height
// Write this message out to the console, The mathematical number of pi is (insert variable) we use it to figure out dimensions for a circle
// Write this message out to the console, If I have a circle that has a radius of (insert variable Num1) and we square it and multiply it by pi (insert variable Pi), we can find out what the are of that circle
// Write this message out to the console, The other two numbers that we can work with are (insert Num1) and (insert nNum2)

Proudly powered by Weebly