• Create Account

# phil67rpg

Member Since 25 Feb 2004
Offline Last Active Yesterday, 11:08 PM

### #5103279drawing square

Posted by on 21 October 2013 - 07:49 PM

well I am studying the  directxtutorial.com web site, I am doing the exercises at the back of the chapters, I have a small question how do I change a triangle into a square in runtime.let  me know if you need code,

### #5103250direct x9 game

Posted by on 21 October 2013 - 04:42 PM

well I am studying the  directxtutorial.com web site, I am doing the exercises at the back of the chapters, I have a small question how do I change a triangle into a square in runtime.let  me know if you need code,

### #5103011direct x9 game

Posted by on 20 October 2013 - 08:13 PM

so what should I do, I am still a beginner.

### #5103005direct x9 game

Posted by on 20 October 2013 - 07:48 PM

thanks shane

### #5102974direct x9 game

Posted by on 20 October 2013 - 05:48 PM

actually I have worked on space invaders and asteroids, I was thinking about doing chess.

### #5102965direct x9 game

Posted by on 20 October 2013 - 05:11 PM

well I have done tic tac toe, pong and breakout. what should I do next using dx9 and c++.

### #5099262big c++

Posted by on 06 October 2013 - 10:48 PM

I am reading the Big C++ text 2nd edition by cay horstmann and timothy budd. I am also doing the programming exercises in the back of the chapter. this is a very good text I would highly recommend it for any would be programmer.

### #5097547space wars

Posted by on 28 September 2013 - 10:15 PM

I am working a little space wars game. I am able to get my  space ship to move up and down and follow its nose but I cant get it to rotate around its center.

```void DrawShip(GLfloat position_X,GLfloat position_Y, GLfloat position_Z, GLfloat rotation,GLfloat color)
{
glPushMatrix();
glColor3f(color,0.0f,0.0f);
glRotatef(rotation,0.0f,0.0f,1.0f);
glTranslatef(position_X,position_Y,position_Z);
glBegin(GL_LINE_LOOP);
glVertex3f(0.0f,-0.25f+position_Y,0.0f);
glVertex3f(-0.25f,-0.5f+position_Y,0.0f);
glVertex3f(-0.5f,-0.5f+position_Y,0.0f);
glVertex3f(-0.0f,0.5f+position_Y,0.0f);
glVertex3f(0.5f,-0.5f+position_Y,0.0f);
glVertex3f(0.25f,-0.5f+position_Y,0.0f);
glVertex3f(0.0f,-0.25f+position_Y,0.0f);
glEnd();
glPopMatrix();
}
```

I am doing this because I am reading a book on opengl. I have not got to shaders yet.

### #5087198pong game and opengl

Posted by on 18 August 2013 - 10:38 PM

pongzip.zip   643.45KB   417 downloadswell I tried  this on my laptop and it works except that you have to extract it to a regular folder and I cant get the sound to work also.

### #5063736random numbers

Posted by on 21 May 2013 - 10:53 PM

well thanks for all the help but I will take a long hard look at my game code and see what is wrong and correct it.

### #5063652random numbers

Posted by on 21 May 2013 - 05:40 PM

I am doing what you suggested .

Posted Today, 04:35 PM

What's the question?

how do I generate 9 random numbers that do not repeat?

### #5061680tictac toe marks

Posted by on 13 May 2013 - 10:17 PM

what is trolling

### #5061639tictac toe marks

Posted by on 13 May 2013 - 06:26 PM

should I use c++ or c#?

### #5061420tictac toe marks

Posted by on 12 May 2013 - 10:16 PM

Remove the option to just hard code everything and force yourself to think in algorithms instead of a huge list of if-elses.

how do I get better at algorithms

### #5061390tictac toe marks

Posted by on 12 May 2013 - 07:57 PM

how do I get rid of magic numbers?

PARTNERS