ActionScript 3.0 :: Sockets And Multiplayer Games

Nov 25, 2011

this question has been bugging me for a year. Basically I'm trying to replicate Club Penguin (multi-player game for kids who are their own penguin who play other penguins who are other kids online). So far Ive got it working: [URL]

but it creates a horrendous cache of XML as it simply sends and receives an xml file between players (poleing I believe). I want to convert this to a socket connection. However I really want to know: -do you need your own webserver (I have an old PC I can convert to one fine), but how do I set it up (php, Red5?) -the examples I have refer to old versions of Flah and sometimes use the (legendary Senoculars) class KeyObject.as So ~ I know what I want to do Ive got half way there anybody know the other half?

View 4 Replies


Similar Posts:


Online Multiplayer Games Tutorials?

May 4, 2009

I am pretty good with C++, very good with PHP and MySQL, CSS, HTML, and JavaScript.What I want to do is make an online game where 2 people can play against each other online They will be able to pick their uniforms which will be saved to a MySQL database, and the uniforms will show the color they picked when they play online.Now I just want to know where to get started her

View 1 Replies

Multiplayer Online Flash Games?

Jul 2, 2011

I have an idea to create a multiplayer online card game and I prefer to use flash, like yahoo chess(it is not a card game), zynga poker etc.

View 2 Replies

Flash :: Osx - Make Online Multiplayer Games?

Mar 31, 2010

I want to make a simple game so that I can play against my friends at school. The school uses macs. Also if you can't make online games with flash what can I use. Also can they be 3-d if I eventually get good at making games?

View 4 Replies

Flex :: Building Java Multiplayer Server Game - Difference Between Sockets And Webservice?

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

ActionScript 3.0 :: Anti Cheat Protection For MultiPlayer Games?

Feb 22, 2010

Is it possible to write an anti cheat protection for a multiplayer game?
Game type: boards, moving color gems or squares to make three in line.
I know there are programs capable of analize the pixel color of each square and auto resolve the game by play itself. Is anyway to protect against this?

Examples:
- Detecting if mouse had been moved by a program?
- Detecting if keyboard Keys has been sent by a program?
- Maybe record player screen or manual review?

View 2 Replies

ActionScript 2.0 :: Multiplayer Between Two Computers?

Oct 13, 2009

Is flash 2.0 able to access two computers at once? I was thinking of making a system that could work like a text instant messager and the ability to use a very primitive drawing system to send other people pictures. If anyone knows if it can be done could you point me in the direction to start?

View 1 Replies

Savable Multiplayer Flash Game

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

Android :: AIR Supports Local Multiplayer On IOS?

Apr 15, 2012

I am currently thinking about the best multi-platform language to build a multiplayer app with, and I was just wondering if anyone knows if AIR supports multiplayer locally between devices i.e over a LAN or bluetooth? Would I need to run some aspects of the game via a server?

Not to give too much away (of the game idea) but it would be similar to a "Simon" type game, with the only info being passed to each device either a score/amount of moves to beat or other simple piece of data.

View 2 Replies

Multiplayer Flash Game (like Some In Facebook)?

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

C# :: Multiplayer Whiteboard Race Condition?

Jun 5, 2011

Imagine a multiplayer whiteboard where several people can draw at the same time. To keep it simple, lets say there's a single object on the whiteboard which can be moved or deleted by any user. There is no notion of user-owned objects (i.e. it's important that any user be allowed to manipulate any object... it's a free-for-all whiteboard)My problem is this... if two users try to do a different action on the object at the same time, i.e. one deletes it the other moves it, what happens?

Right now- in just letting the messages go through, it gets all out of whack.One idea was to have a serverside control which resolves who has control of the object, and nothing is allowed to happen clientside until that conflict is resolved. Conflict resolution can be based on a first-come, first-serve basis.Even though this can happen very fast, the small delay (~50-300ms) is unacceptable since movement must be instantaneous on the client side. For example, instead of manipulating objects, think of a pen. For there to be a delay till they've already started drawing... not good!

Another idea was to have a "request control" button, which asks the serverside extension for control.... same idea as before, but now they aren't frustrated by the initial delay of pen drawing. This is also not so good though since they must hit that button till they can do anything, and this whiteboard is really meant for kids..

View 3 Replies

ActionScript 2.0 :: Making A Game Multiplayer?

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

ActionScript 2.0 :: Way To Make Multiplayer Game

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

ActionScript 3.0 :: Online Multiplayer Getting Started?

Mar 21, 2007

I think it's time I tried making a Flash project where multiple visitors to a website interact with one another. (I think this is called remoting, but I'm really not sure.) I'm currently deep into AS3, but would like to know how to implement an online multiplayer (or multi-user, I guess) system in both AS3 and AS2.

Where's a good place to get started? In particular, what online resources are available for someone interested in these technologies? And how do I test what I create- preferably, on one machine?

View 1 Replies

ActionScript 2.0 :: Making A Game Multiplayer

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

ActionScript 2.0 :: Make Multiplayer Game?

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

C# :: How To Code An Web-browser Based Multiplayer Game

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

Delay Server Response In Multiplayer Game?

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

Actionscript 3 :: Building A Multiplayer Game In Flash?

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

ActionScript 3.0 :: Make A Simple Multiplayer Game?

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

ActionScript 2.0 :: Real Time Multiplayer/xmlSocket?

May 24, 2008

Im trying to create a real time multiplayer game similar to "Stick Arena". Ive already created a nio java server which works wonderfully. Everything connects and works ok however the problem im facing is efficency. When I test the game on my lan network, there is a delay of about 200 ms. When the game is tested ona single computer everything gets sent without any significant delay (1ms~). Whats wrong?

View 6 Replies

Media Server :: Different Rooms Work In A Multiplayer Game?

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

Jquery :: Simple Multiplayer Game In Ruby On Rails?

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

Flex :: Creat An Online Multiplayer Game Using Flash?

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

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

Authoritative Flash Multiplayer Game Server: Twice The Work?

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

Flash :: Php Communication - Multiplayer - Local Works - Another Computer Does Not

Dec 19, 2011

I made swf file that sends id to php, than php collects info from mysql by this id, and returns result, than flash does his work with that result. The problem is here, I will try to explain it as clearly as I can: everything works fine when I do that on the computer that has all the source files and of course xampp running.

[Code]...

View 1 Replies

ActionScript 2.0 :: XmlSocket - Multiplayer In Flash - Establish A Connection

Jan 24, 2009

I've been searching a long time to find a way to do multiplayer in flash. I came across xmlSocket. I'm trying it out really simple at first:

[Code].....

I've gotten all the policy stuff working. And this works perfectly while testing on my computer. If you're wondering, I have a python script listening on port 2950. Here's the python code:

[Code]....

Finally to the problem. No matter what I try, I can't seem to get these two applications to communicate when on different machines. When I try it, no messages even get through to python, it doesn't see anything trying to establish a connection. So I suspect it is having a problem on the flash side of things. Also, is there any way to have multiple flash apps communicating directly, rather than going through the server?

View 9 Replies

ActionScript 3.0 :: Begin Making Multiplayer-based Stuff In It?

Dec 3, 2010

I've done some research but I'm still quite unsure with what and how to begin making multiplayer-based stuff in as3.

I've seen quite alot of api's, like PlayerIO for instance, but I'm really not sure where to begin really. What are your thoughts on what tools to learn, if I were to make, for instance, a platform based mmo?

View 1 Replies

ActionScript 3.0 :: Make A Multiplayer Hero-based RTS Game

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







Copyrights 2005-15 www.BigResource.com, All rights reserved