Book description
Build immersive, full-featured interactive worlds for games, online communities, and more
- Build virtual worlds in Flash and enhance them with avatars, non player characters, quests, and by adding social network community
- Design, present, and integrate the quests to the virtual worlds
- Create a whiteboard that every connected user can draw on
- A practical guide filled with real-world examples of building virtual worlds
In Detail
Flash virtual worlds are some of the most exciting—and profitable—online business being built today. Using Flash, developers can build interactive environments where users can interact with the virtual world and one another, compete, and have fun. Creating a playful environment on an electronic network presents unique challenges as you combine a fun, upbeat frontend with some serious and complex server logic.
This handy book assists you in building amazing virtual worlds in no time by implementing ActionScripts in a Flash IDE. With this book in hand, you will build virtual worlds that have avatars walking around and interacting with non playing characters, completing challenging quests, and allowing users to link with real-world friends.
The fun begins with first exploring existing virtual world games such as Club Penguin, Mole, Dofus, and World of Warcraft. We will then design our virtual environment. Then we will create avatars and move the avatars in the virtual world. We will add some triggers to add amusement and life to the virtual world. We will allow the avatars to interact with other players and create a buddy list for each user. Then we will integrate buildings and other environment to the virtual world. We will also let the players interact with non-player characters to complete some tasks. Finally, we move on to add interesting quests to the virtual world, which need to be accomplished by the player to gear up to the next level of the game.
This example-rich, hands-on guide sequentially develops a multiplayer virtual world—the platform, the environment, quests, avatars, non-playing characters, and interaction between them.
A hands-on guide to building multiplayer virtual worlds in Flash
Table of contents
-
Flash Multiplayer Virtual Worlds
- Table of Contents
- Flash Multiplayer Virtual Worlds
- Credits
- About the Author
- About the Reviewers
- Preface
-
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
-
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
- Summary
-
3. Getting Familiar with SmartFoxServer
-
Configuring a basic SmartFoxServer
- Overview of the configuration file structure
-
Configuring the server
- Automatically binding all available IP addresses to server
- Listening port for connections
- Setting policy load data from machines in other domains
- Setting timers for idle user logouts
- Blocking bots connections
- Setting administrator login and password
- Limiting access of the administration panel to specific IP addresses
- Displaying zone information before connecting to the server
- Defining the information separator in raw protocol
- Configuring the Zones and Rooms
- 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
- Summary
-
Configuring a basic SmartFoxServer
- 4. Creating Map and Ground in Isometric View
- 5. Creating Avatars
- 6. Walking Around the World
- 7. Creating Buildings and Environments in the Virtual World
-
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
- Summary
-
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
- Summary
-
10. Interacting with NPC
- Running virtual world smoothly with NPCs
- Placing NPC in virtual world
- Advanced SmartFoxServer extension technique
- Controlling NPC movement
- Talking with NPC
- Trading with NPC
- Summary
- 11. Designing Quests
-
12. Social Community
- The benefit of using social network features in virtual world
- The complicated data flow
- Integrating Facebook platform
- Authorizing a Facebook account
- Getting friends list from Facebook
- Update the Facebook status
- Sending news feed to Facebook
- Reading news feed into the virtual world
- Capture a screenshot and share to a Facebook album
- Integrating the Twitter platform
- Choosing the right social network service
- Summary
-
13. Deploying and Maintaining Flash Virtual World
- Hosting the virtual world
- Scaling up the virtual world
- Earning money from the virtual world
- Operating the virtual world
- Analyzing players actions on a virtual world
- Rapid development with OpenSpace
- Updating and patching the virtual world
- Keeping an eye on the virtual world industry
- Putting our virtual world in mobile
- Extending the virtual world to other platforms
- Summary
- Index
Product information
- Title: Flash Multiplayer Virtual Worlds
- Author(s):
- Release date: August 2010
- Publisher(s): Packt Publishing
- ISBN: 9781849690362
You might also like
book
ActionScript for Multiplayer Games and Virtual Worlds
The demand for multiplayer games and virtual worlds has exploded over the last few years. Not …
book
Tony White's Animator's Notebook
Apprentice yourself to a master of classical animation techniques with this beautiful handbook of insider tips …
book
Raspberry Pi Retro Gaming: Build Consoles and Arcade Cabinets to Play Your Favorite Classic Games
Learn to configure a Raspberry Pi into multiple different devices capable of playing retro games. Beyond …
book
LEGO Space
Come explore an incredible LEGO® universe in LEGO Space: Building the Future. Spaceships, orbital outposts, and …