2 player flash game?

Hello everyone, I'm somewhat new to flash and was wondering if it is possible to make a game where two individual computers play the same game against each other. If so, is there any information out there explaining the steps? I have read a lot of books on making flash games but they haven’t helped me out that much. Also, does anyone know if lynda.com is worth paying for a subscription? Could anybody help me out?
Thanks a lot

the two swfs can't directly communicate with each other.  each can communicate with a server, for example, and the server could communicate with both so a server can act as a bridge between the two swfs

Similar Messages

  • 2 player web-based Flash game problem

    I have a two player web-based Flash game. The Flash calls a
    JavaScript function on the webpage to get and store the user's IP.
    Then an XML file with user's game data is loaded and parsed. The IP
    address is used to identify which player is player 1 and which is
    player 2 according to the XML file. There is a Java applet to send
    and receive messages between the players.
    The first player loads everything just fine. All the first
    player's messages regarding the progress in loading different parts
    of the code sent by the game for debugging are displayed in the
    Java applet's text box, but none of the second player's messages
    sent by the game for debugging are displayed.
    The problem is that the second player's ActionScript code
    appears not to be executing except that I do get a message in the
    game that the XML file attempted to load but was not successful.
    The IP address call is not made and no messages can be sent to the
    other player. The second player's Java applet displays only the
    messages for debugging that came from the first player's game and
    any chat messages sent by the first player.
    This problem always happens to the second player, never to
    the first player. Both player's are always using IE6 or IE7.
    Does anyone have some idea(s) what could cause only the
    second player's ActionScript code not to execute and/or not to load
    an XML file correctly?
    This is just a general question, so any general answers would
    be appreciated. Code specific answers are hopefully not required.
    Thank You in advance.

    Hi,
    I am not very familiar with the multiplayer Game development. For multiplayer games, you'll need to set up a matchmaking server and have the clients connect to it. It can then pair them off and facilitate communications. If the clients have publicly available
    network addresses then it can introduce them and they can talk directly to each other.There isn't anything built in for this so you'll need to either build your own or find a third party implementation. If you are using Unity3d then check out
    http://docs.unity3d.com/Documentation/Components/net-MasterServer.html
    Also, you can use Xbox services, and I find an article below:
    https://msdn.microsoft.com/en-us/library/bb975801.aspx
    For windows Azure problem, you should go to windows Azure forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • MAC / PC flash game issues through standalone flash player

    I had some flash games built for new site. They were built on a PC, and play perfectly through the latest version of flash player, but jump and loop continuously through flash player on mac. Cannot figure out the reason why this is happening. Anyone come across this before?

    we have loaded shockwave Flash NP-PPC plugIn version 7.0R69
    into the plug ins folder of Internet Explorer 5
    We are still having the same problem which is that we cannot
    view a web page which contains a flash movie with some video
    embedded.
    We see the rest of the animation and hear the sound on the
    movie, but can't see the movie.
    When I published the Flash movie I set it to play with Flash
    Player 6 and up.
    The flash movie (on the web page) plays fine on our other OSX
    Macs and PC's.
    thanks
    Pete

  • RAM usage by Adobe Flash Player spikes when playing online flash games with 3D graphics

    Hi. I have recently noticed a spike in RAM usage by my flash player plug-in whenever I play online flash games that use a 3D graphics engine (for example, Farmville 2 and Chefville by Zynga). Apart from the numerous times I receive an error message that the plug-in has failed, my RAM usage goes above 70% from the regular 40% with the plug-in consuming more than 1Gb. I have experienced the problem with the updated version of Adobe Flash Player on the newest releases of Firefox, Chrome and RockMelt. This spike in usage usually leads to a crash of my GPU (ATI Mobility Rabeon 4650 - 2Gb) My specs are as follows:
    OS - Windows 7 Home Premium 64-bit
    Processor - Core i5
    Speed - 2.27 GHz
    RAM - 4.00Gb (3.86 Gb usable)
    HDD - 500 Gb (465 Gb usable)
    I should also note that the required specifications for the latest version of Flash Player (11.7.700.202) requires processing speeds of 2.33Ghz. Could that be the issue? I am still to attempt downgrading of my Flash version to see if that could help reduce the RAM usage. Are there any other suggestions out there?

    Hmmm... Win 7 will run faster than Mavericks with 8Gb. Even my Vm of 7 runs faster once I get it past all the startup processes.
    It may or may not be a connectivity problen since Windows uses a different protocol, even though it's on the same hardware. Usually though, what affects OS X will affect BootCamp too.
    What browser?

  • When using flash player for games, the mac runs real slow

    When using flash player for games, the mac runs real slow.   It's also not the fastest at anything.   Can I do anything to speed stuff up ?????

    Have no clue.  You provided no details and your system profile is blank.
    Which os are you using?
    How are you connected to the internet?
    Have you contacted your isp to make sure the slowness is not coming from their end?
    Max out your ram.
    How large is your hard drive and how much hard drive space do you have left?
    You you using the latest version of Adobe Flash?
    Please describe in detail all you have attempted to do in order to resolve the issue.

  • How to let the character in my flash game make a jump using AS3?

    i want to make the character in my flash game make a jump when the player presses a key,e.g. 'space',even the player release the key instantly,the character will still finish the complete jump process.Hope somebody will give me some advice, Thank you so much!!!

    what's the problem?

  • Mouse & trackpad is not working properly in flash games

    I thought the problem was with my mouse. But even my trackpad behaves weird.
    When I try to click this game (http://jayisgames.com/games/red-remover-player-pack-2/) or any other games before, single clicking any clickable spots in the flash game works. But in that game, I could single click on "Play Game," "Ok." "the red face," "Play" & box 1. But from that on, I must double click to make anything work. It's not that game that requires double clicks. I've been playing it for a long time, all only single clicks. From there on, I single click on a red box, nothing happens. Then I click on another spot, that previous click happens.
    Not just on that flash game, I've tried many others ones, all gave me this click delaying problem.
    When I try to click on spot A, nothing happen. Then I click on spot B, the click on spot A happens. So I must double click on everything to work.
    I realize I couldn't single click on anything to work on any flash websites (sample:http://www.mono-1.com/monoface/main.html). Clicking once just highlights the link, must click again to make it work.
    Please try out that game to see what I'm talking about. I'm not promoting anything here. I got a serious mouse problem.
    Thanks.
    macbook pro, Mac OS X (10.6.4)
    Model Identifier:
    MacBookPro7,1
      Processor Name:
    Intel Core 2 Duo
      Processor Speed:
    2.4 GHz

    Same problem on Windows 7 in Chrome browser...
    My Windows 7 one at work works fine though.....

  • Flash games, serious problem with windows 7 bootcamp

    when you open a webpage that has a flash game, windows 7 bootcamp stucks from time to time, with no reason! why is this happening? using firefox. tried safari the same thing, and tried latest flash player on both. try facebook games or google random flash games most of them cause windows 7 to stuck or go slow! suggestions please, does anyone else have the same problem?

    sorry the whole win 7 freezee on mbp 13", wait for apple update (i hope they notice)! now running XP SP3 and runs great!!! "laptop 2 go drivers" and runs games perfect!

  • How can i record a name a score in a flash game and write down in a soreboard?

    Hi. I wrote down the summary of my project so that you can
    understand and answer me more easily:
    I have to build an application (a little flash game) in which
    I record the number of clicks. I want the player to choose a nick
    at the beginning and when he finishes one or all the four choices
    of target, i want the application to write his nick and final score
    in a database for displaying in a scoreboard (hall of fame). All
    the new entries should be sorted according to the score. If the
    same nick appears again, it's final score will be modified in the
    scoreboard only if is higher then the previous.
    I was thinking of creating a variable for the name that is
    chosen at the beginning and a variable for the score that is
    recorded. When the player finishes the game i want the application
    to write his data in the database, and then to display the
    scoreboard (let's say top 10 players in the database from the
    highest to the lowest score).
    I never did this before so i am asking what database shoud i
    use? I need a programmer to create one for me? Or can flash
    generate the database?
    Is the variable the good way or should I aproach the problem
    by other means? And if a programmer creates a database in MySql is
    that good or he should convert it to XML, or Flash generates the
    XML?
    Thank you.
    Mark this message as the answer.

    The bottom line is you cannot write to a file (database or
    XML files) directly from flash.
    I have done a number of projects where I needed to have
    access to an XML source or a database. In these cases I had to
    create server side script. I have done them in .NET, PHP ASP.
    The only option you have is to use the Flash's Shared Object.
    This does not store the data indefinatly and has a limited size
    (100K). Let me know if you need further info.
    With regards to using a variables depends on how you are
    writing your game. If you are creating classes in ActionScript then
    all the data can be stored within the class members. For example
    you could have a Player Class and store all the player related
    information in that class until the game is over. On the other hand
    you can just use varibles to keep things simple.

  • I have a problem with my iMac (intel). Youtube doesn't work for almost a year, and now even the flash games (like facebook's games) doesn't work (sorry for my english)

    Hi, i have my iMac from 2008 and it's always work but for almost the lasy year youtube doesn't work. That's wasn't a problem but. right by now, everytime i tried to watch a video the mac start to freeze and i must close all the application which are working and, sometimes, i need to shut down the entire sistem. I tried to reset safari, delete chache and cookies, whatever...but nothing.  What can i do?
    P.S. Even the flash games, like facebook's games doesn't work...they are slow and sometimes they freeze all. Sorry for my english

    Pick and download the latest Flash Player for your OS.

  • Youtube and flash games work, but other sites that use flash don't work

    Hi-
    I'm currently using Firefox 18.0.2 on 2 different computers (Both Win7 64 bit), both with flash 11.6.602.168. Both have roughly the same programs installed and the same browser configuration. However, on one machine, flash works only on some sites. For instance, Youtube works perfectly, as do dedicated flash games. However, sites that use embedded flash applications fail to work. For instance, if I visit www.speedtest.net, where the test options normally appear is completely blank. Similarly, other video players fail. For example, videos in www.cbsnews.com play sound, but where the video should be is just white. I've tried completely uninstalling both firefox as well as flash, and installing previous versions, nothing has worked.

    I guess it is a process of elimination, what is different ?
    I would first of all check and experiment with Adobe FlashPlayer protected mode setting.
    * http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows
    Also have you any filtering, adblock or security related programs installed which may block video or scripts. With you-tube check is it actually using Flash player,and not trying to use any HTML5 options so check any options and cookies.

  • How to transfer a saved flash game's progress onto another computer using a flashdrive?

    I downloaded a .swf file of a flash a game that I put into an html file and found that it saved data into the sharedobjects folder inside of the macromedia folder but I'm just wondering if theres a way to redirect where the flash game goes to load player progress so that I can just copy the folder into my flashdrive and play it from there. In case anyone asks why I won't just copy the folder's contents into the second computer I'm planning on playing the game on a computer in school.

    No, there's no good way to do this.  You *could* (if you can run an .exe file off the flash drive) try the Flash Projector, if you can run the SWF as a standalone application. 
    Adobe Flash Player - Downloads

  • Flash games going oooober slow

    im having a problem with flash games where when i open them
    they run at half or less speed, my only guess is that is the flash
    player because it dows not happen with non-flash games. any ideas
    how to remedy my machine?

    You can find details on a clean install here:
    How do I do a clean install of Flash Player?
    Chris

  • Problem with #D Flash games/animation

    Hello. Ive got such problems that all 3d flash games are extremaly choppy oin my computer. Regular flash games works fine. It is not a problem with my hardware cause earlier the 3d games were working very good (even on the beta version of flash player with 3d support). any ideas how could I fix it?  Thanks in advance

    Please provide some basic information like
    your operating system / version / edition
    your web browser / version / edition
    your Flash Player version
    your display adapter & driver version

  • Flash Games-Custom Cursors

    If there is a custom mouse cursor in a flash game, my cpu
    usage is getting up to 80% (flashplayer usage). Like in cake mania
    game flash. My mouse cursor is always shaking. Also It effects
    other pages on browser (ie and ff).
    scrsht:
    http://img261.imageshack.us/img261/9200/cursordz4.jpg
    sample flash file:
    http://www.oyunola.com/oyunlar/beceri/cakemania.swf
    -My problem?
    -Game designer problem?
    -Or flash player problem?
    thnx

    Chris, thanks for the suggestion
    I went through this and here’s what happened:
    -          I do not have Realplayer
    -          When I went into protected mode (forced to create a new profile) the problem still occurred
    However, I wonder if I did something wrong --
    Is there a way to verify that Firefox is actually in protected mode? It doesn’t look any different, and even has my home page!
    I did learn that the problem is intermittent – some games (maybe smaller ones? Not sure how to tell) load ok
    One that works for me: http://miniarcadebox.com/2012/09/small-safes-house-escape-2/
    One that doesn’t: http://www.melting-mindz.com/turtle_island_escape.php
    Right click gives message “Movie not loaded”

Maybe you are looking for

  • Event Dispatch Thread Hangs, what is wrong?

    The Event Dispatch Thread Hangs when showing a modal dialog while running a SwingWorker Thread. I have included my code at the bottom of the page. There are three classes. I have posted a bug report to red hat. But I want to make sure my code is corr

  • Cannot add serial number to my adobe account

    hello, maybe someone can help me with this mess: i bought the cs6 from a software house, and they gave me the link to download the cs6. all worked fine so far. but they gave their email-address as adobe account name. i changed it while i was logged i

  • Raw material inventory report

    Hi SAP GURUS, 1) Is there any standard Raw Material Inventory report that shows value by inventory type (scrap, alloys, principal supplies,  spare parts and minor supplies, WIP, finished goods, graphite, and the reserves for those material types 2) A

  • DBUM Integration With Database Vault Realms

    The dbum connector documentation mentions "...In Oracle Database installations on which Oracle Database Vault is installed, the connector can be used to grant and manage authorization to Oracle Database Vault realms. The connector treats access to Or

  • Error message when logging into iCloud

    I can not log in to iCloud as an error message comes up however I can log in fine on App Store please advise what I must do