A complete practical guide for using MinilibX (MLX) in Python projects at 42 School.
๐ Project Website:
https://sarafreitas-dev.github.io/MLX-Helpfull-Documentation/
This project was created to help students understand and use the MiniLibX library with Python.
Unlike the C version of MLX, the Python adaptation has very little documentation available online, making it difficult to learn, debug, and structure graphical projects properly.
This repository gathers notes, examples, experiments, and practical explanations created while developing the A-Maze-ing project at 42 School.
The goal is to make future MLX Python projects easier to build and understand.
- MLX window creation
- Event hooks
- Keyboard handling
- Image rendering
- Asset management
- XPM texture usage
- Basic game loop logic
- Menu systems
- Animation experiments
- Helpful project structure ideas
- Common errors and fixes
- Tips for using MLX with Python at 42
For more complete project documentation and additional MLX usage examples, you can also check the docs/ folder from the A-Maze-ing project repository:
https://github.com/SaraFreitas-dev/A-Maze-ing
๐ฆ Sara Freitas
๐ฎ Bruno Ramalho
Created during the development of the A-Maze-ing project at 42 Porto.
This documentation is not official MLX documentation.
It is a practical and beginner-friendly guide made from real project experience, focused mainly on:
- learning by testing
- solving common MLX problems
- helping other 42 students
- keeping useful examples for future projects
https://sarafreitas-dev.github.io/MLX-Helpfull-Documentation/