vitor-n / trabalho-lp-a2

A bullet hell about mathematics. Made using pygame for the second evaluation of the Programing Language course. The game modules and sprites were developed from scratch by us (except for the text module, that one was inspired by DaFluffly Potato text tutorial). Read the readme and docs for more info.

Home Page:https://vito0182.github.io/trabalho-lp-a2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guerreiros Integrais

A screenshot showing the game title

Made by Anne Cardoso, Larissa Lemos, Pedro Tokar and Vitor do Nascimento.

Introduction

This game is our work for the second evaluation in the Programming Languages subject, lectioned at the second semester of the courses Data Science and Applied Mathematics in FGV - EMAp.

During the second part of the PL course, we learnt about Object Oriented Programing concepts, in parallel with applying them to Python programs. This work aims to show the concepts we learnt so far (like encapsulation and inheritance) applied in a game, developed entirely by us.

About the game

In this game, you control a brave warrior that should fight against evil integrals in a notebook. This fight never ends, like the pain in solving hard triple integrals in calculus II classes. The game objective is to defeat the maximum amount of integrals you can, lasting as long as possible without dying. You can move the player with the WASD keys, shoot with the right mouse button and change guns using the mouse scroll, you can also dash when pressing spacebar button.

A screenshot showing the game.

The game genre chosen by the group was a top-down shooter, decided after voting. This game uses concepts like maps, a player, enemy, weapons, guns, etc., and all of these are represented as classes in the code. There is also a game loop, responsible for accounting the endless events that can occur each frame, like a gun being shot and a player taking damage.

Running

In order to run the game, you need to have Python installed (version 3.9 or higher) in your system. How to install python differs greatly from operational system to operational system. Once you have installed python, you also need the pygame library. The library abstracts a lot of things involving creating windows and drawing in them.

To install it, you can run on your terminal, from the project root:

$ pip install - r requirements.txt

After that, you have all the necessary things to run the game. So, to do it, run:

$ python main.py

Documentation

You can see the documentation at Guerreiros Integrais.

Sources

All the sprites were created by us.

The sounds effects were generated using the website JSFXR

The music was taken from Iron Main - Black Sabbath free MIDI and converted to wav using GXSCC and audacity

About

A bullet hell about mathematics. Made using pygame for the second evaluation of the Programing Language course. The game modules and sprites were developed from scratch by us (except for the text module, that one was inspired by DaFluffly Potato text tutorial). Read the readme and docs for more info.

https://vito0182.github.io/trabalho-lp-a2/


Languages

Language:Python 100.0%