A Zelda like pixel game written in python using Pygame library
-
2 independent Attack Systems
- You can use your weapon or magic to attack the enemies/ heal yourself.
- Attacking using weapon does not cost energy but casting a magic does!
-
Enemy Chasing
- The enemy will be chasing the player within a certain range and then attack.
-
Upgrade System
- Press M you can open the stats menu. Properties of player(Attack, Magic, Speed, etc.) can be upgraded there.
To run this game, you'll need to have Pygame installed. You can install it using pip
by following these steps:
-
Make sure you have Python installed on your system. You can download it from the official Python website: python.org.
-
Open a terminal or command prompt:
pip install pygame
set code as working directory and run main.py
Arrow keys to move around space to attack LCTRL to use magic M to pause the game and open the stats menu In stats menu, left, right arrow keyto select the attribute you want to upgrade and press space to upgrade(with sufficient exp) In stats menu, press M again to quit menu Q switching weapons E switching magic
see https://www.youtube.com/watch?v=QU1pPzEGrqw&ab_channel=ClearCode
This project is published under the Creative Commons Zero (CC0) license.
You can use the code for any project you like, including commercial ones. Attributions would be appreciated but are not required.
The art assets and the soundtrack have been done by Pixel-boy and AAA and can be found here: https://pixel-boy.itch.io/ninja-adventure-asset-pack They are also published under a CC0 license.