Wiley.Games.on.Symbian.OS.A.Handbook.for.Mobile.Development.Apr.2008 (779888), страница 74
Текст из файла (страница 74)
Xray12 is an open source visual debuggerthat provides for your needs.Figure 11.7 shows Xray, an application that is written entirely in Flash.Xray provides all the recursive trace and logging requirements a gamedeveloper needs. What Xray also does is that it takes advantage of thefact that Flash is a dynamic runtime. When the game is in any state, Xraycan take a snapshot that results in a visual 3D tree, showing the entirehierarchy of all the visual (and some non-visual) elements.Figure 11.7A typical view in the Xray toolXray shows all the MovieClips and is an invaluable way of huntingdown unneeded assets and speeding up a game. It becomes very easy tofind problems, such as MovieClips, that have been attached off-screen.12More information about Xray can be found at www.osflash.org/xray.FLASH LITE ECOSYSTEM335Xray then allows the editing of the properties of the MovieClips while thegame is still running.This can save a lot of time: MovieClips can be repositioned into exactlythe correct pixel or set to the perfect level of alpha without the normaltrial and error of changing code, recompiling, and then seeing if it works.Xray can be used to move MovieClips into correct positions and thenthe new property can be used in the final game code.
Xray also plays acritical role in optimization. The more graphical assets on the screen, theslower the game is. Graphics can easily be hidden behind other graphics.11.5 Flash Lite EcosystemThe Flash ecosystem is the final key part of what makes Flash developmentso great. Flash may be powerful, but who is going to educate you to allits possibilities? What happens when support is needed with fixing bugsor selling a game? Who is going to keep you up to date on the latest Flashnews and give you a place to mix with like-minded Flash fans? Whatabout other tools, such as unit testing frameworks, animation frameworks,and many other code libraries? This is where the Flash ecosystem steps in.Flash Lite game developers should start at the official Adobe FlashLite developer site at www.adobe.com/devnet/flash. This site is the firstplace to go for important development information, documentation, andtutorials.
The content developer kits (CDKs) can be downloaded from thesite, along with profiles of new Flash-enabled phones for Adobe DeviceCentral. The site also hosts the official Flash user forums, which offer aFlash Lite exchange, where games – both commercial and free – can bedownloaded.A variety of schools, colleges and private companies provide training in Flash, ActionScript, and other related needs. Direct access tothe world’s best trainers is available through electronic training videosthat are available as DVDs or online. Two companies that providethese services are TotalTraining (www.totaltraining.com) and Lynda.com(www.lynda.com).All the big technical publishers provide a multitude of books thatcover literally every specific Flash need.
Two publishers that specializein Flash books are O’Reilly Media (www.oreilly.com) and FriendsOfEd(www.friendsofed.com).Flash has a number of communities that have sprung up offeringeducation, support, and extensions to the main Adobe offering. Onecommunity that should not be missed is the amazing open sourcecommunity. Details of all the big open source projects, mailing lists,and other community offerings can be found at osflash.org and atwww.riaforge.org .References and ResourcesOnline ResourcesSymbian Developer NetworkSymbian Developer Network (developer.symbian.com) is a good resourcefor accessing the technical and commercial information and resourcesyou need to succeed in the wireless space.
Symbian Developer Networkprovides technical information and news, and gives you access to the toolsand documentation you need for developing on Symbian OS platforms.You can also find discussion and feedback forums, example code andtutorials, a searchable list of FAQs and a developer wiki.The wiki page for this book can be found at developer.symbian.com/wiki/display/academy/Games+on+Symbian+OS.We’ll post additional links that are of interest to game developersworking on Symbian OS on the wiki site – do stop by and add your ownfavorites to the wiki page.
We’ll also use the wiki page to keep an erratalist for this book, and to provide additional sample code, news and usefulinformation.The main Symbian Press site for this book, from which you can download a full set of sample code, is developer.symbian.com/gamesbook.You can find the Roids game example code at developer.symbian.com/roidsgame.Other websites of interest for those developing mobile games onSymbian OS include those described in the following section.
Please notethat the layout of external websites may change over time, and we willpost updates to this book’s wiki page when we find that the links specifiedbelow are no longer active.338REFERENCES AND RESOURCESSymbian OS Developer SitesForum Nokia: (www.forum.nokia.com)The SDK for working on the S60 platform can be downloaded from ForumNokia, as can the Carbide.c++ IDE, and other tools and utilities. ForumNokia also hosts an extensive developer wiki and discussion forums,and provides a number of documents on general S60 development,as well as a games-specific documentation section which can be foundat www.forum.nokia.com/main/resources/documentation/games. A discussion forum about creating games on S60 can be found at discussion.forum.nokia.com/forum.UIQ Developer Community: (developer.uiq.com)The UIQ Developer Community site has many resources invaluableto developers creating applications, content and services for UIQ 3smartphones.About Symbian, Symbian OS and UI PlatformsCompany overview: www.symbian.com/about/overview/hi/hi.htmlFast facts: www.symbian.com/about/fastfacts/fastfacts.htmlMOAP user interface for the FOMA 3G network: www.nttdocomo.comS60: www.s60.comUIQ: www.uiq.comStandardsThe Khronos Group: www.khronos.orgDoJa Development in JapanNTT DoCoMo: www.nttdocomo.comThe Mobile Developer Lab: mobiledevlab.comDoJa Developer Network: www.doja-developer.net/aboutGame Sites from NokiaN-Gage: www.n-gage.comSNAP Mobile: snapmobile.nokia.comBackground Information about Mobile Game DevelopmentInternational Game Developers Association, Mobile Game DevelopmentSpecial Interest Group: www.igda.org/mobileRobert Tercek: www.roberttercek.comREFERENCES AND RESOURCES339The AuthorsMobile Intelligence: www.mobileintelligence.com.auMobile Radicals: www.mobileradicals.comTwmDesign: www.twmdesign.co.ukBooksBy Symbian PressIf you are new to C++ development on Symbian OS, and wish to findout more about the idioms, toolchain and application framework, werecommend these books to get you started:Developing Software for Symbian OS 2nd Edition, Babin.
John Wiley &Sons.Symbian OS C++ for Mobile Phones, Volume 3, Harrison, Shackmanet al. John Wiley & Sons.Other books in the Symbian Press series:S60 Programming – A Tutorial Guide, Coulton et al. John Wiley & Sons.Programming Java 2 Micro Edition on Symbian OS, de Jode, John Wiley& Sons.Symbian OS Platform Security, Heath et al. John Wiley & Sons.The following book is a more detailed reference book for creating C++applications on S60 3rd Edition and UIQ 3:Symbian OS C++ Architecture, Morris. John Wiley & Sons.Symbian OS Internals, Sales et al. John Wiley & Sons.Symbian OS Explained, Stichbury. John Wiley & Sons.The Accredited Symbian Developer Primer, Stichbury and Jacobs. JohnWiley & Sons.Smartphone Operating System Concepts with Symbian OS, Jipping. JohnWiley & Sons.By Other PublishersSmall Memory Software: Patterns for Systems with Limited Memory,Noble and Weir.
Addison-Wesley Professional.Mobile Phone Programming: and its Application to Wireless Networking,Fitzek and Reichert. Springer Verlag.The Business and Culture of Digital Games: Gamework and Gameplay,Kerr. Sage Publications Ltd.Cross-Platform Game Programming, Goodwin. Charles River Media.The Ultimate History of Video Games, Kent. Three Rivers Press.Appendix: AirplayIdeaworks3DNative operating systems offer mobile game developers huge opportunities for revenues through richer, more interactive game experiences.There are currently considerable business challenges which may limit theability to exploit these opportunities for games deployed over multipleplatforms.