First off, please use consistent indentation - don't have code on the same line after an opening brace, line up code blocks, and indent every time you enter a new block. It makes it so much more pleasant to read (and help fix your problems).
First question: Are these the good dll's I should be using if I want to distribute my game to other PCs ?
If you're linking to the libraries that came with them, then yes those are the dll's you want to distribute with your program.
Second question: I see A5 brings a console window with it every time I run the project, in debug and even in release. How can I remove the window in release only ?
There should be a setting in MSVC that allows you to change whether the program is compiled as a console program or a graphical program. Look for subsystem::windowed or something like that in your settings.
this is my A4 menu:
how would this work in A5 ? I read about the events stuff but I can't seem to grasp the concept for single key presses like menu navigation.
If you want to know whether a key is up or down, there are two ways to detect this in Allegro 5.
1) Use ALLEGRO_EVENT_KEY_DOWN and ALLEGRO_EVENT_KEY_UP to track when the keys are pressed and released (and therefore, when they are up or down).
2) Use al_get_keyboard_state and al_key_down. The problem with these is that they will never contain the substates of the keys between checks to al_get_keyboard_state. If you use method 1, you will never have this problem.
Oww and how can I get input from the user? I now use:
This is to get the player's name and store in in a class... I really don't think it will work in A5...
Use al_wait_for_event and check the event type for equivalence to ALLEGRO_EVENT_KEY_CHAR. It will work in A5 just fine...
This is how my game loop works in A4:
so the question is... the same principle applies in A5 ? logic check then drawing stuff?
Yes, in A5 you process events until there aren't any, and for each tick of the timer you process your logic and set a redraw flag. Then when you're done with all the events, you check your redraw flag and draw if necessary.
That would be all , thanks in advance for your help
You'll probably want to look at several things from the manual :
You should also take a look at the tutorials for A5 on the wiki, and the Porting guide from A4 to A5 on the wiki.