minor stuff all should be good .w.

This commit is contained in:
Djalim Simaila 2022-01-10 17:21:24 +01:00
parent 3553f59640
commit fbaab4a9d8
3 changed files with 9 additions and 6 deletions

View File

@ -68,7 +68,7 @@ players:
startXPosition: 600
fireCooldown: 10
speed: 10
lives: 100
lives: 3
user1:
color: red
keys:
@ -78,9 +78,9 @@ players:
user2:
color: blue
keys:
left: 4
right: 6
shoot: 5
left: k
right: m
shoot:
#############################

View File

@ -25,7 +25,7 @@
// Syntax : DEBUG(cout << "hey" << endl)
// The debug flag defintion has been set here, but normally we would add it to the MakeFile
#define DEBUG_FLAG
//#define DEBUG_FLAG
#ifdef DEBUG_FLAG
#define DEBUG_MSG(X) cerr << "DEBUG: " << X << endl;

View File

@ -29,7 +29,10 @@ void PixelManager::displayMenu(const Position& pos, Menu& currentMenu){
startFrame();
drawSprite(menuBackground);
drawSprite(logo,Position(100,50));
drawText(Position(1150, 700), "version 1.0.0");
drawText(Position(10, 692), "tips:",nsGraphics::KWhite,Font::BITMAP_8_BY_13);
drawText(Position(10, 702), "use 'z','s','q','d' and 'enter' to navigate the menus",nsGraphics::KWhite,Font::BITMAP_8_BY_13);
drawText(Position(10, 712), "see the configuration file for player specific key bindings",nsGraphics::KWhite,Font::BITMAP_8_BY_13);
drawText(Position(1150, 712), "version 1.0.0");
unsigned margin = 0;
unsigned cpt = 0;
for(string& value : currentMenu.entries ){