Search:

Type: Posts; User: SmashBro

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,592

    Poll: that was awesome. awe inspiring. good job.

    that was awesome. awe inspiring.

    good job.
  2. Replies
    1
    Views
    1,198

    Screensaver Problem. Help!

    I've been learning SDL for the past few weeks, and I like it a lot. I made a program in which you can shoot a spaceman around on Mars's surface. I then wondered if I could make it a screen saver. So...
  3. Replies
    1
    Views
    3,979

    Rotating Bitmaps with SDL

    I'm trying to make my first real graphical C++ program by using SDL in Visual C++. One problem I have is that it's kind of a lunar lander type of thing, so I need to rotate the ship freely. I could...
  4. Replies
    4
    Views
    2,630

    Okay I think I know what you want now. Just...

    Okay I think I know what you want now.

    Just make gravity a negative number. We'll call it grav.

    If you shoot something straight up into the air and it gets to 300 meters exactly, then at 300...
  5. Replies
    9
    Views
    1,182

    Use getline. ...

    Use getline.

    source.getline(placetooutputto,maxnumberofchars,endingchar);

    so you might use b_file.getline(str,100,'/n');

    But of course you would want to put a /n at the end of the string. or...
  6. Replies
    4
    Views
    2,630

    I really have no idea what you're asking. But...

    I really have no idea what you're asking. But remember that the value of gravity is not a velocity but an accelleration.

    grav = -9.8 ///it's a constant. that's the ACTUAL gravitational constant...
  7. Replies
    16
    Views
    2,783

    The key is to create a power function, check the...

    The key is to create a power function, check the closeness to one, and then at 10 to the -whatever, depending on how many didits are past the decimal point.
  8. Replies
    6
    Views
    1,606

    Well, it takes hard work, but eventually I was...

    Well, it takes hard work, but eventually I was able to get at about Quake III quality ;)
  9. Poll: If I am not able to get into game programming,...

    If I am not able to get into game programming, I'll be in another profession. I'm not doing any other type of programming. Haven't you ever seen Office Space??? =P
  10. Replies
    6
    Views
    1,606

    re:

    I have a friend. His name is ASCII character code number 219. He helps me create blocky, strange looking graphics in console mode =D. An example would be in the thread I posted below--
    ...
  11. re:

    The tail is supposed to stop while the snake is growing. :)
  12. Fully Realized Nibbles Game--Please Comment!

    Hey! After many months of toils and hardships, I have completed a fully realized Nibbles game, with 9 levels, bonus apples, a high score list, and more!! Please try it out and tell me what you think!...
  13. wait, actually, I got that DXBall thing wrong. In...

    wait, actually, I got that DXBall thing wrong. In that game, the angle of the ball depends on where the ball hits on the paddle, but not in the way I described. If the ball hits the center of the...
  14. Well, most pong game physics can be pretty...

    Well, most pong game physics can be pretty unrealistic... =P

    The simplest thing to think about is this: You have its horizontal speed and direction and its vertical speed and direction. They...
  15. whoops, forgot the file...

    whoops, forgot the file...
  16. Snake Attack ***Updated with computer A.I!***

    By popular demand (I think three people asked for it =P) I decided to take some time and put in a computer player. The only weird thing is that it sticks to walls, but I think that has advantages and...
  17. How good do you have to be to get into the business?

    Okay. I'm a senior in high school. I just started C++ programming this year, in an independant study class at my small high school. You can see my first "real" game below, Snake Attack, which is as...
  18. Replies
    8
    Views
    2,226

    Snake Attack! my game

    Hello. I'm just a beginner C++ programmer, and this is one of my first games. It's just a Tron clone. Tell me what you think! The source code is included, and it's fairly messy, but it's also...
  19. Problems moving from Borland to Visual Studio

    I am a new C++ programmer. I started out using a Borland compiler, which I found worked rather well. I just made a few simple things, including a nice ASCII version of tic-tack-toe with computer...
  20. Hey! I just got this great idea to make things...

    Hey! I just got this great idea to make things easier for myself and other former QBasic proggies. I made a function making use of kbhit() and getch() that just returns the ASCII code of whatever is...
  21. thank you! I knew about kbhit(), but i was...

    thank you! I knew about kbhit(), but i was confused, at first I thought it was just like QBasic's INKEY$, but now I see that it is simply either zero or nonzero... and getch()... well, that still...
  22. Checking to see what is being pressed on the Keyboard

    I am an amateur programmer fluent in QBasic and trying to convert to C/C++. In QBasic there is something called INKEY$ which returns the code of whatever is being pressed on the keyboard at that...
Results 1 to 22 of 22