Skip to content

rbctz/pigs-and-kings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel 2D Platformer Game

A simple pixel-art 2D platformer built using Java. Navigate through levels, avoid obstacles, defeat enemies, and reach the goal!

Table of Contents

Features

  • Pixel Art Style: Retro-styled 2D graphics
  • Enemy AI: Basic enemy behavior with chase and attack mechanics
  • Multiple Levels: Progress through different chambers
  • Collectibles: Score-boosting items scattered across levels (Work in progress)
  • Sound Effects: Retro sound effects for an immersive experience (Work in progress)

Installation

  1. Clone the repository:
    git clone https://github.com/rbctz/Platformer.git
  2. Navigate to the project directory:
    cd Platformer
  3. Compile and run the game:
    javac -d bin src/*.java
    java -cp bin Main

Controls

  • A: Move left
  • D: Move right
  • Space: Jump
  • Shift: Sprint
  • K: Attack
  • E: Interact
  • ESCAPE: Pause

Assets

All visual and sound assets used in the game are sourced from [Pixel Frog] on itch.io.(https://pixelfrog-assets.itch.io/). Inspired by Youtuber Kaarin Gaming

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature-name)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to the branch (git push origin feature-name)
  5. Open a pull request

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages