multiplayer capabilities with AIR gaming SDK

Hello. Not too sure if this is the right place but multiplayer potential is one of the most important things in the social game and so I guess that there is not, but when I googled for AIR I don't come with a lot. Multiplayer for IOS happens quite interesting, but I don't target that platform.

Someone there knows something about this and if it's easy or not to implement. EASY is a stupid Word - lets say that I am not the best CGRP in the world - could I implement multiplayer info/quiz for example app?

Cheers in advance

generally, it is not easy, but for what you describe, it should be very easy.  Here is an excerpt of

Flash Game Development: in a 3D world, Mobile and Social

(http://www.amazon.com/gp/product/1435460200/ref=s9_psimh_gw_p14_d2_i1?pf_rd_m=ATVPDKIKX0DE R & pf_rd_s = center-2 & pf_rd_r = 0X7B9HD2MMFFWTVMQN6W & pf_rd_t = 101 & pf_rd_p = 1389517282 & pf_rd_i = 507 846)

Peer-to-peer games

Since Flash Player 10, you can create multiplayer games without needing an intermediate server to facilitate communication of player.  Flash Player can use a (Adobe Real Time Media Flow Protocol) protocol that allows for direct-to-peer communication.

Instead of using the code on the server to manage the game logic side and coordinate the State of the game between players, each peer in the network manages their own game logic and the State of the game and communicates that directly to their peers and each peer updates their status of the game based on the data received from others.

To use the peer-to-peer networking each peer must connect to an Adobe server.  Peer-to-peer communication does not through this server (or which is not peer-to-peer) but peer must keep in touch with the Adobe server to communicate with each other.

To connect with the Adobe server, you must use your own key URL and the Server Developer. Only the URLS and keys can be found at http://www.adobe.com/cfusion/entitlement/index.cfm?e=cirrus.

Here is a simple TIC-TAC-TOE game that uses Adobe-to-peer networking access to pair players. The NetConnection class is used to establish a connection with the Adobe server, while the NetGroup class is used for peer-to-peer communication.

I used only a small part of the NetGroup methods for the game of TIC-TAC-TOE, but more available if share you data between several users and/or share large amounts of data.

The game of TIC-TAC-TOE is supported in the files/Chapter 11/multiplayer and is extensively commented.

Tags: Adobe Animate

Similar Questions

  • Flash Pro CS6 with Air 14 SDK does not support iOS7 icons?

    I am trying to publish an application using the Air SDK 14.0.0.110 (and tried 14.0.0.137) and there is still no place to put the files of icons iOS 7, 120 x 120, 76 x 76 and 152 x 152, is this correct?

    Your only choice is to build from the command line, or replace with Flash Pro CC 2014.

    Read this long thread for how you publish from the command line without having to get the whole typed command perfectly (you can get the line from the Console):

    https://forums.Adobe.com/thread/1308215

  • Android: Maintain 2 builds with Air 19 and 22 air

    Hi all

    I want to update our games with a 22 Air version so that all users will be able to play with N installed Android. At the same time, we would continue to support Android 2.x with Air 19.

    I've done that I have created a version of our application with the code with Air 22 x.x.20 version and a version with Air 19 x.x.10. My expectation was that Google would send all users with Android 4 or more recent version Air 22 and all users with the version of Android 2.x 19 Air. However, when I download the version x.x.10 of Google game I get the error message: all configurations that could receive x.x.10 receive x.x.20 instead. Which means that play Google does not identify the accumulation of Air 22 as incompatible on Android 2.x, is that correct?

    What needs to be done to support both versions?

    Thank you in advance.

    rewb0rn wrote:

    I should the minSdkVersion 14 for Android 4 value and more, correct?

    Yes, this should make the build, only available for devices running Android 4 +.

    rewb0rn wrote:

    But more important still, how do I find what targetSdkVersion is supported by the current Air SDK?

    I don't know if this is documented somewhere, however, I remember having seen devs problems AIR when you explicitly set the value of targetSdkVersion at 23. They ended by assigning the value 19. See this link for more information. I don't know if this problem is fixed in AIR SDK 22. You should not need to 23 but in order to make it work on Android 6 +.

  • DONKEY with AIR 22 update no longer works

    Hello

    I have a DONKEY simple that file sharing.

    It was built with AIR 19.0 and Xcode 6.1.

    I want to update AIR 22, but you have successfully updated the iOS SDK, I have installed XCode 7.3, base SDK is 9.3 iOS and iOS deployment target is iOS 9.0.

    I have a platform.xml like that.

    <sdkVersion>9.0.0</sdkVersion>
        <linkerOptions>
            <option>-framework AudioToolbox</option>
            <option>-framework AVFoundation</option>
            <option>-framework CFNetwork</option>
            <option>-framework CoreFoundation</option>
            <option>-framework CoreGraphics</option>
            <option>-framework CoreLocation</option>
            <option>-framework CoreMedia</option>
            <option>-framework CoreVideo</option>
            <option>-framework Foundation</option>
            <option>-framework MobileCoreServices</option>
            <option>-framework OpenGLES</option>
            <option>-framework QuartzCore</option>
            <option>-framework Security</option>
            <option>-framework SystemConfiguration</option>
            <option>-framework UIKit</option>
            <option>-framework ImageIO</option>
            <option>-framework CoreTelephony</option>
        </linkerOptions>
    

    My code to share a file is, in objective-C, where the variable URL is a URL, the path to a local file

    @try {
       
                UIViewController * controler = [[[[UIApplication sharedApplication] windows] objectAtIndex:0] rootViewController];
               
                UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:@[URL] applicationActivities:nil];
                //activityVC.excludedActivityTypes = @[UIActivityTypePrint, UIActivityTypeCopyToPasteboard, UIActivityTypeAssignToContact, UIActivityTypeSaveToCameraRoll]; //or whichever you don't need
               
               
                UIPopoverController *popup = [[UIPopoverController alloc] initWithContentViewController:activityVC];
                [popup presentPopoverFromRect:CGRectMake(0,0,0,0) inView:controler.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
            }
            @catch (NSException *exception) {
                DISPATCH_STATUS_EVENT(context,"DEBUG_TRACE", (const uint8_t*) [exception.reason UTF8String]);
            }
    

    I have this error in execution: *-[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil objects [0] object

    UIPopoverController is obsolete now, I triied to update my code, as a result of this http://www.goxuni.com/672368-adding-a-share-button-to-an-objective-c-ios-app/

    And the result is:

    @try {
                UIViewController * controler = [[[[UIApplication sharedApplication] windows] objectAtIndex:0] rootViewController];
                
                
                NSArray *activityItems = @[URL];
                UIActivityViewController *activityViewControntroller = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil];
                activityViewControntroller.excludedActivityTypes = @[];
                
                activityViewControntroller.modalPresentationStyle = UIModalPresentationFullScreen;
                if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
                {
                    activityViewControntroller.popoverPresentationController.sourceView = controler.view;
                    activityViewControntroller.popoverPresentationController.sourceRect = CGRectMake(controler.view.bounds.size.width/2, controler.view.bounds.size.height/4, 0, 0);
                }
                [controler.self presentViewController:activityViewControntroller animated:true completion:nil];
                
            }
            @catch (NSException *exception) {
                DISPATCH_STATUS_EVENT(context,"DEBUG_TRACE", (const uint8_t*) [exception.reason UTF8String]);
            }
    

    The error is the same: *-[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil objects [0] object

    I really don't understand why it worked before, and now with new AIR SDK, Xcode new and new iOS SDK, it does not work.

    That's Ok with the last AIR 22 SDK

    Bug #4146925 - ANE compiled with AIR 22 no longer works

  • AIR 4 SDK and asdoc

    Lose myself just too much time to understand how the hell to get the AIR 4 sdk asdoc to work.

    The lack of documentation, the instructions from Adobe becomes overwhelming. It is just unbelivable how a company can release a product without any documentation or such.

    Even if there are solutions, example and others, they are still distributed on some blogs... but in this case, as everyone is does not have an information hostage.

    Yes, now my freggin question, how to configure the ASDOC on mac in Flash builder!

    first when you point external tool on asdoc, im getting the error:

    use: path dirname

    use: path dirname

    Error: Cannot access c /... /lib/Legacy/ASDoc.jar

    Then I change the patch in the file asdoc an absolute... and im getting:

    use: path dirname

    use: path dirname

    Error: This Java instance does not support a 32-bit JAVA virtual machine.

    Please install the version you want.

    Seriously, the 32-bit on mac, what type of defect is who? ARGHHHH

    can I change the version you want, 64 and now this...

    use: path dirname

    use: path dirname

    Adobe ASDoc

    The 4.6.0 version build 23201

    Copyright (c) 2004-2011 Adobe Systems, Inc. ensamr Med? TT.

    defaults: error: can't open ' /... /frameworks/Flex-config.Xml.

    It's all simply amazing. Why can't there be some decent instructions provided by the supplier which explains what it takes.

    So I found a solution that works for now, yet there should be instructions available officially from Adobe, instead of letting developers to spend hours, days or what ever to find solutions...

    I suppose there may be a better solution, but I did what I could from my little experience with files, executables and flash builder...

    in the asdoc file I put comment out the scripthome and added the static variable instead, the changes are underlined:

    SCRIPT_HOME = "/ Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/bin/.

    If ["x$ {FALCON_HOME}" = "x"]

    then

    #SCRIPT_HOME = ' dirname $0'.

    FALCON_HOME = ${SCRIPT_HOME} /...

    on the other

    echo base code using Falcon: $FALCON_HOME

    FI

    If ["x$ {FLEX_HOME}" = "x"]

    then

    #SCRIPT_HOME = ' dirname $0'.

    FLEX_HOME = ${SCRIPT_HOME} /...

    on the other

    echo using Flex SDK: $FLEX_HOME

    FI

    That solved the issue of flex - config.Xml.

    Then, when I ran again the external tool, I got error about not finding local sv_SE.

    so in regional frameworks/AIRSDK/settings , I had no sv_SE, solution that worked was to make a copy of the file en_US and rename sv_SE.

    And since im trying asdoc AIR, ext tool should have of cource external libs added both in the arguments field:

    -external-library-path = "/ Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/frameworks/libs/air/airg lobal.swc.

    Hope that this help others in some way.

  • With Air 3.4 for IOS, how iPhone 5 are they treated?

    I've developed an application with Air 3.4 for IOS and it seems that the iPhone 5 automatically centers the application using the settings of the iPhone 4 960 x 640, rather than 1136 x 640. Is this correct? I have full-screen enabled in the settings of my 3.4 Air.

    If you include the splash [email protected] image, which would be a 640 x 1136 (your boot of landscape image rotates 90 degrees), it is enough for the iPhone 5 knowledge to fill the entire screen.

    However, if you have downloaded the app to iTunesConnect then, it would probably fail. This is because the standard AIR 3.4 ADT.jar file does not use iOS SDK 6.0. You can move using AIR 3.5 (http://www.adobe.com/devnet/air/air-sdk-download.html), or by getting the patched the ADT.jar file version (see this thread: http://forums.adobe.com/thread/1073656, in particular the "correct" answer upward).

    Once you have built with either 3.5 air, or used the ADT.jar of AIR 3.4 patched version, and you have the picture of [email protected] included, everything should be good.

  • nearID with the new sdk

    How can I access my NetConnection.nearID with the new sdk, for example 3.6? There is no such property

    Thanks for the reply.

    I know not what SDK you are referring. the latest version of the Flex SDK is 4.6.0 and NetConnection.nearID is present. the latest version of the AIR SDK is 3.2, and this property should be present there (although I can't test than where I am right now).

    do not forget that you are targeting at least Flash Player version 10 or later. NetConnection.nearID was not present before the Flash Player 10.

  • Multicast with Air

    Hello

    From:

    http://forums.Adobe.com/message/2423240#2423240

    It was said:

    Remember that you'll need FP10.1 beta * and * the playerglobal.swc accompanying to compile with the Flex SDK.

    -mike

    I've got multicast works with FP 10.1 in accordance with the instructions.

    My question is;  What is required to compile multicast AIR?

    Flex 4?

    AIR 2?

    Stratus special airglobal.swc?

    See you soon,.

    Arnie

    I think that you need just to AIR 2 SDK.  that should give you access to all the new APIs.

    -mike

  • apple mouse is bluetoothed with air of the ipad 2

    apple mouse is bluetoothed with air of the ipad 2

    N ° the iPad is not programmed to have a cursor.

  • Cisco WLC 2504 with AIR-AP1131AG-A-K9

    Hello

    Can you help me for some info about AIR-AP1131AG-A-K9.

    I have a wlc 2504, but I don't know if the AIR-AP1131AG-A-K9-supported 2504 wlc.

    Can work this WLC 2504 with AIR-AP1131AG-A-K9 solution?

    If so, guide.

    Thank you very much

    Gezimv

    Check out this link. As long as you have software version 8.0.x 2504 version you can use 1131 AP with it. Nothing beyond software fate is more a series of support 1131.

    http://www.Cisco.com/c/en/us/TD/docs/wireless/compatibility/matrix/compatibility-matrix.html#56735

    HTH

    Rasika

    Pls note all useful responses *.

  • Will be the app html5 built on the emulator to ripple with BB OS SDK i 7.0, e webworks 2.3.1.5 perfectly work perfectly on BlackBerry 5.0 and 6.0 OS devcies also?

    I built a html5 application with BB OS SDK 7.0 with the constructor of the ripple. IAM see it works perfectly on OS 7.0

    devices where, as some loading content html, part of the problem is existing in BB 6.0 and 5.0 OS devices.

    Why is it so?

    I have to build app for other OS separately?

    The best answer is - not.

    There is no guarantee that your application, designed for BB7, work well on older versions of the BlackBerry operating system because the web rendering engine has evolved considerably during this period.  In fact, WebKit was introduced only BB6.  Prior to this, BBOS 5.0 used a proprietery Java-based web engine that was designed to support the same web standards, but nevertheless provided a different rendering experience.

    Devs who intend to support the old software BBOS are strongly encouraged to test their applications on these platforms, rather than assuming it will work.

  • NetBeans Device Manager does not display peripheral reg with JAVA ME SDK 8.2

    Hello, looking for advice.

    Execution of netbeans 8.1, with java me SDK 8.2 and Java ME SDK and demo 8.2 tools plugins for netbeans.

    Problem is the device (rpi) is to be registered in the java me SDK 8.2 device manager, but will not display in the netbeans Device Manager. I try to run the java script to the RPI but fails with the error "non-registered device.

    I have attached a few pictures of the screen.

    If more info is needed please let me know.

    Thank you

    Adam

    Thank you, Harry.

    I was able to remedy late last night. I removed ME SDK and netbeans and plugins and reinstalled it, after that if worked like charm. I am now able to run java script for the pi of netbeans.

    Thank you

  • portrait iPad with AIR problems

    Hello

    I need to develop an app for ipad, with portrait orientation. I set the resolution 768 x 1024 BUT publishing for AIR, I can't resize the stage, I can't see the bottom of the screen on my Mac book pro 13 "RETINA!

    Schermata 2015-10-12 alle 07.59.44.png

    usually, when I develop for SWF, I can stretch and resize the window, but I can't do it with AIR.

    ANY HELP?

    Massimo

    Select "full screen" in the air from the ios settings panel.

  • Adobe Gaming sdk

    I accidentally deleted adobe Gaming sdk and I was wondering how do I re - download?

    I have tried to re - download but the creative cloud says that I have already.

  • How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader?

    How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader? I got an error that the version number needs to be updated. I created a new record in iTunes Connect with version 1.1 and I took ownership of my current app 1.1 in air for iOS section in Flash.

    Check your descriptor file to make sure that it shows the updated version, too.

Maybe you are looking for

  • No #images

    Hello I don't have #images in the messages application. He is not on any of the messages app screens or in the section manage messages to App Store. In addition, none of the clock applications have landscape, such as alarms or timer mode. Is this nor

  • Downgrade to win 8-7, where is my key?

    We are to halfway in our refreshment from XP to Win 7 computer. Before today, I was getting new computers with a certificate of authenticity with a Win7 key on it. Since I do not use OEM installations (read: I don't want to have installed unwanted HP

  • Tasks of DAQmx Digital i/o-error-200170

    I'm working on a project to use DAQmx for write and read digital channels, as well as monitor the thermocouples.  There are already source code that initializes the tasks of channels HAVE thermocouples.  I tried to imitate (to some extent) that was t

  • Videos, play not because it shows a green box but again the audio content

    I then some videos from my iPhone to my new laptop because I wanted to free up space. They appear when that I check all, but when I try to play a video, it shows a green box but again the audio to video. Can someone tell me what is happening and how

  • Microsoft Sidewinder Mouse

    Hello Microsoft, I had a question about the pre-programmed buttons which came with my Sidewinder mouse, is possible to modify in order to link them to other keys in games? As the world of warcraft. Cause, that would be nice if these DPI 3 buttons and