XNA给Xamarin提供了帮助 [英] XNA to Xamarin help

查看:100
本文介绍了XNA给Xamarin提供了帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在我的计算机上使用xna开发了一个应用程序。现在我想在android.So上创建这个应用程序。我下载了Xamarin studio。我尝试编写它但感觉与xna非常不同。 Xamarin工作室甚至不识别像texture2d和spritebatch这样的命令。现在我无法理解如何编程。如果我做错了你可以给我建议教程或帮助我吗?

I recently developed an application on my computer using xna.Now i want to make this application on android.So,I downloaded Xamarin studio.I tried coding in it but it feels very different from xna. Xamarin studio doesn't even recognize commands like texture2d and spritebatch.!Now I cant understand how to do programming in that.Can you suggest me tutorials or help me if I am doing anything wrong?

推荐答案

它根本不起作用,至少现在还没有。 XNA只是一个基于DirectX的库。



你最想要的'命令'可能在Xamarin中不存在,如果有的话。在这种情况下,仅仅重新编译库是不够的。它必须移植到OpenGL或类似的东西,因为Android上没有DirectX。
It will simply not work, at least not yet. XNA is nothing else than a library, based on DirectX.

The 'commands' you are looking for most probably don't exist in Xamarin yet, if they ever will. Simply recompiling the libraries will not be enough in this case. It would have to be ported to OpenGL or something similar, because there is no DirectX on Android.


这篇关于XNA给Xamarin提供了帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆