Jump to content

  • Log In with Google      Sign In   
  • Create Account

phil67rpg

Member Since 25 Feb 2004
Offline Last Active May 23 2014 10:18 PM

#5102974 direct x9 game

Posted by phil67rpg on 20 October 2013 - 05:48 PM

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




#5102965 direct x9 game

Posted by phil67rpg 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++.




#5099262 big c++

Posted by phil67rpg 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.




#5097547 space wars

Posted by phil67rpg 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.




#5087198 pong game and opengl

Posted by phil67rpg on 18 August 2013 - 10:38 PM

Attached File  pongzip.zip   643.45KB   251 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.




#5063736 random numbers

Posted by phil67rpg 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.




#5063652 random numbers

Posted by phil67rpg 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?




#5061680 tictac toe marks

Posted by phil67rpg on 13 May 2013 - 10:17 PM

what is trolling




#5061639 tictac toe marks

Posted by phil67rpg on 13 May 2013 - 06:26 PM

should I use c++ or c#?




#5061420 tictac toe marks

Posted by phil67rpg 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




#5061390 tictac toe marks

Posted by phil67rpg on 12 May 2013 - 07:57 PM

how do I get rid of magic numbers?




#5060947 tictac toe marks

Posted by phil67rpg on 10 May 2013 - 05:09 PM

so how do I get better at programming? should I read and work through a book?




#5060453 tictac toe marks

Posted by phil67rpg on 08 May 2013 - 07:12 PM

so I should plan things out very carefully more, should I use pseudocode or flowcharts or uml




#5060445 tictac toe marks

Posted by phil67rpg on 08 May 2013 - 06:24 PM

well I have decided since I SUCK at c++ maybe I should try c# and do apps NOT games




#5060420 tictac toe marks

Posted by phil67rpg on 08 May 2013 - 04:29 PM

so how do I get better at coding?






PARTNERS