0
votes
0answers
42 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 ...
4
votes
4answers
535 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 ...
0
votes
1answer
295 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 ...
2
votes
2answers
269 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 ...
0
votes
1answer
262 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 ...
0
votes
0answers
12 views

How can I move an object with the Windows Phone accelerometer? [duplicate]

I want to move an object with the Windows Phone accelerometer. If the Windows Phone device is getting tilt to the right, the object should move 50 pixel to the right. The same with the other three ...
1
vote
1answer
193 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 ...
0
votes
1answer
70 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 ...
0
votes
0answers
48 views

Simulating Windows Phone Trial mode is not working

I want to simulate a Windows Phone Trial mode. I created a little game in XNA and uploaded it as a beta on my Windows Phone Dev Center account. After that, I installed the game from my Dev Center ...
0
votes
1answer
183 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 ...
1
vote
1answer
54 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() have SpriteEffects, but it literally flip it and I want to flip it like ...
0
votes
1answer
142 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 ...
1
vote
2answers
167 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 WebClient with timer. But i got stuck on ...
0
votes
1answer
174 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 ...
-1
votes
1answer
195 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 ...
2
votes
1answer
222 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 ...
2
votes
1answer
111 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 ...
1
vote
0answers
142 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 ...
1
vote
1answer
102 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 ...
2
votes
1answer
374 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 ...
1
vote
0answers
449 views

cocos2d-xna CCScale9Sprite usage

I'm trying to get a CCControlButton to render on my game. Using a basic CCScale9Sprite as the button's background works using the following: var myScale9Sprite = ...
1
vote
1answer
205 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?
2
votes
0answers
145 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. ...
3
votes
1answer
197 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." ...
2
votes
1answer
121 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 ...
1
vote
2answers
752 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? ...
1
vote
2answers
863 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 what is drawing with SpriteBatch has higher priority, because i can not ...
3
votes
1answer
216 views

XNA windows phone release black textures

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 ...
5
votes
2answers
378 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). ...
3
votes
1answer
309 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. ...
1
vote
1answer
553 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 ...
0
votes
2answers
187 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 ...
2
votes
1answer
80 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 float.Epsilon to ...
2
votes
1answer
306 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 ...
1
vote
2answers
414 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 ...
1
vote
2answers
703 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 ...
6
votes
3answers
313 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 ...
1
vote
2answers
2k 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 Viewport viewport = graphics.GraphicsDevice.Viewport; logoPosition = new ...
2
votes
1answer
199 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 ...
0
votes
1answer
320 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 ...
7
votes
2answers
393 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 ...
-3
votes
1answer
578 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 ...
2
votes
3answers
581 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 ...
-4
votes
1answer
408 views

Make Sprite Jump Upon a Platform

I have been struggling to make a game like Doodle Jump where the sprite jumps on a platform. So how do you make a sprite jump upon platforms in XNA? Th platforms are represented by a list of positions ...
2
votes
1answer
586 views

Why is my primitive xna square not drawn/shown?

I have made this class to draw a rectangle, but I cant get it to be drawn, I have no issues displaying a 3d model created in 3dmax, but shown these primitives seems much harder I use this to create ...
3
votes
2answers
218 views

Game maps with “counties” that are split along lines that aren't necessarily straight

I want to create a game environment that supports a 2D map. This is a really basic map, but must be split along lines that are not necessarily straight. So imagine a country with county boundaries. ...
7
votes
1answer
1k views

XNA Sprite Flash Effect

I'm looking for a way to render every non-transparent pixel in a sprite solid white (to 'flash' the sprite white when the player takes damage etc). This is on Windows Phone 7. I was using a very ...
4
votes
1answer
613 views

Cinematic in 2D games

I am searching for a way to create and integrate cinematic in a simple 2D game with XNA for Windows Phone. I don't know if the best way is to create an animation with sprite and commonly process to ...
1
vote
1answer
768 views

displaying image on modelmesh with transparency

i have a modelmesh that has a image on it. When i draw the modelmesh i get the image but i also get a black bacground. The image is png and transparent and is added in 3ds max(i don't give it ...
2
votes
1answer
966 views

How do I load Gleed 2D levels in WP7 XNA game?

I've been trying so long to use this modified version of GLEED2D that includes WP7 support, I'm stuck into loading the level into my game, now my Game1.cs class has the following: protected ...