Skip to content

Conversation

@maddie480
Copy link
Member

Just a puffer fish, except it doesn't wave around. Requested for a heart side.

The IL hook resets the sine wave just after it is randomized, because its value is used right after in the constructor. This way, the static position of the puffer is the one chosen in Ahorn. Then, the StaticPuffer constructor removes the SineWave component from the entity, so the wave stays at 0 all the time and the puffer doesn't move.

@0x0ade 0x0ade requested a review from Cruor May 22, 2020 16:24
Copy link
Contributor

@Cruor Cruor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@maddie480 maddie480 merged commit c14d860 into master May 24, 2020
@maddie480 maddie480 deleted the static_puffer branch May 24, 2020 12:47
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.

4 participants