Having low FPS with sprite animation #2435
Unanswered
imVinayPandya
asked this question in
Q&A
Replies: 1 comment
-
You might want to take inspiration from our useVideo hook where we control the playback speed with Reanimated: https://github.com/Shopify/react-native-skia/blob/main/package/src/external/reanimated/useVideo.ts |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hello there
I am learning React native Skia and Renimated. Other day I was watching html canvas tutorial on youtube and decided to implement that in react-native using Skia. This is how it looks.
RPReplay_Final1716198200.MP4
Question: I am having low FPS, not sure what am I doing wrong here?
Here is my Sprite file: https://imgbb.com/QrB1Kyt
Node version:
v20.12.0
Package.json:
Here is how my code looks
index.tsx
Beta Was this translation helpful? Give feedback.
All reactions