Hi I just got the ball moving perfectly to the bottom of the screen .......I basicallly did
abdot.set_y(abdot.get_y()+abdot.get_speed()); //get speed returning a single int
Can someone tell...
Type: Posts; User: redwing26
Hi I just got the ball moving perfectly to the bottom of the screen .......I basicallly did
abdot.set_y(abdot.get_y()+abdot.get_speed()); //get speed returning a single int
Can someone tell...
int main(int argc, char *args[])
{
int speed = 5;
int bdot_y =0;
int flag = 0;
//quit prog status
bool quit = false;
//make the dots
Dot abdot(0,50);
ok say i do that
ball.vx * ball.speed * fFrameDelta
whats gonna happen as I see it the way my code is that by the time its displayed to the screen the movemnent is going to be made as this...
Thanks for the help bubba im not sure how speed is worked out though? is it say an int of 5 and howwould I fit that in also what is *fFrameDelta a pointer to?
Yeah I constantly check google and I never found anything thats why I came here also I dont find some of the commands in the manuals in the format command (key,int,flag,etc,etc) very helpful for...
hi I have been going thrugh sdl tutoials and what the below program initially did was create 2 dot objects one moved via the arrow keys via events and the other did nothng and if one dot hit the...
Hi all,
I have started sdl and have sucesfully done some basic graphics which correctly handle collisions ......I am starting a new basic program and when sdl is initialised depending on the...