Comment Trivia Crack a-t-il fini par aboutir sur plusieurs plateformes à la fois ?

Etermax a choisi Unity pour simplifier le développement, accéder à des outils flexibles et sortir son jeu sous iOS et Android simultanément.

Etermax : Étude de cas d'un développeur Unity

How does a highly successful studio decide to move from a dual-track, native-code development path to a single cross-platform tool? Founded in 2009, Etermax is a major studio best known for its spectacularly successful Trivia Crack game (Preguntados in Spanish markets), which has over 500-million unique players. Read on to find out why they consolidated their development on Unity.

  • Le projet

    Unifier les équipes sur une seule plateforme de développement tout en améliorant un jeu leader sur le marché

  • L'objectif

    Éliminer les flux de travail redondants et tirer parti du généreux jeu d'outils Unity pour les artistes

  • Plateformes
  • Équipe de projet

    Trivia Crack : 40 (avant Unity) ; Trivia Crack 2 : 15 (avec Unity)

  • Entreprise

    Plus de 220 personnes à Buenos Aires, en Argentine (Siège social), ainsi qu'à Montevideo, en Uruguay, et à Berlin, en Allemagne

Obtenir 5 millions de téléchargements en une semaine n'est pas une mince affaire

À ses débuts, Etermax a développé les versions iOS et Android de Trivia Crack en parallèle, en utilisant du code natif pour chacune d’elles. Cependant, conserver plusieurs voies de développement représentait une charge considérable. Au fil du temps, les avantages présentés par l'utilisation de Unity, tels que son puissant atout « une source de code, plusieurs sorties », ainsi que sa popularité auprès de certains développeurs d'Etermax et de leurs confrères, constituaient d'excellentes raisons d'effectuer la migration.

Les résultats :

  • Lancement particulièrement réussi avec 5 millions de téléchargements la première semaine, l’un des 5 jeux-questionnaires les plus lucratifs aux États-Unis
  • Une base de code unique pouvant être rapidement exportée vers plusieurs plateformes : mobile, Web ou PC
  • Des équipes plus petites et un prototypage plus rapide permettant un développement plus efficace et plus créatif
  • Le système d’animation et les ressources prefabs d'Unity leur confèrent une grande liberté artistique et offrent des avantages permettant un gain de temps important
  • Accès à l'Asset Store Unity, qui propose des milliers d'éléments gratuits et abordables permettant aux créateurs Unity d'économiser énormément de temps et d'efforts 
Les nombreux avantages de Unity

Les utilisateurs adorent la Question Factory

CEO Maximo Cavazzani got Etermax started with a series of word games, the most successful of which – Aworded Crack (formerly Angry Words) – was the Apple Store’s Best Game of 2012. They also partnered with Mattel for a mobile version of Pictionary. “After three successful games, we started thinking about doing a trivia app, and Trivia Crack was born, launching in Latin America in 2013.”

But to sustain interest in a trivia game, there’s a huge challenge generating fresh content, especially localized content. “If you live in Mexico, for example, you don’t want the same questions as people who live in Spain,” Maximo said. Brainstorming inspired a unique approach: design the game to let regional users create content and contribute their own questions and answers. Named the “Question Factory,” this feature was hugely popular and Trivia Crack became Apple Store’s most downloaded app for 60 consecutive days starting in December 2014.

Due to this kind of success, Etermax has become the fastest-growing game development company in Latin America. And Cavazzani is quick to point out the reason for their phenomenal growth: “Etermax is not a gaming company – it’s a ‘great idea’ company.”

La difficulté de conserver deux versions distinctes

Bien que les versions iOS et Android de Trivia Crack aient été lancées simultanément, le développement chez Etermax était complètement séparé, avec une équipe utilisant Xcode et l'autre Android Studio. Etermax a dû trouver des talents avec une expertise dans chaque plateforme, les équipes n’étaient jamais en phase, différents bugs affectaient les différentes plateformes et, bien que les produits finaux semblaient quasiment identiques, ils auraient pu être créés par deux sociétés différentes.

En outre, les fonctionnalités telles que la roulette, qui nécessitait des capteurs tactiles, étaient difficiles à programmer en code natif. Ces problèmes ont incité Etermax à abandonner ses outils natifs et à adopter une nouvelle solution de développement multiplateforme.

Selon Pablo Iacopi, responsable technique d’Etermax : « Nous avons d’abord testé libGDX, une bonne bibliothèque open source, mais nous n’avons jamais été sûrs de sa compatibilité. En revanche, la courbe d’apprentissage était assez raide et vous deviez réaliser votre propre interface graphique. » L'équipe a également envisagé d'utiliser React Native, qui permettait de s'appuyer sur le code existant spécifique à la plateforme et, pour les nouveaux éléments, d'utiliser une couche logique commune, puis d'exporter sur différentes plateformes. Mais cela ne permettrait pas d'atteindre l'objectif premier d’Etermax : unifier correctement le développement.

Pourquoi ils ont choisi Unity

A number of Etermax developers had Unity experience, and Etermax was aware that Unity was an increasingly popular platform that a number of their industry peers had enthusiastically deployed. “Seeing that other companies had gone with Unity gave us a lot of confidence, and we trusted our own developers who recommended it, so we gave it a try,” said Gonzalo Huertas, Etermax’s VP of Engineering. In fact, their lead developer for Trivia Crack 2 was a Unity expert.

They developed some prototypes to test speed and performance, and the results were conclusive. Gonzalo noted, “For the developers with Android or back-end experience, moving to C# was quite simple, and for the other teams, the switch to Unity was also very straightforward. We chose Unity to streamline our processes. Instead of continuing to develop on two different code bases, we now have just one development workflow and now we can effortlessly output to many different platforms from the same code base.” In addition, Unity integrated design tasks so developers could later modify graphic elements without importing from other tools.

Importantly, switching to Unity enabled faster prototyping and smaller, more responsive teams, which fundamentally changed the company’s philosophy of game development. According to Pablo, “In the past, we’d polish a game as much as possible to produce a production candidate. Now, we make a minimum viable product (MVP) and then gather extensive metrics. That helps us create a much richer game.”

Les nombreux avantages des ressources prefabs et du système d'animation

Working with Unity 2018.3, Pablo revealed that: “One very big Unity feature for us is being able to nest Prefab Assets because that simplifies building the visual interface considerably. And it’s not just for characters – we have a lot of common widgets in different scenes that we can update automatically.” By building a widget as a Prefab Asset, Etermax can make a single code change and update all the nested assets simultaneously. He added, “Unity’s ability to build a glyph atlas at runtime – its dynamic font feature – really helps us with Chinese and Japanese character sets.”

Dimensionally, Trivia Crack’s decidedly flat 2D design works. Picking objects is easier in 2D, screen locations are very accurate, and the entire UI feels clean and simple. Etermax leveraged the rich and expanding Unity Animation System, letting them animate 2D sprites, manage different clips, and use the rules/timeline to transition from one animation to another.

Expérience de jeu ultra-rapide : Partage des astuces concernant les performances

Despite Trivia Crack 2 being packed with most of the original game’s features and new game modes, it loads fast and feels instant. Pablo shared some of their tricks: “We started adding a lot of functionality to Trivia Crack 2 and suddenly the initial load went through the roof. That led us to investigate how Unity’s performance tools could help us. We started to measure what we were doing in that load, and basically now we distribute the game load only when and where it’s going to be used rather than indiscriminately loading everything all the time.”

The company actively shares its experiences and learnings with the Unity community. You can find articles about their Unity performance tricks and more in their Engineering team’s blog.

Quelle est la prochaine étape pour cette « société aux idées de génie » ?

Etermax is planning to replicate the unified and streamlined workflow of Trivia Crack 2 into other company titles, many of which get millions of DAUs, and refactoring some of them with Unity seems to be in the plans.

Unity’s broad capabilities allow them to experiment with other game genres and diversify their catalog; some of these experiments are 3D games that feature their well-known Trivia Crack mascot.

And perhaps foreshadowing exciting things coming from this innovative studio, a recent internal Etermax hackathon integrated Unity and Vuforia capabilities to create augmented-reality (AR) promotional collateral.

And now that Etermax has streamlined and accelerated its development processes with Unity, that leaves just one non-trivial question for this trivia-loving studio: What new Etermax game are we all going to get hooked on next?

Gonzalo Huertas, VP of Engineering, Etermax

« Nous avons choisi Unity pour rationaliser nos processus. Au lieu de continuer à développer sur deux bases de code différentes, nous disposons désormais d'un seul processus de développement et pouvons facilement sortir nos jeux sur un grand nombre de plateformes différentes à partir de la même base de code. »

Gonzalo Huertas, VP of Engineering, Etermax
Pablo Iacopi, Technical Owner, Etermax

“One very big Unity feature for us is being able to nest Prefab Assets, which simplifies building the visual interface considerably. And it’s not just for characters – we have a lot of common widgets in different scenes that we can update automatically.”

Pablo Iacopi, Technical Owner, Etermax
Gonzalo Huertas, VP of Engineering, Etermax

« Voir que d’autres sociétés avaient choisi Unity nous rassurait beaucoup, et nous faisions confiance à nos propres développeurs qui la recommandaient. Nous l'avons donc essayée. »

Gonzalo Huertas, VP of Engineering, Etermax
Pablo Iacopi, Technical Owner, Etermax

« La capacité d'Unity à construire un atlas de glyphes au moment de l’exécution (sa fonction de police dynamique) nous aide vraiment avec les jeux de caractères chinois et japonais. »

Pablo Iacopi, Technical Owner, Etermax

Ce site utilise des cookies dans le but de vous offrir la meilleure expérience possible. Consultez notre politique de cookies pour en savoir plus.

Compris