更新时间:2021-08-03 15:29:37
封面
书名页
Flash Multiplayer Virtual Worlds
Credits
About the Author
About the Reviewers
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Developing Flash Virtual World
What is a virtual world?
Background
Benefit of using Flash to build virtual world
Connecting players in a virtual world
Socket server
Available socket servers for Flash
Application architecture of a virtual world
The whole picture of virtual worlds
Common features in virtual world
Casual game design versus MMOG
Existing virtual world games
Summary
Chapter 2. Installing the Servers
Comparing SmartFoxServer Lite Basic and Pro
Developing and deploying virtual world environment
Installing Java Development Kit
Downloading SmartFoxServer Pro
Installing SmartFoxServer Pro
Running the SmartFoxServer
Using embedded web server and database
Downloading third-party HTTP and database server package
Connecting SmartFoxServer and MySQL server
Configuring the server settings
Configuring MySQL server connection in SmartFoxServer
Running examples
Setting up the administration panel
Logging in to administration panel
Locating the Flash Client API
Chapter 3. Getting Familiar with SmartFoxServer
Configuring a basic SmartFoxServer
Introducing the events of rooms
Debugging in local machine
Flash Security Sandbox
Creating a Flash document to connect to the server
Creating a cooperative drawing whiteboard
Chapter 4. Creating Map and Ground in Isometric View
Comparing different game views
Getting an isometric projection view
Making an isometric map
Converting between screen coordination and isometric map coordination
Building a map editor
Chapter 5. Creating Avatars
Designing an avatar
Customizing your avatar
Chapter 6. Walking Around the World
Creating the world
Holding states of the player
Moving the avatar
Introducing path finding
Walking by mouse click
Broadcasting where you walked
Scrolling the world
Saving the position for next time
Chapter 7. Creating Buildings and Environments in the Virtual World
Placing buildings on the map
Ordering the buildings
Designing a big virtual world
Adding sound to the virtual world
Building map editor for buildings
Chapter 8. Creating an Inventory System
Classifying items in the virtual world
Collecting items
Displaying items in different forms
Defining the data structure of inventory items
Implementing inventory in the SmartFoxServer
Implementing the item panel
Exchanging items with other players
Introducing the economy in virtual world
Chapter 9. Communicating with Other Players
Communicating using several methods
Chatting with public messages
Implementing the buddy list
Sending private messages
Sharing object data between players
Chapter 10. Interacting with NPC
Running virtual world smoothly with NPCs
Placing NPC in virtual world
Advanced SmartFoxServer extension technique