Windows Phone 7 example game platformer 1-5 big platform support

Source: Internet
Author: User

XNa's powerful cross-platform capabilities

 

Microsoft demonstrated platformer, an adventure game across Windows 7, Windows Phone 7 series, and the Xbox 2009 platform as early as a speech at teched 360's Middle East conference. This game is familiar with xNa DevelopmentProgramThis game has always been used as an xNa beginner development template. It is an excellent entry-level material.

 

 

Windows Phone 7 platformer

 

 

PC platformer

Platformer providesSource code, Supporting multi-platform operation. For example, if we can continue the game stored in Windows 7 on Windows Phone 7 and finally put the archive on Xbox 360 to complete the task, it sounds shocking.

 

Universal games and archive between mobile phones, PCs, and Xbox are of great significance, meaning that we can use Windows Phone 7 on the subway or bus to play games anytime and anywhere, then, you can upload the game archives on Windows Phone 7 to the Xbox 360 or PC with better gaming experience through the network to "continue to the leading edge ". A better message is that it is transplanted to Silverlight again. The demo address is as follows:

 

Http://silverlight.laumania.net/platformer/

 

The above implementation all comes from the xNa game framework introduced on the Windows Phone 7 platform. XNa is a well-known DirectX developed by the game industry. It is Microsoft's revised and expanded version of C # DirectX. At first, this tool was only a game development kit designed for amateur game programmers.

 

The first version of xNa only supports the Xbox and PC platforms, and Zune is introduced in xNa 3.1. However, xNa has not yet stated when to support the Windows Mobile platform, so many game developers think that Microsoft has once again abandoned Windows Mobile. Now Microsoft has finally given us a reassurance that xNa will become the main game development platform for Windows Phone 7.

 

Compared with previous Game Development kits, xNa greatly improves game development efficiency and reduces costs and time. This is xNa's biggest advantage and selling point. In fact, xNa and many other. NET Compact framework programmers can be said to be the same, because xNa itself is structured in. NET Compact framework. NET Compact framework supports porting and optimization of Xbox chips. Therefore, most. NET Compact framework developers can quickly learn and develop xNa.

 

The basic library of xNa is also used by widows mobile. NET Compact framework is basically consistent, but some additional class libraries are added for game development. Therefore, it is extremely difficult for Windows Mobile developers to learn and migrate games, there is no need for another round of unrooted cultivation.

 

In addition, the advantage of xNa is the rapid development advantage of C #. The following three types of game development methods are available on Windows Mobile:

 

1. Windows Mobile's built-in DirectX mobile, Gapi, or GDI.
2. The gap idraw suite of develant technologies.
3. OpenGL ES.

 

Now these development methods have been developed accordingly.. Net version encapsulation, so more and more windows mobile games begin to adopt C # +. NET Compact framework and the above kit for development, as far as I know, there are dozens of flight commander, tower defense, and the game effect can also be comparable to those developed using C ++. However, the above three game development methods have their own systems and support functions, so it is quite difficult to choose the development kit.

 

Besides, OpenGL ES and gapidraw do not have official. Net encapsulation. Therefore, third-party encapsulation inevitably has some defects, which leads to problems that can be realized during game development. Finally, the interfaces of these three game development methods are inconsistent. Therefore, we cannot avoid re-learning every time, and it is difficult to maximize the reuse and accumulation of development experience.

 

And yes. although programmers with NET Compact framework development experience have a re-learning process when using xNa to develop games, the bottom layer of xNa encapsulates common and complex implementations in game development, therefore, it greatly simplifies game development. We can use fewCodeYou can achieve problems such as game animation, conflict detection, and scenario scroll.

 

In addition, the games we develop can run on PCs, Xbox, Zune, Windows Phone 7, and Silverlight platforms without too many changes! Well, let's start platformer's learning journey.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.