Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Flash Multiplayer Virtual Worlds

You're reading from  Flash Multiplayer Virtual Worlds

Product type Book
Published in Aug 2010
Publisher Packt
ISBN-13 9781849690362
Pages 412 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Flash Multiplayer Virtual Worlds
Credits
About the Author
About the Reviewers
1. Preface
1. Developing Flash Virtual World 2. Installing the Servers 3. Getting Familiar with 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 9. Communicating with Other Players 10. Interacting with NPC 11. Designing Quests 12. Social Community 13. Deploying and Maintaining Flash Virtual World

Introducing path finding


Path finding is the method to find a path between two points in the world. It determines how the avatar moves around the virtual world. There are many different approaches that result differently. Some perform faster while some guarantee a best shortest path. We will discuss how to choose a good path finding method to fit the virtual world design.

Sometimes, finding the direct way from the start point to goal point is possible and trivial. But it can be blocked by non-walkable barrier.

Instead, we may explore all tiles until we find the goal. Then we have shortest path according to the result that was found.

This method seems to work but it may result in poor performance because it explored almost all tiles on the map to find the result.

Walking is one of the most frequent actions in a virtual world. And it requires path finding for every movement. As in the previous example, path finding is an action that can consume quite a lot of CPU resource if not properly used...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}