This approach can also lead to an undesirable behaviour where assets are loaded after the app is started. This has the benefit of allowing you to update any asset over the air, without re-submitting to app stores. Instead it uploads your assets to Amazon CloudFront. Loading AssetsĮxpo does not bundle your assets inside of the standalone build. I finally searched in an example expo provided how the sound object is unloaded and it was as simple as setting the object to null after it’s played. I reached Expo through their forum, but they were not that helpful. I think the problem was that each time you create an audio object and play a sound it takes a place in memory and by the time all memory resources are consumed. I found some troubles when playing multiple successive sounds where after a while the sounds start to get really laggy and sometime the app crashes. It wasn't a particularly pleasant experience. I uploaded the game on both Android’s play store and Apple’s app store, you can try them out here: In this article, I will shed some light on how I developed the game without getting into too much of technical details. You also can’t miss the target more than 4 times. The pandas are the only animals you shouldn't kill. The idea of the game is to simply kill all of the randomly appearing animals on the screen by tapping on them. React native is of course not made for developing games, however, I thought of a simple idea that requires no physics, 3D graphics or any fancy stuff, just simple user interactions. Having discovered how easy it was to start and develop a project using expo, I decided to create a little game. There are however some limitation to what you can do with expo. Expo lets you completely abandon Xcode and Android studio. On the other hand, using Expo made things even easier. Having to deal with Xcode and Android Studio was a bit of a hassle, however it wasn't a bad experience overall. For the first project I worked on, I used a plain react native set-up without Expo. Recently I have been working on a couple of react native projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |