Skip to content

Pixel Adventure is a retro-style 2D platformer game where players navigate through challenging levels filled with obstacles, enemies, and boss fights. This game combines engaging gameplay mechanics, pixel art aesthetics, and modern coding practices to deliver an exciting gaming experience.

License

Notifications You must be signed in to change notification settings

PuneethKrishnaS/2D-Platform-Game-Pixel-Adventure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel Adventure: A 2D Platformer Game

About the Project

Pixel Adventure is a retro-style 2D platformer game where players navigate through challenging levels filled with obstacles, enemies, and boss fights. This game combines engaging gameplay mechanics, pixel art aesthetics, and modern coding practices to deliver an exciting gaming experience.


Features

  • Dynamic Levels: Forest and cave-themed levels, each with unique challenges and boss fights.
  • Player Abilities: Smooth mechanics for running, jumping, attacking, and idling.
  • AI-Driven Enemies: Enemies react dynamically to the player's proximity.
  • Health System: Includes health pickups, lifelines, and temporary invincibility.
  • Pixel Art Aesthetic: Retro-style visuals with engaging sound effects.

Getting Started

Prerequisites

Make sure you have the following installed:

  1. Node.js (for running JavaScript applications).
  2. Visual Studio Code (VS Code): Recommended code editor.
  3. Live Server Extension: For running the game locally.

Installation Instructions

Follow these steps to clone and run the project locally:

  1. Clone the Repository:

    git clone https://github.com/Puneethkrishna-2003/Pixel-Adventure.git
    cd Pixel-Adventure
  2. Open the Project in VS Code:

    code .
  3. Run Using Live Server:

    • Install the "Live Server" extension in VS Code if you haven’t already.
    • Open index.html in the editor.
    • Right-click the file and select "Open with Live Server".
  4. Start Playing:

    • The game will launch in your default web browser.
    • Use the arrow keys (or configured controls) to navigate and play.

File Structure

  • index.html: The main entry point for the game.
  • style.css: Contains styling for the game.
  • js/: JavaScript files for game mechanics.
    • player.js: Handles player controls and mechanics.
    • enemy.js: Manages enemy behavior and AI.
    • collision.js: Implements collision detection logic.
    • game.js: Main game loop and overall logic.
  • assets/: Contains images, sprites, and audio used in the game.
  • levels/: JSON files with level data.
  • AS ON.....: Many more.

How to Contribute

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/YourFeatureName
  3. Make your changes and commit them:
    git commit -m "Add some feature"
  4. Push to your branch:
    git push origin feature/YourFeatureName
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details. MIT License


Contact

Feel free to reach out for questions, suggestions, or collaboration!


About

Pixel Adventure is a retro-style 2D platformer game where players navigate through challenging levels filled with obstacles, enemies, and boss fights. This game combines engaging gameplay mechanics, pixel art aesthetics, and modern coding practices to deliver an exciting gaming experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published