Translated using Google Translate:
About allegro 5, well I was looking at it but I couldn't make it work. Since I don't have much knowledge of programming and about these issues, I have no idea. The problem is even worse because I know almost no English.
What error messages did you get?
Using Allegro 5 directly from Lazarus will not be easy. It will be easier if you use
Allegro.pas:
http://allegro-pas.sourceforge.net/You can download and try the demos created using Lazarus/Delphi + Allegro.pas:
https://sourceforge.net/p/allegro-pas/code/HEAD/tree/TRUNK/src/demos/Translated using Google Translate:
Well, the reality is that what I want is to learn to program simple video games and I don't know if Lazarus will serve this purpose.
Learning game programming is not easy. What kind of the games you are interested to build? Platform, side-scrolling shooting, puzzle, RPG?
Yes, Lazarus can be used for developing computer games. But because Lazarus is general-purpose programming tool, you have to learn a lot of things before you can build good games.
If you are not good in programming, you should try the tools that called game builders, they let you focus on the game development not programming.
GDevelop and
Construct Classic are good games builders and they're free:
https://gdevelop-app.com/https://www.scirra.com/construct-classicIf you still want to learn game programming using Lazarus, I recommend you to study the demos in this link:
https://wiki.freepascal.org/Portal:HowTo_DemosClick the link above then go to the "
Graphics" category. There you can find:
single player Pong game,
simple animation,
bullet and asteroid collision detection,
move a shape with a mouse. Those are the very basic for game programming.
Translated using Google Translate:
If you know any engine to make games with lazarus and that is easy to use, I would like to know.
No, there is no such thing as far as I know. Don't use Lazarus if you want to build games easily.