Flash - How To Approach Multiplayer Game Facebook App Project
Jun 16, 2011
I wish to create a multiplayer game facebook app. A game will have 1 to 4 people in it playing from their own systems. I wish to target, lets say, 10K simultaneous online users. I am planning to write the client side game in Flash. I wanted to know how these clients communicate with each other. Can these clients communicate directly with each other or I should go with "server as middleman" approach? I want the game to work even in "restricted" networks. If server, how do I have things working from google app engine cloud service? I came across channel API, should I use that? Would it work with a flash client?
View 3 Replies
Similar Posts:
May 12, 2011
Is there any free Open Source Multiplayer Flash Game (like Happyfarm... in facebook) that I can use and build my own small network?What I'm looking for is the source code of some Multiplayer Flash Game (like http:[url]....for example)I do not know to much thing to talk about it, but if there is some, I hope:
+The game can run without any other system (not a plug-in or mod)
+If there is server-slide script, it should be PHP
+There is an English document for deverloper
View 1 Replies
Dec 8, 2011
I have been requested to make a port of an iOS game for Facebook.The game itself is fairly simple, it is a puzzle game using a 2d array for a grid with XML passed from a server for loading objects onto the the grid, to create levels.The game will ask questions at stages which will be passed to my server and stored for research purposes.Some questions for those with experience.What front-end options do I have with Facebook? I have looked into both Flash and HTML5/js both of which i have little to no experience in (I'm experienced in Java/C#/Ruby + Rails).Javascript seems like a nightmare from what I have read, even looking into javascript game engines, but at least it is free. My backend will most likely be rails for handling server logic.Summary(because I ramble too much)
-Is javascript for programming games really a problem for simple games on Facebook?
-Are js game engines worth using? Does anyone have any experience with them?
-Would prevention of cheating be possible with a js/rails game, do server side checks work?
-Are there any alternatives for a front end for someone with C#/Java/Ruby background?I've never seen any Unity or Java apps on Facebook(I don't use it much) and I don't know if the licensing will be an issue for this research project.
View 1 Replies
Aug 28, 2010
i've been looking in to making a multiplayer flash game.I downloaded and installed SmartfoxserverPRO with all the example files which are really awesome. I understand the idea/concept for those simple games like tic tac toe.So i'm here looking for information on making savable data to start off simple maybe just being able to save and store records for a tic tac toe game.
View 3 Replies
Feb 17, 2012
I want to develop a game like wordfeud for android and iPhone. For now I don't have a mac so I am not able to use xcode to develop for iPhone. Therefore I have decided to use adobe AIR so I can link the game to both android and iPhone.
I am able to build offline games like tetris etc. but what should I look into when I want the game to be multiplayer just like wordfeud where you can have several games running at the same time. I know I need a server for this, but can I use xampp for now just to test the application and then export the db to a real server or is it a different kind of server I must use?
View 3 Replies
Jan 12, 2011
I want to know if there is any way to creat an online multiplayer game using flash or flex (flash builder).
View 1 Replies
Nov 11, 2011
I'm working on a puzzle game in Flash. It's a two-player, head-to-head game with some realtime elements. It is not Tetris-like, but the level of player interaction and the rate of movement is similar to, though slightly more complex than, Tetris Battle on Facebook.
Naturally, I would like to match players up over the Internet. I would also like to prevent cheating as much as possible. Because of this, I am researching an authoritative server solution, much like Colin Moock describes in this answer to a similar question. That is, the server runs the authoritative game logic while the client runs a parallel simulation, sending player movements to the server for validation.
My question is this: Doesn't this essentially mean implementing the game logic on both the client and server side? Worse still, the server probably isn't going to run its simulation in Flash/ActionScript, which means you can't share code and you'll be implementing the same logic twice in two different languages.
View 1 Replies
Feb 19, 2011
We're looking for a good server to purchase to develop games with Flash/Android/iPhone clients with a .NET backend server (And even more importantly, that supports clustering and scaling in general).Now we've examined both ElectroServer and SmartFoxServer (both products look fine and suitable for our needs), however both can only be extended using Java.
View 2 Replies
Apr 5, 2011
I am looking to create a multiplayer game for both mobile devices (iPhone, Android, etc) and desktops. I have been looking at creating the game in Flash for desktops and writing the game in native language on the mobile device. Does anyone know of a good multiplayer socket server that work for connecting both the mobile and the desktop applications together.I have looked into SmartFoxServer (had a lot of trouble getting that working for some reason) and red5.
View 1 Replies
Sep 1, 2011
I would like to create a multiplayer online game (tic-tac-toe/chess) and i am not sure which language to use. I am familiar with JS/PHP and heard about comet Does comet stand a chance against Flash, if yes whats the limitations except the lack of smooth animations like flash allows? What are the differences regarding resources and memory needed? SECURITY: Is it possible to create Flash-games without any chance to modify (flash-)cookies etc... for cheating? i know lot of questions, i do hope for your recommendations into the reight direction.
View 1 Replies
Jan 12, 2003
Flash MX Actionscript Bible
1) Its supposed to make a multiplayer flash-game in one chapter. What kind of game is it?
2) Is the chapter on remoting any good? Can you btw use remoting with php, or is it only with servlets and net?
View 11 Replies
Nov 18, 2003
I am in the progress of making a game....its based off of the TV Show, Charmed. I want to try and make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this?
View 12 Replies
Dec 17, 2004
I wont to make a multiplayer game and the problem is that i don't know how to make it multiplayer.
View 14 Replies
Nov 18, 2003
I am in the progress of making a game....its based off of the TV Show, Charmed. I want to try and make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this? If there is.
View 12 Replies
Dec 17, 2004
i wont to make a multiplayer game and the problem is thet i dont know how to make it multiplayer
View 14 Replies
Jan 25, 2010
I'd like to write a program using the facebook-actionscript-api. The google code's website of facebook api shows that it provides .swc files for flex 3.4 or the sources.
how can I add them to my Flash Builder project ? Do I need to compile the sources ?
How can I use the swc file in my project ?
View 1 Replies
Jun 30, 2010
If I wanted to code a desktop-based game, I could pull some XNA code and UDP sockets and make a decent multiplayer game. I would have an extremely clear of how to code the game I wanted.But if I wanted to code a browser-based online multiplayer game, how would I do it?ou can't use XNA....I've been looking at some questions and I'm seeing PHP and ASP.NET and Silverlight and Flash and Java as the alternative languages...I really don't understand how it works. I mean, for a desktop-based game, you're opening a UDP socket and accepting clients and transferring data, updating player states, drawing the results using XNA. But in a browser, how do you open a socket and stuff? How does that concept work, communicating to people in realtime through a web-browser.
View 6 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
Jun 16, 2010
Make a simple Multiplayer game (Java server, AS3 client) and i was wondering, how would i get people to be able to select their clothing?
Im going to have the data stored in a database, but i want to know, how would i go about keeping a shirt/pants/shoes of each colour and merging them (For each character's combination) to create a new movieclip (username_figure for example)
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
Oct 6, 2010
I have created a simple card game in Ruby on Rails+ajax with jQuery for animation. It's working Ok, and I wanted to develop a multiplayer version. It looks like it's not so simple as i thought. I have also tryed to port the game completely to JS into the Canvas tag. This is possible for me and I could make the animation there much better however I still don't know how to add a multiplayer part in it.
View 2 Replies
Apr 12, 2011
I'm planning to make a multiplayer hero-based RTS game, similar to the gameplay of DotA/HoN/LoL. With about 10~ players max at once in a game. The latency and responsetime is key, trying to get as low ping as possible.And last but not least - I don't want to use any 3rd party solutions, such as smartfox server or any of the likes of it.So, with that said, what is the way to go if I'm going to build this properly? Java socket server? Python? Let me know what you think and please share resources since i haven't done anything similar before.
View 6 Replies
Oct 7, 2011
I'll start off by saying I'm a newbie, just putting that out there. How do you make a turn by turn multiplayer flash game? I don't know if an engine is made in AS3, PHP, Javascript, or whatever,I made my game already, it's just that it isn'tmultiplayer yet. Basically, there are lines, and each player crosses out a number of lines, and the last player to cross out a line is the loser. I want it where one user crosses out some lines, then presses End Turn, then the other does their turn and then presses End Turn to allow the other player to move his cursor. But how can I get both players to see the same frame and only have one player have the ability to move the cursor during a turn? Is there some easily adaptable multiplayer engine for flash for newbies out there
View 2 Replies
Jan 16, 2011
im planning on making a flash multiplayer game with using the kinda new p2p features of flash.my question is: is it possible to add a option for players to host a game on their own root server for better connection? or is it impossible to host a flash server without a gui on a linux root?
View 2 Replies
Apr 16, 2011
What is a good framework to build a multiplayer game in Actionscript? I want to create a multiplayer 2D shooter like Asteroids on the Blackberry Playbook; my main concern is latency - a shooter wouldn't be fun if the bullets are super-jerky and unexpectedly hit people. I'm guessing that a UDP-based framework would be the best.
View 4 Replies
Apr 9, 2012
I need to authorise my Flash game (which runs on Facebook) users against my game server. I'm able to get their data like id, access token, etc, from Facebook on the client (I'm using the Flash Facebook API) but I'm not sure how to authorize them on my game server (e.g. do a login with a database query). One scenario that I have on my mind:
If I could get the same access token from Facebook on both the client (which I already do) and the server (with, for example, a redirect URL, which I tried but does not seems to work), then I could easily compare the two tokens (together with the user IDs) and thus authorize the user. UPDATE To put it simpler, I want to catch the token that is returned from Facebook on the server-side before it gets to the client (it can be a simple PHP script that parses the URL token parameter). Next, store it in the DB on the server, and when the client queries the server, I can do the comparison.
View 2 Replies
Aug 26, 2011
What would be steps and technology needed to create a flash board game on Facebook? - something like checkers?
Will all game attributes - like ability to keep score, resume broken games and invite friends?
View 1 Replies
Oct 26, 2011
I'm trying to integrate a Flash Professional/AS3 game into Facebook. The swf is hosted on a secure (https) server. The swf has to connect to a SmartFoxPro socket server on another domain.I'm using the Facebook Actionscript API to interface with Facebook. (Should I use PHP, instead? I read an article that recommends using PHP, because the Actionsrcipt API may not be kept up to date.) When I fire up my app, I get a "Security Information" pop-up box saying that the page contains both secure and nonsecure items. I click "yes" to all the display of the nonsecure items.
Then, I get an "XD Proxy blah-blah-blah" popup. This pop-up goes away, and then my app logs in to my SmartFox server.So... What is this "XD Proxy" window? I think it looks unprofessional, and users may think there's an error with the app. Also, can I block or hide the "Security Information" pop-up? Why don't I see this in other FB apps?
View 1 Replies
Jul 11, 2011
i made flash game in action script 3.0. In my game i have leader score.. i have 2 buttons 1. share on facebook and 2. challenge your friends on facebook.on clicking 1 button it will directly go to facebook and share my score on facebook.And on clicking 2 button my all facebook friends pics will appear with checkbox when i am selecting few of my friends and click on go buttons, the facebook request will go to selected friends only for challenge ... how to do this 2 buttons functionality.
View 1 Replies
Aug 8, 2011
I'm building a multiplayer card game using Flex on the client side and Java on the server side and I wanted to know if I must sockets and the accept method in order to connect users to the server for in order for them to join a game room or create one or to chat.In the past I've learned how to build a game server which both sides are JAVA and connection was in sockets but now days the client side will be in FLEX which has few ways to connect to a Java server (XML,SOAP,BLAZEDS(AMF)) and I find it hard to understand how to write the Java server in order to do all the features of a game server,especially managing the rooms and sending data back to the users.
In the sockets way, when a user was connecting to the server and he had opened a room, this room was opened on a thread and who ever was joined that room then he was connected to the same thread and sending the messages to the right place was easy, so the problem is understanding how to do the same using SOAP or BLAZEDS.
View 4 Replies