r/xna • u/Darks1de • Jul 09 '12
r/xna • u/[deleted] • Jun 23 '12
XNA is going to die on PC
Hey,
I read somewhere that XNA will soon die/disappear, because Windows 8 will not support XNA (you will not be able to play xna games on it and develop xna games) and as you know when there is a new version of Windows coming out most of the people will use it, so it wouldn't make sense to use XNA for PCs after W8 is out
Is it true ?
If it's the case, will they replace XNA by something similar ?
Is it still worth learning ? :/
r/xna • u/protomor • Apr 08 '11
XNA multiplayer support sucks
Anyone else thinks so? I don't want to have to connect to windows live or xbox live every time. I forget what the deal killer was but without paying for silver membership, I couldn't do half of what I wanted to.
I picked XNA mainly because my day job is C# and C/C++ is hard to relean. A game programming setup in C# was ideal. Too bad XNA is it or nothing.
Anyone use anything other than XNA for XNA multiplayer?
r/xna • u/joselitoeu • Jun 19 '14
How to keep track of sprite position?
I got a rotating sprite and a particle engine where i need to inform a vector with the position where the particles will be draw, and i want it to be the bottom of the sprite, but i don't know how to keep track of the sprite position to set it as the particle emitter position. Here's the update method with the emitter position, right now it gets the cursor position.
r/xna • u/Hinosun • Nov 02 '14
Simple For loop issue
http://pastebin.com/DPH5Fsnx <-- The problem being that the code only works for the last Tile in the list :) Anyone who knows what i am missin?
r/xna • u/Teh_Reaper • Jan 18 '13
Trying to make a top down shooter in XNA using C# for my class but I have no idea where to start.
I have gotten as far a opening a new project and making a few new png files that it.
r/xna • u/switch78 • Apr 24 '12
Is XNA worth it?
Hey folks,
Forgive me if I'm just ignorant but I looked into XNA development about six months ago and while I found it to be a VERY capable development environment. I got the feeling that the platform was on it's way out. Obviously this subreddit is doing fine so I guess I'm just looking for the pulse here to make me feel like investing in XNA isn't investing in a dying platform.
Thoughts?
r/xna • u/Hinosun • Dec 23 '13
Some help with Fullscreen code :D
In school we learned a really simple method for getting our games into fullscreen, and now that code seems to not work.
I am using :
if (keyBoard.IsKeyDown(Keys.F))
{
graphics.IsFullScreen = !graphics.IsFullScreen;
graphics.ApplyChanges();
}And that really messes with the resuloution. Any advice on other fullscreen codes?
r/xna • u/fattypockets • Nov 01 '14
matching card game help??
hi guys i need help with something i am trying to do, hope this is the right place to ask, i would like to create a matching card game with a timer, scoreboard showing the highest scores in high to low, cards have to be 12 cards randomly select from a deck of 50 and become 6 pairs. cards need to have a flip animation, and need to be discarded when paired. i don't know where to start exactly if someone could point me in the right direction or help me with the code a bit that would be greatly appreciated. thanks :)
r/xna • u/wertoculas • Jun 23 '12
Cannot install XNA 3.1 on visual studio 2008.
Hey, I am using visual studio 2008, as 2010 was not running on my computer. When I try to install XNA 3.1 to my computer is says the set-up has failed. Here is the content of the log files if that helps:
=== Verbose logging started: 6/23/2012 23:28:05 Build type: SHIP UNICODE 5.00.7600.00 Calling process: d:\39e20d407fc6203dc7d9\Bootstrapper.exe === MSI (c) (60:94) [23:28:05:502]: Resetting cached policy values MSI (c) (60:94) [23:28:05:502]: Machine policy value 'Debug' is 0 MSI (c) (60:94) [23:28:05:503]: ******* RunEngine: ******* Product: D:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v3.1\Setup\XLiveRedist.msi ******* Action: ******* CommandLine: ********** MSI (c) (60:94) [23:28:05:504]: Client-side and UI is none or basic: Running entire install on the server. MSI (c) (60:94) [23:28:05:504]: Grabbed execution mutex. MSI (c) (60:94) [23:28:05:506]: Cloaking enabled. MSI (c) (60:94) [23:28:05:506]: Attempting to enable all disabled privileges before calling Install on Server MSI (c) (60:94) [23:28:05:507]: Incrementing counter to disable shutdown. Counter after increment: 0 MSI (s) (FC:7C) [23:28:05:508]: Running installation inside multi-package transaction D:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v3.1\Setup\XLiveRedist.msi MSI (s) (FC:7C) [23:28:05:509]: Grabbed execution mutex. MSI (s) (FC:14) [23:28:05:509]: Resetting cached policy values MSI (s) (FC:14) [23:28:05:510]: Machine policy value 'Debug' is 0 MSI (s) (FC:14) [23:28:05:510]: ******* RunEngine: ******* Product: D:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v3.1\Setup\XLiveRedist.msi ******* Action: ******* CommandLine: ********** MSI (s) (FC:14) [23:28:05:511]: Note: 1: 2203 2: D:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v3.1\Setup\XLiveRedist.msi 3: -2147287037 MSI (s) (FC:14) [23:28:05:511]: MainEngineThread is returning 3 MSI (s) (FC:7C) [23:28:05:513]: User policy value 'DisableRollback' is 0 MSI (s) (FC:7C) [23:28:05:513]: Machine policy value 'DisableRollback' is 0 MSI (s) (FC:7C) [23:28:05:513]: Incrementing counter to disable shutdown. Counter after increment: 0 MSI (s) (FC:7C) [23:28:05:514]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (s) (FC:7C) [23:28:05:515]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (s) (FC:7C) [23:28:05:515]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 MSI (s) (FC:7C) [23:28:05:516]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 MSI (s) (FC:7C) [23:28:05:516]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (s) (FC:7C) [23:28:05:517]: Restoring environment variables MSI (c) (60:94) [23:28:05:518]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (c) (60:94) [23:28:05:519]: MainEngineThread is returning 3 === Verbose logging stopped: 6/23/2012 23:28:05 === Thank you for reading and I hope you can help
r/xna • u/NorriSPT • Oct 28 '12
Does anyone know how to fix this? (Win8, C#2010, XNA)
r/xna • u/Bckunst • Jun 12 '13
XNA mouse issue
From reading on the sideline this post looks acceptable. Let me explain my issue. I'm currently getting the mouse state in my Update() function. If the mouse is within the bounds of my rectangle I set the system.windows.form.cursors Cursor.Current to Cursor.Hand, but it seems that when I move the mouse around this doesn't stay until I stop moving again. Any ideas ? Here is what the code looks like:
public void Update()
{
mouseState = Mouse.GetState();
if (isMoused())
{
WindowsForm.Cursor.Current = WindowsForm.Cursors.Hand;
} r/xna • u/ThatSmile • Jun 06 '13
I need help making my game reset after a collision occurs.
If you could take a look at my code that would be great.(https://gist.github.com/anonymous/e1f08d873f6216a48b59)
r/xna • u/12nathanb • Nov 18 '15
Random music
So in my game i have a song playing in the background is there a way to have multiple songs that are randomly played.
r/xna • u/12nathanb • Nov 17 '15
Could not copy error!?
This is the first error Error 13 Could not copy "obj\x86\Debug\SpaceGame2.exe" to "bin\x86\Debug\SpaceGame2.exe". Exceeded retry count of 10. Failed this is the second Error 14 Unable to copy file "obj\x86\Debug\SpaceGame2.exe" to "bin\x86\Debug\SpaceGame2.exe". The process cannot access the file 'bin\x86\Debug\SpaceGame2.exe' because it is being used by another process.
The program debugs on my laptop but not on my desktop i have tried restarting my pc and vs but nothing is working any help?
r/xna • u/theavatare • Apr 02 '11
Solving the issues after submitting my app WIP
Is there a way to draw simple 2D shapes in XNA? i.e. squares and triangles (perhaps with dynamic textures)
A friend and I have been trying to draw simple 2D shapes in xna. We ideally want to draw to the spriteBatch by just defining a 2D shape and then drawing it but we haven't found a way of doing this easily (especially for triangles) - Is there a way to do this?
We were thinking perhaps a method which generates a simple block colour triangle or rectangle texture and then draws it to the sprite batch.
Any xna wizards out there could let us know if something simple like this is possible without getting into the complex directX and shading etc. We just want simple 2D shapes!
Thanks in advance.
r/xna • u/Halvgoeden • Sep 06 '11
Adobe Flash and XNA
Hi XNA,
I'm a Flash developer currently learning XNA and I've been researching tools for Flash --> XNA pipelines.
So far I've found two:
SWF2XNA
Fluix
SWF2XNA seems fairly straight forward. It looks like it is a C#/XNA class library that parses a .swf file, turning it into XNA-usable assets.
Fluix's Google groups page has been overrun with spam bots. I'm looking for other documentation.
So has anyone here ever tried to get Flash assets into XNA? Have you used the tools above or some other tools? Do you know of any tools that take .swc and not .swf?
Let me know and I'll update with any info I find!
Thanks in advance.
It seems to be official now: XNA is dead or will be soon. Long live ANX/MonoGame?
r/xna • u/theavatare • Apr 10 '11
How to take your game screenshots for wp7 market
r/xna • u/SiggySc • Jul 15 '12
XNA ScoreScreen Advice
Hey Guys ive been programming a XNA 4.0 game. Ive pretty much finished but i cant seem to get the scoreScreen working. I have used a stateManager to split the different game states and have tried to let scoreRecorder(the variable in scoreState) equal player.score(the variable in the game state that records score). Everytime i test it however the scoreRecorder will always feed me Zero. I naturally used breakpoints and they told me that score.scoreRecorder did not exist in this content, but it was right there with the other varibles. Thanks for reading, any help would be nice =D
r/xna • u/[deleted] • Aug 28 '12
should I start making games using XNA 4.0?
I'm reading a book on C++ and I've heard the transition from C++ to C# (which XNA uses) is fairly easy. I want to start making indie games to later be published on xbox live arcade, but I'm curious to know if microsoft will launch a new program for creating games, similar to xna 4.0 for xbox 360, but for the next generation xbox. If that happens I might want to wait until then to start working on my games, rather than making a game for the xbox 360 arcade, and have it be a waste since people will be on the new generation xbox. Please any advice or info would be appreciated!