Ok, I am making an RPG type game, and want to have an inventory that expands when a new character level is reached. For example, at level 1 you start with 5 inventory slots, then when you get to level 2, 6 inventory slots are now available, and so on. I don't think a 1D array will work, or even a 2D array. So now I'm thinking I will need to use vectors or something that can easily change in size. But can you specify how many 'slots' you want in a vector like you can in arrays? I'm getting a little confused on what method to use!![]()



LinkBack URL
About LinkBacks




