Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steuerung #10

Open
m-mm-12 opened this issue Apr 21, 2023 · 3 comments
Open

Steuerung #10

m-mm-12 opened this issue Apr 21, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@m-mm-12
Copy link
Collaborator

m-mm-12 commented Apr 21, 2023

No description provided.

@m-mm-12 m-mm-12 converted this from a draft issue Apr 21, 2023
@m-mm-12 m-mm-12 added the enhancement New feature or request label Apr 21, 2023
@m-mm-12
Copy link
Collaborator Author

m-mm-12 commented Apr 24, 2023

-EINE Taste (um in Orbit einzutreten + Ball schießen)
(-zweite Taste für Powerups)
-Möglichkeit um Spiel zu stoppen (Esc)

@DasBabyPixel
Copy link
Owner

Möglichkeit um Spiel zu stoppen auch in die Mitte des Spielfeldes tippen für android aber auch für pc

@Nibelcole
Copy link
Collaborator

zur Festlegung, ob der Ball sich links oder rechts vom Orbitmittelpunkt befindet:

Variablen:
b: Ball
xp/yp: X-/Y-Position des Balls
xv/yv: X-/Y-Wert des Ballvektors
x/y: X-/Y-Position des Orbitmittelpunkts

Wenn (b.xp - (b.xp+b.xv))(y - (b.yp+b.yv)) > (b.yp - (b.yp+b.yv))(x - (b.xp+b.xv)) zutrifft, ist der Mittelpunkt des Orbits links vom Mittelpunkt, ansonsten rechts (Ausnahme: Wenn sie gleich sind, liegen sie aber auf der gleichen Linie)

@Nibelcole Nibelcole moved this from 🔖 Todo to ✅ Done in Orbits Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants