Hi i just watched the lesson 8 and i did (i think at least) everything just as u did..
But something is wrong
Game.cpp
http://pastebin.com/rrr11WBe
Game.h
http://pastebin.com/CgL77gN8
(the reason i put them on pastebin is that the max length of a post is 60000 charscters and my was over 100k)
I have no idea what i did wrong but the problem is following:
1 = poo1 and 2 = poo2 and 3 = poo3
If i take the poop like this
1,2,3 i get the game over when i take the 2nd and it disapear when i take the 3rd
if i do it like this
2,3,1 it shows when i take 2 and then disapears when i take the 3 and nothing happens when i take the 1
so something is wrong with the poo2, and that makes the whole if statement ( if( !( poo1IsEaten && poo2IsEaten && poo3IsEaten ) )) true when only the 2nd poop is collected and when i take another poop it gets false again, im very confused and thanks in advance :3
Lesson 8 problems..
Lesson 8 problems..
My computer specs : Gtx 580 sparkle edition | i5 2500k | h100 cooling | Antec 1200 chassi| 6gb of cheap RAM | Gigabyte P67A-UD4 B3 | LG 23" TFT W2363D-PF 120Hz |
Re: Lesson 8 problems..
1. How about uploading the whole project?
2. We don't care much about lines and lines of PutPixel
3. Your problem is poo3
4. Look at poo3 and how game over is drawn
5. Realize the problem
6. Fix the problem
7. There would usually be question marks here, but the connection to the profit is obvious
8. Profit!
2. We don't care much about lines and lines of PutPixel
3. Your problem is poo3
4. Look at poo3 and how game over is drawn
5. Realize the problem
6. Fix the problem
7. There would usually be question marks here, but the connection to the profit is obvious
8. Profit!
ʕ •ᴥ•ʔ
Re: Lesson 8 problems..
i love that haha when ppl say i did it just like chili did but is still dont work haha
What you call a bug...I call a new feature!
Re: Lesson 8 problems..
(i think at least)XxWalKaxX wrote:i love that haha when ppl say i did it just like chili did but is still dont work haha
My computer specs : Gtx 580 sparkle edition | i5 2500k | h100 cooling | Antec 1200 chassi| 6gb of cheap RAM | Gigabyte P67A-UD4 B3 | LG 23" TFT W2363D-PF 120Hz |
- npissoawsome
- Posts: 114
- Joined: June 8th, 2012, 3:01 pm
Re: Lesson 8 problems..
yeah this guy said he thought he did everything right...XxWalKaxX wrote:i love that haha when ppl say i did it just like chili did but is still dont work haha