Archived

This topic is now archived and is closed to further replies.

incubusnb

Game Developing in PHP/MySQL?

Recommended Posts

incubusnb    122
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

Share this post


Link to post
Share on other sites
orbano    130
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

Share this post


Link to post
Share on other sites
Sirveaux    122
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.

Share this post


Link to post
Share on other sites
Odoacer    140
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.

Share this post


Link to post
Share on other sites
Zanthos    300
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

Share this post


Link to post
Share on other sites
flukus    138
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.

Share this post


Link to post
Share on other sites
Drevay    100
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.


Share this post


Link to post
Share on other sites
Ritual Magic    132
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 javascript. 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.

Also, PHP is not just text based. There are libraries available to render images dynamically...which is nice

RM.

------------------------------------------------------------
Yes. it''''s true, I DO wield the ugly stick. And I see I have beaten you with it before!

Share this post


Link to post
Share on other sites