Actionscript 3 :: Design Community Driven Server Hosting And Game Lobby
Oct 31, 2011
I want to create a 2D real time multiplayer game in the browser in Action Script that can do the following:
Client: Player logs into Account via Flash Client. Player hits 'Versus Mode' Button. A lobby with a list of online servers come up. Player joins game. Heres where the problem comes in, I want the servers to be community hosted. i.e. the player downloads and runs a server app on their own desktop for other players to join. Players then go to the website and access the browser based client to find a list of active servers.
This would be a commercial product (players buy an account to log in through the client) and each player hosted server must handle 20 live players. As the servers are not centralized and scalability is handled by the community typical solutions like SmartFoxServer licences will not work.
[Code]...
View 1 Replies
Similar Posts:
Apr 17, 2010
Im picking up a dedicated server it will be CentOS and be well above the minimum req for FMS 3.5 Interactive.
Question: I want to use my dedicated server for more then just the FMS. Is this possible? Basically I want to use the same server for FMS and for the file hosting of my site. Obviously I would give it a different IP but am not sure what I will need to do specifically
View 3 Replies
Jul 22, 2009
Is it possible to host my /media/ directory on a different server (that has more space) and have FMS Link to it to player VOD ?
View 1 Replies
Apr 27, 2010
I looking for a hosting of FMS for a video conferencing application. Each flex application will be able to connect a camera and microphone and broadcast it to Flash Media Interactive Server. Listner will play the published live stream. First I thougt I will be able to do so over Amazon Web Services Content Delivery Network Cloud Front, but it looks that this is for playing stored files only. May you please give me some names of hosting providers that have presence in US, Europe and if possible other places?
View 3 Replies
Jul 28, 2010
i m using flvPlyback in player in two websites but in one of the sites its not working properly, while in the other its working fine. it shows black screen there
View 1 Replies
Nov 4, 2011
I'm trying to request to an API method on the same server that is hosting the SWF file. I'm getting a security error 2048. This occurs whether I use POST or GET, and leaving the request data blank doesn't improve things. Nothing is sent in either case, and I get a SecurityErrorEvent to stare at. Everything works smoothly from the IDE.
The applet isn't trying to load the crossdomain.xml file, so it apparently isn't considering the request to be cross-domain, and shouldn't be any other domains involved. Loading images from the swfRoot works fine.
Is there anything else that could be causing this error? Furthermore, is there any way I can find out more details about what exactly is going on? Tracing the toString of the ErrorEvent only gives me "Error 2048" - I've seen reference in other questions to messages for this error that read "cannot load data from XXX", but I can't seem to get one of these (I'm using Flash CS5).
[Code]...
View 3 Replies
Mar 4, 2009
I'm building a site that is using 4 looping videos as background and would like to host the videos on a FMS.
View 4 Replies
Feb 28, 2011
I am making a dynamic image driven game and I am having some problem with preloading all the images at ones, so I am here to seek some help.images is an array that stored the image's url.image_loaded is a variable to see if check how many images have loaded.whenever the image_loaded variables is equals to the images array's length, it will proceed to my desire frame. But for some reason the images isn't showing up all at ones.[code]
View 7 Replies
Oct 27, 2009
I'm looking for the very least expensive host or CDN to host and stream from (live & on-demand) using FMIS 3.5 and related flash servers. Can anyone provide the cheapest place to host and CDN from? I willl consider both Adobe or Wowza.. but ideally want Adobe.
Also, many cheaper hosts or CDNs use Wowza, i'm wondering if you have any major pros vs cons type comments about going with Wowza?
View 1 Replies
Jul 3, 2011
I'm looking to get some good books on design patterns and I'm wondering what particular pattern you'd recommend for a Realtime Strategy Game (like Starcraft), MVC?. I'd like to make a basic RTS in Flash at some point and I want to start studying the best pattern for this.
View 3 Replies
Jul 9, 2010
"Contact Form" and "Hit Counter"... I tried the PHP version, but the hosting server does not supports PHP and I can't change this, must do it some other way... but have no idea how to. I heard of "ASP" but no idea how to use that.
Actually, all I need is a way to send an email with one message (the topic and "from" does not even matters... and the email is always the same) from inside the flash movie. And also the hit counter is inside the flash movie. Is this hard or imposible without PHP? I tried one ASP tutorial from google, but in the end... for some reason, the ASP code showed in a new web browser window.
View 1 Replies
Aug 4, 2011
I am reading a book called foundation Game Design with flash and there is good that is not working at all.
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class Main extends MovieClip {
var startPage:StartPage;
public function Main() {
startpage = new StartPage;
addChild(startPage);
}}}
The error is 1120
View 3 Replies
Feb 10, 2011
Would like to know what is the best way of designing and building a basic AS2 flash dress-up game for girls and boys.
Are there any templates one can get going with?
The flash should be able to save a snapshot at any given moment and email the snapshot to 5 or less friends.
View 1 Replies
Aug 23, 2011
I'm still studying OOP designs, so what's the best way to achieve an inventory for a simple flash game? It seems that more than one design pattern could deliver some kind of an inventory but I would lose the flexibility if I try to adapt it somehow without a good knowledge about the subject. For money to buy what is available in an inventory I thought of Singleton. If there's enough cash earned while playing the game, then one can buy new skills. Maybe decorator pattern could list many thumbnails as buttons, and clicking on it applies new features and skills to the character.
View 1 Replies
Dec 14, 2010
- Is there a benefit to hosting FLV files on a Flash Media Server when they are under 2-3 minutes?I've been working on a couple different video projects as of late... some are simple web player with 30 second ads and others are working with longer videos like 2-3 minutes. I currently have an FLV hosting provider running Flash Media Server but with videos so small don't they download for the user as progressive anyway and there is no real benefit whether I am using my FLV host or my traditional web host?
i also use a separate video hosting company to handle my mobile videos mainly because I am a bit naive on how that works as well. I had a project with straight links to play video on mobile phones (with three different version served up based on OS). But it seems like most of those were progressive downloads as well.
View 1 Replies
May 25, 2010
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/removeChild() at latest_fla::MainTimeline/action()I get this error when i try to remove the instance of the ball after detecting collision over a wall.. i want the ball to disappear after it collides with the specific walls. i am new to AS and not ablt to sort out the problem. i am trying to make a game using AS3.0
View 12 Replies
Jan 30, 2010
This may seem like a noobish question (and it is) but I have created some AS code to help assist in a project of mine in a level design class to create a mock interface for a game. It works fine on the first screen but once you hit any button and go to the next and then try to go back, the code breaks and I am not sure why. Ive tried multiple things to get it to work but nothing seems to help. The code I am using is
ActionScript Code:
storybtn.addEventListener(MouseEvent.CLICK, start1);
function start1(MouseEvent){
gotoAndPlay(2);
}
[Code]...
View 1 Replies
Apr 6, 2012
ame_Manager.as= this manages the creation of balloons, players and collisionsBalloon.as= This is the balloon classPlayer.as=This is the player classThe Game Manager class will pass stage to the balloon and player classes and create them. I add these two in the Game Manager class.In the balloon class i add all the balloons in an balloon array.Now when i run the code i am unable to check for collisions as nothing happens when the player and balloon collides. and i get a child must be a caller of the display object when i ry to remove the balloons after they have crossed the stage.I have been trying to make it work for a long time a the game is very very simple.in the Object Oriented way of designing this simple game as i think that is where my error might be.I will post the code for these belowGame Manager.as
Code:
public class GameManager extends MovieClip{
public var backGround:BackGround;
[code].....
View 4 Replies
May 27, 2004
I is chuckmul again. I am starting a new game of war stratigy. It has an Isometric veiw point. I was just wondering how I could first make the I sometric grid using flash and second make a fully interactive enviroment
View 7 Replies
Aug 10, 2009
I like to organisate a lobby. There you should be able to creat a room and join one. Inside this room you should be nearly independent from the lobby and have your own SharedObject etc. I am searching for a good Idea to deal with that. Google wasn't very helpful for me in that point. I would be glad if you got some ideas or links of some way to solve that
View 7 Replies
Aug 23, 2009
I bought a flash site template that loads xml driven swfs inside the main swf as different menu items are clicked. The modules that come with the template work fine, but I don't know how to add a third party xml driven swf, so that it shows up properly. While the third party swf works fine as a standalone, the embedded version loads just an empty movie.
View 4 Replies
Sep 24, 2011
I only started coding Actionscript about two weeks ago and I really need help on this, I am seriously considering just coding an if statement for each value if I can't figure this out. Sorry if my code is terrible formatted, I am self taught using Adobe Help.This is what I need help on.I have a program installed on a game server (CoD4) that outputs the server information including player(s) info and would like to be able to make it so that there is a flash document on the website displaying the information for each player. I wanted the program to build the information automatically and so far I have been able to make it work but the formatting of the output is terrible.To make things simple, the only real information I need from each player is their name and guid. Hopefully each player's info is on a new line.This is the xml document the server is outputting:HTML Code:[URL]
Code:
import flash.net.URLRequest;
import flash.net.URLLoader;
import flash.events.*;
[code]....
View 4 Replies
Mar 10, 2011
how to go about what im trying to do but basically I have programmed a game which i am trying to link to make multiplayer. only 2 players.competing in the same event. a score is generated in my code and want to compare the scores to give a winner and a loser.
View 2 Replies
Feb 22, 2008
I wrote a XML Socket server in PHP recently because I wanted to make a multiplayer Flash game in AS3. This server is supposed to be completely generic and doesn't have any game logic. You should be able to build pretty much any game with this server.
While writing it I realized the new version for Flash Player 9 r115 had some new security issues surrounding Sockets. So I implemented a crossdomain.xml and modified the XML Socket server to serve a crossdomain.xml file if it encounters a security request. The security policy socket server runs on 843 always (it's the default port flash player looks at).
Along with the PHP Socket server I wrote an XML Socket client in ActionScript 3 (AS3). This set of classes is also completely generic and is completely event driver. Your game client would include this file and pass it parameters through the Events classes in order to communicate with the socket server.
Lastly I created a very simple game / prototype using the AS3 class and PHP server. It is very basic, each player gets a ship, and can move around and shoot at other players. However I implemented all of the funtions: Logging in, Logging off, Synchronising players and movements, creating objects (ie firing a bullet), etc
View 13 Replies
Jan 30, 2011
What is the best free game server for a game developed in Flex 4?
Is it possible to make the server using other programming languages?
View 2 Replies
Apr 20, 2011
I'm making a multiplayer flash game where at a 'table' more than two players will be playing. Its turn based. Using zendAMF can the server response be made to wait till the player whose turn it is has made his move, so that it will appear to be real time?
I don't want to use polling since I read that it is not a very good practice. Instead can this method work? Lets say its player A's turn and the other players B,C,D are waiting. Their flash clients send a request to the server to get any updates. Instead of responding immediately can the server wait till player A has made his move and then send its response containing player A's move details to other players B,C,D?
Edit: Added image.Found the name of this method. Its called Long polling. So can Long polling be done with PHP webserver running apache and using a flash client which sends the requests?This is how the other players waiting players B,C,D are expected to be treated.
View 1 Replies
Nov 17, 2010
i've recently created a demo of a flash game(AS3) for a client, in which the user hears a word and has to spell it correctly. the client wants the game uploaed to the web, where it will have to communicate with the server. the client's web developers outlined their desired flow for the process: users will go through a log in screen (html page), and fill in their username and password. after signing in, their details will be added to the url in which the flash movie is loaded.
flash has to be able to read the url and identifiy the user through it. additionally, flash has to recieve an xml with the current words the user will be played. finally, flash has to send the user's score back to the server. i've been developing flash bit by bit for about a year now, but this will be my first web project.
View 1 Replies
Jul 22, 2009
I am working on an educational game that requires the user to enter their username and password in order to retrieve their saved game data. I know how to do this locally using the sharedObject class but I do not really understand how to do this remotely on the server. I thought maybe using remote shared objects would work but it looks to me like that only works with a flash server and data can be changed by anyone.
View 3 Replies
Dec 10, 2009
I am in the midst of coding a multiplayer card game. Right now, to make things simple, I limit myself to code for 3 players for one room. The clients call functions in the server and vice versa. Functions such as player's turn, shuffling cards, etc. So what happens if there's more than 1 room? Won't the data from the different rooms get mixed up with one another in the server side, since everything will be happening in just 1 server and on the same function? I am abit confuse on this part. Can someone enlighten me on how different rooms work in a multiplayer game? How do I make sure the data don't get messed up?
View 2 Replies
Jul 6, 2011
We're currently working on a small scale indie card game for Facebook, which we hope will reach hundreds of thousands of players (eventually). We have most of the issues figured out (scalability, server-side architecture, etc) - however one question - communication between client & server.
We have the following requirements:
Server side push messages (no client message request) High scalability (should support at first hundreds and later hopefully thousands of CCUs) Secure, reliable layer Work well with most computers, routers & browsers Works with Adobe Flash/AS3
First thing that came to mind was socket connections, but I was wondering, is there a better solution that answers our needs?
View 2 Replies