Introduction: 2D Video Game With C# on Unity

This project began when I first got my PC in November. It began as a fun way to learn a new skill, and quickly became one of my favorite hobbies. I've been working on it ever since, and have clocked in at more than 75 hours of total programming time. Programming itself has a really steep learning curve, and is very similar to learning a new language in difficulty and application. You begin very slow, learning the basic syntax and rhythm of the language, and soon you begin thinking using code in regards to game ideas. Sometimes ideas don't work, and finding the right ways to do things can take a lot of research, but the end goal is well worth it.

Supplies

-PC

-Access to the newest version of unity

-Access to sprite creation program like Marmoset Hexels 3

Step 1: Brainstorm

Create a list of ideas for your game. Be sure to be as specific as possible, as this will greatly reduce coding time later on. I recommend using trello.com to organize your ideas, but I used the notes application on my phone for this project.

Step 2: Sprite Creation

These sprites can be placeholders for more complex ideas you plan to incorporate later on, but it is good to start with some type of visual before you begin coding

Step 3: Implement Ideas From Brainstorm

Start with the basics like camera movement and character control. This is where you flesh out things like whether you want your game to be top down or straight 2D. After finishing the basics, begin to implement your more complex ideas, like enemy AI and animation.

Step 4: ​Continue to Code Until You've Implemented Everything on Your Idea List

Don’t be afraid to add to the list as you go. There are no limits to game creation. You can continue for as long as you keep having ideas. The picture you see here is some of the code for a crossbow idea I had while programming spider AI.