Pixel Paws is an engaging platformer game built using Little.js where players control various adorable animal characters, each with unique abilities. The game features dynamic levels, exciting power-ups, and fast-paced action.
Pixel Paws is a well-organized game project with separate sections for assets, characters, levels, and core game mechanics. Here's a simplified overview of the project structure:
.
βββ LICENSE # License file for the project
βββ assets/ # All photo related game assets
β βββ backgrounds/ # Background images for different levels
β βββ pixel-paw.png # Main image for Pixel Paws
β βββ powerups/ # Images for various power-ups (health, speed, etc.)
β βββ startscreen.png # Image for the game's start screen
βββ characters/ # JavaScript files defining character behaviors
β βββ Bear.js # Logic for the Bear character
β βββ basePlayer.js # Base class for all player characters
βββ game/ # Game mechanics and logic
β βββ gameUI.js # Handles the game UI (score, health, etc.)
β βββ levelManager.js # Manages the game levels and transitions
βββ levels/ # Level data and enemy logic
β βββ level1.js # Data for level 1 (platforms, enemies, etc.)
β βββ enemy.js # Defines enemy types and their behavior
βββ sprites/ # Sprite images for characters and objects
β βββ bear/ # Sprites for the Bear character
β βββ coin.PNG # Coin sprite image
βββ src/ # Core engine files for rendering, input handling, etc.
β βββ engine.js # Core game engine logic
β βββ engineDraw.js # Handles rendering of objects and characters
βββ game.js # Main game logic and entry point
assets/
: Contains all game images and resources, including backgrounds, power-ups, and sprites.characters/
: Holds the logic for the different playable characters and their behaviors.game/
: Contains game mechanics like the user interface and level management.levels/
: Contains level data and logic, including the definition of enemies, platforms, and power-ups.sprites/
: Stores all sprite images for characters, objects, and effects.src/
: Holds the core engine files responsible for rendering, input handling, and more.
To run the game locally:
-
Clone this repository:
git clone https://github.com/omerdduran/PixelPaws.git cd PixelPaws
-
Open
index.html
in your browser, or use a local server, use the VS Code Extension named: LiveServer for easier deployments -
Visit
http://localhost:5500
to play the game.
Pixel Paws is created by:
- Γmer Duran
- Furkan Γnsalan
Special thanks to GitHub repositories for their contribution to the open-source community.
You can find our personal GitHub profiles below:
- Arrow Keys: Move Left/Right
- W: Jump
- Space Bar: Attack/Interact
- Q: Special Ability
- Esc: Pause/Return to Menu
- Health Pack: Restores health.
- Invincibility: Makes you invulnerable for a short time.
- Jump Boost: Increases your jump height.
- Speed Boost: Increases your movement speed.
- Bear: Strong but slow.
- Bunny: Fast and has double jump ability.
- Cat: Can climb walls.
- Dog: Bark at your enemies to stun them!
- Parrot: Aerial friend that flies to anywhere.
- Turtle: Defensive, can block attacks by hiding in his shell.
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.
This project is licensed under the GNU License - see the LICENSE file for details.