Flash + MySQL
โดย GnomeLogic
Flash + MySQL
แท็กสำหรับ Flash + MySQL
รายละเอียด
เมื่อไม่นานมานี้ ฉันเริ่มสร้างเกม Flash ที่ออกแบบมาให้ผู้เล่นสามารถโต้ตอบกันได้ทั้งการแลกเปลี่ยน แข่งขัน และร่วมมือกัน ด้วยความรู้เกี่ยวกับ PHP และ mySQL ฉันจึงตัดสินใจใช้สองสิ่งนี้เพราะง่ายที่สุด หลังจากค้นคว้าและทดลองมากมาย ฉันก็ได้วิธีที่ง่ายมากๆ มาใช้ได้จริง บทแนะนำนี้จะสอนให้คุณสามารถเก็บและโหลดตัวแปรในฐานข้อมูล mySQL จาก Flash ผ่าน PHP อย่างไรก็ตาม ในขั้นตอนหลังคุณจะต้องมีเซิร์ฟเวอร์ 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