Tag Archives: Windows phone 7
If you are just starting with XNA game development, than you should probably read this post before you invest too much time in XNA.
Mind, this is no official statement from Microsoft, so there is still hope, but i agree with Promit. It is most likely, that we never see another big XNA update.
Nokia presents Lumia 800:
Nokia presented it’s new windows phone 7 device today. It is based on the successful lifestyle phone N9. The Nokia Lumia 800 is a scaled down version of the N9 in regards to CPU and Ram … and of course intern memory.
Microsoft Lync for Windows Phone 7 is coming to marketplace:
WPcentral shows a version of the business communication software for windows phone 7.
My videocard stopped working last week. So my first solution to this problem was to switch back to the onboard vga card. Problem with that is, that it cannot display the Windows Phone 7 emulator. So i cannot test or screenshot anything for the tutorial series.
I bought a new (cheap) PCIe videocard to solve this. Sadly it did not work and after some searching the web i found out, that my chipset, the old 915GV, does not support PCIe videocards. The only thing working in the PCIe slot is a special DVI Adapter extension for the onboard card.
What i am trying to say is, it might take a few days till i can update the tutorial again. Sorry about the delay.
We will display some 2D stuff and move it around.
First thing you need to do is add a SpriteFont object to your code.
Done like this: SpriteFont myFont (or whatever name you want to give it).
Next you need an actual font you can load. For that you go to your solution explorer and right click your content project. Select add -> new item -> SpriteFont.
Maybe you should select a better name, that the default one. But it doesn’t really matter much.
You can edit how your font looks like in the .spritefont file. It is a XML like format. Most stuff you find in there should be pretty much self-explanatory. At the bottom you find tags specifying a character region. Please note, that not all fonts can display all characters. If you happen onto a bug resulting from some character display problem or exception, have a look here, if your font can display all your characters. The rest describes size, text decoration and stuff.
For this post, I leave everything like it is and go on to actually displaying something on the phone.
First we need to load our SpriteFont1 in the ContentLoad()-method of our game class.
All we have to do is display some text now.
We go to the Draw-method and beginn the spriteBatch draw with SpriteBatch.Begin(). The spriteBatch-Class offers us a DrawString-mehtod we use to display text. It first parameter is our SpriteFont. The secont the String you wish to display. This could of course come out of some Sting variable. The third is the position of the text on the screen and the last one, the color in the text is drawn in. We complete this with a spriteBatch.End() in the next line.
And see the result here: I made the Font bigger and red for this example. The size is controlled in the .spritefont file, the color can be selected in the DrawString-method.
- Microsoft plans to bring Skype on new plattforms like the Xbox360 with Kincect support.
- On windows skype gets an integration into outlook.
- Support for WP7 devices.
- The clients for Mac OS X, Linux, Android, iOS, Blackberry amd Symbian will still be supported in the future.
- It is possible that Skype will replaces the ‘Windows Live Messenger’.
- Does that mean there could be XNA support somewhere in the future? Hopefully.
Currently i am wondering about buying a new Phone.
As an enthusiastic game programmer with some years of experience with XNA and C# my choice would be WP7.
I could now spend some time discussing the pros and cons of WP7 vs. Android vs. iOS, but i won’t. The short answer is, that iPhone is too expensive and i do not know enough about Android programming. That might change in the future but right now i feel that i simply want a WP7 device. No hard reasons for that, just curiosity and the great price of course.
So after browsing some friendly electronic discounter around the corner i narrowed it down to two possibilities.
The cheapest WP7 phone at the moment is the HTC 7 Trophy. You can get it a low as $238. But this phone is not available worldwide. It seems to be aimed at the european market. So if you can get it for such great price where you live, it is an alternative. It is just a WP7 phone, that meats all requirements and does nothing really wrong, but at the same time nothing really amazing.
Please note, that these are not the amazon.com prices but the cheapest offer i found around.
Samsung Omnia 7: 318$
LG Optimus: 253$
The difference in price is about 65$ in favor of the LG Optimus 7. So one point to the Optimus 7.
The Omnia comes with 8GB or 16GB. I am talking about the 8GB version here.
Samsung Omnia 7: 8GB
LG Optimus: 14GB
The next point for the Optimus 7.
Okay, here wins the Samsung Omnia 7 Super AMOLED display, no arguments: Point to Samsung.
I could write more about how good this display is, but let me say just this: If the display is the most important part for you -> Buy the Omnia 7.
138g and 122,6mm height for Samasung.
158g and 125mm height for the LG.
I carry my phone around in my pocket so this is a point for the Samsung Omnia 7.
The LG is to this time the only WP7 phone that has augmentet reality features implementet. So if you like this stuff it is a pretty good reason to get the Optimus 7.
The Omnia7 is lacking here. It has got its really great display, and a slightly better camera that the LG (at least that is what tests show).
As all of this is a question of personal preferences i will not award a point. You should decide for yourself what is important to you in a mobile phone.
It’s a draw. Well of course i knew it would end like this. If one of the phones would be the obviously winner there would be not need for this post.
And now? Well in the end everybody have to decide for oneself but i would certainly appreciate your input on this. Do you own a WP7 phone? Are you planning to buy one? Leave your input in the comments.
Currently i am leaning towards the Omnia 7.
This weekend i will start a new tutorial series that deals with game development for windows phone 7.
I will start at the very beginning and we will take you through the process of developing a simple game for the windows phone 7 device emulator. So that’s right, you do not need a WP7 phone to particiate. Everything we will use will be free.
All you need is your
- internet connection
- some time
Spoiler: Lesson 1 – What do i need, where do i get it and how do i install it?