Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualJETerán

Posted 22 August 2012 - 05:35 PM

Hello again guys.

I'm happy tell you that I accomplished in taking back the "inventory object" to his place if is not left in the "scene object"

Ok now the thing is that I will have around 7 objects in 3 different room. How can I handle that?

I thought about 3 things:
- Have an array for the missions, rooms and inventory items separately. Total 3 arrays.
- Because it will be more complex (will have like 3 missions, each mission with 3 different rooms and each room with 3 "scene objects), I thought that I can create an 2D array that will have the mission and their rooms. If I do this, can I track the inventory objects with the second part of that array?
- Have a 3D array that has the missions, the rooms and the inventory. The problem here is that the inventory objects are dinamic, it doesn't matter?

You have any other suggestion? Or what is the best of those 3?

Thanks so much guys, let's keep doing a great job.

#1JETerán

Posted 22 August 2012 - 05:26 PM

Hello again guys.

I'm happy tell you that I accomplished in taking back the "inventory object" to his place if is not left in the "scene object"

Ok now the thing is that I will have around 7 objects in 3 different room. How can I handle that?

I thought about 3 things:
- Have an array for the missions, rooms and inventory items separately. Total 3 arrays.
- Because it will be more complex (will have like 3 missions, each mission with 3 different rooms and each room with 3 "scene objects), I thought that I can create an 2D array that will have the mission and their rooms. If I do this, can I track the inventory objects with the second part of that array?
- Have a 3D array that has the missions, the rooms and the inventory.

You have any other suggestion? Or what is the best of those 3?

Thanks so much guys, let's keep doing a great job.

PARTNERS