![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.
Dependencies: mbed FXOS8700CQ mbed-rtos
Diff: Game_one/Game_one.cpp
- Revision:
- 5:bc0691d02fd5
- Parent:
- 4:5bc9c4363d31
- Child:
- 11:5a6b9dffd78a
--- a/Game_one/Game_one.cpp Wed Apr 03 18:40:43 2019 +0000 +++ b/Game_one/Game_one.cpp Mon Apr 08 00:41:25 2019 +0000 @@ -120,8 +120,8 @@ // see if block has hit the player by checking for overlaps if ( - (block_pos.y >= p1_pos.y + 2) && //top - (block_pos.y <= p1_pos.y + 19) && //bottom + (block_pos.y >= p1_pos.y - 6) && //top + (block_pos.y <= p1_pos.y + 14) && //bottom (block_pos.x >= _p1x) && //left (block_pos.x <= _p1x + 17) //right ) @@ -257,4 +257,5 @@ } } -} \ No newline at end of file +} +