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

Added "Pulsating Gravity" effect #3035

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Rylxnd
Copy link
Contributor

@Rylxnd Rylxnd commented Jun 1, 2022

Every 2 seconds (2000 ticks) the effect alternates between pulling objects towards the player, being idle (doing nothing) and pushing objects away from the player,.

The cycle goes

Pull → Idle → Push

Changes to existing effects

  • Gravity Field
    • Removed unused variables from effect.
    • Switched to a single iteration to get the entities.
  • Forcefield
    • Switched to a single iteration to get the entities.

Rylxnd added 4 commits June 1, 2022 12:56
Every 2 seconds the effect alternates between being idle (doing nothing), pushing objects away from the player, and pulling objects towards the player.

#### The cycle goes:
```
Pull
Idle
Push
```
##
- Removed unused variables from "Gravity Field" effect, and switched to a single iteration to get the entities.

- switched to a single iteration to get the entities. "Forcefield"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant