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

Building a map editor


As we are building a tile-based isometric map, the whole map is composed grid-by-grid. Every grid is set to a number which represents the graphic of that grid.

When the map dimension is getting larger and when the amount of maps is getting bigger, inputting the texture information into the external map data file can be time-consuming. We usually build a map editor for fast development on the huge amount of map data. Like Warcraft has its own map editor, we will have our own editor for the Flash virtual world.

Building a map editor here can also be a good summarized example for the whole chapter. We will make use of different techniques that we learned in this chapter including tile texturing and coordination conversion.

  1. 1. Create a new Flash document.

  2. 2. Copy the previously created IsoTile movie clip into the library.

  3. 3. Drag the 10 instances of IsoTile movie clip on stage from the library.

  4. 4. Name the 10 IsoTile instances as brush1 to brush10.

  5. 5. Create a button on stage...

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}