Giter Club home page Giter Club logo

pac-man_level-editor's Introduction

Pacman Game and Level Editor

Alt text

Overview

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.

Features

Pacman Game

  • 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.

Level Editor

  • 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.

How to Use

  1. 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.

  2. 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.

  3. Pyxel: install the pyxel library on your python to start my files.

Rules

  • 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.

Credits

  • Developer: Poulouc
  • Contributor: Eraldor

pac-man_level-editor's People

Contributors

poulouc avatar

Stargazers

Eraldor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.