Once our project was created, time to get React Native Game Engine setup. This takes all of the heavy lifting and configuration from a React Native project. Luckily, React Native Game Engine has tons of examples, and even a repo of other game projects. I've never created a game, let alone one using React Native. This would be a learning experience for me. This would be the premise of our phase one. There would be stars and other items falling down to make it look as though the shuttle was speeding through space! The higher the score got, the move items tossed into the mix. The user would tilt the device to move the shuttle left and right to dodge these obstacles. Space items would fall from the top of the view towards a shuttle at the bottom. That is when I settled on the "Shaky Shuttle". I've seen many kids play games on devices, and they often move the phone in attempts to move the player on screen. I also wanted my game to be controlled by the movement of the phone. Among his interests in trains and cars, he also enjoyed "space". At the time my son was just turning three. This was awesome! Then the wheels start to turn. They were using a simple library called React Native Game Engine and Matter JS to simulate the physics. Looking through examples and articles I found where someone had built a game with blocks falling down from the top of the screen.
![react native game boiler plate react native game boiler plate](https://thecodingmachine.io/images/react-native-boilerplate/react-native-boilerplate.png)
REACT NATIVE GAME BOILER PLATE HOW TO
I had no idea how to build a mobile game using React Native.
![react native game boiler plate react native game boiler plate](https://res.cloudinary.com/practicaldev/image/fetch/s--MgB-IAkg--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://www.instamobile.io/wp-content/uploads/2019/04/finance-app-react-native.png)
I've made a couple mobile apps in the past, but could I create a full 2D game using the framework? I decided to find out. This makes React Native a perfect framework for me to create a mobile application. So why couldn't I create the next Flappy Bird? As a professional web developer, Javascript and HTML/CSS are well known. Flappy Bird was a hit, and it just involved touching the screen to give your bird a little loft.
![react native game boiler plate react native game boiler plate](https://miro.medium.com/max/953/1*iwYoe4D9f021HvDa8I6SzA.png)
It's the simplest games that are the most fun.