![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Mortal Kombat Game ELEC2645
Dependencies: mbed N5110 ShiftReg Joystick
Menu.cpp
- Committer:
- ozy
- Date:
- 2021-05-08
- Revision:
- 21:fad1c9f010d1
- Parent:
- 20:4ca04fd0965a
- Child:
- 22:225d4031c090
File content as of revision 21:fad1c9f010d1:
#include "Menu.h" #include "mbed.h" #include "ShiftReg.h" ShiftReg shift; // for countdown Menu::Menu() {} void Menu::menu_render(N5110 &lcd) { draw_uni_logo(lcd); wait(3.0f); main_menu(lcd); wait(3.0f); created_by(lcd); wait(3.0f); tutorial_screen1(lcd); wait(3.0f); tutorial_screen3(lcd); wait(3.0f); tutorial_screen4(lcd); wait(3.0f); tutorial_screen5(lcd); wait(3.0f); tutorial_screen6(lcd); wait(3.0f); tutorial_screen7(lcd); wait(3.0f); tutorial_screen8(lcd); wait(3.0f); shift.write(0x4F); wait(1.0f); shift.write(0x5B); wait(1.0f); shift.write(0x06); wait(1.0f); shift.write(0x3F); wait(0.3f); tutorial_screen9(lcd); wait(0.5f); lcd.refresh(); } void Menu::draw_logo(N5110 &lcd, int x, int y) { // Mortal Kombat Logo const int logo[17][19] = { { 1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1 }, { 0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0 }, { 0,0,0,0,0,1,0,1,1,1,0,0,0,0,1,0,0,0,0 }, { 0,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,0 }, { 0,0,0,1,0,1,1,0,0,1,1,1,1,0,0,0,1,0,0 }, { 0,0,1,0,1,1,1,0,1,1,1,1,1,1,0,0,0,1,0 }, { 0,0,1,0,1,1,1,1,1,1,1,1,0,1,0,0,0,1,0 }, { 0,0,1,0,1,1,1,0,0,0,1,1,1,1,1,0,0,1,0 }, { 0,0,1,0,1,1,1,1,0,0,0,0,0,1,1,1,0,1,0 }, { 0,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0 }, { 0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,1,0 }, { 0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0 }, { 0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0 }, { 0,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,0,0,0 }, { 0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0 }, { 0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0 }, { 1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1 }, }; // draw the MK Logo // (x, y, rows, cols, sprite) lcd.drawSprite(x,y,17,19,(int *)logo); } void Menu::main_menu(N5110 &lcd) { lcd.clear(); // Printing the first menu screen lcd.printString("MORTAL KOMBAT",3,1); lcd.printString("LEEDS EDITION",3,2); lcd.refresh(); draw_logo(lcd, 30, 28); // draw logo on (30,28) // draw menu frame using the whole dimensions of the screen lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); lcd.refresh(); // refresh the LCD so the pixels appear } void Menu::created_by(N5110 &lcd) { lcd.clear(); lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); lcd.printString("Created by:",2,1); lcd.printString("OSMAN",25,2); lcd.printString("FADL ALI",20,3); lcd.printString("201337691",18,4); lcd.refresh(); } void Menu::tutorial_screen1(N5110 &lcd) { lcd.clear(); lcd.printString("Welcome!", 15,0); lcd.printString("Your mission", 5,2); lcd.printString("is to", 20,3); lcd.printString("defeat", 20,4); lcd.printString("Kotal Khan...", 5,5); lcd.refresh(); } void Menu::tutorial_screen2 (N5110 &lcd) { lcd.clear(); lcd.printString("God of Sun!", 5,1); lcd.printString("God of War!", 5,3); lcd.printString("God of Blood!", 5,5); lcd.refresh(); } void Menu::tutorial_screen3 (N5110 &lcd) { lcd.clear(); lcd.printString("You must", 15,0); lcd.printString("familiarise", 8,1); lcd.printString("yourself", 15,2); lcd.printString("with the", 15,3); lcd.printString("fight moves", 8,4); lcd.refresh(); } void Menu::tutorial_screen4 (N5110 &lcd) { lcd.clear(); lcd.printString("Press A", 18,1); lcd.printString("to Kick!", 14,2); lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); _fighter.set_y(34); _fighter.set_x(34); _fighter.kick_right(lcd); lcd.refresh(); } void Menu::tutorial_screen5 (N5110 &lcd) { lcd.clear(); lcd.printString("Press B", 18,1); lcd.printString("to Punch!", 14,2); lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); _fighter.set_y(34); _fighter.set_x(34); _fighter.punch_right(lcd); lcd.refresh(); } void Menu::tutorial_screen6 (N5110 &lcd) { lcd.clear(); lcd.printString("Press C", 18,1); lcd.printString("to Guard!", 14,2); lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); _fighter.set_y(34); _fighter.set_x(34); _fighter.guard(lcd); lcd.refresh(); } void Menu::tutorial_screen7 (N5110 &lcd) { lcd.clear(); lcd.printString("Press D", 18,1); lcd.printString("to Jump/Fly!", 10,2); lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); _fighter.set_y(26); _fighter.set_x(34); _fighter.draw(lcd); lcd.refresh(); } void Menu::tutorial_screen8 (N5110 &lcd) { lcd.clear(); lcd.printString("Your fight", 8,1); lcd.printString("will be",12 ,2); lcd.printString("in Hyde Park", 8,3); lcd.printString("Get Ready...", 8,4); lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); lcd.refresh(); } void Menu::tutorial_screen9 (N5110 &lcd) { lcd.clear(); lcd.printString("FIGHT!", 25,2); lcd.drawRect(0,0,84,48,FILL_TRANSPARENT); lcd.refresh(); } void Menu::draw_uni_logo(N5110 &lcd) { lcd.clear(); const int uni_logo[48][84] = { {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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