Skip to content

cccccz/Zelda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zelda in Python

Overview

A Zelda like pixel game written in python using Pygame library

Demonstration

Alt Text Demo Video

Features

  1. 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!
  2. Enemy Chasing

    • The enemy will be chasing the player within a certain range and then attack.
  3. Upgrade System

    • Press M you can open the stats menu. Properties of player(Attack, Magic, Speed, etc.) can be upgraded there.

Installation

To run this game, you'll need to have Pygame installed. You can install it using pip by following these steps:

  1. Make sure you have Python installed on your system. You can download it from the official Python website: python.org.

  2. Open a terminal or command prompt:

    pip install pygame
    

Usage

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

Credits

see https://www.youtube.com/watch?v=QU1pPzEGrqw&ab_channel=ClearCode

License

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.

About

Zelda in python using Pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%