XP 上的 XNA Game Studio 4.0 中缺少内容导入器和内容处理器
我已将 Visual C# 2010 Express 和 XNA Game Studio 4.0 下载并安装到我的 XP(32 位)计算机上。我必须通过单独下载文件来完成此操作,因为当我尝试这样做时,App Hub 软件包无法安装,这与 Windows Phone 的内容有关。
不管怎样,我在 PNG 透明度方面遇到了麻烦,今天我开始工作,发现通过更改内容导入器和处理器(属性)透明度效果很好,这是在 Windows 7 计算机上。
然而,在我家里安装的 XP 中,这两个框的下拉菜单是空的。我尝试过完全卸载并重新安装,但这没有帮助。还有什么我可以尝试的吗?
我可以很好地运行代码,只是图像无法获得透明度。
我基本上错过了本页图像中显示的下拉菜单:
http://msdn.microsoft.com/en-us/library/bb199633(v=XNAGameStudio.40).aspx
有趣的补充:如果我在工作中设置导入器和处理器,保存项目,并将其带回家,设置就会显示并起作用。所以看来我纯粹错过了下拉菜单和可用设置之间的链接。
I've downloaded and installed Visual C# 2010 Express and XNA Game Studio 4.0 on to my XP (32-bit) machine. I had to do this by downloading the files individually as the App Hub package wouldn't install when I tried that, something to do with the Windows Phone stuff.
Anyway, I'm having trouble with transparency on PNGs and I took the project in to work today, and found that by changing Content Importer and Processor (properties) transparency worked fine, this was on a Windows 7 machine.
However on my XP installation at home, the drop down menus for these two boxes are empty. I have tried complete uninstall and re-install but this didn't help. Is there anything else I can try?
I can run the code fine, just can't get transparency on my images.
I'm basically missing the drop-downs shown in the image on this page:
http://msdn.microsoft.com/en-us/library/bb199633(v=XNAGameStudio.40).aspx
Interesting Addition: If i set the importer and processor at work, save the project, and bring it home, the settings show up and work. So it appears i'm purely missing the link between the drop down menus and the available settings.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果“单独下载文件”意味着您下载了错误的内容,这里是 XNA Game Studio 4.0 的独立安装程序,将在 Windows XP 上运行。
(另一方面,Windows Phone 开发人员工具只能安装在 Vista 及更高版本上。)
On the off chance that "downloading the files individually" means you've downloaded the wrong thing, here is the stand-alone installer for XNA Game Studio 4.0, which will run on Windows XP.
(The Windows Phone Developer Tools, on the other hand, will only install on Vista and above.)
我的 PNG 透明度也有问题。它可能是您用来创建/转换 png 文件的程序。我使用irfanview,不再有任何问题。
I was having problems with transparency in my PNGs as well. It may be the program you're using to create/convert the png files. I used irfanview and no longer have any problems.
我在使用 XP 时从未找到解决方案。然而,现在我已经升级到 Windows 7,一切都按预期进行。因此,我只能假设我的 Net Framework、XNA Game Studio 或 XP 安装有问题;或者 XNA Game Studio 不完全支持 XP。
I never found a solution to this whilst using XP. However now that I have upgraded to Windows 7 everything works as expected. I can only therefore assume that either there was something incorrect with my installations of the Net Framework, XNA Game Studio, or XP; or alternatively XNA Game Studio does not fully support XP.