r/reactnative • u/s3079 • Oct 22 '26
Booster pack opening in React Native: swipe to tear, tilt to reveal
Swipe to tear the foil, drag to tilt the stack, then tap or flick through five cards. Rare pulls get a foil sweep and sparkles.
I also rebuilt it in Swift and Kotlin. For your app, would you use the React Native version or prefer native?
32
Upvotes
4
u/bkdev98 Oct 22 '26
For a moment like this I'd keep the RN version, as long as the tear tracks the finger on the UI thread it's hard to tell apart from native. Does the tilt follow the drag only, or the gyroscope too?
3
u/ConsciousAntelope Oct 22 '26 edited Oct 23 '26
Nice one. Give me the tech behind this
3
u/LittleBulletWhoCould Oct 22 '26
Wow. Link please
3
u/alexfoxy Oct 23 '26
Very nice, can you tilt your phone to make the shiney shine?
2
u/Embarrassed_Land_161 25d ago
Link? I build a similar effect with threejs
3
u/LovesWorkin Oct 22 '26
Sick!