While I was making a script for a game I'm working on, I realised that most of the public variables I had were conditional on other public variables being true. Now, while this doesn't matter in the grand scheme of things, I knew it could mean that one day someone would be continuously checking and... Continue Reading →
The Question Mark: In-Line If Statements
While working on bigger projects during my internship, I came across multiple uses of a question mark symbol "?" in the code. I did some research and learnt that they are essentially used for in-line if statements. I now use them with some regularity, so I thought I'd share what I have learnt with you,... Continue Reading →
Passing a Method as a Parameter
I have been working through a few tutorials so as to further my knowledge of 3D programming. In these instances, I've been learning about how to do 3D in XNA. While learning about quaternions and matrices, I came across a problem that I have encountered many times before; what do you do if you have... Continue Reading →
TripWire – Available Now!
Our game is called TripWire, a fast and frenzied search for tokens while avoiding enemies and lasers and shooting your way through an entirely destructible map, but be careful, the more walls you destroy the more likely it is that a giant, angry enemy will jump out and chase you down! And make sure you... Continue Reading →
Anonymous Functions, Func and .Where
When you mess around with lists and IEnumerable, looking at all the options which are available, you find seemingly useful methods such as "Where", but they come with scary parameters such as Func<T, Boolean><t, boolean="">. Until recently I just ignored these methods as crazy, complex methods for elite programmers, but having worked at SEED I realise... Continue Reading →
Adding a Privacy Policy (and other settings) to an XNA Windows 8 game
One of the reasons my app failed to get certification is because of a lack of a privacy policy. More specifically, a lack of a privacy policy accessible in game. Some quick research showed up that this is an issue for a lot of initial releases, with many suggestions on how to fix the problem.... Continue Reading →
Touch in XNA in Monogame
So unsurprisingly the initial version of Super Pong was rejected on a selection of grounds which means going back to deal with them one by one. Some of them have been small changes, while some have involved me learning new way of doing things. Once I know I've solved the bugs and that my solutions... Continue Reading →
Using Floats in XNA instead of Rectangle/Int
After stating yesterday my despair at the lack of a float version of a rectangle for XNA, I went and did some research late last night and early this morning and after a load of bug fixing and random errors, it is alive! Or at least, now uses floats instead of ints. I haven't gone... Continue Reading →
Saving and loading your game, the Windows 8 way
While nervously awaiting the verdict on Cardiac Arrest and my application, I went about fixing some things that I was unable to fix beforehand. First and foremost, the main thing that broke when converting my XNA game to a Windows 8 app using MonoGame was my save game method. After some rooting around and playing with variables... Continue Reading →
XNA – 2D SpriteSheet Animation
Let's kick off with this tutorial. In my last term at university, I learnt about SpriteSheet animation in Javascript. When I began developing my new game, I knew that this would be the next step up, to take my game to a new level. It seems like something so little that it wouldn't make such... Continue Reading →