March 16th, 2012 10:41 AM
Ok thanks. Also I still need to learn alot more about physics and graphics to make it. Also Im starting by making the graphics system with opengl. Do you think I should switch to directx eventually...
March 14th, 2012 04:43 PM
I think your right about me starting with something smaller. I dont think im really sure i know what im talking about. Also I didnt mean an object in cpp. But an object such as a ball or a cube, etc....
February 24th, 2012 07:10 PM
I do have some code for this but i forgot to grab it so ill have to add it later. I'm working on a game engine... funny its my first real project im doing other than a few other small ones, but i...
November 2nd, 2011 06:07 PM
Why would that require that I declare it differently?
October 31st, 2011 07:39 PM
Well i am making a game engine and this is one of its utilities it has. So yes it would be called by other things as regular function.
I changed the code a little:
UtilWindow.h:
#ifndef...
October 31st, 2011 03:53 PM
So they vector would be
std::vector <bool> keystates[256];
Also how do I let a function with a header take arguments because if i do this.
Reshape.h:
class Reshape
October 30th, 2011 05:44 PM
October 30th, 2011 05:37 PM
This might help. http://gameprogrammer.com/fractal.html
October 30th, 2011 05:31 PM
I am making a shader with opengl with the help of a tut. I know that there are some things wrong with this but can someone help me fix this and also give any tips if you have any.\
Shader.h
...
October 30th, 2011 05:21 PM
Ok thanks would I just make a Rendershape class with the public functions in the header and then include that in RenderShape.cpp?
October 29th, 2011 11:20 AM
you mean the .cpp part just #include <RenderShape> ?
October 29th, 2011 10:26 AM
I made a program with opengl and I keep getting this error:
1>------ Build started: Project: Aiedoo, Configuration: Debug Win32 ------
1> RenderShape.cpp
1> Main.cpp
1> Generating...
October 28th, 2011 06:24 PM
It works now. Just had to put glutInit() before everything else like you said.
October 28th, 2011 11:51 AM
Can you give me an example of how to use glutMouseFunc() and the arguments it requires?
October 28th, 2011 06:07 AM
October 27th, 2011 04:47 PM
Ok well i am new to glut, but i only encounter this problem when i add mouse click detection so i don't know why this is happening.
October 27th, 2011 03:23 PM
Ok so i have it built and running fine but I have another problem. I have a simple program that creates a window, but if I add mouse click detection it causes and error.
Program:
#include...
October 26th, 2011 02:09 PM
Im using windows vista and visual c++ 2010.
October 25th, 2011 06:57 PM
But how do I build it myself? I don't know how to build things.
October 25th, 2011 02:06 PM
so i don't need lib files? The only reason i wanted them is because the tutorial i was using said to use them. But it is an older tutorial so maybe i dont need them anymore.
October 24th, 2011 05:11 PM
Hi im using freeglut 2.6.0 and i cant find the .lib files. Could you help me.
September 5th, 2011 02:26 PM
Hi i can make the drag and drop menus with visual c++ but i cant program them is there any tutorials on that? But not video tutorials they dont work on my pc.
September 5th, 2011 02:21 PM
September 4th, 2011 08:38 AM
I just realised this might be in the wrong section but I use visual C++ for compiling c++ and it makes errors for the way I tried to do it. So how would I do it with that? It has an error where I...
September 2nd, 2011 07:21 PM
Hi I already found a tutorial on this but it didnt work. But I am wondering if anyone can tell me how to read text files line by line and determine what they say. Also is it posibble to make a new...