r/reactnative • u/zlvskyxp • 23d ago
I’ve optimized my game to run in stable 120Hz
At first, this might not seem like a big achievement, but when I started developing this project two years ago, I had zero experience with React Native
Over time, I’ve added tons of features and systems. With constantly updating data stores, large amounts of data, timers, polling, and loads of assets, performance gradually became a real issue
All those things combined caused quite a few performance problems, especially as the project kept growing
I’ve spent countless hours figuring things out, fixing unnecessary re-renders, and optimizing different parts of the app
And I’ve finally reached a point where I’m genuinely happy with how it performs
So, here it is!
4
u/crossy1686 23d ago
So what is the performance impact of this? How does the battery hold up now?
1
u/NiteKore080 23d ago
exciting! congrats!
1
u/Alex_Apps_x 23d ago
Great job!
2
u/SourdoughBaker 23d ago
Interesting. I've played your beta for awhile now. How do you make your sprites for your game? I never knew it was made in React Native.
1
u/RealVibingDev 23d ago
two years from zero RN to a stable 120 is a real glow up, congrats. curious if you drop the frame rate when nothing is moving? thats usually where the battery goes with polling + timers running
1
u/dcaspit 22d ago
How do you create your assets? They look amazing
1
u/kesha-antonov 21d ago
Good job
Is it performant on android?
1
u/LovesWorkin 18d ago
What's the app? I'll test it.