“Our apps run at least five times faster on AllJoyn than on any other networking solution we have tried. Because AllJoyn runs on a separate thread, it has no impact on the frame rate on multicore processors.”
– Didier Pippel, Executive Producer, Khaeon Gamestudio
- Easy to implement peer-to-peer (P2P) connection among mobile devices
- 5x improvement in connection latency
- Ease of integration to development environment through Unity Extension
- Games’ graphics optimized for Adreno™ GPUs, integrated within Snapdragon™ processors
- Local multiplayer functionality added to new and existing titles
- Faster time to market in implementing local multiplayer
Khaeon Gamestudio has combined its unique style with the responsiveness of AllJoyn peer-to-peer (P2P) networking and the Unity Engine for 3D app development to come up with two multiplayer fighting games: Team Dragon and Fight Game: Heroes.
As experienced game developers, they built the original versions in the Unity Game Engine. But playing games with friends is way more fun, so to help them add local multiplayer functionality and P2P networking, they used version 2.3.6 of the AllJoyn SDK that includes the AllJoyn Unity Extension from Qualcomm Innovation Center, Inc. (QuIC).
Higher performance, better connectivity
Gamers demand responsiveness, especially in multiplayer titles. After all, who wants to play a fight game where kicks and punches are delayed by network latency?
To keep the fun and realism in these titles, Khaeon tried the P2P networking available in the Unity Gaming Engine so that instances of the apps could find other running instances on neighboring devices and play against them. The latency dropped to tenths of a second – lower than over the cellular network, but Khaeon wanted even better.
QuIC introduced version 2.3.6 of the AllJoyn SDK to Khaeon. With the included AllJoyn Unity Extension, AllJoyn takes care of all the hard work and infrastructure required for implementing low-latency, proximity-based networking into games built on Unity.
Didier Pippel, executive producer of Khaeon, notes, “It took about two person-weeks to incorporate and test using the AllJoyn SDK 2.3.6. We followed the examples provided with the Extension to quickly build in peer-to-peer networking.”
Better yet, the new SDK allowed Khaeon to integrate that P2P networking to the code bases of completed products; Khaeon developers did not need to rewrite their apps from scratch.
As a result, the latency between neighboring devices in Team Dragon and Fight Game: Heroes is five times lower than with the other networking approaches Khaeon tried. AllJoyn allows neighboring players to discover and compete with one another not only over Wi-Fi, but also (when preloaded on devices) over Bluetooth, using P2P connections even when there is no Internet connectivity.
Do you develop in Unity? Download the AllJoyn SDK 2.3.6 with Unity Extension to develop games with local multiplayer features. Qualcomm Innovation Center, Inc. distributes AllJoyn and the AllJoyn Unity Extension under the Apache v2 license.