Game Developing in PHP/MySQL?

Started by
7 comments, last by incubusnb 20 years, 2 months ago
out of curiosity, is there any good sites/articles/books/etc. that would help in developing games in PHP using a MySQL Database? just for Blackjack, Poker, Chess, Checkers, etc. type games and possibly to make games like Earth 2025, Utopia, etc. in the future. google doesn''t seem to be of any help on this subject and almost every game development site i visit is primarily VB, Java, or C/C++/C# focused (as one would expect) any help would be appreciated
Advertisement
why do you need mysql for this? you should write a game in php, as you would in any other language. of course your output is diiferent, but you should be able to handle this alone
i think you should start @ php.net
"Knowledge is no more expensive than ignorance, and at least as satisfying." -Barrin
You probably won''t find too much on game programming in PHP, but since it is all text-based anyway, a normal tutorial or reference should be all you really need. phpbuilder.com is where I got when I need to look something up. Also, htmlgoodies.com is a good place to go if you need some HTML information, especially since you''re probably going to want tables and forms and all that fun stuff.
I''d say learn PHP and MySQL first, then the rest should be really easy since most of the games you mention are just variable manipulation - browser games like Utopia, Archmage and so on are just numbers and stats with an elegantly designed interface and some imagination. If you already know HTML for the layout, you''ll be good to go.
Your best bet is to download some PHP&mySQL games from source-forge and have a look at how they''re put together.Blacknova Traders is a popular one
What sort of games are utopia and Earth 2025? Seems like php/sql could be a good way to deliver graphic adventures like Haunted House and the wizard and the princess.
Php.net? Is there such an atrocity?

Anyway, PHP is too slow for gamedev''ing - by far.

PHP is a great language for what it does, however.

_________________Politics is the ability to foretell what is going to happen tomorrow, next week, next month and next year. And to have the ability afterwards to explain why it didn't happen. -- Winston ChurchillGDNet-0.2 - rate users the easy way with this nifty Firefox extension. Updated with new features.
PHP is NOT too slow for gamedeving. It depends on what type of game you want to make. I set out a couple of years back to try to make a Heroes of Might and Magic 3 type game using PHP-generated &#106avascript. I never finished it, but what I did have going worked very well. It''s turn based, so server reaction speed is not an issue.<br><br>Also, PHP is not just text based. There are libraries available to render images dynamically...which is nice <img src="smile.gif" width=15 height=15 align=middle><br><br>RM. <br><br>------------------------------------------------------------<br>Yes. it''''s true, I DO wield the ugly stick. And I see I have beaten you with it before!
------------------------------------------------------------Yes. it''s true, I DO wield the ugly stick. And I see I have beaten you with it before!
PHP does a very good job of MUDs and the like.

This topic is closed to new replies.

Advertisement