|
  
|
|
|||||||
| Zune Games Discuss, request, share, and download Zune Games here. Having troubles with Zune Games? No problem, we can help. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#2 (permalink) |
|
Vista Zune Styler
Premium Member
Experienced Zuner |
Depends... the XNA is mainly formatted for Sharp and ++ (C# & C++), not the Visual Studio or Visual Basic series. There may be a plugin for VB though. Google ftw.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() |
|
|
|
|
|
#4 (permalink) |
|
Jr. Zuner
Join Date: Feb 2008
Posts: 34
Reputation: 10
|
well actually it does work with VB i think i havent tryed to deploy the game cuz its not finished yet but i think it should work.
Is there anyone who would be willing to help me fix all the things wromg with my game cuz basically right now its a 2 player fighting game which would be cool with wifi multiplayer like pong but i want to make it into a 1 vs computer game is there anyone who would be willing to help me code this? |
|
|
|
|
|
#6 (permalink) |
|
Zuner
Join Date: May 2008
Location: WA
Posts: 71
Reputation: 12
|
Here is an FAQ XNA Game Studio and other languages
Speculation on what you think SHOULD work is never a good idea. Its possibly to get VB (or other languages) code running with XNA Game studio but you need to jump through a lot of hoops. Firstly you need to make sure that the language doesn't use its own libraries (the My. namespace in VB for example) which won't exist on 360 or Zune. Then you have to make sure your language doesn't use some of the odd parts of MSIL or rely on some parts of Reflection. Even if you pass all those tests then the content pipeline and deployment add ins only work from c# so you need to make an empty c# project, add in content and reference the game you wrote as an assembly in VB. So it will work, but its a lot of bother and you will get little or no support from anyone especially Microsoft.
__________________
Zman - XNA MVP To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() |
|
|
|
|
|
#7 (permalink) |
|
Zuner
Join Date: Nov 2006
Posts: 74
Reputation: 9
|
XNA Apps running under Windows are more flexible. With some work many different programming languages can be used, but will only run on your PC
http://www.alanphipps.com/VisualBasicdotNET-XNA.html (PC only) However XNA apps that run under Zune are much more constrained. They must run the "CIL" intermediate code and run within the "sandbox" environment. They can only use the restricted libraries that are on the Zune. The C# and VB .NET compilers can produce "CIL" code. Regular C++ programs, older tools like Visual Basic or Visual C will not. [There are some crazy options like CIL 'assembler' or C++/CIL] As mentioned, the SDK currently only supports C#. This is where you should start. It may be possible to port the (Zune compatible) XNA SDK to work with VB .NET, but I would wait for someone else to do the work for you (possibly for the XBox360) IMHO If writing a new game, the C# language is sufficiently similar to Visual Basic that writing it in C# is almost as easy. |
|
|
|
|
|
#8 (permalink) | |||||
|
Zuner
Join Date: May 2008
Location: WA
Posts: 71
Reputation: 12
|
Quote:
Quote:
The restricted libraries on the zune appear to be the same as the restricted libraries on the 360. They are actually not all that restricted. Windows.Forms, System.Net are the big ommisions. But the rules about which librararies to avoid applies to c# as well. The only issue is if your language needs to use some language specific ones. e.g the My. namespace in VB cannot be used. Quote:
Quote:
Quote:
__________________
Zman - XNA MVP To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() |
|||||
|
|
|
|
|
#9 (permalink) |
|
Jr. Zuner
Join Date: Feb 2008
Posts: 34
Reputation: 10
|
http://www.alanphipps.com/VisualBasi...nstallXNA.html
so this won't work? but anyways i know it would be easy to do it in C# but I have the entire program written in VB so i really don't feel like converting damn near 2000 lines of code into C# |
|
|
|
|
|
#10 (permalink) |
|
Zuner
Join Date: May 2008
Location: WA
Posts: 71
Reputation: 12
|
It will work if you follow the rules in the FAQ...
Maybe if you explain which part of the explanation I made or the FAQ you dont understand then I can help
__________________
Zman - XNA MVP To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() |
|
|
|
![]() |
| Thread Tools | |
|
|
| |