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.
Diff: main.h
- Revision:
- 5:5667c4ec3d7e
- Parent:
- 4:59175720d8ee
- Child:
- 6:478f81e79d9b
--- a/main.h Sun May 05 02:27:37 2019 +0000 +++ b/main.h Sun May 05 03:29:31 2019 +0000 @@ -17,6 +17,7 @@ void arrow_select(); //----------------------- void game_engine_run(); +void donkeykong_x_movement(); //----------------------- void controls_run(); //----------------------- @@ -78,4 +79,61 @@ { 0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 }, }; + +int game_dk_walking_right_1[16][16] = { + {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,}, + {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,}, + {1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,}, + {1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,}, + {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,}, + {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,}, +}; + +int game_dk_walking_left_1[16][16] = { + {1,1,1,1,1,1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