Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>[I am assuming that you want to do it yourself, not using some premade API]</p> <p>Creating a website. You'll need to learn HTML and CSS. They are markup languages and you should be able to easily pick it up.</p> <p>The backend for the website: I suggest PHP, which is run on a server. You'll also need a database to store your highscores. There's many databases that works with PHP. I'd go with MySQL.</p> <p>By the way, look at the following code:</p> <pre><code>public static function getById( $id ) { $conn = new PDO( DB_DSN, DB_USERNAME, DB_PASSWORD ); $sql = "SELECT *, UNIX_TIMESTAMP(publicationDate) AS publicationDate FROM articles WHERE id = :id"; $st = $conn-&gt;prepare( $sql ); $st-&gt;bindValue( ":id", $id, PDO::PARAM_INT ); $st-&gt;execute(); $row = $st-&gt;fetch(); $conn = null; if ( $row ) { return new Article( $row ); } } </code></pre> <p>Isn't that similar to AS3? </p> <p>Then, you'll need to make your game interact with your site. This can be done by making the swf visit certain urls - such as <a href="http://yoursite.com/highscores.php?action=addHighScore&amp;name=John&amp;score=330" rel="nofollow">http://yoursite.com/highscores.php?action=addHighScore&amp;name=John&amp;score=330</a>. Then your backend (PHP) adds it to your database.</p> <p>You probably also want to display the high scores too. You can make it display in the swf or on your site. </p> <p>So, what I suggest you do is read up on HTML, CSS and PHP and have google handy. </p> <p>Here's a tutorial about building a simple CMS:</p> <p><a href="http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/" rel="nofollow">http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload