Questions tagged [windows-phone-7]

Windows Phone 7 is a phone operating system built by Microsoft to replace Windows Mobile. Key features include, Metro Design, access to XBOX Live, Office, Skydrive. Applications written for Windows Phone 7 are built with Silverlight or XNA Game Studio.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

How can I change the gear of my 2D character? [duplicate]

Is it possible to change the clothes of a 2D character(it's a 2D Windows Phone game) without creating new animations for that character? I want that the player can change the clothes of the character, ...
Bryan's user avatar
  • 315
0 votes
0 answers
317 views

How can I create a 2D camera with zoom and parallax scrolling that works on every Windows Phone resolution?

Mario game that uses parallax scrolling: http://www.youtube.com/watch?v=de5f3mvRyIY I want to create a Windows Phone jump-and-run game with parallax scrolling. The parallax scrolling should be like ...
Homer_Simpson's user avatar
4 votes
4 answers
1k views

How can I draw a shadow under my character?

I created a 2D tile-based jump and run game for Windows Phone and I want to draw a shadow under the character. How can I do that? The shadow must also be drawn on the tiles if the character jumps. The ...
Homer_Simpson's user avatar
0 votes
0 answers
51 views

How can I measure the weight in Farseer?

I have two different objects(star and rectangle) and I want to measure the entire weight that lies on the balance. How can I do that? Is it possible to know the entire weight that presses on the ...
Homer_Simpson's user avatar
0 votes
0 answers
155 views

How can I increase the return from from ads?

I made a little Windows Phone game and I want to use AdRotator to show ads in the game. My game has 50 levels. Some levels take 30 seconds, other levels more than 3 minutes to complete them. Will I ...
Homer_Simpson's user avatar
0 votes
1 answer
564 views

Monogame: Why is my sprite looking the same on every resolution?

I want that my sprite(Mario) don't look the same on every Windows Phone resolution. If I use this code, the sprite is on every resolution on the right position but it also has the same size on every ...
Homer_Simpson's user avatar
2 votes
1 answer
689 views

Can I use the inclinometer and accelerometer on every Windows Phone device?

I want to do a little game that uses the Windows Phone inclinometer to control an object's pitch, roll and yaw. In addition, I need the accelerometer in another project to let an object jump. Can I ...
Homer_Simpson's user avatar
2 votes
2 answers
961 views

How can I measure the velocity of a drag gesture?

I want to measure the velocity of a drag(FreeDrag, VerticalDrag, HorizontalDrag) gesture on my Windows Phone. For example, if the measured velocity of a drag is 40 km/h, the player will shoot a bullet ...
Homer_Simpson's user avatar
0 votes
1 answer
684 views

Was my horizontal drag performed from left to right or from right to left?

I want to determine if a horizontal drag was performed from left to right or from right to left. In addition, I want to do the same with the vertical drag. How can I do that? How can I check if the ...
Homer_Simpson's user avatar
1 vote
1 answer
637 views

How can I control an object with tilt gestures?

I want an object (for example a ball) to move right when I tilt my Windows Phone device to the right. The same with the directions left, up and down. If the Windows Phone device isn't getting tilt in ...
Homer_Simpson's user avatar
0 votes
1 answer
182 views

How can I move an object diagonally on Windows Phone?

I want to pull a sprite from point A(vector2) to point B(vector2) in my Windows Phone XNA game. GestureType.HorizontalDrag moves it horizontally and GestureType.VerticalDrag moves it vertically, how ...
Homer_Simpson's user avatar
0 votes
1 answer
454 views

How can I support more than one resolution/language on WP7/8?

I want that my Windows Phone game runs on the following three resolutions: 480x800, 768x1280 and 720x1280. And maybe later on 1920x1080. But in the XAP file information, it's just written "...
Homer_Simpson's user avatar
1 vote
1 answer
144 views

XNA flip SpriteBatch on click

Is there any way to make a SpriteBatch flip when its clicked, something like Android Animation? I know that spriteBatch.Draw() ...
Rotary Heart's user avatar
0 votes
1 answer
171 views

Port a WP7 game to WP8 with Monogame

I have a full working game for WP7, I want to port it to WP8 with Monogame. I have installed Monogame and I have done all tests to see that it is working inside Visual Studio Express 2012 for Windows ...
user avatar
1 vote
2 answers
233 views

Custom timeout for xna wp7 Webclient [closed]

Since there is no timeout for responce in windows phone xna version of WebClient i need to implement one. The idea is to make MyWebClient derived class from ...
Feusp's user avatar
  • 83
0 votes
1 answer
249 views

How can I make a clickable menu in WP 7/8?

I'm trying to make a clickable menu for my XNA Windows Phone game. If the player makes a tap gesture on a button(rectangle), something will happen. For example, the game will start if you touch the ...
Bryan's user avatar
  • 315
-1 votes
1 answer
664 views

Difficulties with zoom point

I want to zoom about an arbitrary zoom point. For example, if the player tabs on a place on his windows phone display, this place(position) should get the new center of his viewport. In addition, the ...
Bryan's user avatar
  • 315
2 votes
1 answer
485 views

XNA Framework Reach profile does not support separate alpha blend

Yesterday I released my app 'Pic Words' to the windows phone store. It is an Silverlight/XNA app that runs on Windows Phone 7.1 & 8. I have BugSense incorporated into my app. Today I started ...
user26471's user avatar
  • 329
0 votes
1 answer
558 views

Windows Phone XAML and XNA Apps with Game Components

I am using the Windows Phone Template "Windows Phone XAML and XNA Apps" and targeting Windows Phone 7/8. Most examples show your game inheriting from ...
row1's user avatar
  • 103
2 votes
1 answer
179 views

How I support different display resolutions? [duplicate]

I'm developing a 2D windows phone game. The game should look the same on every windows phone device. But I have no idea what to do so that my game looks great on every display resolution. How can I do ...
Bryan's user avatar
  • 315
2 votes
0 answers
300 views

scale rotating boundingbox

I want to use basic rectangular collision detection. I have a rotating sprite and a method that calculates the bounding box every time in the Update() method. I simply check for intersection between ...
Kanga's user avatar
  • 31
1 vote
1 answer
146 views

colliding 2 moving and rotating sprites in xna 2d

I recently started making a game in windows phone XNA, I have a rocket in the middle that I can rotate and has a thrust to speed up in the direction it is facing and meteors coming out. The point is ...
Kanga's user avatar
  • 31
3 votes
1 answer
178 views

Saving data across same game in multiple devices [closed]

Is there any library or something that works like iCloud but for different operating systems (Android, IOS, Windows Phone) that allow me to save game data to cloud and open the game data from another ...
jmacboy's user avatar
  • 139
2 votes
1 answer
481 views

Why am I seeing unbounded memory usage in my WP8 game?

I recently upgraded to VS2012 and tried my game out on the new WP8 emulators. I was dismayed to find out the emulator now crashes and throws an out of memory exception during my sprite loading ...
Arkiliknam's user avatar
0 votes
1 answer
279 views

Windows Phone XNA guarding storage data

For a typical windows phone game where storage files could contain high scores or in-game currency data, how does one go about protecting these files from user tampering?
user26471's user avatar
  • 329
2 votes
0 answers
163 views

What's a simple way of sending game data between phones? [closed]

Using windows phones I need to send small amounts of data between phones in a turn based game. It's only a few bytes of data and does not need to be real time, something like in wordfeud or similar. ...
Mikael Högström's user avatar
2 votes
1 answer
236 views

CPU Usage on the UI thread Warning - XNA WP7.1

When I run the Store Test Kit's profiler against my game, I get a warning that says something along the likes of "Very high CPU usage on the UI thread for operations other than frame drawing." ...
Schandlich's user avatar
2 votes
1 answer
136 views

XNA project won't target .NET 4.0

I am trying to reference the System.Threading.Task assembly. If I am not mistaken, it should be part of mscorlib. But no matter what I do, my project always defaults to the .net 2.0 runtime. Even if I ...
Schandlich's user avatar
1 vote
2 answers
1k views

Mobile game textures sizes

I am developing a Windows Phone 7 game using XNA 4.0 which I plan to later port to iOS and android using Monotouch and Monodroid. My question is how to determine what texture size should I include? ...
user26471's user avatar
  • 329
0 votes
2 answers
221 views

How do I achieve one touch one shot for WP7 game?

I want to be able to have a sprite shoot in a game for WP7. What I have at the moment is that as long as the shoot button is held down the sprite constantly shoots. How do I sort it that only one ...
Craig's user avatar
  • 105
2 votes
2 answers
3k views

Drawing with SpriteBatch and GraphicsDevice.DrawPrimitives

I've faced with a problem when i tried to draw 2d game with SpriteBatch and GraphicsDevice.DrawUserPrimitives. I suppose that ...
Ilya's user avatar
  • 21
3 votes
1 answer
259 views

XNA windows phone release black textures [closed]

i just made a 3d game in XNA for windows phone 7. I build it in release mode on visual studio 2010 and suddenly when I run game there is no textures on models - 2 models are black and one is ...
Lukasz Kajstura's user avatar
5 votes
2 answers
537 views

Black bars on 720p emulator?

I'm making a game for Windows Phone 8 using XNA 4.0 in Visual Studio express 2012. I'm trying to add a background image to the game with a size of 1366x768 (as I believe WP8 only supports up to 720p). ...
JuanB's user avatar
  • 53
-1 votes
2 answers
752 views

Is opengl ES a necessity for developping mobile games [closed]

I learned some OpenGL ES and some shader coding. But is it really a necessity for developing Android, iOS and windows phone games? Windows phone I'm 99% sure that it is not even supported but have not ...
John Demetriou's user avatar
3 votes
1 answer
446 views

How to sync the actions in a mutiplayer game?

I connect the clients with UDP (its a peer to peer connection on a multicast network) and the clients are sending their positions in every frame (in WP7 it means the default 30 FPS) to each other. ...
Wheeler's user avatar
  • 33
1 vote
1 answer
1k views

XNA Per-Polygon Collision Check

I'm working on a project in XNA for WP7 with a low-poly environment, my problem is I need to setup a working per-polygon collision check between 2 or more 3d meshes. I've checked tons of tutorials ...
childonline's user avatar
0 votes
2 answers
226 views

Drawing an animation over an already drawn screen

I am working on a XNA WP7 card game whose basic prototype is complete. In game screen, 6 cards are displayed at a time (3 for each of the two players say 1,2 and 3). If player A attacks one of player ...
Chandan Pednekar's user avatar
1 vote
1 answer
325 views

windows phone 7 apps marketplace paid to free

I have question about paid and free + ad-based apps/games in wp7 marketplace, can I publish my app as paid version initially and later(after a month or so) can i publish the same app/game as free + ad ...
Yogesh's user avatar
  • 175
2 votes
1 answer
100 views

Can I sell Windows Phone 7 games on the marketplace from India?

I am a developer from India working on a game in WP7. I need to know, can I sell my game in Windows phone apps marketplace or is it like Android market where only free/ad-based is allowed?
Yogesh's user avatar
  • 175
2 votes
1 answer
87 views

Draw depth works on WP7 emulator but not device

I am making a game on a WP7 device using C# and XNA. I have a system where I always want the object the user is touching to be brought to the top, so every time it is touched I add ...
Luke's user avatar
  • 185
3 votes
1 answer
330 views

Is it possible to update the livetile in XNA WP7 game?

( I'm not sure if this question belongs here, but since it is related to game development and I have no idea where else I should post this, I will post this here ) As the title says, what I am ...
user avatar
1 vote
2 answers
518 views

Loss of texture detail in XNA (Banding 16 bit issue)

I'm loading in a background texture for my game, it's not vert detailed, it's just there too add some variance. The problem is that there looks like a large reduction in detail. I've included images ...
Daniel Little's user avatar
1 vote
2 answers
2k views

Random position of object in foreach loop

i need help with some "scary" thing. I'm creating some objects in foreach loop. Each object has implemented in Update function random change of position. But while i'm creating this objects in foreach ...
marcel's user avatar
  • 13
6 votes
3 answers
338 views

What is the "pricing standard" on Windows Phone?

On iOS, I find it is more usual to see light versions of a game for free (with ads and less features) and a full version for a cost and all the features. On Android, I see more games that have both a ...
Jesse Emond's user avatar
  • 4,283
1 vote
2 answers
6k views

Position sprite at center of screen

I am trying to get a sprite to position itself at the center of the screen but nothing seems to be working for me. I'm trying ...
Noelle's user avatar
  • 113
2 votes
1 answer
210 views

Dynamically Discovering Game Content

I am trying to determine the best way to dynamically discover new levels in my Windows Phone game. This is necessary because I will be selling some levels separately to those included with the initial ...
me--'s user avatar
  • 942
0 votes
1 answer
403 views

How many update and draw calls can a windows phone suppport

I'm making a Windows Phone game (XNA 4.0) which requires a lot of activity on the screen. It's working well for now. But what I am concerned about is that it uses a lot of sprites and many of them as '...
Aditya's user avatar
  • 1
7 votes
2 answers
443 views

Windows Phone Performance Analysis makes game run faster. Possible reasons?

A XNA game I was making was running slowly on my WP7 device. However when I started it in Windows Phone Performance Analysis to find the bottleneck, the game ran smoothly on the same device. I ...
ApoorvaJ's user avatar
  • 933
-3 votes
1 answer
914 views

c# xna move Image using two Vectors?

initially image placed (0,0)th position and where ever i touch that is end position. Now i got Start Position(0,0) and End Position(200,200). i want to move start to end vector using angle. If ...
Ramachandran's user avatar
2 votes
3 answers
626 views

Publishing a game -- any way to target both WP7 and Win8 Store?

I'm at a dilemma which seems should soon become an important issue for a lot of developers. If I build a game in XNA, I won't be able to publish it on the Windows 8 Store, as it would be a classic ...
Rei Miyasaka's user avatar