Search found 1248 matches

by LuisR14
June 4th, 2013, 8:33 pm
Forum: Everything
Topic: Proper C++ ediquette? ???
Replies: 7
Views: 3414

Re: Proper C++ ediquette? ???

you have code that sets the r to 0 but you don't have any code that sets it back to 255 when reticle isn't in center o.o
might as well have the color variables declared in the function (since they are temporary anyways :P)
by LuisR14
June 3rd, 2013, 6:43 pm
Forum: Everything
Topic: lesson 13 wierd error
Replies: 3
Views: 2005

Re: lesson 13 wierd error

instead of using the && operator use the || operator and don't use the ! in front of allPooIsEaten (which is what causes it to flash :p)
by LuisR14
June 3rd, 2013, 3:08 pm
Forum: Everything
Topic: Intermediate les08 separate .cpp & .h files
Replies: 3
Views: 1970

Re: Intermediate les08 separate .cpp & .h files

just pointing it out since the chilli never added it in any of the lessons :)
by LuisR14
June 3rd, 2013, 12:37 am
Forum: Everything
Topic: lesson 13 wierd error
Replies: 3
Views: 2005

Re: lesson 13 wierd error

your problem is pretty much with this code Game.cpp, Ln 2769 for( int index = 0;index < nPoo; index++ ) { allPooIsEaten = allPooIsEaten && pooIsEaten[ index ]; } and this code lol Game.cpp, Ln 31 allPooIsEaten( true ) tho i believe the chilli would explain that this code is wrong later on :)
by LuisR14
June 2nd, 2013, 10:21 pm
Forum: Everything
Topic: Intermediate les08 separate .cpp & .h files
Replies: 3
Views: 1970

Re: Intermediate les08 separate .cpp & .h files

btw, Gdiplus::GdiplusStartup requires a matching Gdiplus::GdiplusShutdown function :)
just wanted to point that out since i watched the tut vids
by LuisR14
May 30th, 2013, 11:15 pm
Forum: Everything
Topic: A simple game
Replies: 5
Views: 3897

Re: A simple game

haha cool, nyan cat stuff :-p
by LuisR14
May 30th, 2013, 9:54 pm
Forum: Everything
Topic: Replaying Sound
Replies: 5
Views: 2705

Re: Replaying Sound

hehe, no problem :).
i'm also wondering when he'll post a new lesson o.o
by LuisR14
May 23rd, 2013, 4:23 pm
Forum: Everything
Topic: Replaying Sound
Replies: 5
Views: 2705

Re: Replaying Sound

was just reading this post and decided to answer this :p so here's how you do it in Sound.h change and add void Play( bool loop = false, int attenuation = DSBVOLUME_MAX ); <-- change void Stop(); <-- add and in Sound.cpp change and add void Sound::Play( bool loop, int attn ) <-- new parameter { attn...