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

New action playTweenOfEntity(FacingAngle) #515

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

Conversation

PineappleBrain
Copy link
Contributor

This action allow you to play tween of entity.
At the moment you can only play tween in effect tab of the entity which is not flexible.

Action Details: Play Tween of Entity

Play tweenId of entity facing angle(radians)
** some tweens do not use facing angle (e.g. swingCW and SwingCCW)
** without filling the angle, or set it to undefined, the script will be fine for them

Testing Material

game.txt

Preview

2023-08-02.17-04-47-1.mp4

When you press space

  • your unit has swingCCW tween
  • your holding item have poke tween (angle is facing angle of your unit + 3.1416)

@minotalen
Copy link
Contributor

@m0dE @sloont What do you think about adding a new network event?

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.

None yet

2 participants