C# (XNA 3D) Collecting items in a 3D game

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

DYS

Thread Starter
Joined
Dec 28, 2008
Messages
462
Hi again people.

Right now I'm having to create a 3D game, and time is very short.

Anyway, I come here to ask for help/guidance or whatever anyone can give me.

I have a model travelling through a small 3D world, and want to be able to collect top hats, which are spread randomly throughout the small world, whereby the quantity of them increases with each level.
My tutor has told me that I should create a class to Manage the top hats, as well as a separate class (called "TopHat").

Right now in the Manager class I have declared an array, but basically after that I am lost - I know how awful that sounds.

I think that in the Manager class I need to initialize the array, and am then guessing that I need to have a Draw method in there too. However, I'm not sure what to fill the draw method with, like functions or such. Any tips?

I also don't know what I'm supposed to stick in the stand-alone TopHat class.

If you require any code then just say.

Sorry to burden anyone with this problem, and thank you if anyone can help me out.

Cheers.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top