Not logged inGosu Forums
Forum Gosu Homepage Help Search Register Login
Up Topic Gosu / Extending Gosu / Idea: Gosu in web browser.
- - By arrow Date 2010-09-28 18:12
Just a thought that a gosu web player would be awesome (similar to flash). I have never programmed any web plugins and have no idea what's going on under the surface of gosu, so currently i'm not really able to work on it or estimate the amount of work to do it.
Parent - - By erisdiscord Date 2010-09-28 20:31
It might be doable with Silverlight and IronRuby but it would require rewriting Gosu from the ground up, in C#, using DirectX calls instead of OpenGL. It would be a really cool project (and, for once, we'd have a good platform for browser games), but it kind of sounds like more trouble than it's worth.
Parent - - By jlnr (dev) Date 2010-09-28 21:10 Edited 2010-09-28 21:14
Hah, that is a fun idea. Java/JRuby and Flash have already been discussed as possible mediums.

http://www.rubyinside.com/ironruby-silverlight-ruby-in-browser-3192.html
http://typeoneerror.com/blog/post/silverlight-development-on-mac-osx-my-first-app

Gosu could be built in IronRuby on top of that Canvas stuff I guess, but I'd expect that to be dog slow.

I always wanted to do some C# and that MS is actually pushing its tech via Mono is so bizarre that I'd love to give it a try. Aaah, why can't days be longer. :)
Parent - - By kyonides Date 2010-09-30 00:57
I wouldn't go for IronRuby since IronPython development & support ended a while ago and people are also expecting the same fate for IronRuby.
Parent - By erisdiscord Date 2010-09-30 02:25
Well, that's pretty much your one choice if you want Ruby in the browser. jRuby doesn't work too well as an applet yet.
Parent - - By jontebol Date 2010-10-10 21:19
I definitely think WebGL is the way to go for this... not Silverlight or Flash.

I could live with porting my game from Ruby to JavaScript if I had to, If I could run Gosu and in the browser (through WebGL)... JavaScript is actually a quite competent language... 

Now would be a good time for such a project too, since a lot of people are looking for game frameworks to use with HTML5...
Parent - By erisdiscord Date 2010-10-12 03:06
Well, if we're going that route with a different language binding for the browser version, I'd go with CoffeeScript or (if you must) haXe.

Actually, although I like CoffeeScript a great deal, haXe can be compiled to C++ as well as JavaScript, so in theory you could write games that would run in the browser and natively on the desktop, which is kind of stupid awesome.
Parent - By Basic Date 2010-09-29 16:44
Unity and Google have shown some really cool things using HTML5.

Quake 2 in browser http://www.bit-tech.net/news/2010/04/05/google-ports-quake-2-to-html5/1
Unity3D in chrome. (sorry cant find link).
Up Topic Gosu / Extending Gosu / Idea: Gosu in web browser.

Powered by mwForum 2.29.1 © 1999-2013 Markus Wichitill