Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.39 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.39 KB

PlatForm Game 2.0

🎮 My first video game was developed in Python using the Pyxel package. In this game, a character must navigate through a level, avoiding enemies and obstacles. Although the game has several errors, it served as a valuable learning experience for Python and provided an introduction to game development.


🚀 How to Run the Game

To run the game developed using Pyxel, follow these steps:

📋 Prerequisites

  1. Install Python: Make sure Python (version 3.6 or higher) is installed on your system.
  2. Install Pyxel: Install the Pyxel package via pip if you haven't already. Open your terminal or command prompt and run:
    pip install pyxel
    

⚙️ Setup

  1. Download the Source Code: Clone or download the repository containing the game's source code from GitHub.
  2. Navigate to the Project Directory: Open your terminal or command prompt and change to the directory where the source code is located.

▶️ Running the Game

  1. Run the Main Script: Execute the main script to start the game. Assuming the main script is named mario.py, run: python mario.py
  2. Using the Pyxel Environment: If the game requires Pyxel’s built-in environment, ensure all dependencies and assets are correctly set up. The game window should open, and you can start playing.

Notes

  • The game is a basic implementation and may contain bugs or unfinished features.