In this way, you get a collection of TouchLocation objects, with each one representing the point where the user touched the screen. One can easily “query” the touch screen for input using this simple line of code TouchCollection tc = TouchPanel.GetState() In Windows Phone 7, you have a touch screen. The other thing I had to change in order for this to work in Windows Phone 7 was the player input. Graphics.PreferredBackBufferHeight = 800 You can see it in the code Visual Studio creates for you // Pre-autoscale settings. In Windows, the screen size (resolution) is the one the user has chosen. Initially, something that one has to pay attention to is the screen sizes. I have to admit that porting was rather easy, given the fact that XNA framework has minor differences comparing PC/XBOX engine to Windows Phone. Given his kind permission, I decided to port the game to Windows Phone 7. Reminder: You can download tools for creating Windows Phone applications (Silverlight) and games (XNA) for free by visiting Permanent link to Arkanoid- Σχεδιασμός πίσταςĪll the tutorials are written in Greek but you can certainly use a translation platform such as Microsoft Translator to read them.Permanent link to Arkanoid- Game State Management μέρος 2ο.Permanent link to Arkanoid- Game State Management.Kostas Anagnostou from Ionian University has created an excellent 6 part tutorial covering the creation of the classic Arkanoid game for the PC using XNA framework.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |