GithubHelp home page GithubHelp logo

s0lst1ce / pixelbrawl Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 209 KB

A prototype of a game using pygame

License: GNU Affero General Public License v3.0

Python 100.00%
2d-game 2d-graphics game indiegame linux open-source opensource platformer pygame python windows

pixelbrawl's Introduction

Hello there! I'm a student undetaking furhter education in science and I love anything related to astrophysics ๐Ÿช. Though when I'm not looking up some physics phenomenon I enjoy coding ๐Ÿ–ฅ๏ธ. This Github account is meant as a collection of my learning projects. With every project I try something new, be it the language, the tooling or the designs used! If you stumble upon something you like feel free to contribute or star it ๐ŸŒŸ.

Top Langs

pixelbrawl's People

Contributors

s0lst1ce avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pixelbrawl's Issues

Add a generic setting replacer function

It would be nice to have a generic function to change some setting variables instead of having to put the same line of code each time the file is accessed.

Player is wriggling

Player sprites are wriggling which is pretty straining for the eyes. This happens every time the player is standing onto a platform. The player seems to be getting in and out of non-crossable.

Can't scale game

There is no option to extend the window or scale the resolution.

Moving sprite can cross non-crossable

All moving sprites (players & bullets tested) can cross non-crossable. This only happens when the sprite moves fast of when the platform is thin.

Shooting Interval

Currently players shoot all "bullets per second" consecutively then stop until getting to the next second. Change counter to make shooting interval regularly spaced.

Add sound

Adding sound to the game would give it a nice additional dimension. This should be easily done with the pygame.mixer module. Also if anyone whishes to contribute to give sounds I'm open to proposals.

Transparency issues

Some pixels which are supposed to be transparent are either black, white or blue.

Can't get a function to get data from InputField with screen_loader()

There is no way to recover the data returned from an InputField created with screen_loader(). Adding a way to attach it to a function or another sprite would be nice. Especially to change settings which requires to modify the data in several ways and call some other functions from main.py.

Missing pygame events ?

Many times functions test if a certain variable of a sprite isn't None and if it's True, the function grabs the required data. Making pygame custom events would make the code cleaner and more performant. It would also solve "nested modules" issues.

Consice issue description

General layout

More in depth description of the issue. All issues must be related to the latest version
If it's a gameplay issue: add a paragraph describing how to reproduce the bug.
If it's a runtime issue please precise the platform you're running under. Meaningful information is:

  • OS
  • if you're running form source (if so also precise the python & pygame version used) or from compiled code

Please always at least add a GUI/GFX/gameplay and a bug/enhancement label or the issue will be discarded.
If your issue is a feature request or a request to change a behavior of the game please tag it with the enhancement label.

Information

Some precisions on issues types:

  • bug is an issue breaking playability and/or user experience. It can lead to a runtime error
  • runtime is any issue which makes the game crash or prevents it from lunching
  • gameplay is an issue related to gameplay such as movement, collisions... Everything that you think shouldn't happen this way
  • GFX anything which is related to sprite images issues. Not to mistake with GUI
  • GUI anything related to the GUI (Graphical User Interface)

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.