Build cross-platform realtime games and apps using Mono

monotouch Build cross platform realtime games and apps using Monomonodroid Build cross platform realtime games and apps using MonoXamarin has developed a powerful platform on top of Mono which allows developers to build Native iOS and Android apps using C#. This is great for .Net/C# developers who want to build iOS/Android apps but are not experienced in Objective-C or JAVA. Another advantage of using Mono is that you can share almost all of your client-side business logic if you are building an app for both Android and iOS.

appwarp Build cross platform realtime games and apps using MonoYou can now build cross-platform iOS and Android games and apps on top of the Mono platform using AppWarp cloud gaming network. Unlike many 3rd party iOS/Android libraries which require developers to write a proxy/projection layer on-top of them when including in a MonoProject – AppWarp Mono library works as is. This is because we have specially built a Mono compatible flavor of our SDK eliminating this pain point for developers.

We have developed a simple demo chat application illustrating how you can integrate AppWarp’s mono compatible library in to your project and get access to the powerful AppWarp real-time multiplayer cloud network. Both the Android and iOS versions of the applications follow the same pattern. There are two screens in the application – a Join Screen and a Chat Screen. The Join Screen takes the user name as input and joins a room in the AppWarp cloud. The Chat screen allows the user to send and view chat messages in real-time.

Android Join 246x300 Build cross platform realtime games and apps using Mono

Android Demo Chat Join Screen

iPhone Join 152x300 Build cross platform realtime games and apps using Mono

iPhone Demo Chat Join Screen

 

 

 

 

 

 

 

 

 

Join Controller/Activity code snippets.

1
2
3
4
5
WarpClient.initialize(Constants.API_KEY, Constants.SECRET_KEY);
 
WarpClient.GetInstance().Connect(this.nameTextField.Text);
 
WarpClient.GetInstance().JoinRoom(Constants.CHAT_ROOM_ID);
iPhone Chat 153x300 Build cross platform realtime games and apps using Mono

iPhone Chat Screen

Android Chat 221x300 Build cross platform realtime games and apps using Mono

Android Chat Screen

 

 

 

 

 

 

 

 

 

 

Chat Controller/Activity code snippets

1
2
3
4
5
6
7
8
9
10
11
WarpClient.GetInstance().SendChat(this.inputTextField.Text);
 
public void onChatReceived (ChatEvent eventObj)
 
{
 
    String sender = eventObj.getSender();
 
    String message = eventObj.getMessage();
 
}

Complete source code for both Android and iPhone chat applications can be found on our GIT repo here. You can see how we have shared almost all of the C# code in the iOS controller and Android Activity class is the same.

Interested in learning more about AppWarp?

Take a tour or Sign up right away!.

Also take a look at our cross-platform Leader board and push notifications apis for adding comprehensive out of the box cloud support in your games and apps.

Do try these out and share your feedback with us on support@shephertz.com

twitter Build cross platform realtime games and apps using Monofacebook Build cross platform realtime games and apps using Monogoogle Build cross platform realtime games and apps using Monolinkedin Build cross platform realtime games and apps using Monopinterest Build cross platform realtime games and apps using Monoreddit Build cross platform realtime games and apps using Monostumbleupon Build cross platform realtime games and apps using Monotumblr Build cross platform realtime games and apps using Mono

Leave a Reply

Your email address will not be published. Required fields are marked *


5 × = twenty five

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>