Tutorials

OpenGL Camera 2d with zoom and rotation

I’ve been working on OpenGL for some time now and one of the things that some people have asked me is how to do that 2d camera with zoom and rotation in a similar way to a post regarding a

/ No comments

OpenGL Camera 2d with zoom and rotation

I’ve been working on OpenGL for some time now and one of the things that some people have asked me is how to do that 2d camera with zoom and rotation in a similar way to a post regarding a

/ No comments

OpenGL 2D Independent Resolution Rendering

Around two years ago I made a tutorial for XNA in which you could render 2D games scaled to the current window resolution with proper letter-boxes or pillar-boxes. As many know since then I moved to C++ and OpenGL, and

/ 6 Comments

OpenGL 2D Independent Resolution Rendering

Around two years ago I made a tutorial for XNA in which you could render 2D games scaled to the current window resolution with proper letter-boxes or pillar-boxes. As many know since then I moved to C++ and OpenGL, and

/ 6 Comments

Xbox 360 Controller Input in C++ via XInput

So you have that Xbox360 controller laying around and want to connect it to your game? On XNA this is an out of the box option but if you’re using C++ you have a bit more work to do first.

/ One Comment

Xbox 360 Controller Input in C++ via XInput

So you have that Xbox360 controller laying around and want to connect it to your game? On XNA this is an out of the box option but if you’re using C++ you have a bit more work to do first.

/ One Comment

Using Git for revision control

If you are coding, no matter what it is, games, software, websites, you should be using a code revision control of some sort. Are you using? Cool. Is it Git? Smart choice, so you probably don’t need to read the

/ 7 Comments

Using Git for revision control

If you are coding, no matter what it is, games, software, websites, you should be using a code revision control of some sort. Are you using? Cool. Is it Git? Smart choice, so you probably don’t need to read the

/ 7 Comments

Making Big Grass Tiled Backgrounds in XNA

I’ve seen this quite a bit around on XNA forums and got 2 emails last week asking about this: I want to make a 3000×3000 grass background by tiling this small grass image I have. Should I make one big

/ 22 Comments

Making Big Grass Tiled Backgrounds in XNA

I’ve seen this quite a bit around on XNA forums and got 2 emails last week asking about this: I want to make a 3000×3000 grass background by tiling this small grass image I have. Should I make one big

/ 22 Comments

XNA 2D Independent Resolution Rendering

Note: 22/04/2013 – Due to popular request I made an article about achieving this effect in OpenGL Independent Resolution Rendering?? What’s this all about? Basically a way of not caring what you resolution is. Ever had Gui elements misplaced because

/ 44 Comments

XNA 2D Independent Resolution Rendering

Note: 22/04/2013 – Due to popular request I made an article about achieving this effect in OpenGL Independent Resolution Rendering?? What’s this all about? Basically a way of not caring what you resolution is. Ever had Gui elements misplaced because

/ 44 Comments

Drawing Lines in XNA

One of the things I realized is very handy when prototyping or debugging is to draw a line on a specific location. Like drawing lines around collision boxes to see if your character is making a proper collision. For my

/ 10 Comments

Drawing Lines in XNA

One of the things I realized is very handy when prototyping or debugging is to draw a line on a specific location. Like drawing lines around collision boxes to see if your character is making a proper collision. For my

/ 10 Comments

Xna Screen Manager

I know there’s lot’s of this stuff over the internet but I keep bumping into people asking for this. A way to easily switch from a Game Screen to a Menu or Options without having tons of flags and “if”

/ 18 Comments

Xna Screen Manager

I know there’s lot’s of this stuff over the internet but I keep bumping into people asking for this. A way to easily switch from a Game Screen to a Menu or Options without having tons of flags and “if”

/ 18 Comments

How to do a XNA fps counter

Frame rate or FPS, how it is most commonly known is a way for you to know how many images per second is you game drawing. The more the better. Less then 30 and you start to see hiccups. So

/ 7 Comments

How to do a XNA fps counter

Frame rate or FPS, how it is most commonly known is a way for you to know how many images per second is you game drawing. The more the better. Less then 30 and you start to see hiccups. So

/ 7 Comments

How to do a Xna Log file

Although the title says XNA log file this is actually a C# log file, I’ve just thrown this title cause lot’s of people search for xna log instead of C# log file. Many have asked me why take time to

/ One Comment

How to do a Xna Log file

Although the title says XNA log file this is actually a C# log file, I’ve just thrown this title cause lot’s of people search for xna log instead of C# log file. Many have asked me why take time to

/ One Comment