r/reactnative • • 7h ago

Question Making a 3D game with React Native

I've been writing React Native for many years, and for the last year or two I've been really into making games. I made a few with expo-gl and Skia, and they turned out pretty well. Of course I wrote my own tools to measure FPS on each screen and kept optimizing those parts. My first versions crashed a lot. Now my games are pretty stable.

That gave me the courage to try a 3D game, so I combined Three.js with React Native. I'll be honest: after the first attempts I lost my motivation. I told myself "3D just doesn't work with React" and put the project on hold. Then the excitement came back and I started again. I worked really hard on optimization and finally got to a point I'm happy with.

I also tested it on cheap Android phones and the results were good, but I didn't want to take any risks for the launch, so for now it's only out on iPhone.

Have any of you tried making a 3D game with React Native? What problems did you run into, and how did you solve them?

My game:
https://apps.apple.com/app/id6830497300

5 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/EmreZen 6h ago

I'll definitely give Rive a try. Thanks for the recommendation! 😊

2

u/Jonovono 3h ago

I've been seeing people use it on twitter, so I tried it out. Might not be appropriate for all use cases (it's not like a bevy replacement maybe?): This is one I saw: https://x.com/MattJedrzejewsk/status/2110388960644288569

1

u/EmreZen 3h ago

Awesome 😍