Community-based video game design and development.

Day 12

Mathematics

  1. Vectors:
    1. Calculated formula for circular rotation of a 2D vector around an origin

Unity

  1. Falltime:
    1. Calculated
    2. Affects Sit() time
  2. Animations:
    1. Grass default
  3. Collision:
    1. Formula to cast 360° rays around centre
    2. Detects custom layers
    3. Outputs object’s identity
    4. Outputs precise angle in degrees of collision

C#

  1. goto
  2. continue (partially)
  3. Trivia: C# has Garbage Collection, unlike e.g. C++

Graphics

  1. Drew Grass tile sprite

Day 15

Unity

  1. Conversion between SI units to Unity units
  2. Physics Handler:
    1. Created basic constants and formulae

Computer Science

  1. Libraries:
    1. OS differences: .dll, .dylib, .so
  2. Executables:
    1. OS differences: .exe, .osx, .elf
  3. Cocoa API: basic overview
  4. WinForm applications:
    1. Basic architecture in VisualStudio 2013
    2. Basic properties
    3. Created clickable Button, displays a MessageBox
    4. Checkbox used

C#

  1. Draw.Rectangle()
  2. Can’t call non-static method from inside static method
  3. Events:
    1. Subscribing and Sender

Day 16

Unity

  1. Constructors:
    1. Doesn’t like new keyword, prefers AddComponent()
  2. Script to calculate volume of sphere object
  3. Structure:
    1. External Physics Handler
    2. Individual Physical Properties
      1. Main interface with properties declaration
      2. Individual scripts implement properties
    3. Acceleration as public method
    4. Categorisation by physical properties and sub-categories
  4. Altitude of objects calculated
  5. Physical constants added:
    1. Standard Gravitational acceleration force
    2. Nullforce

Physics

  1. SI units:
    1. General
    2. Definition
    3. Relationship to other units
    4. Converted SI system into Unity
  2. Thermodynamics: (brief glimpse)
  3. Collision:
    1. Elastic Collision
    2. Inelastic Collision
    3. Coefficient of Restitution (COR)
    4. Partially translated for implementation in Unity

C#

  1. Interfaces
  2. Dictionary()
  3. Properties:
    1. Short syntax
  4. Conditional ?: operator
  5. Fields:
    1. Definition
  6. Terminology:
    1. “Declaration”
    2. “Implementation”

Leave a comment