Hello,
Ive been making the basic structure of my RPG game in Visual Basic 2010, Ive got almost everything i need to start the game itself whit not much effort.
But right now, i want to know what is the most practial way to set map limits in the forms.
I did this in early games by setting the "map" as the form background, then placing transparent pictureboxes boxes over the things i didnt want the player to go walking on (Ex. trees, houses.),then, i would create Rectangles whit equal dimentions as the pictureboxes (I used transparent pictureboxes so i could set the limits visually instead of editing the rectangles blindly)then, i would put that if the rectangle that was equal to the player intersected whit the rectangle that was the wall, for example, it wouldnt walk.
But now i think this method could be simplified, i just need a heads up in the right direction
Thank you all
Ive been making the basic structure of my RPG game in Visual Basic 2010, Ive got almost everything i need to start the game itself whit not much effort.
But right now, i want to know what is the most practial way to set map limits in the forms.
I did this in early games by setting the "map" as the form background, then placing transparent pictureboxes boxes over the things i didnt want the player to go walking on (Ex. trees, houses.),then, i would create Rectangles whit equal dimentions as the pictureboxes (I used transparent pictureboxes so i could set the limits visually instead of editing the rectangles blindly)then, i would put that if the rectangle that was equal to the player intersected whit the rectangle that was the wall, for example, it wouldnt walk.
But now i think this method could be simplified, i just need a heads up in the right direction
Thank you all