WebView Cocos2d xna(WebView Cocos2d xna)

编程入门 行业动态 更新时间:2024-10-06 12:32:00
WebView Cocos2d xna(WebView Cocos2d xna)

我想在我的游戏背景中使用Cocos2D XNA for windows phone 7显示一个网页。我发现了很多关于它如何在iOS上创建的例子,但没有关于XNA的信息

让我知道可能的方法。 请原谅我的英文。

I want to display a web page in the background of my game using Cocos2D XNA for windows phone 7. I was found many examples that how it will be created on iOS, but nothing about XNA

Let me know the possible ways. Excuse my English.

最满意答案

为此,您必须将网页呈现为texture2d,然后将texture2d显示为CCSprite。 在XNA中这不是一件容易的事。

For this to work, you have to render the web page into a texture2d and then display the texture2d as a CCSprite. This is no easy task in XNA.

更多推荐

本文发布于:2023-08-07 11:04:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464068.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:WebView   Cocos2d   xna

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!