You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So farm I'm able to render the player in canvas and append the projectiles to the canvas. But when it comes to animation I'm completely stuck. Confused between using useState and useShared value.
I also tried to make the player move and it works fine by using makeMutable and onClick handler
Can someone guide me on the projectile part or tell me if it's possible with skia and reanimated
My final goal is to make it multiplayer similar to this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://youtu.be/eI9idPTT0c4?si=Lul-_tm7TKjE4Y4L
I'm following this as a reference
So farm I'm able to render the player in canvas and append the projectiles to the canvas. But when it comes to animation I'm completely stuck. Confused between using useState and useShared value.
I also tried to make the player move and it works fine by using makeMutable and onClick handler
Can someone guide me on the projectile part or tell me if it's possible with skia and reanimated
My final goal is to make it multiplayer similar to this:
https://youtu.be/HXquxWtE5vA?si=_34x6QsKOW_rHiC4
This will have further complexities like joysticks on mobile but I want to give it a shot if the single player version works
Beta Was this translation helpful? Give feedback.
All reactions