Code Monkey home page Code Monkey logo

nombrependientedeaprobacion's Introduction

NombrePendienteDeAprobacion

GUL project. Developed by Patataman and SeindElBardo.

This repository contains a 2D fighting game for 2 players.

Developed in Python using Pygame library. Executable created with Pyinstaller.

It has three screens:

  • Start
  • Character selection
  • Fight

Controls

Controls for each player

  • Character selection: -- "Space bar" for player 1 -- "Enter" for player 2
  • Move Left: -- "A" for player 1 -- "Left Arrow" for player 2
  • Move Right: -- "D" for player 1 -- "Right Arrow" for player 2
  • Move Down: -- "S" for player 1. -- "Down Arrow" for player 2.
  • Jump: -- "W" for player 1. -- "Up Arrow" for player 2.

Game code is organized in this folders:

  • Root
  • Assets
  • Classes

Root

File main.py. Executes the game.

Assets

Contains files such as images, sounds, sprites sheets...

Sprites (WIP)

Sprites are divided in two pieces, one for each orientation possible (right and left). Due to create sprites is a expensive job, each action is only composed by 4 frames.

Characters (WIP)

To create a new character, it needs a sprite sheet, name and avatar.

Classes

Contains all .py that form the game.

  • Functions.py: Contains generic functions such as load images or create text.
  • personajes.json: Contains character list included in the game. .json has: Character name, path to character avatar and path to sprite sheet.
  • Director.py: Along Scene.py allows change scenes.
  • Scene.py: Contains all the different scenes that form the game (Start, Character selection and Fight).
  • Player.py: Contains all character representation, attributes and methods.

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.