
PHP Game Programming.
Title:
PHP Game Programming.
Author:
Rutledge, Matt.
Personal Author:
Physical Description:
1 online resource (376 pages)
Contents:
Contents -- Introduction -- PART I: INTRODUCTION TO THE WORLD OF PHP -- Chapter 1 So What Is All This Server Stuff? -- Understanding the Client/Server Relationship -- The Web Server -- Sessions and Session Variables -- TCP/IP -- Installing the IIS Web Server -- Installing the Apache Web Server on Windows ME/XP -- Installing the Apache Web Server on UNIX -- Chapter 2 Waging the Configuration War -- The Platforms -- Building and Installing PHP on UNIX -- Installation on Windows for IIS/Apache -- Testing Your Installation -- Chapter 3 I Have Conquered the Server, Let Me at the Code! -- The Basics of the HTML Tag -- The Almighty HTML Document -- The HTML Body -- Graphics and HTML -- Creating Forms for Input -- Conclusion -- PART II: ENTER THE LANGUAGE -- Chapter 4 Say Hello to PHP -- Creating a PHP Page -- Data Types -- Type Casting -- Variable Variables -- Constants -- Naming Conventions -- Functions for Variables -- Functions for Strings -- Regular Expressions and Pattern Matching -- Processing Forms with PHP -- Conclusion -- Chapter 5 Operators, Statements, and Functions -- Operators -- Statements -- Functions -- The Magic of Including Files -- Conclusion -- PART III: ARRAYS, GAMES, AND GRAPHICS -- Chapter 6 Arrays! -- Initializing Arrays -- Using Strings for Indexes -- Looping through Sequential Arrays -- Looping through Non-Sequential Arrays -- Multi-Dimensional Arrays -- Sorting Arrays -- Your First PHP Game -- Conclusion -- Chapter 7 Playing with Chess and Databases -- Non-Relational Databases -- Creating and Opening a Database -- Looping through the Database -- Inserting an Entry into Your Database -- Updating an Entry in Your Database -- Deleting an Entry from Your Database -- Chess Programming: A Quick Overview -- Starting the Chess Game -- Working with the Pieces -- Getting the User Input and Modifying the Database -- Conclusion.
Chapter 8 GD Graphics Overview -- What Is GD? -- Installing GD -- Creating and Using a New Image -- How to Use Colors -- Drawing Basic Shapes on Your Empty Canvas -- Creating Images with Text -- Saving Your Images -- Using Existing Images -- Conclusion -- Chapter 9 Creating Battle Tank and Using Dynamic Terrain -- Planning Battle Tank -- Creating the Graphics -- Creating the Game Logic -- Creating Dynamic Terrain -- Conclusion -- PART IV: EXTRAS AND FINAL PROJECTS -- Chapter 10 PHP and Sockets -- Socket Basics -- Creating a Server -- Creating the Client -- Integrating Sockets with Battle Tank -- Conclusion -- Chapter 11 Kiddy Cartel-Creating Your Own MMO -- Installing mySQL -- Relational Databases: A Quick Rundown -- Kiddy Cartel: The Rules and Specifications -- Creating Your Base Actions -- Creating a Command with Sub-Commands -- Creating a Command without Sub-Commands -- Look at All the Commands…Now What? -- Conclusion -- Chapter 12 Building Your PHP Skills -- PHP and Ming -- How to Create a Flash Movie -- Drawing to Your Flash Movie -- Filling Objects with Ming -- Adding Animation to Your Flash Movie -- Adding ActionScript to Your Flash Piece -- Conclusion -- PART V: APPENDIXES -- Appendix A: HTML Language Reference -- Appendix B: PHP Language Reference -- Appendix C: Support-Debugging Applications -- Syntax Errors -- Semantic Errors -- Logic Errors -- PHP and Error Reporting -- Handling Errors -- Application and Installation Problems -- Appendix D: GD SDK Language Reference -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- J -- K -- L -- M -- N -- O -- P -- Q -- R -- S -- T -- U -- V -- W-Z.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Genre:
Electronic Access:
Click to View