Flash + MySQL
by GnomeLogic
Flash + MySQL
Flash + MySQL のタグ
説明
最近、プレイヤー同士が取引や対戦、協力できるFlashゲームを作り始めました。PHPとmySQLの知識を活かし、これらを使うのが一番簡単だと判断しました。多くのネット調査と試行錯誤の末、非常にシンプルな解決策ができました。このチュートリアルでは、FlashからPHPを経由してmySQLデータベースに変数を保存・読み込みする方法を学べます。後半には自分のmySQLとPHPサーバーが必要です。mySQLとPHPの基礎知識が必要です。サンプルは http://gnomelogic.com/flash&mysql/examples.zip またはチュートリアルの最後からダウンロードできます。
遊び方
赤い矢印ボタンでページを進み、画面の指示に従ってください。緑の(?)ボタンは操作例を、青の(i)ボタンはヒントを表示します。
開発者アップデート
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.
コメント
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