-
Notifications
You must be signed in to change notification settings - Fork 3k
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
update DrawParticles #10407
update DrawParticles #10407
Conversation
build.x + Angles.trnsx(angle, len), | ||
build.y + Angles.trnsy(angle, len), | ||
particleSize * particleSizeInterp.apply(fin) * build.warmup() | ||
Fill.poly( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change. A 12-point polygon is significantly more rendering overhead than a circle sprite and will have visual differences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hide it behind a Boolean so that Circle is the default?
build.y + Angles.trnsy(angle, len), | ||
particleSize * particleSizeInterp.apply(fin) * build.warmup() | ||
); | ||
if (poly) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code style is wrong, see CONTRIBUTING.md. You (or your editor) inserted spaces around {
and after if
, which is inconsistent style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was getting to that
If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:
Just adds the ability for x and y offsets for the particles and the ability to change the amount of sides.
The video below shows in-game usage. Would be nice for mods.
20250110-1244-57.3701292.mp4
20250110-1306-33.3335699.mp4