Jump to content
  • Advertisement
Sign in to follow this  
Fenryl

[web] php for games...

This topic is 4816 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

is it possible to make good games with PHP (i want to try to make a multiplayer game...) ?

Share this post


Link to post
Share on other sites
Advertisement
Most definately. In fact, many online web-based games use PHP primarily as its backend. I recently took a quick look through PHP Game Programming by Matt Rutledge and he has you design a lemonade stand multiplayer game at the end of the book. You could pick that one up. Hope it helps.

Share this post


Link to post
Share on other sites
ok thx! i was wondering a long time how i could make multiplayer games on web. is it also maybe posible to make massa multiplayer, and does it support 3D gfx ?

Share this post


Link to post
Share on other sites
PHP is a server-side scripting language, so to do anything client-side (like real-time graphics and playing sounds) you'd need to work with a different medium, like Flash or javascript.

Share this post


Link to post
Share on other sites
but, Flash doesnt support 3D gfx and you also cant make multiplayer games with it (you mean something like FlashMX ?)

Share this post


Link to post
Share on other sites
You *can* make multiplayer games with Flash. (See UrbanSquall)
But as it seems you need something more powerful than Flash, I'd suggest ShockWave.

Share this post


Link to post
Share on other sites
but for shockwave i should need Indicator isnt? and i havent...
but is it possible to make a massa multiplayer game with 2D gfx and music with PHP?

Share this post


Link to post
Share on other sites
Quote:
Original post by Fenryl
but is it possible to make a massa multiplayer game with 2D gfx and music with PHP?


No. As I said before, PHP is server-side but the things you want to achieve have to be done client-side.

[edit]Added the quote.

[Edited by - Pipo DeClown on May 29, 2005 3:20:22 AM]

Share this post


Link to post
Share on other sites
Absolutely possible to make games using PHP.

Because of how it's used (i.e. typically server-side), it generally lends itself to turn-based strategy / resource management games, played over the web.

These usually have only simple graphics (for instance, those created inside the web browser, or simple images created server-side). If you plan on doing something that uses realtime 2d or 3d graphics, I recommend that you use something else.

That doesn't mean you can't use PHP for other parts of your game.

Mark

Share this post


Link to post
Share on other sites
PHP is typically used for browser based games and things that can only be rendered with HTML. However like the above poster said, you can use PHP for other parts of your game. I've seen some pretty cool things done with people storing highscores and users in a MySQL database and then being able to have a PHP administrator so they can keep tabs on their game without nessisarily needing an administrative client.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!