Game Development Community

Possible to Play in Web Browser

by John Klotz · in Torque Game Builder · 07/07/2006 (8:20 am) · 6 replies

Is it possible to play games you create with TGB on the web, via website.

If so, how would one go about doing this?

Making them playable over the internet without little or no download.



Thanks

#1
07/07/2006 (8:22 am)
I don't know about the little or no download part, but I've heard that igLoader has successfully allowed Torque games to run in a browser.
#2
07/07/2006 (10:11 am)
Well from what I've tested it doesn't "really" play in the browser in the sense that java, activeX, or flash does. They are just spoofing the parent window handles, the game still has to be downloaded and installed on the client, so whats the point of playing it in the browser window? Unless they have a launch from web, piece that I missed, this is nothing more than Handle spoofing. You can do the same thing yourself in a few lines of winAPI code.
The developer addition does anyway, maybe they have other offerings I'm not getting?
#3
07/07/2006 (10:37 am)
IgLoader's biggest benefit is that it handles delivery, installation and execution of the payload software invisibly. The end-user experience is nearly identical to a java or activeX applet in this way, which is an important differentiator. Most web-games are there either to lower the bar to entry to the downloadable demo, and/or to supplement the game experience with advertising, instructions or branding. igLoader provides for this, and the nice thing it works for both Firefox and IE.

The biggest downside, there is absolutely zero protection in place from a malicious program installing and doing bad things to the system. The licensing works as such that the developer can pull the runtime license and stop the plugin from working at thier discretion, but this would probably happen long after any damage (intentional or accidental) was done. Of course another drawback compared to Java or Flash is that it is platform dependent.

However it takes about a day to get a piece of pre-existing software set up as a web app with it vs. the cost/time investment developing an entirely new version of your product, so there's still good reason to consider it. :)

Regarding the initial question, there is actually a TDN article about how to recompile the TGE source (it applies to TGB too, I hope it is cross-accessbile) with some extra code to run in a browser. It seems to still be a work-in-progress but has tackled a lot of the many little gotchas that happen in a browser (such as the "reload" button, etc.) Check it out here
#4
07/07/2006 (3:05 pm)
Ah, well.. another brick wall with information secrecy for legit customers. :(

"Only Torque Game Engine owners can access this content."
#5
07/07/2006 (7:41 pm)
I am sure you can install Linux on a microwave oven, that doesn't make it a good idea.
#6
07/07/2006 (11:30 pm)
If playing in a web browser is a requirement, then go with Flash instead. My $0.02. You can pry my TGB about of my clammy dead digits. :-)