Flash + MySQL
par GnomeLogic
Flash + MySQL
Tags pour Flash + MySQL
Description
Récemment, j'ai commencé à créer un jeu Flash conçu pour permettre aux joueurs d'interagir entre eux via le commerce, la compétition et la collaboration. Ayant quelques connaissances en PHP et mySQL, j'ai décidé que les utiliser serait l'option la plus simple. Après beaucoup de recherches et d'expérimentations, j'ai trouvé une solution remarquablement simple. Ce tutoriel devrait t'apprendre à stocker et charger des variables dans une base de données mySQL depuis Flash, via PHP. Malheureusement, pour les étapes avancées, tu devras avoir ton propre serveur mySQL et PHP pour exécuter les scripts. Une connaissance de base de mySQL et PHP est requise. Des exemples peuvent être téléchargés sur http://gnomelogic.com/flash&mysql/examples.zip, ou à la fin du tutoriel.
Comment jouer
Utilise les boutons fléchés rouges pour passer d'une page à l'autre et suis les instructions à l'écran. Un bouton vert (?) te montrera comment faire quelque chose, et un bouton bleu (i) te donnera un conseil.
Mises à jour des développeurs
V2:
PHP and MySQL have been migrated to a new host, and code has been adjusted to suit.
Errors with dynamic content should no longer occur.
Commentaires
GnomeLogic
May. 05, 2009
Hooray! To avoid continuing troubles with domain name, I registered a new free one (http://flash-mysql.servegame.com) to run my PHP. Finally my tutorial should work properly.
amtie
Apr. 29, 2009
Useful, but the part where it says "This page contains dynamic content that is still loading" doesn't disappear; the thing that comes in the second section "Post".
Deathowl
Apr. 29, 2009
helpful, no much else.
3/5 :)
AndyGoRawr
Apr. 28, 2009
Very nice tutorial, but I think I'm just going to rely on other external APIs to save me time, or just find an open source project and steal its code lol.
im2crazy6
Apr. 28, 2009
not even gona bother i think it looks preety gay so far for not really playing it