This repository contains code for a Pacman game and a level editor developed in Python using the Pyxel game engine. The Pacman game allows players to control Pacman as they navigate through a maze, eating pellets and avoiding ghosts. The level editor enables users to create custom Pacman levels with various elements such as walls, Pacman, ghosts, portals, and more.
- Classic Gameplay: Experience the classic Pacman gameplay with simple controls and challenging mazes.
- Pellets and Power-Ups: Eat pellets to score points and power-ups to temporarily gain the ability to eat ghosts.
- Multiple Levels: Progress through multiple levels with increasing difficulty and complexity.
- Help Page: Access a help page with instructions on how to use the pacman game effectively.
- User-Friendly Interface: Intuitive interface for designing Pacman levels with ease.
- Customization: Place different elements on the board, including walls, Pacman, ghosts, portals, and power-ups.
- Level Saving: Save designed levels for later use and testing.
- Mirror Functionality: Create mirrored versions of the board for added challenge and variety.
- Help Page: Access a help page with instructions on how to use the editor effectively.
-
Pacman Game: Run the
Pacman_v1_7.py
file to start playing the Pacman game. Use arrow keys to control Pacman and navigate through the maze. -
Level Editor: Execute the
Creative_v0_2.py
file to launch the level editor. Use the provided controls to design custom Pacman levels. Save the levels once they're complete for testing in the Pacman game. -
Pyxel: install the pyxel library on your python to start my files.
-
Pacman Game:
- Eat pellets to score points and avoid ghosts to stay alive.
- Power-ups enable Pacman to eat ghosts temporarily.
- Complete levels by clearing all pellets without losing lives.
-
Level Editor:
- Place elements on the board to create custom levels.
- Follow specific rules regarding the placement of Pacman, ghosts, portals, and other elements.
- Developer: Poulouc
- Contributor: Eraldor