useTransition, how to set it up properly #1391
Unanswered
jimmytheguitarman
asked this question in
Support
Replies: 1 comment 5 replies
-
Not ideal, but here's an example of how to use We're currently working on adding loads of examples to the repo. Hopefully, after that, I'll have a chance to update the docs. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, i'm new to react-spring. I'm trying to follow a course on Udemy, and in this course the react-spring library is used. Recently this library has been updated (as you all propably now) but i find it pretty hard to figure out how it should be used.
Since the course is a simple multiplayer shooting game, i would like to know how to make a little animation each time a target has been hit.
For the moment, when a target is hit, all targets disappear for a moment, move to the top of the screen for some reason, and then reappear from the top of the screen minus the target that has been hit. Which is not the way it is meant to happen.
The targets should only implode where they are using a scale transform.
Here is the link to the github repo: https://github.com/jimmytheguitarman/shooter
I would be very gratefull if someone could have a look at it.
Beta Was this translation helpful? Give feedback.
All reactions