Monday, September 4, 2017

Tips on Making a Killer Game: Interview with the Creators of Trivia Crack

The world of mobile development is filled with the ingenuity of coders from all over the globe. In their quest to contribute to what is already out there, sometimes you can come across something so unusual and unique that it takes the world by storm. It happened with Angry Birds, Pokemon Go, Temple Run, Trivia Crack and even with Flappy Bird . All these brought something completely out of the ordinary to the mobile landscape as we know it today, creating new paradigms and spawning thousands of clones.

The question is, how do the creators of these ground breaking titles do it? Or more importantly, how can I do something like that? To answer these and many other questions, we had a talk with the company responsible for one of these games.

Etermax is an Argentina-based company and it's the creator of Trivia Crack (among other offerings), a quiz game where you challenge friends and strangers to determine who knows more about all sorts of subjects. This game was the most downloaded game in the world shortly after it was released in 2013, and has been downloaded over 250 million times ever since. Because at the time there was nothing quite like it, the game became an instant sensation — and with players from tens of countries joining in the fun, the platform grew at an unprecedented rate. As time went by, the developers started adding more unique features as other similar games started surfacing. These additions allowed the game to sit at the top for quite some time.

Since we wanted to know exactly what Etermax did to appeal to so many people for such a long time, we decided to ask them!


Q: Thank you very much for taking the time to enlighten us into the world of Trivia Crack. What is your name and your role in the company?

A: Hi! glad to be here :). My name is Martin Dominguez and my role is the Chief Infrastructure Officer in Etermax. I take care of the Infrastructure issues for the company along with the developers.

Q: For those people out there who may not be aware of what Trivia Crack is, would you mind talking a little bit about the game?

A: Trivia Crack is a quiz game the involves competing with your friends and other players from around the world in various subjects. You can also suggest your own questions to the game, translate questions into another language or rate other users' suggested questions. You can even complete unique card series with gems that you obtain by answering questions correctly or buying them through the shop.

Q: How did you/the company come up with the idea for the game? What was the inspiration behind it?

A: We love to make games that ignite a person's competitive fire. In Argentina we have a whole culture of trivia games (quiz shows, etc) ,so we grew up with that. For us, it was a natural choice.   

Q: How many users/players did the game originally have? (for the first year)

A: The game started slowly until we added the question factory feature, which gave the users the ability to create their own material for the game. We reached a million daily active users near the end of the year, and the growth from that was massive, ultimately allowing us to reach 25 million daily active users.  

Q: What kind of bugs or problems were most common in the earlier versions of the game?

A: When the game started growing rapidly, we had to get rid of some features in the dashboard due to performance problems (nothing vital, just a friends list). We didn't have any major bugs on the client side, but on the infrastructure side we had to formulate a plan in order to get the architecture working for the huge user base.

Q: Did you/your company expect the sustained growth in its user base?

A: We expected growth, of course, but not at this level. We had the first wave of users from Latin America and when the numbers started to normalize we thought "ok, so that's it". Then America and Europe started playing, blowing all of our expectations out of the water.

Q: Piggy backing on the previous question, what is the current player base world wide?

A: We have a lot of users playing trivia crack, not as much as the peak, but still a couple million, with our main player base stationed in the U.S.

Q: How do you upkeep such a massive online platform? What kind of services do you use?

A: We use Amazon Web Services, and if this happened 10 years ago we probably would have crashed from the traffic of the first million users. We needed servers, fast, and without the elasticity of cloud computing the process would have taken more time than we could have afforded to wait to be operative.

Q: In your opinion, what was one of the most crucial factors (from a designer's/engineer's perspective) that made the impact which launched the game into stardom?

A: Definitely, the question factory. It gave our users control over the content and that was the game changer that allowed us to enter markets where we didn't have the manpower or cultural insight to create the right content ourselves.

Q: One of the most important factors for most gamers out there is developer support. In other words, players do not want to feel like they are stranded in a deserted island when they try to report a bug. Do you/your team keep in touch with your user base? How often and by what means?

A: Yes! We do our best to answer all of our users, in any way that they try to reach us. It's hard work, but we have a whole team dedicated to this task.

Q: Describe one thing that you believe will continue to make the game popular in the foreseeable future.

A: A commitment to progression. If the user feels "stuck in a moment" without any foreseeable signs of an update, they will just quit. We think the users want new experiences every time they open the game and we intend to give those to them.

Q: There are obviously millions of games, many of them even similar to what Trivia Crack has to offer. What do you believe set your game apart from the rest?

A: I think the most successful feature that we offer is the ability for the user to provide their own content. That and a good geographical localization of the users, who helped us to expand the market into countries where we didn't even know the language, culture, etc.

Q: What advice do you have for starting programmers trying to create the next "Trivia Crack" (popularity wise)?

A: Don't be afraid to use things (technologies, methodologies) in a different way than everyone else. Try to give your users the capacity to create their own experience and you'll have a winner on your hands.

Q: Anything exciting planned (that you can freely reveal) for next major revisions?

A: We have a couple of exciting releases for Pictionary (our newest game) and a few others during the year involving experiences in real time.


So, there you have it! If you are willing to move into game development and would love to put out the next king of games, take this sage advise to heart and code away!

(We would like to thank Noah Sandberg and Martin Dominguez for their time and willingness to share their experiences with us. From all of us at the XDA Portal, we wish you all the best of luck!)



from xda-developers http://ift.tt/2vFKpOY
via IFTTT

Xiaomi Mi 5s and Xiaomi Mi 5s Plus Receive Unofficial Android Oreo Ports

Our community's talent is amazing, being shown currently by how many devices have received unofficial Android Oreo ports. It is slowing being ported to every device imaginable by our community, with a multitude of Xiaomi devices such as the Redmi Note 3 and Mi Max receiving it. Even the aging OnePlus One has received an unofficial port of Android Oreo, but now even more phones are getting it.

The Xiaomi Mi 5s and Xiaomi Mi 5s Plus have both received unofficial Android Oreo ports, based on LineageOS from XDA Recognised-Developer LuK1337. The only issues with both are the camera and SELinux is set to permissive. Everything else works. As to be expected with a first port there will probably be other issues in terms of stability, but the amount that works for a first port is pretty impressive. Go check them both out!


Android Oreo for the Xiaomi Mi 5s Android Oreo for the Xiaomi Mi 5s Plus



from xda-developers http://ift.tt/2vZ3zuu
via IFTTT

OxygenOS Open Beta 23/14 for the OnePlus 3/3T Now Available With Many UX Improvements

OnePlus is starting September with a treat for its users by releasing a new OxygenOS Open Beta for the OnePlus 3 and OnePlus 3T. There are a number of changes for both devices, as with every beta release.

This update also updated the security patches to August. The rest are largely UX additions such as battery percentage in ambient display, some phone app changes and some gallery app improvements. A "Shot on OnePlus" watermark was added, along with support for adding your own name to the watermark. The default display colour has been tweaked too, to be closer to sRGB!

The changelog is as follows.


Camera:

  • Added Shot on OnePlus watermark
    • You can toggle the Shot on OnePlus watermark and add your name to all pictures taken in the main camera settings

System:

  • Redesigned lift up display UI
    • Now supports displaying battery percentage
  • Now supports hiding of notification content from apps locked by App locker
    • There is now a toggle that allows you to block notifications from apps that are in the App lock list
  • Improved stability of Parallel apps
  • Adjusted color display of default screen calibration
    • It now tends more towards sRGB calibration
  • Added E-warranty card
    • You can now find a version of your warranty card in "About phone > E-Warranty card"
  • Updated Android security patch level to August

Phone:

  • Added quick index bar in contacts UI
    • The contacts page/app now have an alphabetical bar on the right side for easy moving to certain groups of names
  • Improved experience of switching incoming calls
  • Improvements to suggested merges functionality

Gallery:

  • Loading speed of images improved

Weather:

  • Improved location accuracy
  • Improved the experience of searching cities

Clock:

  • New feature "Alarm calendar"
    • Can be used to set an irregular alarm schedule, once you set the time, you can activate this feature by hitting the 3 dot menu button to the right of "repeat"

Known issues:

  • Immediately following the update, you might not be able to turn on the flashlight. Please reboot the device and normal functionality will be restored.

As you can see, there were a number of nice changes for the device, with many OnePlus applications being updated and some performance and stability optimisations too. Hopefully, we'll see some of these changes reach the stable branch of OxygenOS in the coming months, as I'm sure many OnePlus users are eager to see them. If you want to give it a try, click the button below. Note, if you switch to the OxygenOS Open Beta you will need to clean flash your device to revert back to stock.


OnePlus 3/T Open Beta 23/14



from xda-developers http://ift.tt/2eVXr0h
via IFTTT

All Nokia Android Smartphones to Receive Update to Android Oreo

Nokia, in combination with HMD Global, is looking to make their presence known to the Android consumer base. The Nokia 8 is shaping up to be a stellar phone, with some good specs for a decent price and, even better, all running stock Android. The company's phones have been receiving a security patch update monthly, and now things are looking even better for Nokia's smartphones.

The Chief Product Officer of HMD Global, Juho Sarvikas, tweeted that all of Nokia and HMD's smartphones, which includes the Nokia 3 (their only MediaTek based device), will receive Android Oreo.

The Nokia 3 is the most "budget" phone of all of their smartphone line-up, and yet it too is receiving Android Oreo. This marks a change from budget phones from other manufacturers which are never usually updated, except for some exceptions. As mentioned above, there is no timeframe given, but Nokia so far has had a decent track record for device updates. Their phones are receiving timely security updates, which we've praised them for in the past. HMD Global have been critical of OEMs in the past, especially over update times. For those of you who miss stock Android, Nokia's devices run pure Android which enables quicker updates. This is also made possible by the dedication from HMD Global to update the devices quickly.

HMD Global also promised two years of updates at least, meaning the Nokia 3,  5 and 6 are pretty close to that two-year deadline for when OS upgrades come out. We'll wait and see what happens with that, but in theory, the Nokia 3, 5 and 6 could receive Android P. With HMD Global's dedication so far to updates, it's probably safe to assume that if it's possible to upgrade those devices to Android P, then they will.


 



from xda-developers http://ift.tt/2eVLqrM
via IFTTT

Nokia 8 to Cost £499 in the UK and be Shipped on the 13th of September

Many of us at XDA have been awaiting the Nokia 8 for months now, as it is the company's first Android phone running the latest Snapdragon processor, and can be considered to mark the true "return" of Nokia. The official announcement of the device showed us the specs, and now we're being shown the price and ship date.

The Nokia 8 is supposed to ship on September 13th, according to the Carphone Warehouse in the UK. It is meant to launch at a cost of £499.99. This is interesting, as the device's price in Europe was previously announced to be €599, while £499.99 at current market rates is €546. The other currently available UK seller, Clove, has released the same price and same shipping date. We noticed there are more colour options available on Clove however. The Carphone Warehouse has only the Steel and Tempered Blue colours, while Clove sells those and the Polished Blue and Polished Copper colours. There are still no announced dates or prices for a US release however. 

For those of you not familiar with the Nokia 8, if you live in the UK you will get all of the following for only £499.99.

  • Qualcomm Snapdragon 835
  • 4GB RAM
  • 1440 x 2560 pixel IPS LCD display (554 DPI)
  • 64 GB UFS 2.1 storage
  • 3090mAh battery
  • Steel, Tempered Blue, Polished Blue or Polished Copper
  • Dual 13MP camera made in collaboration with ZEISS
  • MicroSD card slot supporting SDXC
  • Nokia OZO spatial audio
  • 3.5mm headphone jack
  • IP54 certified (Protected mostly from dust, resistant to splashes of water across the front of the device)

The Nokia Steel

If you are not already interested, the HMD Global made device will run stock Android Nougat 7.1.2 at launch, with "fast updates" promised. Their current devices have been receiving timely security updates, so there is no reason to doubt them just yet. We'll need to wait and see how long takes them to release Android Oreo.

However, there is still no sign of the 6GB RAM, 128GB storage "Gloss Blue" variant which Nokia also announced. This may either be delayed, coming to other markets or cancelled entirely. Hopefully we see that device soon, as some may be waiting for that instead of buying a device with 4GB of RAM and 64GB storage. Some may find 64GB of storage small depending on how you use your device.

What's more, when ordering from the Carphone Warehouse you will also receive a free Nokia Steel smartwatch worth £119. This smartwatch has an 8 month battery life, a movement tracker and a sleep monitor. This watch will also connect to a Nokia Body+ and a Nokia BPM+. The Nokia Body+ is a smart weighing scales, while the Nokia BPM+ is a smart blood pressure monitor. You can share health data between all of your devices through the Nokia suite of products.

The Nokia 8 – Truly the return of Nokia?

The device so far looks absolutely stellar, especially at such a price point. If the price remains at £499.99, then it is in the same price range as the OnePlus 5's 128GB models. You also will have the added benefit of the majority of mobile carriers having the device for sale, while in the UK the only shops officially selling OnePlus devices are O2 stores. For those scared of purchasing their device from OnePlus (be it because of the online aspect, customer support and so on) the Nokia 8 may be an enticing prospect.

The specs are simply awesome for this price point, undercutting a lot of the competition if the device holds out to be as good as it looks on paper. We recommend waiting for reviews before making a decision, but so far the device has piqued my interest, and I assume yours too.


Via: Nokiamob

Purchase from Carphone Warehouse Purchase from Clove



from xda-developers http://ift.tt/2vZrTMG
via IFTTT

Sunday, September 3, 2017

Framework Modifications for OxygenOS on the OnePlus 5

Some people dislike certain stock settings in Android, such as the height of the navigation bar, the low battery alert, and a few other small things. XDA Senior-Member SyCreed over on our OnePlus 5 forums has released a flashable zip, modifying the system framework, which promises to do the following.

  • Removed the Input Method switch in notification panel.
  • Navigation bar height reduced from 46dp to 34dp.
  • Low battery notification will appear at 10% left, instead of 15%.
  • The volume warning is removed.
  • Enable Burn In Protection, like what smart watches use.

This mod makes changes to the framework-res.apk file located in /system/framework via a flashable zip in your recovery, so back it up in case you have any issues. This mod only works on OxygenOS on the OnePlus 5!


OnePlus 5 System Modifications



from xda-developers http://ift.tt/2iSI7G6
via IFTTT

Interview with Francisco Franco, Developer of the Franco Kernel (Part 2) – OEMs, Kernel Improvements, Custom ROMs & More!

I recently had the pleasure of interviewing the man behind one of the most popular Android kernels ever, the Franco Kernel. Currently, the kernel is available on many different devices, including various Nexus & OnePlus devices and the Google Pixel / Pixel XL.

In this part, we talk about Francisco Franco's opinions on OEMs and some changes in the Android kernel, his future plans and a bit of his personal life.


There have been reports of SDCardFS issues, like you'd see them around the forums and I'm just wondering do you think it's down to OEM implementation, like do you think the actual system is fundamentally sound and the issue is OEMs?

No no no. I think when the first issues appeared, like big issues, if I remember correctly they were on the OnePlus 3T maybe, yeah they were using a, like,half-baked SDCardFS implementation that wasn't even finished. I don't even think the Google Pixel version is 100% finished. According to the Android team, the guy that was talking about this on one of their podcasts, said they were still finishing stuff and OnePlus was using like a half year old version it was just meat work, it wasn't finished. So that's asking for trouble, I guess.

Ah okay, yeah I remember seeing stuff like files not being deleted without having to reboot, and if that's down to the OEM implementation then yeah.

Google has a common kernel tree, with all the work that they are doing to support that common tree, and then the OEMs [and] manufacturers such as Qualcomm take that common tree and build their patches on top of that, and then the OEMs get the trees from the manufacturer and then they work their specific hardware patches on top of that. So you're already on a third layer and you probably have like a half-year-old drivers most of the time, when the device ships and the SDCardFS that they were using was very old, so I think that was slightly irresponsible from them to do that. On my own my kernels, every time I've had to I've made a change so that everyone wouldn't use SDCardFS so that this wouldn't happen at all.

Seeing as you said it's slightly irresponsible of some OEMs to do that, what would your favorite OEM be in terms of developer support and just general polish?

Google. It's not even a contest, if you can count them as an OEM. Other than them.. Maybe OnePlus? Maybe now it's better? I think? Maybe? I think so. I'm here thinking, I'm looking at all my devices.

The hundreds of devices right in front of you?

I have… one, two, three, four, five, six, seven, eight, nine, ten, eleven, twelve, thirteen, fourteen
devices here!

Jesus Christ.

They are mostly Google devices, couple of OnePluses. No, Google is the best hands down, it's not a contest.

Ah okay! Well, which currently have you been working on the most recently? Like have you kind of picked up one and just decided "this is fun and I'm working on this for a while now", or is there something about the devices that draws you to one more than the other when you're developing for it?

Mmmmmm, not really. I guess if I start merging patches for the Nexus 6P, I then go to the Nexus 5X and probably go to the OnePlus 3 and 3T, and now with the [OnePlus] 5 being kind of new I took a couple days to try to understand what was happening what was needed .When I'm on the Nexus 5, I go to the OnePlus One and then the OnePlus X maybe. I think that's probably it. I don't decide I'm gonna wake up one day and decide "that's the device I'm going to work on today". I go to the forums, read what people are saying and then try to see what others have been doing and try to get tips from Google and Qualcomm and try to keep things synced together I guess. But… maybe lately I've been focusing a little bit more on the OnePlus 5 for sure, the Nexus 6P, the Nexus5X and the OnePlus 3 and 3T.

Would you have any, advice I guess, for any aspiring kernel developers or like what's been the most important skill for you as well as a kernel developer?

You have to read a lot, and I claim to know almost nothing compared to others. I guess read a lot and be prepared for long nights and if you actually want to maybe learn something really deep, choose a subsystem and try to dissect it and try to build something for that subsystem and then go from there. Maybe the scheduler one.. if I was to do that now, I would try to just study the task scheduler from the kernel and try to understand what was happening there, but it's very deep, very complicated. Make changes and just see them happening and read a lot. Subscribe to a lot of mailing lists from actual Linux and read, read a lot for sure.

Have you ever thought about development on the actual Linux kernel? Like let's say you're on the actual Linux kernel yourself, trying to merge patches look into that kind of thing.

Hmmm not at all. I don't have time for that! It's a lot bigger, and to do that you need lots of different parts of hardware to actually test stuff. I guess there are so many different developers that actually know what they're doing. I have no place in there.

Has custom ROM development ever interested you?

Pfft, not at all. It's kind of boring! Of course I've compiled Android a couple times, but it takes so long to compile and it's very boring. All the custom ROMs you see on XDA… like 99% of them are just copying patches from one another and just adding an app here and another app there, or changing some colors and then they are happy that they made some changes, and after all they didn't do anything. So I have paid no attention to that. I mean — I mean the guys from Lineage, the former CyanogenMod, those guys know what they're doing. They actually do more than just make apps. I guess now the Paranoid Android guys are doing something good of course, but I haven't been paying very much attention to them. The others, don't ask me about them either, I really don't care about ROMs.

Would you have an opinion on Paranoid Android? I know you said you don't really care, but would you have anything to say about them if you've even looked at their source code or commit history or whatever?

I remember when they started, I remember what they've done, the things they achieved back then before you had any idea of themes or colours or… the old pie controls were awesome. I respect them a lot, and there are a couple still there that I know they know what they're doing. I don't know what they are doing right now, so I cannot comment on anything I guess. If anyone is listening try them out I guess, but I really have nothing to say. I never pay attention to ROMs anymore. I guess I'm happy that they're doing something now. I hope they get to monetize what they're doing somehow, like licensing or working with other OEMs. I hope so! They also did that with the first Oxygen version for OnePlus… I hope they monetize! I guess if you're doing this, you hope you make some money out of it because working with Android, like any other platform in the world, takes time and you have to eat and pay bills like anyone else. I hope they monetize. At least something, they deserve it.

Find a way to make a living out of it.

It's hard, but at least for ROMs it's hard. But I hope they do it somehow, or consulting. There are always some OEMs that needs help with something. Those minor OEMs that don't have the budget to hire 100 guys to work on stuff. I guess that's probably something they can offer but I'm not going to give that sort of suggestion because I don't know myself but I guess that's it.

Do you have anything big in the works?

I spend most of my time working on apps, more than anything. After 6 years of patching kernels here and there it gets tiresome after a while, because most of the devices right now just ship with something that's good enough or stuff that I did before is now already there. It's also all sorts of troubles sometimes to flash a kernel. For the Google Pixel for example, it took me a long time trying to to get it out, because of their A/B system. The OnePlus 5 as well took like a week to even boot it for stupid things.

For the Google Pixel for example, it took me a long time trying to to get it out, because of their A/B system

After SELinux changes too, you get tired after a while. I still got a kick out of it and I have no intentions to stop because I also have other apps to monetize on top of it, so I would be stupid to just let it go. I have lots of users and I also owe them that because without them I wouldn't be here, so it's still a challenge but it will be less of a challenge as the time goes by because because of the changes the OEMs are making to their kernels, and Google as well. I suspect in two, three, four, four years maybe we wouldn't be able to do what we do right now because of the security changes and it's getting harder to crack. I suspect three, four years maybe I'll be out of business in these things, haha.

Do you see it as an attack on developers, or is it just a security thing?

No no no, just security! There's no attack whatsoever. I'm not a big conspiracy theorist.

Ah yeah exactly, I've seen lots of people think it's an attack on developers and all that.

No, not at all. They just want what's best for the platform and therefore the platform is having a tightened security, and if that's what they need to do, they will do it! And we are just a small niche, so if we suffer and it's good for the platform then I don't care. Because the platform has so, so many, so many users around the world and I'd rather have those half a billion users enjoy security and being safe from attacks. I don't mind if I lose my job I guess.

Do you have any other applications in the works,or any ideas for applications or are you working on improving your current ones that you have?

I pushed a new app a month ago. I think XDA wrote about it, it's called Gratus. It means "gratitude" in Latin. It's an app, almost like an offline social network, where you remember stuff that you're grateful for in your life and you post them there, and then you get reminded every time you unlock your device through a notification or widget and you just get a big smile every time you unlock your device. Imagine, on average a person unlocks their device around 100 times a day, so every time you unlock it if you see a positive message that you yourself wrote… like imagine you're grateful for your cats or your grateful for some food you love or someone in your life or some event. I mean, it just gives you a big smile and I think in a world that's so crazy right now and sometimes so negative — if you get a little kick out of your own positivity and gratitude I think it will help lots of people. The app is free, and has a small enough payment that unlocks all the features, but it already has a lot of different pictures for the free version. I guess everyone should try it.

Gratus - promoting good vibes and positivity (Free+, Google Play) →

I have lots of other apps, little tools for example yesterday I released a new version of my app called "NapTime" that improves the way Doze works on your device. Previously, it was just for rooted users. Since yesterday, it works also for non-root users.

Naptime - Super Doze now for unrooted users too (Free+, Google Play) →

I have other apps too, like the kernel app. It's one that gave me all and I still give it too much attention and I'm working on a better version, so I'm always busy.

Manager & Updater for Franco Kernel ($3.99+, Google Play) →

Always something to do and keep you going!

Haha, yes.

Well I guess there's only one more question really, which is I guess if you have any other hobbies? Anything else you would spend time on non computer-related or programming-related.

Well as probably any other normal person, I'll watch a lot of movies, I love cinema, I love watching quality movies. I like to read a lot and I'm not a pretty socially awkward guy, I am fine socially but I prefer to be alone and left alone.

Ah, so kind of an introverted kind of way?

Uhhhhh, yeah if I can I'll spend spend a week at home alone, by myself just playing games and cracking stuff. I spend a lot of time with my girlfriend of course, but it's mostly enjoy everything that you can enjoy that life gives you. I'm a pretty happy guy, I don't have that many expectations of crazy stuff to go out every day or jump off a cliff. I just really want to be left alone and hack stuff and enjoy Android, watch a good movie and read a good book, play a good game I guess. I've a pretty normal life.

Well I guess that's everything I have for you then and I guess good luck in the future!

Thank you so much I always look forward to give these interviews, I hope I was informative enough for anyone who is reading!


Check out Part 1 by clicking this button!



from xda-developers http://ift.tt/2iU473l
via IFTTT