Hello! In Computer Programming at my high school, we are currently studying Visual Basic. For a grade, we make programs to impress our teacher by using what we have learned thus far and branching out a little. I have made a simple tic-tac-toe game, a calculator, and some other programs that I have gotten inspiration from by looking at the Start >> Programs menu
. But to the point.. For our last grade before the quarter ends, I'm hoping to make a 2d game. It's simple and corny, but I love programming! Yes, I am a geek but meh.. Here's what I have planned:
-No scrolling, because I have looked at some examples and it looks confusing, so it might just be a set of forms that display 10 32x32 tiles or something like that.
-The goal is to get to the end of the last level (of course)!
-However, there are things like pushable walls and switches you must use to get past the puzzles
But, there is a slight problem.. I have a rough idea on how to get the tiles on the screen and then have a way of seeing if something is a wall or whatnot, but it isn't efficient, and definatly not the simplest, but it was the first thing that came to my mind..
-Make a string array, and fill it with letters
-When the form loads, take the letters and place the tiles on the form and place the player's letter at the start*
-When the player moves, check to see that the letter in their direction isn't, let's say, a W for a wall.*
This might be simple, now that I take a look at it again, but anyways.. Are there any other ways that you can display tiles on either a picturebox or the form itself, and check to see if it's a wall when the character moves?