Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 19th, 2006, 08:59 AM
RageRiot RageRiot is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 5 RageRiot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 49 m 31 sec
Reputation Power: 0
Language to program multiplayer game

New here, so "Hi all"

I used to create simple games on the Amiga (using AMOS) and these days I'm a php web designer/programmer.

I'd really like to get back in to game programming and I'm currently looking at the different programming languages.

Long term, I'd like to create a top-down game (think AlienBreed) but multiplayer. In an ideal would, I'd be able to put this on the net and have anyone that visits my website to play it without having to manualy download/install anything (I don't like the 'feel' of flash based-games).

As an extra bonus, I'd like to be able to develop PC applications too.

Any ideas/thoughts?

Thanks for your time

Reply With Quote
  #2  
Old July 19th, 2006, 09:57 AM
b3n's Avatar
b3n b3n is offline
Dreams Abundance
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jul 2004
Location: Prisoner of the Sun
Posts: 3,968 b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level)b3n User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 2 Days 11 h 46 m 5 sec
Reputation Power: 532
Facebook
If you don't want people to have to install anything, then you have to use Flash.

Director is more powerful and has a true 3D enigne but the browser plugin is over 8mb to download (and most visitors will have to download it).

Otherwise you could use Java or C / C++. But again that would probably need a big download to get the actual game.

You could make some kind of game using PHP, it has been done, but the kind of game you could make would be limited.
__________________
.
Web Dev Cheat Sheets :: Flash 8 LiveDocs :: PHP Manual :: MySQL Manual :: My Zodiac/13Moon Mod for SMF :: Compare Game Prices

"All matter is merely energy condensed to a slow vibration. We are all one consciousness experiencing itself - subjectively. There is no such thing as death, life is only a dream. We are the imaginations of ourselves."
- Bill Hicks


"Truth is hidden in the subtle nature of the heart of everything, although it is invisible. One cannot see it from inside and neither from the surface. One can only live and experience it."
- Heart Sutra

Reply With Quote
  #3  
Old July 19th, 2006, 11:05 AM
xlordt's Avatar
xlordt xlordt is offline
Only the strong survives!!.
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2003
Location: A World of wonder.
Posts: 5,516 xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Weeks 1 Day 14 h 51 m 14 sec
Reputation Power: 378
Send a message via ICQ to xlordt Send a message via AIM to xlordt Send a message via MSN to xlordt Send a message via Yahoo to xlordt Send a message via Google Talk to xlordt Send a message via Skype to xlordt
Facebook
Most of the game's created in php are RPG, So what type of game are you looking to create?

Reply With Quote
  #4  
Old July 20th, 2006, 12:31 AM
pumpkin head pumpkin head is offline
what do I know about diamonds?
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: ON, Canada
Posts: 950 pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)pumpkin head User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 51652 Folding Title: Beginner FolderFolding Points: 51652 Folding Title: Beginner FolderFolding Points: 51652 Folding Title: Beginner Folder
Time spent in forums: 1 Week 1 Day 23 m 45 sec
Reputation Power: 168
most people have java installed on there system so if you make your game java based it would be quite accessable.
__________________


Reply With Quote
  #5  
Old July 20th, 2006, 02:12 AM
Hugh of Borg's Avatar
Hugh of Borg Hugh of Borg is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Location: Switzerland
Posts: 542 Hugh of Borg User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hugh of Borg User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hugh of Borg User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hugh of Borg User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hugh of Borg User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hugh of Borg User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hugh of Borg User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 10 h 58 m 24 sec
Reputation Power: 66
If you don't want people having to download the game you'll be seriously reducing your choices in languages. I can only think of tree possiblities for that: Flash, Java Applet and Browser-Based (i.e. PHP).

If you want something in realtime the browser-based way will fall away too leaving you with flash and Applet.
__________________
- Hugh of Borg

The first thing young borg are taught: Keep away from Microsoft software!

Reply With Quote
  #6  
Old July 20th, 2006, 10:38 PM
Brokenhope Brokenhope is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 334 Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 17 h 9 m 41 sec
Reputation Power: 21
Java is a pain in the *** to even load on a page, like seriously it might just be me, but I goto a page with some Java in it and my browser goes really slow, an Applet icon comes up on my explorer bar, and my whole computer lags for a bit, even happens in good ol firefox... most annoying thing ever.

PHP is the way to go for any web based game, but its not gonna be real time unless you get some crazy AJAX going, which is gonna make you pull your hair out if you attempt to write something up. For PHP the best your gonna make is a RPG, with minimal 2D (sprites) animation, if any.

Reply With Quote
  #7  
Old July 20th, 2006, 11:33 PM
JSClark JSClark is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Amherst, MA, USA
Posts: 251 JSClark User rank is Sergeant (500 - 2000 Reputation Level)JSClark User rank is Sergeant (500 - 2000 Reputation Level)JSClark User rank is Sergeant (500 - 2000 Reputation Level)JSClark User rank is Sergeant (500 - 2000 Reputation Level)JSClark User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 2 h 44 m 54 sec
Reputation Power: 18
Java, PHP, C++...

Depending on what you plan on doing, basically... most actual games nowadays (nothing web-based) primarily use C++
__________________
-Jason Clark

Reply With Quote
  #8  
Old July 21st, 2006, 12:20 AM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Psycho Canadian
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jan 2001
Location: Canada
Posts: 4,739 Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 4 Weeks 6 h 25 m 16 sec
Reputation Power: 384
Quote:
Originally Posted by Brokenhope
Java is a pain in the *** to even load on a page, like seriously it might just be me, but I goto a page with some Java in it and my browser goes really slow, an Applet icon comes up on my explorer bar, and my whole computer lags for a bit, even happens in good ol firefox... most annoying thing ever.

PHP is the way to go for any web based game, but its not gonna be real time unless you get some crazy AJAX going, which is gonna make you pull your hair out if you attempt to write something up. For PHP the best your gonna make is a RPG, with minimal 2D (sprites) animation, if any.
Have you tried a fresh install of windows? Whenever you get around to it you might find it runs faster.

Also PHP can be real time, you just have to keep refreshing the page, an example is http://www.advancedpowers.com/me_4g/ it's a space RPG type of game, where you do play real time against live players, and if you don't refresh often you'll find yourself dead.

Reply With Quote
  #9  
Old July 27th, 2006, 06:02 PM
Brokenhope Brokenhope is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 334 Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level)Brokenhope User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 17 h 9 m 41 sec
Reputation Power: 21
Quote:
Originally Posted by Viper_SB
Have you tried a fresh install of windows? Whenever you get around to it you might find it runs faster.

Also PHP can be real time, you just have to keep refreshing the page, an example is http://www.advancedpowers.com/me_4g/ it's a space RPG type of game, where you do play real time against live players, and if you don't refresh often you'll find yourself dead.

I have freshly installed it once (back in the days that I used IE). Its always been slow, for any computer I use, its about as slow as opening a .pdf file internally in firefox, gets really slow for about a min or two. My computers in perfect shape now, and it still lags.

PHP cannot really be real time, if it requires refreshs its not really real time, the closest you can really get to doing real time online without flash, is AJAX, which does require refreshing, but its in frames and you dont notice, the page just updates stats and characters positions and such, via dhtml and javascript, every single time new data is recieved from the frame that constantly refreshes. The main frame doesnt refresh.(By the way, if your playing against other people online, I believe the term is MMORPG [not just RPG])

MMORPG's can always seem like real time, by automaticaly refreshing it, but your not gonna find a real time php based game ever. Actually when it comes to MMORPG's computer games, some dont even do realtime, they just constantly connect for new updates, because its not necessary to keep a constant data stream, battles are turn based in most cases, so it doesnt matter, its not gonna effect you if you dont get the update immediatly, a few seconds of delay wont mean a thing.

Now when it comes to other generes of games, they need to be realtime, like a shooting game, or sports game, everything has to be updated in real - realtime, a few seconds of delay can be the diffrence of killing someone, or getting killed.

Flash is capable of realtime (or something very close), but you just have to set up a flash server, there could be other ways, but thats the only one I know of.


So if you want to create a real time game, online, you have pretty much Flash as your only option, and your most likely going to have to rent or buy a server for that.

You can have semi-real time by using PHP and AJAX, but AJAX is so complex, that you should leave it to only a programming geneous, and its so 'ify ify on browser support' its not gonna work for probably a forth of the people atleast. Plus the best your gonna make is a mmorpg that doesnt require noticable page reloads.

You can have something that can be confused as real time, but its nowhere near, by just having the page automaticaly refresh every couple of seconds, but the best game you will make with that is a turn based MMORPG.


And on a side note, if you make a computer game that runs in real time, and keeps an ongoing connection to the server, your most likely going to have to rent a couple of servers atleast, or buy them... and you will need a huge amount of transfer.

Reply With Quote
  #10  
Old July 27th, 2006, 08:54 PM
xlordt's Avatar
xlordt xlordt is offline
Only the strong survives!!.
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2003
Location: A World of wonder.
Posts: 5,516 xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1Folding Points: 103339 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Weeks 1 Day 14 h 51 m 14 sec
Reputation Power: 378
Send a message via ICQ to xlordt Send a message via AIM to xlordt Send a message via MSN to xlordt Send a message via Yahoo to xlordt Send a message via Google Talk to xlordt Send a message via Skype to xlordt
Facebook
Let us know if you ever get the game going

Reply With Quote
  #11  
Old July 28th, 2006, 03:28 PM
Prime's Avatar
Prime Prime is offline
Daddy War Bucks
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 175 Prime User rank is Private First Class (20 - 50 Reputation Level)Prime User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 5 h 1 m
Reputation Power: 4
Brokenhope is right, flash is by far your best program from a game that can be played right off the website. Director would be next, and is a decent program, but unless you want to do 3D I would go with flash. You say that you dont like the look of flash games, well, a lot of games use the flash tools for the design, so a lot of them tend to have a standardized look. However, you could easily create your graphics in a 3rd party program and include them as 24bit transparent png files and have a game that looks NOTHING like flash. However, by doing that you are going to make your game rather large in download size.

There is other ways to get your flash game to be multiplayer without having a flash server runing with different zones and stuff. You could use the XML object supported by flash to fetch and send information, also, there is a load vars object which will do the same. The flash server does not connect to a database, it just allows you to share current flash data between different flash applications via some included actionscripts. Flash itself also does not have database connectivity, so you will need a third party language like PHP to handle your database stuff.

Actionscript is very powerful, and if built correctly, can produce some very amazing games. However, the use of multiplayer games with flash is... So so at the moment. THere have been some major break throughs with online games such as Club Penguin located at miniclip http://www.miniclip.com/games/club-penguin/en/ also there is Runescape, which they say is all built in javascript, but I am sure that it is built in director which uses Lingo, a form of java type scripting.

Anyways, get flash, it will work.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > Language to program multiplayer game


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump