A few weeks ago, I have been dabbling in C# programming on my own. This week, I want to share what I have learned and how I plan to implement those ideas.
The first program I created was a basic movement system. In this program, there is a box and it moves to wherever you click your mouse. However, the box only moves to the nearest 10 pixels. The reason for this rounding is that if I have a grid or tile set, the box will end up in one of the tiles or points. In addition, I also created another box that follows the first one. I call this an enemy box. The reason I wanted to do this, was to test enemy ai on a small level. In the future, I hope to have the enemies do more complicated actions. As of now, the only application I can think for this program is making a game similar to snake. I can have multiple boxes follow the leading one and if any of them collide with each other the game is over.
Next, I created a puzzle system. Basically, there are a bunch of boxes and an equal amount of slots to match. In the program, you can mix and match these slots and boxes. When a slot is filled, the program recognizes it as filled and won’t let you place another box in it. Right now, I can use this system for a mix and match puzzle, but I have so much more planed for it. In the future, I’m thinking I could possibly use this program to create an inventory system. In this system, you could see all your items and possibly equip/un-equip items, this would be really useful if I ever create an RPG like game. In any case, I have a lot planned for this system.
Finally, the last program I created is a tile set. In the program, there are many boxes that cover the entire screen. I call each one of these boxes a tile. When you hover over a tile with your cursor, the tile changes colour meaning it’s selected. There are also labels that tell you which tile is selected. In the future, I can have the program do specific thing when hovering over a certain tile. For now, each tile is blank and doesn’t do anything, but the possibilities are there. In the future, I might end up creating an entire game around this system. I always wanted to create a tactical strategy game, and this might just be a way to do it. Unfortunately, due to how the tiles work, I fear there will be too many boxes on the screen at once and the program won’t run smoothly.
In the end, I have a lot of ideas floating around in my head for a game. However, I can’t start it without testing some basic concepts first. As of right now, I’m planing on furthering the puzzle system but will continue the other two programs at some point. All in all, I’m interested where this will lead me.