Archive for the ‘Tutorials’ Category

Some More C++ Resources

Monday, December 27th, 2010

Hello all!

It’s been a while since I posted last. I’ve had a fantastic move to California to join Riot Games (will discuss more in future post) so I’ve been kind of busy. :)

Over the Christmas holiday, I decided it was time I finally teach myself C++ for real, in particular how to use DirectX. I had a class on it in college, but it was very introductory so I don’t think that will suit my purpose (plus I forgot a lot of it).

Here are two websites I just recently discovered. I’ve been going through the tutorials for the past couple days and they are quite good so far. I’ll do a more thorough analysis later.

Learn C++ (
DirectX Tutorial ( – Note that the DirectX 10 & 11 tutorials won’t apply to Windows XP, and DirectX 9 is just fine for just about everything you’d want to do probably, so stick with the DirectX 9 one.

Making A Game Company – Part 2: Getting Your EIN

Friday, February 12th, 2010

Whenever you work for someone as an employee or as a contractor working under your own name, you have to use your social security number for tax purposes. In some cases it is unavoidable, but whenever you can avoid it you should. This is one such case. Hopefully, your new game company will be hired to do some work and you’ll make some money. When this happens, you’ll have to pay taxes, and as a result you’ll need to use a form of identification with the IRS. This is called an Employer ID Number, or EIN for short. I’ve listed the steps below, but please be sure to read every page as you go along in the process instead of just blindly following them. You’re here to learn too, and plus my instructions below do not qualify as legal or business advice. :)

STEP 1: Go to

STEP 2: Click “Begin Application >>”.

STEP 3: Since you are applying for an EIN with your LLC, select the “Limited Liability Corporation (LLC)” option and press “Continue >>”.

STEP 4: Read the next page and press “Continue >>”.

STEP 5: Enter the number of members in the LLC (this will be 1 if it’s just you) and choose the state you are in (this will probably be Georgia if you are following my tutorial, but pick whatever state you filed your corporation in). Then press “Continue >>”.

STEP 6: Read the next page, then press “Continue >>”.

STEP 7: Select the “Started a new business” option from the next page, then press “Continue >>”.

STEP 8: You should now be on the AUTHENTICATE portion of the process (there is a dark blue bar labeled “Your Progress” above the page content at all parts) and you should see a check mark next to IDENTIFY. Select “Individual” as the responsible party of the LLC, and press “Continue”.

STEP 9: Type in your name and SS# in the next page, then choose the option below that section labeled “I am one of the owners, members, or the managing member of this LLC.” Then press “Continue >>”.

STEP 10: You should now be in the ADDRESSES portion of the process. Type your address and phone number into the next page, then press “Continue >>”.

STEP 11: You should now be in the DETAILS portion of the process. Type in the exact name of your LLC, including the word “LLC” at the end of it. I typed “Fruitstrike Games LLC”. The county should have been automatically filled in for you, but in case it wasn’t, type it in all caps. Enter your state into both of the state sections (I put Georgia here obviously). Finally, enter the month and year that your LLC was created. I put December 2009. Then press “Continue >>”.

STEP 12: The next page has a bunch of questions about your business, but if you are making a game company you should be answering “No” to all of them. Unless maybe you are making a game about gambling/wagering, then you should probably stop following my tutorial and seek legal counsel. :) … But if you feel confident that gambling/wagering is not part of your project, like I do, then you can say “No” to all of them and press “Continue >>”. I also had to read about Form 720 just in case, but after going through that huge list I saw nothing that remotely applied to my game business.

STEP 13: It asks you to select what category your business belongs in on the next page, but none of them really applied to a game company, or even software in general. So select “Other” at the bottom and press “Continue >>”.

STEP 14: Since you are making games, you are doing either Consulting or Service. The key is that the next page asks you to select the one that BEST describes your business activity. Since I am making games under my company’s name, I am providing a Service. If I were recommending people or giving advice or guidance, which may very well be the case if you are doing game design for someone with no tangible product, I would be Consulting. You can feel free to choose either, but I am guessing 98% of the time since you are building your own business you are probably going to be building games and selling them, so you should be selecting Service. That applies to me too, so I selected “Service” from the options, and then hit “Continue >>”.

STEP 15: The next page asks you to input into the text field what primary service you are providing. I entered “Game Software” (which should also be applicable to you) and pressed “Continue >>”.

STEP 16: You should be on the final portion of your progress now, EIN CONFIRMATION. You can obviously choose either option at this point, but since I live in my computer I selected to receive my letter online. Whichever you choose, press “Continue >>”.

STEP 17: Read the final page, then press “Submit”. Voila! You’re done!

See? That wasn’t so hard. Now you have an EIN for your business and you’ll be able to do the next step in the process – getting a bank account for your business. You have to have a bank account in order to receive money as the business, and to get one you need the EIN.

One last special note, your EIN isn’t effective with the IRS for up to 2 weeks after you apply. It’s official as soon as you receive your confirmation letter, but it might not be in their electronic systems immediately. You can get a bank account, but you can’t file taxes online, etc, using it just yet. Therefore, if you plan on filing taxes online with your EIN for your business, make sure you do it at least a month in advance of tax month.

Making A Game Company – Part 1: How To File An LLC in Georgia

Wednesday, December 23rd, 2009

Well, I’m officially incorporated. Amazing… After years of not doing it because I didn’t understand the process at all, I finally had a buddy boil it down to the very basics and walk through the process with me. Fruitstrike Games LLC was born on December 22, 2009! Hurray! Super kudos and thanks to my friend Ryan for helping me get this set up. I still don’t understand everything from a tax perspective, but I’m sure I’ll eventually figure it out.

Anyway, here is the detailed step-by-step process for anyone else who is interested in forming an LLC in Georgia. Amazingly enough, there’s only 16 incredibly easy steps that you could easily finish in under an hour. You’d think government bureaucracy would require more, but apparently creating an LLC is easier than creating a cheesecake…

STEP 1: Navigate to
STEP 2: Hover over the button “Online Services and Registration”, then in the drop down menu click the link “File Your Corporation Online” (it’s a little more than halfway down the list)
STEP 3: Select the “Limited Liability Company” radio button and press “GO”
STEP 4: Choose a name for your company (you have to include “LLC” or something similar in the name, it lists the possibilities in the instructions for that step). You can skip over the second part that says “Name Reservation Number” since that isn’t applicable.
STEP 5: Fill out the Filer Information with all of your information. I’ll assume you can do this since it’s nothing you haven’t done on or some other online store. :)
STEP 6: Fill out the principle mailing address. 99% of the time this is going to be the same address that you put in Step 5 if you are a freelancer working out of your own home.
STEP 7: Select “Individual” from the drop down list.
STEP 8: Type in your name, and press “Add New”
STEP 9: Fill in your information AGAIN. Make sure it’s YOUR information as an individual, and not the company address if you had a different address for Step 6.
STEP 10: Fill in your information YET AGAIN!!! You are both the Registered Agent and the LLC Organizer.
STEP 11: You should see a chart with your info on it. If you have partners or other people who are involved, you’d need to add them at this step, but you probably don’t so simply click “Save & Proceed >”
STEP 12: I don’t even know what an Optional Provision is, so don’t type anything in the next page’s box and simply click “Save & Proceed >”
STEP 13: Double check all your info, then press “Continue”
STEP 14: Click the checkbox to verify everything is true and correct, then click “Add Signature”
STEP 15: Change your title to “Member/Manager” and put your info in again
STEP 16: Put in your credit card info to pay the $100 filing fee. Again, I’m assuming you can handle this step without hand-holding since you’ve probably done this on Amazon before. :)

That’s it! Save every PDF you get (you should get an Invoice from the GA state government for the filing fee and another PDF with “Articles of Organization” on the top). A few days later (or maybe longer) in email you will receive your Certificate of Organization. Make sure you save that too! This might be a good time for you to secure whatever domain names you would like as well. Remember to nab the .com, .org, and .net versions of them if you can afford it. If you can’t, just grab the .com version.

As I learn more things about this process, I’ll be making more blog posts. Hope this was helpful!

XNA Tutorial – Star Defense

Thursday, January 15th, 2009

I’ve just stumbled on a mother load of information over at They have a tutorial that serves perfectly as the next logical step from the previous XNA tutorial (Simple 2D Shooter) I posted about earlier. It’s another complete shooter but this time with a title screen, animated sprites, power ups, sounds, and best of all… explosions! Woohoo!!

Here is a direct link to the tutorials:

Enjoy! I will be finishing it, as well, over the weekend and posting my results.

New to XNA? Start here!

Friday, January 9th, 2009

So unless you’re living in a cave devoid of any game development news, you’ve heard about XNA even if only as a buzz word. When I first heard about it, the only thing I knew was that I could use it to make games for my Xbox 360. I didn’t know what programming language it used, what software I’d need to install, or even where to start. All I had was a good knowledge of general programming concepts and experience with Actionscript 3.0 programming.

After doing some research online, I discovered the XNA Creators Club Online. That handy site was EXACTLY what I needed to get jump started. Their Newbie FAQ was extremely useful, as it answered every question I had about XNA but was too embarrassed to ask. I mean, come on, how can I be taken seriously as a developer when I have a stupid question like, “What exactly is XNA?” Shouldn’t I have already known this? Apparently not, since the FAQ answers that simple question and more, and the Creators Club site is very developer-oriented. In fact, the community is very helpful and inclusive to people of all skill levels (similar to the Flash community), so you don’t ever have to be worried that someone will look down on you for your lack of experience.

While I learned the answer to most of my questions, like the fact that XNA programs are usually written in C#, it did NOT tell me what programs or applications I would need to write C# code. I had worked with Visual Studio when I was in school and I remember C# being one of the options, but back then I had not even gotten into Actionscript so the entire program was an extremely daunting task. Plus it used to cost a pretty penny, and I am averse to spending ANY money when learning and testing out a new technology. Fortunately for me, Microsoft has released new lighter versions of Visual Studio for free, including a version that lets you write C# source code.

For those of you that may need help with that step, Microsoft has already done a fantastic job of making an introductory video for people who start with literally ZERO experience. You can find that video on this page (just click the link “Video: Introduction to Visual C# 2008 Express Edition” at the bottom to have the video open in Windows Media Player). The whole download and installation process may take a while, up to an hour or two with a poor internet connection. Once that is complete, do a Microsoft Update. SURPRISE! Bet you didn’t see that one coming.

When the update is complete and you (have been forced to) restart your computer, you are (finally) ready to install XNA Game Studio 3.0, which is a toolset that integrates into Visual C# 2008 Express. It serves as a sort of “template” with pre-built code and code libraries that come right out of the box to make your game-development much easier.

Once it is installed, I recommend restarting your computer once more. The program should now be loaded in your start menu.

  • STEP #4: Run Visual C# 2008 Express (START -> PROGRAMS -> MICROSOFT XNA GAME STUDIO 3.0 -> Microsoft Visual C# 2008 Express Edition)

If you have done everything correctly, you should see something like this on your screen at this point:

Visual C# 2008 Express - Startup Screen

Visual C# 2008 Express - Startup Screen

So now that we have our work environment set up and ready to go, it’s time to dive into the meat of the topic — coding your first XNA game. The Creators Club website has a marvelous little 2D tutorial that spans a little over 20 bite-size videos divided into 9 chapters. Admittedly it’s just a very basic 2D shooter game, but hey it’s your first time with XNA, right? For those of you who, like me, are already familiar with Actionscript (or another similar coding language), this will be a piece of cake. If you are learning how to program for the first time, it’s going to be very difficult, but give it a shot anyway.

That about sums it up! Once you are finished, you will have a basic functioning 2D shooter that you created in XNA! If you feel brave, you can even tackle the “Extra Credit – Community Tutorials” section. I checked out all of them and they are all great. A few final comments:

  • The tutorials were finished using XNA Game Studio 2.0, but 3.0 should work just fine. Your startup and project selection screens may be different but everything should still work.
  • I believe there are a couple of places where the code is just a tiny bit different than what the video states, but theses should be obvious if you have any experience coding. I’ll try to find those places and update this post once I have them.

That’s everything! Have fun making your first XNA game! :)