今天下午看到一本非常有趣的书,叫做《PHP Game Programming》,呵呵,用PHP写游戏,太强了。大体来讲,可能就是PHP+GD+GD SDK来写游戏。不过PHP的执行速度不敢恭维,还是推荐使用C++之类的比较好,呵呵。
http://www.tenlong.com.tw/BookSearch/Search.php?isbn=159200153X&sid=20801
PHP Game Programming
by Matt Rutledge |
|||||||||||||
|
|
Description
"PHP Game Programming" offers you the introduction you need to begin creating your own online games. Youl be amazed at the games you can create with this powerfulnd completely freeevelopment tool! Dive right in as you begin with coverage of server configuration and the major features of PHP. Then youe off and running as you use PHP to create and manipulate graphics, develop a chess game using a non-relational database, and send and receive data through sockets. Put your new skills to use as you create your own massively multiplayer online game! From the basics of PHP and HTML to the exciting task of creating dynamic terrain and Flash movies, "PHP Game Programming" will help you turn your online game ideas into reality!
Features
Provides programmers with the tools and knowledge they need to get PHP running, create dynamic pages, manage data, dynamically generate graphics and even create sockets
Readers will walk away from this book as hard core web game developers with an advanced knowledge base beyond average web developers
Part of the succesful Game Development series, this book presents PHP game programming in a clear and concise manner to ensure ease of learning
Table of Contents
1. So What is All This Server Stuff?
2. Waging the Configuration War
3. I Have Conquered the Server, Let me Me at the Code!
4. Say Hello to PHP
5. Operators, Statements, and Functions
6. Arrays, Games, and Graphics
7. Playing with Chess and Databases
8. GD Graphics Overview
9. Creating Battle Tank and Using Dynamic Terrain
10. PHP and Sockets
11. MMO and PHPKiddy Cartelreating Your Own MMO
12. Building your Your PHP Skills
Appendices:
A: HTML Language Reference
B: PHP Language Reference
C: Supportebugging Applications
D: GD SDK Language Reference