Originally Posted by
macacomacho
Hello everyone and happy new year!!
I am here just for some programming hints on a game I want to create..
I actually need to create a labyrinth and a player who needs to go thru the map collecting objects (like bags, water etc...).
I planned to do the map with a bidimentional array (5x5) but I dont know how to put different objects on an index.. Ex: array[3][2] will have a Botte of water and an energy bar..
Someone told me to use structs but I dont really understand how this would work... I've tried so many times bit I cant do it...
If someone could post a simple example or something I would be gratefull!!
Thank you