Search found 33 matches
- June 22nd, 2012, 8:59 pm
- Forum: Everything
- Topic: I keep getting the error missing: ';' before '.' Help
- Replies: 4
- Views: 2262
I keep getting the error missing: ';' before '.' Help
This part of the code is in game.h struct Fighter { int x; int y; }; This part of the code is in game.cpp void Game::UpdateGame() { if( kbd.RightIsPressed() ) { Fighter.x++; } if( kbd.LeftIsPressed() ) { Fighter.x--; } if( kbd.UpIsPressed() ) { Fighter.y++; } if( kbd.DownIsPressed() ) { Fighter.y++;...
- June 13th, 2012, 4:12 pm
- Forum: Everything
- Topic: I can't figure out what is wrong
- Replies: 7
- Views: 2711
Re: I can't figure out what is wrong
Thank's.
- June 13th, 2012, 3:08 pm
- Forum: Everything
- Topic: I can't figure out what is wrong
- Replies: 7
- Views: 2711
I can't figure out what is wrong
It say's gameover when the face moves around the center of the screen and there is no poo near the face.