Giter Club home page Giter Club logo

pygame-zombie-shooter's Introduction

poster

Zombie Strike - A 2D Zombie Shooter Game made with Python and Pygame

Project Documentation

This project is a Python-based game with various modules and components. This project was a part of college assignment.

The project structure is as follows:

Modules

Animation

The Animation module, located in Animation/, contains the classes and functions necessary for handling animations in the game. The main classes in this module are:

  • Animation: Handles individual animations.
  • AnimationController: Manages multiple animations and transitions between them.
  • Frame: Represents a single frame in an animation.
  • SequenceAnimation: Handles sequences of animations.
  • TransitionRule: Defines the rules for transitioning between animations.

Character

The Character module, located in Character/, contains the classes and functions necessary for handling characters in the game. The main classes in this module are:

  • Player: Represents the player character. This class handles player actions such as walking, shooting, and melee attacks, as well as player states such as idle and die. It also checks for collisions with enemies and handles player perks.
  • Enemy: Represents enemy characters.
  • Group: Handles groups of characters.
  • EnemyManager: Manages multiple enemy characters.

UI

The UI module, located in UI/, contains the classes and functions necessary for handling the user interface in the game. The main classes in this module are:

  • Button: Represents a clickable button in the UI.
  • Hud: Handles the heads-up display (HUD) in the game.
  • UiElement: Represents a single element in the UI.

Scene

The Scene module, located in Scene/, contains the classes and functions necessary for handling scenes in the game. The main classes in this module are:

  • Level: Represents a level in the game.
  • MenuScene: Represents the menu scene in the game.
  • Scene: Represents a single scene in the game.

Video

The Video module, located in Video/, contains the classes and functions necessary for handling video playback in the game. The main class in this module is Video, which handles video playback, seeking, pausing, and drawing.

Other Files

  • camera.py: Contains the Camera class, which handles the game camera.
  • cursor.py: Contains the Cursor class, which handles the game cursor.
  • director.py: Contains the Director class, which handles the game director.
  • game.py: Contains the Game class, which handles the main game logic.
  • music.py: Contains the Player class, which handles music and sound effects in the game.
  • storage.py: Contains the JsonStorage class, which handles JSON storage for the game.
  • requirements.txt: Lists the Python packages required for the project.
  • save.json: Contains saved game data.

pygame-zombie-shooter's People

Contributors

abdallah-ragab avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.