Advertisement

11.28.2006 at 12:02PM PST, ID: 22075256
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Flash Multiplayer Game
Tags: multiplayer, flash, game
Hi. How do I create a multiplayer game in Flash? I can use and understand actionscript but I dont have experience of MySQL, or PHP, or ASP. As I have allotted 250 points to the answer to this question - i would like the answer to include code aswell please. Thanks :D
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: QuddusAli
Solution Provided By: trigger-happy
Participating Experts: 3
Solution Grade: A
Views: 444
Translate:
Loading Advertisement...
12.02.2006 at 03:49PM PST, ID: 18061276

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.03.2006 at 01:33AM PST, ID: 18062742

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.03.2006 at 01:45AM PST, ID: 18062752

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.03.2006 at 07:58PM PST, ID: 18066183

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.29.2006 at 09:33AM PST, ID: 18215236

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.02.2007 at 02:46PM PST, ID: 18231881

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
12.02.2006 at 03:49PM PST, ID: 18061276
Creating any kind of game is not as easy as it sounds, let alone a multilayer game. There are several things you can do to create a multiplayer game. The 1st one would be through the use of PHP, MySQL, etc. These kinds are rather slow and would be recommended for games like chess, tictactoe, checkers, etc. The 2nd type would be through the use of sockets. Socket will allow you to create a more real time interaction between players and can allow you to create games that require faster reaction times. In creating a game, you should ask yourself the following:

1.) What kind of game are you making?
2.) Is it feasible in flash and what technique should be used?
3.) Do you have enough experience in using flash to create a game?
4.) Do you have the time to create such a game?
5.) Do you think you'll be interested all the way in making such a game?

Don't overlook any of these questions because game development of any kind is very difficult and time consuming.

Finally, there is no single code that can help you create a good multiplayer game. If you're really willing to make a game then my suggestion is to do some experiments in flash on how to use PHP, MySQL and the XMLSockets to accomplish things. Once you get a good feel on how to use them, you would have completed the 1st step to creating multiplayer games in flash.

--trigger-happy
Accepted Solution
 
12.03.2006 at 01:33AM PST, ID: 18062742
What kind of game would you like?

Something slow? like chess, checkers, ...
Or a real-time game, (mini shooter, ...)

And, yes, what exactly is your question?
The question: how do I create a multiplayer game?.
Where exactly are you stuck?
have you ever written a single player game?
What is your level of expertise with Flash?

I'd recommend some smaller projects, maybe a small single player game, or checkers, Battleships, ...before writing a full multiplayer game.

However, if you're gonna go trough with this, I wouldn't use php and mysql. Those are good or keeping highscores, ... But they're too slow for most of the things you want to do (definitely if you want something like a shooter game you need a direct connection between your clients to do that).
You can use a direct connection, trough XML Sockets, like trigger-happy already said.

Developing a game will consume lots ADN lots of time, lots of frustration and points where you'll be stuck, or bored and want to give up. Definitely if you haven't exactly coded much yet.
However, I do not know your level of expertise, so... good luck.
If you have more questions, feel free to ask, but ask more 'specific' questions.

We can't write some sample code for something as big as you want.
Assisted Solution
 
12.03.2006 at 01:45AM PST, ID: 18062752
Here's a quick tutorial on the use of XML Sockets.

http://www.flashvista.com/details/item/585/

It makes you able to write a simple chatbox.
Now, as you see, the server code is NOT Flash.
You'll need C++, PHP, Java, ... to do you serverside coding.
I'd recommend Java.

Anyway, to get you started.
You have to send messages from the client to the server, which then can send that message to other clients.
So, let's say character 1: Mario moves forward. He will have to send a message to the server, that he moved forward.
The server will tell all your other clients that Mario moves forward. When your clients receive this specific message, you have to let Mario move.

I never did this in Flash, but it's pretty much the same for Java, where I have written small multiplayer games.

Some more advice: don't start off expecting to write the best game ever.
Start with small minigames. Later, you can use the code, and everything you've learned to create better and bigger games.
 
12.03.2006 at 07:58PM PST, ID: 18066183
I've done multi-user flash apps with both Java and C++ server... PHP might be a bit too slow for anything being done in real time. AquaServer is an open source java server designed for use with flash clients that configures pretty easily right out of the "box". I'm not sure if this has been fixed or not, but there was some issues with non-threadsafe operations during client logon.

Of course, the easiest solution, if you're already comfortable in ActionScript, would be to look into Adobe Breeze. I don't know what it costs, so that might be a deal-breaker right there for you, but it's designed specifically for multi-user applications (games falls nicely into that category). After viewing the developer version (they released a version that allows you to simulate a multi-user session by running multiple flash instances running on the same box, to make it more available to programmers), I'd estimate it cuts out 95% of the coding drudgery and lets you work with the high-level concept of the game rather than the details of implementation.
Assisted Solution
 
12.29.2006 at 09:33AM PST, ID: 18215236
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   Split: trigger-happy {http:#18061276} & psyki_be {http:#18062742} & AngryBinary {http:#18066183}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Venabili
EE Cleanup Volunteer
 
01.02.2007 at 02:46PM PST, ID: 18231881
Forced accept.

Computer101
EE Admin
 
 
20080236-EE-VQP-29