chelcy 0 Report post Posted July 12, 2004 I was wondering (and also wanted to ask the PHP experts, since I'm not ) about those PHP games, the turn-based strategy games like Kings of Chaos, Dark Throne, etc...Is there a set of code or better yet a tutorial that tells how to create PHP games, or you just have to learn PHP and utilize what you learn?I'm afraid it might be the second one... Share this post Link to post Share on other sites
Shackman 0 Report post Posted July 13, 2004 Is there a set of code or better yet a tutorial that tells how to create PHP games, or you just have to learn PHP and utilize what you learn?Dosn't it mean the same?No matter what, beofre you can make a PHP game, you have to be familiar with PHP whatso ever. If you are talking about a piece of code, isn't that copying? Share this post Link to post Share on other sites
Gamesquare 0 Report post Posted August 4, 2004 No matter what, you'll need to know PHP.What do you want to do with PHP? Do you want to allow people to play against each other? If that's the case, you'd probably have to use sessions or cookies, but that's all the advice I can give you. I'm not an expert on PHP by any means. Share this post Link to post Share on other sites
truvu17 0 Report post Posted August 5, 2004 where could you learn more about php...? I am interested in making games for fun... thanks Share this post Link to post Share on other sites
Gamesquare 0 Report post Posted August 5, 2004 PHP wouldn't be good for making games unless you wanted a turn-based online game or something similar. Flash seems to be popular if you don't need a very sophisticated game that you want to distribute on the web (also gets around the concern of virii being hidden in .exe files). You might also want to look into Java applets. Share this post Link to post Share on other sites
MSTR 0 Report post Posted August 5, 2004 i've seen books at the book store for php games, go to borders or barnes and noble in the computer section Share this post Link to post Share on other sites
TheDarkHacker 0 Report post Posted October 8, 2009 I have one game without graphic or Flash.It is called War of Angels,with template and photoshoped logo.But now i destroyed the file for playing so you when you will login it just says Welcome in town.Here is blabla group.If you don't want to register,i will give you username and password:username:apassword:aThis is the game: War of Angels Share this post Link to post Share on other sites
damoon 0 Report post Posted October 9, 2009 is there anyway one can combines gaming graphics in PHP to build a standard game? Share this post Link to post Share on other sites
Raidation 0 Report post Posted October 24, 2009 PHP isn't the only language you need to know.You also need to know a big chunk of javascript so you can execute Ajax scripts. Share this post Link to post Share on other sites
Baniboy 3 Report post Posted October 25, 2009 If you ask me, I'll suggest you use java. It'll run the same way on every operating system and it's compatible. You can also use SSL (correct me if I'm wrong). I've seen pretty nice turn-based games done by it like billiard, tank war thingy, and some others. I'm going to learn java after I'm done with javascript and php. We are going to learn it in school and I want to learn it before that so I can score an A again! :PAnyway, if you want to use PHP for making a game, it's going to be complicated. What I would do is use loops to find out which action has to be executed and then execute that action(displaying it with ajax of course). You could also use switch, but I've never really liked switch.. Share this post Link to post Share on other sites
Raidation 0 Report post Posted October 25, 2009 Actually, a better alternative of Java would be Flash, although it's not compatible with Linux. :PFlash is a lot easier to program than Java, and it's more lightweight. Share this post Link to post Share on other sites
Baniboy 3 Report post Posted October 25, 2009 You don't need to buy anything to use java. And flash IS compatible with linux! Share this post Link to post Share on other sites
Unknown_99 0 Report post Posted November 1, 2009 Well normally you can design how the game will be like and depending on it will be how others will be able to interact with it. I don't think there is only a one way in creating a game for php, its more of your own creativity and the controls available. But i'm sure php isn't for making games as in graphical games but more text based games like neopets. So along with the PHP you may have to learn some SQL as well. Since you would want your players information stored somewhere. Just trying learning the basics first then continue onward.You should probably start with W3Schools:http://www.w3schools.com/php/default.aspI myself have just started learning some php, it will take time to learn a lot of these things but its nice to start and take your time. Make sure you understand things and not skip over things you do not understand else you will never learn. :3 Share this post Link to post Share on other sites
Taz 0 Report post Posted November 7, 2009 Isn't php games and php the same. I mean like to make php games you have php in your brain. You also need to know game graphics. Share this post Link to post Share on other sites