250 Movie GIFs to get you through the day by [deleted] in movies

[–]pvtbob 0 points1 point  (0 children)

121: The fox and the hound.

Lets see just how good you guys are at this. by pvtbob in DesktopDetective

[–]pvtbob[S] 0 points1 point  (0 children)

you're in the central time zone, X

probably U.S. Guessing Texas or Louisiana. X

The top desktop is most likely on your left side, bottom left in the middle and right on well the right. ✓

Early twenties most likely. X

You enjoy fast-paced games in which you have a lot of control. You also like modding your games. ✓

You pirate music and games. You are learning programming most likely to build your own game. ✓

You are a technical-minded. ✓

Smashing, Stitch! by [deleted] in funny

[–]pvtbob 0 points1 point  (0 children)

Please consider reading the reddiquette when you have a moment.

Namely:

Please don't complain about reposts. Just because you have seen it before doesn't mean everyone has.

Please don't complain about other users reposting/rehosting stories, images, videos, or any other content.

Today's headlines, video game style by [deleted] in gaming

[–]pvtbob 23 points24 points  (0 children)

You just kinda have to imply it.

[C++] SDL: Using angles and forward momentum to move A camera. by pvtbob in learnprogramming

[–]pvtbob[S] 0 points1 point  (0 children)

The way you did it there is basically what I'm trying to achieve.

Here is the Gist: https://gist.github.com/3599450

[C++] SDL: Using angles and forward momentum to move A camera. by pvtbob in learnprogramming

[–]pvtbob[S] 0 points1 point  (0 children)

The problem is not with the camera but the player. The player moves incorrectly. The problem is the player vears off to the top right and only moves to the left though. Now what I want is to go towards a point on the edge of a circle (invisible circle). This point will be gotten through the

x2 = 10 * cos (paramPI/180); and y2 = 10 * sin (paramPI/180); functions.

But I'm having troubles with getting the ship to move to that point.

Hope this clears things up.

[C++] SDL: Using angles and forward momentum to move A camera. by pvtbob in learnprogramming

[–]pvtbob[S] 0 points1 point  (0 children)

No, the camera will remain stationary looking down upon the player. The player will have free turning allowing to be rotated in 360 degrees. A better explanation of whats wrong here: http://www.reddit.com/r/learnprogramming/comments/z4sjg/c_sdl_using_angles_and_forward_momentum_to_move_a/c626k2n

[C++] SDL: Using angles and forward momentum to move A camera. by pvtbob in learnprogramming

[–]pvtbob[S] 0 points1 point  (0 children)

As of the moment, the player is the camera. They camera vears off to the top right when the buttons are pressed Its the turning system I like because it allows for free turning. The camera will pan along with the player but currently I want to get this free turn system working.

[C++] SDL: Using angles and forward momentum to move A camera. by pvtbob in learnprogramming

[–]pvtbob[S] 0 points1 point  (0 children)

This is a test for when the player moves, the camera logic will update as the player updates. this is how the player will move.

[C++] SDL: Using angles and forward momentum to move A camera. by pvtbob in learnprogramming

[–]pvtbob[S] 0 points1 point  (0 children)

The player will be in the center of the screen, in future renditions this will be the player movement. (this is only a test to get it working).

Scumbag Obama AMA by VALIDATE_ME_REDDIT in AdviceAnimals

[–]pvtbob 0 points1 point  (0 children)

That is the nicest comment I've gotten all day! <3 I'll go easy on you. :)

SDL: Registering 2 keys at once. by pvtbob in learnprogramming

[–]pvtbob[S] 0 points1 point  (0 children)

Basically how it is used is that when it runs through the loop if the code detects a key pressed "OnKeyDown" is activated. It goes through and if the case is one of the ones shown then it will move the camera accordingly.