Sign in to follow this  
mach3000

Is a browser, real-time, pvp game like mortal kombat possible?

Recommended Posts

Is a browser based, real-time, pvp game like mortal kombat possible? I would like to make a game that has similar mechanics. Can a game like that be done with Actionscript? If web browsers can't do real-time pvp really well yet, then I think I'll have to program the game in c++ or something. Any help appreciated, thanks! :)

Share this post


Link to post
Share on other sites
[quote name='mach3000' timestamp='1310746062' post='4835700']
Is a browser based, real-time, pvp game like mortal kombat possible? I would like to make a game that has similar mechanics. Can a game like that be done with Actionscript? If web browsers can't do real-time pvp really well yet, then I think I'll have to program the game in c++ or something. Any help appreciated, thanks! :)
[/quote]

I don't know anything about ActionScript and Flash, but you can certainly make it using WebGL and Web Sockets (as in, JavaScript).

Share this post


Link to post
Share on other sites
I think a lot of it has to do with abstracting away, as you drill down, you have layer on top of layer on top of layer.
And if not done 100% correctly with all the interfacing your going to lose some responsiveness as you add more.

So in essence your doing this
Mouse click
Firefox processes mouse click
Firefox sends mouse click to whatever local API your using, java, whatever.
that API processes your mouse click and sends it to the server back through firefox
the server processes your action and replies back to firefox
firefox processes the server message
firefox passes it along to your API

Granted its not adding that much to the whole process but a lot of the real-timeness of most games is faked anyway.

And this is my understanding I could be completely off here.

Share this post


Link to post
Share on other sites
[quote name='mach3000' timestamp='1310746062' post='4835700']
Is a browser based, real-time, pvp game like mortal kombat possible? [/quote]
[url="http://www.sloperama.com/advice/lesson50.htm"]FAQ 50.[/url]

Share this post


Link to post
Share on other sites
[quote name='Tom Sloper' timestamp='1310763961' post='4835801']
[quote name='mach3000' timestamp='1310746062' post='4835700']
Is a browser based, real-time, pvp game like mortal kombat possible? [/quote]
[url="http://www.sloperama.com/advice/lesson50.htm"]FAQ 50.[/url]
[/quote]

I love that

Share this post


Link to post
Share on other sites
[quote][img]http://www.sloperama.com/images/letq.gif[/img] Is there a chance that Arnold Schwarzenegger will become President of the United States?
[img]http://www.sloperama.com/images/leta.gif[/img] Yes. There is. [/quote]

As much as the page is trying to be funny, it really isnt, and the above is a great example of how some of it tries so hard, it loses acuracy.

Arnold Schwarzenegger can NOT currently become president of the US. He was born in Austria, meaning he does not meet the requirments

Share this post


Link to post
Share on other sites
[quote name='ProtoJazz' timestamp='1310854270' post='4836161']
[quote][img]http://www.sloperama.com/images/letq.gif[/img] Is there a chance that Arnold Schwarzenegger will become President of the United States?
[img]http://www.sloperama.com/images/leta.gif[/img] Yes. There is. [/quote]

As much as the page is trying to be funny, it really isnt, and the above is a great example of how some of it tries so hard, it loses acuracy.

Arnold Schwarzenegger can NOT currently become president of the US. He was born in Austria, meaning he does not meet the requirments
[/quote]

The requirements can change so it is possible, its very unlikely but still possible just like the question following it:

[img]http://www.sloperama.com/images/letq.gif[/img] Uh-huh. Let me try this one, then. Is there a chance that I'll win five hundred million dollars in the lottery and find a cure for AIDS?
[img]http://www.sloperama.com/images/leta.gif[/img] Absolutely.

the point comes after the questions
[quote]
[b]Please. Don't ask questions that begin with "is it possible" or "is there a chance."[/b] What's [u]possible[/u] is an entirely different thing from what's [u]probable[/u]. It's all well and good to have a realistic and firm grip on what's possible. [b]But isn't it BETTER to have a realistic and firm grip on what's PROBABLE[/b] ... thus gaining an insight into your best course of action?? [/quote]

Share this post


Link to post
Share on other sites
I don't know about Actionscript but you can do it with java and C#. 

1. Make a game design doc. You will fail without it.

2. Learn Java and C#

Tutorials
Java - http://download.oracle.com/javase/tutorial
C# - http://www.csharp-station.com/Tutorial.aspx

Programs can find yourself.

3. Build it

4. Develop game servers

5. Beta testing

6. Release to public

Easily wrote than done

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this