Giter Site home page Giter Site logo

nebulean / electro-pong Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 3.38 MB

Student revisited version of the classical Pong game with a touch of electrodynamics.

Home Page: https://nebulean.itch.io/electro-pong

License: MIT License

Processing 6.91% GDScript 88.18% MATLAB 4.91%
game godot student-project

electro-pong's People

Contributors

florian-rieder avatar mojert avatar nebulean avatar pialex99 avatar yanis-epfl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

electro-pong's Issues

Fix the fullscreen problem

When the game is changed to fullscreen, everything is disturbed, especially with the html5 export. If somebody knows how to handle this, have fun with it!

Playtesting for better values

We should find better values for the fields and the speed of the ball. For instance, the electric field is too brief and too powerful.

Implementation of the new electric field sprite

Regarding branch pixel-art
It's not the best animation, but it will do the job unless anyone as a truly great idea.

However, I need someone to implement the animation in the code. The animation was already imported as a texture, but isn't implemented yet.

Responsive Ring

The ring need to rotate with respect to the players' position.

The powerups disappear in the introduction

Issue regarding the introduction branch.

I don't know why, but when all the powerups are called (POWERUPS_APPEAR), they will all progressively disappear.

I tried to find where this could come from, but I can't find anything.

Maybe you have an idea ?

Refactoring Arena

It's my bad since I gave "Arena" a terrible name... I intended it to be the play field but not the root node of the scene. The reason is it needs to turn indepedently of the ball and the players in order to reflect the changing player camps. What needs to be done:

  • Changing the name "Arena" to something more sensible. ("Border" maybe)
  • Making a new "gameplay" scene, which will consist of the "Arena", Ball, Player and UI.
  • Moving all the necessary nodes from Arena to the new scene, and modifying the code accordingly.

Scoring system

A scoring system needs to be implemented. Moreover, the game should go back to the main menu at the end of the game

Make a trail behind the ball

The ball should leave a trail behind. This will allow the players to better visualize the trajectory of the ball.

Make the code open source friendly

We have to fix some stuff in the code to make it more OS friendly

  • Added argument and return types to all functions in the code
  • Comment all the non-obvious function
  • Update the readme
  • Cleanup the github

Change fields sprites

The fields sprites should change like this:

  • When the magnetic field is active, the background should change. No sprites per se are needed for this, but the background should at least change color.
  • The electric field sprite should have an arrow oriented away from the pad.

Faire une option pour désactiver les commandes du joueur

Pour l'introduction, j'ai besoin d'instancier une barre, mais je ne veux pas qu'il soit contrôlable par le joueur. Du coup, est-ce que y'a moyen d'ajouter cet option aux contrôles de la barre, merci!

Une simple variable true-false exportée devrait faire le taff.

(Pour Yanis peut-être ?)

Implement the explosion of the ball in the code

**Regarding branch pixel-art #30 **

I made the animation for the explosion of the ball, but I don't know how to implement it in the code.
So if anyone can do this, it would be great, thanks!. :)

What I want, is that the ball explodes when a point is gained (instead of just disappearing). I already added the animation to the ball, they are called negative/positive_explosion.

Have fun

Gameplay problem

I tried a bit the current gameplay, and I see some major problem: everything is going too fast. I think we need some of these adjustements:

  • Reducing the size and the initial velocity of the ball. (Right now, to ball crosses the ring in a second right from the start, which is much to fast)
  • Increase the speed of the pads. (The ball is so fast that any minor mistake is a major problem)
  • Increase the mass of the ball (When colliding the ball and the pad while both move, the ball will be given an important boost. The speed is too strong, and we need to reduce the impact. Increasing the mass of the ball will increase inertie I suppose and will solve the problem I hope.

The ball flashes just after the explosion

Regarding branch pixel-art
I tried to fix this by hiding the ball at the end of the animation, which works, but we need to show it again after being teleported to the center. So I don't know where to fix the 2nd part.

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.