Search found 11 matches

by MtDewdGM
January 16th, 2012, 5:55 pm
Forum: Everything
Topic: Preview of Lesson 8
Replies: 12
Views: 5856

Re: Preview of Lesson 8

are you using the gfx.putpixel() command, or are you drawing those things in paint, importing them to your project, the drawing them to the screen?

:?:
by MtDewdGM
January 14th, 2012, 6:53 am
Forum: Everything
Topic: Homework Assignment Episode 7 (** READING == SPOILER **)
Replies: 15
Views: 11781

Re: Homework Assignment Episode 7 (** READING == SPOILER **)

The reason that I had the five pixels instead of three was because when I was testing my game, it was too hard to hit the green target because you had to be right on. I changed this to five so that you could still have the end of your reticle hit the end of the other reticle to test for collision, s...
by MtDewdGM
January 14th, 2012, 6:44 am
Forum: Everything
Topic: OpenGl vs DirectX
Replies: 3
Views: 3804

OpenGl vs DirectX

Title says all.

Whats the difference and which is used more commonly in games/what games are programmed in each language/which is better/etc. :|

-Mtdewd
by MtDewdGM
January 14th, 2012, 12:58 am
Forum: Everything
Topic: Homework Assignment Episode 7 (** READING == SPOILER **)
Replies: 15
Views: 11781

Re: Homework Assignment Episode 7 (** READING == SPOILER **)

void Game::ComposeFrame() { int speed = 3; int r = 0; int g = 255; int b = 255; int q = 6; int dr = 0; int dg = 255; int db = 0; dx += dxspeed; dy += dyspeed; if ( kbd.SpaceIsPressed() ) { speed = 1; } if ( kbd.EnterIsPressed() ) { speed = 8; } if ( kbd.RightIsPressed() ) { x += speed; } if ( kbd.L...
by MtDewdGM
January 12th, 2012, 4:45 am
Forum: Everything
Topic: Homework Lesson 6 *SPOILERS*
Replies: 5
Views: 5519

Re: Homework Lesson 6 *SPOILERS*

Thanks chili!

Has anyone else figured it out?
by MtDewdGM
January 11th, 2012, 2:37 pm
Forum: Everything
Topic: Homework Lesson 6 *SPOILERS*
Replies: 5
Views: 5519

Re: Homework Lesson 6 *SPOILERS*

I'm on my phone so I can't Post my source code, but basically I made a variable for red, green, and blue and set them to 255. This controls changing colors when the object is in the box. Next I made several if statements inside each other. We also could have used the && operator several times to mak...
by MtDewdGM
January 10th, 2012, 2:20 pm
Forum: Everything
Topic: Fun Forum (?)
Replies: 14
Views: 6504

Re: Fun Forum (?)

Do you mean the 6th homework with the box in the middle of the screen?
I finished that one.

Am I allowed to give out spoilers?

10
by MtDewdGM
January 8th, 2012, 11:12 pm
Forum: Everything
Topic: Fun Forum (?)
Replies: 14
Views: 6504

Re: Fun Forum (?)

Ima bored...
I did Chili's homework today though!
6
by MtDewdGM
January 7th, 2012, 3:50 pm
Forum: Everything
Topic: Fun Forum (?)
Replies: 14
Views: 6504

Re: Fun Forum (?)

Sorry about the chili/chile soup/country thing

3