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

Improve magic dome #6

Closed
2 tasks done
skaldarnar opened this issue Jul 22, 2016 · 3 comments
Closed
2 tasks done

Improve magic dome #6

skaldarnar opened this issue Jul 22, 2016 · 3 comments
Labels
Category: Gameplay Content Requests, Issues and Changes targeting gameplay mechanics and content

Comments

@skaldarnar
Copy link
Contributor

skaldarnar commented Jul 22, 2016

The magic dome implementation has some outstanding quirks:

  • The force field push throws the player slightly in the air. If outside the dome (or still on the border after the push) the vertical velocity will add, throwing the player higher and higher into the air. One way to check for this is to make sure that the impulse does not cause the player to be further away from the center than before.
  • Instead of pushing the player always back inside the dome it may be better to push away from the sphere (-> back inside if coming from inside, further away outside if trying to get in).

@rzats rzats added the Category: Gameplay Content Requests, Issues and Changes targeting gameplay mechanics and content label Oct 25, 2016
@krishnarb3
Copy link
Contributor

Does the first point mean that the player should not be able to double jump?

@Cervator
Copy link
Member

Cervator commented Jan 2, 2017

Heya @krishnarb3 - the multi-jump functionality is separate from this.

The problem is that if you somehow get outside the top, say on the very top of it, the impulse's built in upward motion pushes you further away from the center.

Probably instead of it being a set push away from the dome + up it should be away from the top + toward the dome's center. Or maybe a little up is OK but only if the direction doesn't result in further distance from the center, as @skaldarnar suggests.

@krishnarb3
Copy link
Contributor

Thank you.
Has this already been done in the feature-magic_dome branch?

skaldarnar pushed a commit that referenced this issue Mar 12, 2017
* Magic dome pushes player away from barrier (inside and outside)
* Fixed too much impulse at higher altitudes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Gameplay Content Requests, Issues and Changes targeting gameplay mechanics and content
Projects
None yet
Development

No branches or pull requests

4 participants