Intergrating classes

I've made several separate classes mainly so i wouldn't get confused with the excessive coding however now I'm having problems implementing them in a single class. Their all mostly based off of Base Simple game however I'm unaware of how to implement them in another class short 'extend" is their a way to do this or would i have to rewrite everything over again I've been messing with this for a while and when I screwed up a lot of the files through refractors accidentally i decided to come here.



It would be like making HelloTerrain & HelloAnimation etc work in a separate class together



btw off topic i can't get some of the classes in render.state like fog,dither or alpha state to work

I'm sorry, but I don't understand what you want to do. Try to explain your problem in your head first, then write it down.

Well as I understood it - he tried lots of the tests - different SimpleGame implementations. Got them running the way he wants. However he now wants to join all these things into 1 game instead of 10 games. And he is having difficulties with it.



I am not sure what would be good advise… Keep trying, I guess? Now that you have tried out different bits and pieces of functionality… why not start including them into one program also slowly… 1 by 1… and not try to do it all at once…



sigh… actually I am out of words and advice… hopefully this was the correct understanding of your problem and someone else can offer more substantial advice…

Mindgamer said:

Well as I understood it - he tried lots of the tests - different SimpleGame implementations. Got them running the way he wants. However he now wants to join all these things into 1 game instead of 10 games. And he is having difficulties with it.

I am not sure what would be good advise.. Keep trying, I guess? Now that you have tried out different bits and pieces of functionality.. why not start including them into one program also slowly.. 1 by 1.. and not try to do it all at once...

sigh.. actually I am out of words and advice.. hopefully this was the correct understanding of your problem and someone else can offer more substantial advice...


yeah mindgamer that's basically it i created different parts of the game such as terrain, skybox, loaded models and most keybindings etc. but now i want to figure how I can put everything together. The main reason why i started this way was so my code wouldn't be as cluttered as I kept getting confused on what does what (still noob) exactly but i'm able to write the code fast. is there anyway to get it to load the other classes short of writing a chain of extend where everyclass extend from another into the main game.