Never mind I did it. I thought that the graph was
---------------------<---- x
|
|
|
|
|<---- -y
when y is realy positive
Type: Posts; User: zergdeath1
Never mind I did it. I thought that the graph was
---------------------<---- x
|
|
|
|
|<---- -y
when y is realy positive
ya I can and did that, But it still seems like it should work. I have all the coordinates correct as far as I can tell.
ARRRRRRRRGHHH. I cant do it. can somebody please help me or give me a hint?
First of all sorry about the double post. In my pong game I need to of course have the paddle reflect the ball. My ball moves by having its velocity in both the x and y axis added onto its current...
Actually I am stuck on SDL because It is what I have been studying and I hope to move on to 3D some time in the future.
So does anyone know how to get the trail to stop?
Here is my pong game or the beginning of it anyway. I know my collision detection stuff doesn't work right and I will fix that later. But when I run this I get a trail behind pongBall. Can someone...
In dont care, I just wanted to make sure I understood what you said. Thx for ur help by the way.
Wait in that last bit of Pong Code aren't you blitting, screen onto the ball. Dont you want to be blitting ball onto screen?
Wow thanks that fixxed it. Int the other one the image was moving approx 1 or 2 pixels at a time toward the upper left. Do You know why that fixed it?
I want to make a pong game (but dont think I...
I am trying to get the. The image I have to be placed a little off center when the program starts instead it is continually moving to the upper left. Leave whatever color trail it is behind it. The...
Now I am trying to get the image to just move off center a little bit by using differant x and y values. But when I run this program the image move off screen in increments. Ironically this is the...
I am reading the Red Book online and it says that I should have Aux.h.
Also doesn't it basically have the same function as SDL or GLUT?
I Just got Dev5 and I didn't want to bother with SDL(In Dev4 I got it to work Unorthodoxly) and decied to use the internet upgrade thing. So I used it to Download and install SDL. Now I am just...
Two things:
1. I am too new at programming to port something.
2. Im looking for the kbhit() function.
My compiler, DevC++ 4.something only has 62% of the conio.c compiler and it doesn't have the function i need. Is it possible for me to get a new conio.c that will work. Or could one of you post the...
STFW?? What does that mean?
I know all the words and that helped alot thanks!:D
Does any body know how to convert a .bmp file into a .icn file thanks!
I am trying to get an autorun file to display and image on screen for a few secounds then go to a browser program. My problem is that autorun cant do that, so I was wondering if any body here who...
I am still really confused can someone start from square1 and explain this not using a lot of advanced programmin lingo?
So, I could put a main C++ and have it referance to a differant .cpp that can compile on its own, what is the point of having a header that just has prototypes in it, when I could just put those...
:confused: :confused: With the class thing and how you use the .h and the .cpp. So far my understanding is that you have:
Main C++ program, <<With an header file<< class.h <<The header File links...
Im using Dev C++, and all it says is <gbd>
As suggested how can I tuen the game off and have it exit when it is over?
How do you use the Debuger I am using Dev C++ and dont know how to use it? Thanks for you help! :)