Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
engine/main.h@13:61aeeb4e4e47, 2018-05-07 (annotated)
- Committer:
- el16a2t
- Date:
- Mon May 07 18:28:51 2018 +0000
- Revision:
- 13:61aeeb4e4e47
- Parent:
- 11:4907e6e7e855
made it so that randomly spawned car sprites can't overlap, by forcing one to change lanes before appearing on screen if overlap conditions fulfilled. Also introduced cars occasionally changing lanes when player reaches certain score(makes it harder)
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el16a2t | 1:a3c9025e0dad | 1 | |
| el16a2t | 1:a3c9025e0dad | 2 | |
| el16a2t | 1:a3c9025e0dad | 3 | int x_player; |
| el16a2t | 1:a3c9025e0dad | 4 | int y_player; |
| el16a2t | 1:a3c9025e0dad | 5 | int x_car; |
| el16a2t | 1:a3c9025e0dad | 6 | int y_car; |
| el16a2t | 4:a6ca44e29e97 | 7 | int x_car2; |
| el16a2t | 4:a6ca44e29e97 | 8 | int y_car2; |
| el16a2t | 1:a3c9025e0dad | 9 | int score; |
| el16a2t | 11:4907e6e7e855 | 10 | char speed[14]; |
| el16a2t | 2:a48df109588e | 11 | char str[14]; |
| el16a2t | 7:d1a1f7c5eb0d | 12 | int lives; |
| el16a2t | 10:e81aacef805b | 13 | int Index; |
| el16a2t | 11:4907e6e7e855 | 14 | int YIndex; |
| el16a2t | 11:4907e6e7e855 | 15 | int YIndex2; |
| el16a2t | 11:4907e6e7e855 | 16 | float pot_value; |
| el16a2t | 11:4907e6e7e855 | 17 | float wait_time; |