Search found 85 matches
- Wed May 19, 2010 7:00 pm
- Forum: Programming Discussion
- Topic: Help, velocity and direction
- Replies: 20
- Views: 1436
Re: Help, velocity and direction
Thanks, i'll try that. and what do you mean 'costly' will it slow the game?
- Wed May 19, 2010 6:16 pm
- Forum: Programming Discussion
- Topic: Help, velocity and direction
- Replies: 20
- Views: 1436
Re: Help, velocity and direction
I remember I had this exact same problem the first time I made pong haha. I think what you might want to do is, not set it randomly. Instead something like this: speed.x = 2; speed.y = 2; while (gameIsRunning) { if (collisionWithVerticalWall) speed.x *= -1; if (collisionWithHorizontalWall) speed.y ...
- Wed May 19, 2010 5:45 pm
- Forum: Programming Discussion
- Topic: Help, velocity and direction
- Replies: 20
- Views: 1436
Help, velocity and direction
Hi guys, i need some help. I'm starting to build some games for practice, and i wrote a simple battle ship game and some more simple stuff. And now i'm working on a two players pong game, and i have a problem. I want the ball to go to some random directions, so what i did is create him an x and y ve...
- Wed May 19, 2010 5:34 pm
- Forum: Programming Discussion
- Topic: Help with some concepts
- Replies: 5
- Views: 537
Re: Help with some concepts
thanks!
- Wed May 12, 2010 6:19 am
- Forum: Programming Discussion
- Topic: Help with some concepts
- Replies: 5
- Views: 537
Re: Help with some concepts
So you say that the buffer and the back buffer are like two sides of a paper, and every time the engine draws the frame on the back side of the paper, and then "flips" it, and the frame is being shown, and then it draws again at the back and flips it repeatably? that makes sense, thanks fo...
- Wed May 12, 2010 5:01 am
- Forum: Programming Discussion
- Topic: Help with some concepts
- Replies: 5
- Views: 537
Help with some concepts
Hi guys, i need some help. After programming in C++ for a while, I decided to start with SDL. So i bought "Focus on SDL" (I think its the only book on this subject) and began learning. All went well, but i ran into some graphical concepts i didn't really knew, and the book didn't explain t...
- Tue May 11, 2010 9:33 am
- Forum: General/Off-Topic
- Topic: I need some advice, please
- Replies: 16
- Views: 2069
I need some advice, please
Post Deleted
- Wed Mar 31, 2010 2:34 pm
- Forum: Programming Discussion
- Topic: help | c++ Question
- Replies: 7
- Views: 483
Re: help | c++ Question
I got it working! thank you all .
- Wed Mar 31, 2010 11:06 am
- Forum: Programming Discussion
- Topic: help | c++ Question
- Replies: 7
- Views: 483
Re: help | c++ Question
I need help! I'm a beginner, and i was in the middle of writing a simple console combat simulator for practice. Is there any way in c++ to check wich is the bigger from a list of numbers? i have an array of numbers, and i need to check wich of the numbers in the it is bigger. Please help! i'm stuck...
- Wed Mar 31, 2010 10:51 am
- Forum: Programming Discussion
- Topic: help | c++ Question
- Replies: 7
- Views: 483
help | c++ Question
I need help! I'm a beginner, and i was in the middle of writing a simple console combat simulator for practice.
Is there any way in c++ to check wich is the bigger from a list of numbers? i have an array of numbers, and i need to check wich of the numbers in the it is bigger. Please help! i'm stuck!
Is there any way in c++ to check wich is the bigger from a list of numbers? i have an array of numbers, and i need to check wich of the numbers in the it is bigger. Please help! i'm stuck!
- Sun Mar 28, 2010 9:06 am
- Forum: Programming Discussion
- Topic: Visual C++ exspress edition VS. visual studio pro.
- Replies: 17
- Views: 1398
Re: Visual C++ exspress edition VS. visual studio pro.
I can't get this stuff for free because i'm not learning c++ in school... I'll just stick with the express edition.
- Sat Mar 27, 2010 8:29 pm
- Forum: Programming Discussion
- Topic: Visual C++ exspress edition VS. visual studio pro.
- Replies: 17
- Views: 1398
Re: Visual C++ exspress edition VS. visual studio pro.
Its too expensive.. maybe i'll buy it if i'll start a big project with my friends. About visual studio 2010, does it have an express edition? like visual c++ 2010 express edition?
- Sat Mar 27, 2010 1:38 pm
- Forum: Programming Discussion
- Topic: Visual C++ exspress edition VS. visual studio pro.
- Replies: 17
- Views: 1398
Re: Visual C++ exspress edition VS. visual studio pro.
I think i'll just use express... maybe in the future i'll check the proffesional. thanks for the help.
- Sat Mar 27, 2010 12:40 pm
- Forum: Programming Discussion
- Topic: Visual C++ exspress edition VS. visual studio pro.
- Replies: 17
- Views: 1398
Re: Visual C++ exspress edition VS. visual studio pro.
I guess thats what i'll do... But does the proffesional edition cost money? And if it does, how much?
- Fri Mar 26, 2010 7:37 am
- Forum: Programming Discussion
- Topic: Visual C++ exspress edition VS. visual studio pro.
- Replies: 17
- Views: 1398
Re: Visual C++ exspress edition VS. visual studio pro.
So, does it worth the money, or is it free like express?