Hello. I had been making a opengl game. It runs good. However, when i took it to my school, it did not run as expected. Co-ordinates were not in place. It was shifted way right.
How can i solve the problem?
I am using opengl.
Also, how do I make options like:
New Game
Save
and others in Opengl. I am using freeglut.
That's not enough information. What type of game? Can we see code?
As for new games: reset variables, implement the whole game in a function, etc...
And for saving: store all the variable information in a file (perhaps in text format, line or space separated, in a way that would be easy to re-read and load)...
I'm not that familiar with OpenGL, maybe see if it has anything to do with the OS or graphics card of the problematic computer. Of course, it's much more likely that there is a problem in the code, something that's not portable. If you're sure that it's not, check with OpenGL's bug reports and see if it isn't already a know problem. There are others on this forum with more intimate knowledge of OpenGL so hopefully one of them can help you with this.