Part 7: Camera class

So this section of my tutorials we are going to cover Cameras, we will be creating two classes our main Camera class and our First Person Camera, later we will be adding a Third Person Camera(Chase Camera). So let’s look at the code for our main Class that our First Person will inherit from. using [Read More →]

Part 6: Utilities

So in this post we are going to cover some utilities that will make out life’s allot easier going forward. So Lets have a look at out first new class it’s called MathUtil. The Class will have the following function, CreateProjectionMatrix  - Generates a projection matrix for a draw call CreateWorldMatrix – Creates a world matrix Vector3ToMatrix [Read More →]

Finite-state machine

I know I promised the post last week, but it’s the run up to xmas and I have had so much work to do its unreal.   Well let’s jump right in, Finite State Machines or FSMs have for many years been the AI coder’s first choice to create the illusion of intelligence but FSMs [Read More →]

Posted in C#, Code. Tags: , , . 1 Comment »

Into to Regular Expressions

O I can hear the groans now, I don’t think anyone likes writing regular expressions, and I know I didn’t to start with until I discovered the power that they give me over text validation. So I thought I would write this introduction to them so you can discover their power as well.So let’s start [Read More →]

Posted in Code. No Comments »

Switch to our mobile site