-
Notifications
You must be signed in to change notification settings - Fork 7
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
Addition of the Ghost balloon #340
Conversation
src/balloons/fast.ts
Outdated
@@ -12,7 +12,7 @@ export default class Fast extends Default { | |||
return { | |||
...super.options, | |||
imageUrl: 'balloon.svg', | |||
riseDuration: [5000, 7500], | |||
riseDuration: [2000, 4000], |
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 way to fast. Has this even been tested? It is not realistic for a user to be able to pop this. Keep the values at [4000, 6500]
.
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.
sorry
resources/balloons/ghost/balloon.svg
Outdated
0% { opacity: 0.1; } | ||
50% { opacity: 0.7; } | ||
100% { opacity: 0.1; } |
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.
Set minimum opacity to 0.2
.
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.
Done boss!
resources/balloons/ghost/balloon.svg
Outdated
|
||
svg { | ||
animation: fade 4s infinite; | ||
}QA |
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.
QA
?
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.
Was probably on accident
src/balloons/ghost.ts
Outdated
swingDuration: [3, 4], | ||
}; |
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.
Make the swing offset larger for the gost balloon. Could be more fitting.
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.
offset is now 25
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.
Good work on the ghost balloon.
Don't forget to add it to the docs.
resources/balloons/ghost/balloon.svg
Outdated
100% { opacity: 0.1; } | ||
} | ||
|
||
svg { |
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.
Use a more specific selector.
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.
no
- more comments on ghost balloon.svg - option changes to ghost.ts
Co-authored-by: SimonStnn simon.stijnen.23@gmail.com
src/balloons/ghost.ts
Outdated
imageUrl: 'balloon.svg', | ||
riseDuration: [15000, 20000], | ||
swingDuration: [3, 4], | ||
swingOffset: 25, |
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.
Make the swingOffset bigger.
swingOffset: 25, | |
swingOffset: 25, |
src/balloons/ghost.ts
Outdated
return { | ||
...super.options, | ||
imageUrl: 'balloon.svg', | ||
riseDuration: [15000, 20000], |
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.
The rise duration can be a bit longer
riseDuration: [15000, 20000], | |
riseDuration: [18000, 21000], |
- riseDuration changed to [20000,40000]
No description provided.