嵌入XNA游戏在网页中 [英] Embed xna game in a webpage

查看:119
本文介绍了嵌入XNA游戏在网页中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法运行从网页的XNA游戏,而无需安装任何东西?类似的东西去渣,Silverlight的或非常接近一个WPF浏览器应用程序(XBAP)。

Is there a way to run an xna game from a web page without installing anything? Something similiar to java, silverlight or very close to a wpf browser applications (XBAP).

情景:

在网页去,站要求安装
  游戏。游戏安装,游戏画面
  在网页上显示出来。可以全屏,
  等等。

Go on webpage, Get asked to install the game. Game installs, game screen shows up in webpage. Can full screen, etc.

本场比赛是一个完全成熟的XNA框架的游戏,采用3D,可以访问系统调用,如DirectX和其他低级别的网络API。这可能是更多的使用JavaScript与Windows系统,如果任何事情。

The game is a full blown xna framework game, using 3d, has access to the system calls such as directx and other low level networking api. This is probably more of having javascript working with windows system if anything.

推荐答案

SilverSprite 似乎做你想做的。我从来没有使用过,但看到<一个href=\"http://arstechnica.com/microsoft/news/2009/03/xna-2d-games-come-to-the-browser-via-silverlight.ars\"相对=nofollow> XNA 2D游戏来通过Silverlight的浏览器。

SilverSprite seems to do what you want. I have never used it but see XNA 2D games come to the browser via Silverlight.

从本质上讲,它允许XNA游戏
  开发人员运行其游戏
  Silverlight 2中,虽然有一个
  限制:游戏,可以
  转换可以只具有
  基于SpriteBatch的图形,这意味着没有
  3D游戏。

Essentially it allows XNA game developers to run their games in Silverlight 2, though there is a limitation: the games that can be converted may only have SpriteBatch-based graphics, meaning no 3D games.

这篇关于嵌入XNA游戏在网页中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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