Most of the last few days I have been working on a main page action.php (and Im playing a ton of R.O.M. lately as well). It is one of the biggest sections of the game. It handles NPC (whether the player is talking to one or not), combat, message of the day, profession etcc). It is a huge section and I am recoding it to happen on one page.
Just some food for thought while your waiting. PHP pages can be thought of as routines in themselves. Each page you call is like a separate routine. :-)
Another thing you may be wondering is why I'm not using session variables. I will. At the time this game was designed, it was all url based. So for the ease of teaching, I thought it would be good to see how those are tossed around. Later I'll show you how to use session varibles and clean up your code.
Anyways - when i get back from finishing this part up (its huge) I'll post.
Welcome all comments.
Tuesday, December 30, 2008
Subscribe to:
Post Comments (Atom)
1 comments:
Hey,
Just a new watcher.. When will your next part be up. :D
Post a Comment