So, Let's start by creating a new app : npx react-native init GameApp But matter.js alone won't cut it so we have to use react-native-game-engine which will help us to easily setup matter.js with React Native. Matter.js is a 2D physics engine which will help us to add physics to React Native. React Native does not provide any feature for providing gravity so for that case I came up with the idea of using Matter.js. For example, in my case I wanted to use gravity. The hard thing about building Games is to synchronize all the logic you want to apply in order to make things move. Just wanna check out the code? Help yourself ☟ When considering the design for this game and in order to welcome players with the aforementioned sense of surprise, I decided to give the physical materials a more realistic look than before. Undoubtedly, this game would not let you leave your phones. So, I’ve tried to get inspiration for building a game but what is it that makes my game exciting? Yes! you saw it right. No surprise here, but nowadays Mobile Games are sitting atop the digital world.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |