Converting Tutorials to .9

JoshPendergrass

03-07-2007 18:45:04

Hey I'm trying to convert some code from the tutorials to work with .9
I can get most of it to work but am having trouble converting:


World::getSingleton().debug
World::getSingleton().whatever

Can't seem to getSingleton.

Any idea what that would look like in .9?

betajaen

03-07-2007 18:50:46

Nothing, I'm afraid. World isn't a singleton anymore. You could put World as a global variable though.

JoshPendergrass

03-07-2007 23:30:44

oh it was just removed :). Glad to see that.

One more question..
Where can I get the Tutorial.h file? When I downloaded tutorials it had the tutorialApplication.h file. Didn't get it in the SVC either.

asafdav2

09-07-2007 15:00:20

any chance you post the converted code? either here or it the wiki tutorial pages

99jonathan

29-07-2007 18:14:24

Could you consider doing this? Please?

betajaen

29-07-2007 18:25:04

See Cakebox.

99jonathan

29-07-2007 19:45:15

I did... I just don't think it replaces some good tutorials though....

(not to mention it doesn't explain what it's doing with comments, etc)