Pirates Adventure is a 2D platformer built in Java (Java 2D API) with a retro pixel art style.
The game supports 1 or 2 players, featuring two main characters: Luffy and Zoro (redesigned in unique pixel art).
It includes 5 levels with increasing difficulty, enemy NPCs, and interactive objects.
Players can run, jump, attack, and overcome obstacles to defeat enemies and complete each stage.
- ๐ฅ Single or Co-op Mode: Play solo or with a friend on the same screen.
- ๐จ Pixel Art Characters: Hand-drawn pixel versions of Luffy and Zoro, inspired by One Piece but designed with a retro aesthetic.
- ๐๏ธ Five Unique Levels: From tropical islands to ruined cities and dense jungles, each stage offers a new challenge.
- โ๏ธ Classic Mechanics with Custom Additions: Retains platforming basics (jumping, collisions, simple enemy AI) while adding pirate-themed elements.
- ๐ Graphics & Sound: Immersive backgrounds and audio (footsteps, combat sounds, action music) stored in the
res/folder.
-
Player 1:
A= Move LeftD= Move RightW= Jump
-
Player 2:
โ= Move Leftโ= Move Rightโ= Jump
-
General:
Esc= Pause/ExitP= Pause
- ๐ฏ Objective: Complete each stage by jumping across platforms, avoiding traps, and defeating enemies.
- ๐ Movement:
- Player 1:
A(left),D(right),W(jump) - Player 2:
โ(left),โ(right),โ(jump)
- Player 1:
- โ๏ธ Combat: Use the attack key (configured in-game) to fight enemies.
- โค๏ธ Lives: Each player has limited health/lives โ losing them all ends the game.
- ๐ Winning: Clear all 5 levels to complete the adventure and claim victory.
- โธ๏ธ Pause/Exit: Press
Pto pause andEscto pause or exit the game.
- Install Java: Ensure you have JDK 11+ installed and
JAVA_HOMEset up. - Get the Source Code: Clone or download this repository.
git clone https://github.com/Alan29204/Pirates-Adventure.git
- ๐ฎ Platformer Tutorial โ KaarinGaming
- ๐จ Pixel Frog โ Free pixel art game assets
- ๐ Java Object-Oriented Programming Series โ Caleb Curry


