Jump to content
MakeWebGames

What to include in McManual ep.2


sniko

Recommended Posts

Things like:

 

<?php
switch ($_GET['action']) {
case 'attack':
print "You have chose to attack.";
break;

case 'defend':
print "You have chose to defend.";
break;

default:
print "chose your option<br />";
print "<a href='chose.php?action=attack'>Attack</a><br />";
print "<a href='chose.php?action=defend'>Defend</a><br />"
break;
}
?>

 

This would be good because it's not to complicated and makes you website look better, especially when combined with HTACCESS.

Link to comment
Share on other sites

What was the hardest part for you to understand in the mccodes engine well trying to use it? Write about that or maybe what you have found could be made better, even how to use mccodes functions (item_add(), event_add() etc). Anyway just some ideas -

- How each mccodes function (both inside the class files, and global_func.php) works, and when you will need to use them.

- Known problems and fixes

- How to optimize the general engines files. Go over one, and allow people to apply that to the rest themselves.

- What each table in the database is for, and how it relates to game play.

- Explain how each file interacts with the rest e.g. config.php -> gives info to globals in order to connect to database.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...