Tagged Questions
2
votes
1answer
68 views
How I support different display resolutions?
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 ...
0
votes
0answers
45 views
Drawing one texture with different Color fps issue
I'm trying to change texture color by aplying mask, which is exactly the same texture but with changed color and alpha < 150.
I'm doing smth like this:
spriteBatch.Begin();
spriteBatch.Draw(pic, ...
1
vote
0answers
53 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 ...
0
votes
1answer
41 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 ...
0
votes
0answers
87 views
Cocos2d-xna memory management for WP8
I recently upgraded to VS2012 and try my in dev game out on the new WP8 emulators but was dismayed to find out the emulator now crashes and throws an out of memory exception during my sprite loading ...
0
votes
0answers
100 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
58 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
86 views
What's a simple way of sending game data between phones?
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. ...
2
votes
1answer
99 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
105 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
265 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? ...
-2
votes
1answer
133 views
Is it wise to dev games only with XNA GS? [closed]
I was searching the web all day for a clear answer, but I didn't get any.
I heard that the Unity-Engine is about to come for Windows Phone 8, but I didn't see any release.
Anyway,
is it wise to ...
1
vote
2answers
299 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
106 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
239 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
239 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
232 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
168 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
72 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
186 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
302 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
381 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
272 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 ...
0
votes
2answers
773 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
193 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
0answers
76 views
Farseer physics not working
I have just started to port a load of projects from FPE2.x to FPE 3.3.1 and i am having some problems with all my physics.
This is a sample of what i am doing which demonstrates my problem
...
0
votes
1answer
198 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
332 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
408 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
499 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
321 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
487 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
194 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. ...
6
votes
1answer
726 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
518 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
602 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 ...
1
vote
1answer
829 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 ...
1
vote
3answers
4k views
Making a level editor for my game
I am doing a 2D sprite based game in XNA for WP7, The game logic is simple, you start at some point, you want to avoid obstacles and reach a certain goal.
obviously I need to make many levels for the ...
1
vote
1answer
108 views
How can I draw a model with a color on WP7?
How can I draw a model with a color (and still be aware of the lighting)?
This is really straight forward when you can use shaders, but on Windows Phone you can't.
3
votes
1answer
379 views
No response to touch from XNA page after navigated from Silverlight page
I am creating XNA/Silverlight game in Windows Phone Mango. Testing with the emulator in both the Release and Debug mode.
From the main page, I call a settings page written in Silverlight. Then I back ...
1
vote
3answers
2k views
Content.Load() throws ContentLoadException when loading a texture in SL XNA
I've developed a while back in XNA but I'm a bit rusty. I've started working on SL XNA but have a problem I can't explain while trying to load content (model -fbx- or texture).
I place the image ...
3
votes
2answers
425 views
Using orientation to calculate position on Windows Phone 7
I'm using the motion API and I'm trying to figure out a control scheme for the game I'm currently developing.
What I'm trying to achive is for a orienation of the device to correlate directly to a ...
0
votes
1answer
1k views
XNA WP7 Texture memory and ContentManager
I'm trying to get my WP7 XNA game's memory under control and under the 90MB limit for submission. One target I identified was UI textures, especially fullscreen ones, that would never get unloaded.
...
2
votes
2answers
562 views
Why does my sprite jitter when it arrives at its destination?
I have just started looking into XNA for WP7 - and I am definitely the sort of person who likes to find answers to my questions without begging for help!
I searched here to find an answer but I found ...
1
vote
2answers
2k views
XNA Windows Phone 7 Sprite movement
I'm working on a Windows phone game and I'm having difficulty with the sprite movement. What I want to do is make the sprite gradually move to the position that is touched on screen, when there is ...
6
votes
1answer
390 views
First Steps. Windows Phone game development
I'm pretty new in game development. Have a couple ideas wich could be cool. First that comes to mind is to develop a 2D game (kinda puzzles) for Windows Phone Mango. You may ask: "Why Windows Phone?". ...
1
vote
1answer
111 views
Issue With Image Rendereing
I'm pretty New to the XNA Side of things,
I have built in PhotoShop a Set of frame by Frame images side by side to go through an animation class to display them frame by frame.
With this my images ...
3
votes
1answer
1k views
How do I implement SkyBox in xna 4.0 Reach Profile (for Windows Phone 7)?
I'm trying to Implement SkyBox in my phone game. Most of the samples in the web are for HiDef profile, and they are using custom effects (that not supported on Windows Phone). I've tried to follow ...
8
votes
3answers
4k views
How do I make objects move along a path?
I'm trying to get something like the below image. As you can see, there's a highway and inside of it, there'll be some objects moving (millisecond). I guess the street behavior is like a pipeline. ...
3
votes
1answer
668 views
How can I draw beautiful lines with XNA on WP7?
I'm trying to figure out how to draw good looking lines using XNA on the WP7 platform. By good looking I mean something not skinny and flat that a simple primitive gives you. A nice gradient, or ...

