Re:Exponent – Build native apps in JS that work across both ...
by Kiro on Tuesday September 27, 2016 @04:52AM
(#12588205)
I'm interested in the game example. How is that built exactly? Is the game built in React Native (I presume not) or is React Native just used for UI elements? If so, what is the game built with?
[ Parent
| on HN ]
Re:Exponent – Build native apps in JS that work across both ...
by nikki93 on Tuesday September 27, 2016 @05:11AM
(#12588260)
Hey! I made floatyplane. The source code is here: https://github.com/exponentjs/floatyplane
Here's a video of a talk explaining how the game works: https://www.youtube.com/watch?v=2_KV7Ha_gRk
The game runs on Exponent and uses React Native for rendering (as all Exponent apps do). It uses individual `Image` components for each sprite. This gets choppy when you have a lot of sprites so we're experimenting with more performant ways of rendering for games.