[web] php for games...

Started by
32 comments, last by Etnu 18 years, 10 months ago
Yes, typically PHP can be used serverside for web based games, but I, if I wanted to, could download PHP and Pear, and use it to make client end games. No, I am not saying in the browser. I am saying on the user's computer, without the browser involed.

PHP is already being used for commandline applications, and with libraries like GTK, it may, depending on how people use it, also grow into a graphical app based langauge.

So no, you can do it on the client end... just it is a complete mess to setup, and makes distribution of games a little harder.
[ Six Hour Game Contest | ( Thread | Blog | Wiki | 6hour Bio ) ][ Website | (Blog | Gallery ) ]
Advertisement
so, how can i make massa multiplayer games that works out a browser ?
is this maybe possible with &#106avascript ?
Quote:Original post by Fenryl
is this maybe possible with &#106avascript ?<!--QUOTE--></td></tr></table></BLOCKQUOTE><!--/QUOTE--><!--ENDQUOTE--><br><br>You won't make any MMO games in &#106avascript. <br>Anyway I hope you are jocking.. <img src=http://www.gamedev.net/community/forums/images/icons/icon15.gif>
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
ok lol :-d

but what is the best language to make such multiplayer games that works from your browser with?
You need to be more specific about what type of game you want to make.

You aren't going to get any high-performance graphics on the client-side unless you use something like .NET - and then it will rely on

- Client using Internet Explorer
- Client having the right .NET framework version
- Security settings on the client browser / firewalls etc, permitting that kind of app

Which to be quite honest, is not really a web application at all - you may as well use a fat-client application (i.e. just distribute the .exe)

---

You can use Java or Flash - with better client support - but the client still has to have the right versions of the libraries installed - and you won't have 3d acceleration (but still fast enough for some games).

Popcap.com use Java for most of their games, and ActiveX for some - I don't think they use hardware 3d for anything though.

The ActiveX games of course, need to be signed and trusted by the client. And are specific to Windows and IE.

Mark
Java 3D seems quite capable. I think some games at FlyOrDie.com are powered by it. And AFAIK, it does use hardware-acceleration.
Quote:Original post by markr
You can use Java or Flash - with better client support - but the client still has to have the right versions of the libraries installed - and you won't have 3d acceleration (but still fast enough for some games).


You can use Java with 3D hardware acceleration. This is the most likely the best way to do it. Just tell me, why the hell do you want to create a multiplayer game that depends on the browser??
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
i realy cant believe that its possible to make multiplayer Flash games, how is that possible ? are there maybe tutorials for that?
You mean a real-time game, or turn-based?
It's both possible (in Flash), but there's quite difference.
I think real-time, but can you please axplain me how it can be done with Flash

This topic is closed to new replies.

Advertisement