- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
8 Posted Topics
[QUOTE=Cgm;745871]Hi, I have visual c++ and have recently downloaded the Dark GDK add on. Does anybody know where i could find some tutorials because I am okay with c++ but dont know how to code the graphics. Any help is appreciated Thanks -Chris[/QUOTE] The download of Dark GDK they includes …
Hi, I'm working on a game in Dark GDK in which i have created a new camera. Is it possible to hide an object in just the newly created camera and be able to view it in the default camera?
Hi, I'm working on a game and i have created a new camera but i need to hide an object in the newly created camera and still be able to view it in the default camera. Is this possible?
I have tried this before, i found the best approach is not to use actual bullet object. Just animate the gun firing and put an aimer in the middle of the screen. From here you could test if the aimer is pointing at anything and that the gun has fired, …
When ever to run the following piece of code in my game it crashes. I have narrowed down the problem to being initiating mEnemies[i] = NULL and mSpaceship.mBullets[c] = NULL. Got no idea why. Please help for(int i=0; i<mEnemies.size(); i++) { // cycle of bullets for(int c=0; c<mSpaceship.mBullets.size(); c++) { …
I tried overloading the == operator and found that the following code worked. [CODE] bool operator== (const Employee& temp) { if(&temp == this) return true; bool ret = true; if(getGrossPay() != temp.getGrossPay()) ret = false; return ret; } [/CODE] You didn't need to have two parameters because the object calling …
When trying to calculate the size of an array use: [CODE] int intArray[] = { 1, 2, 3 }; cout << "The size of intArray is: " << sizeof(intArray) / sizeof(intArray[0]); [/CODE]
I have had that problem before. Its probably because you have run the program before and not closed the application and now your trying to run it again.
The End.
green_frog