Is it possible to run the game in web page only?
by ysun · in Torque 3D Professional · 07/26/2009 (4:48 pm) · 14 replies
Hello,
Is it possible to run the game in web page only?
Thanks.
Is it possible to run the game in web page only?
Thanks.
About the author
Wanted by the police
#2
07/26/2009 (5:40 pm)
I have a website, and I want the players to run the game only by visiting my website.
#4
Oh, maybe you're talking about actually preventing users from grabbing a .EXE from another T3D game and using them to launch your game DLL? Well, you could add some script code that calls a javascript function in the HTML page to verify if the game is running in a browser, and close/crash the game if its not.
07/28/2009 (5:45 am)
Of course. Just don't include the EXE in your installer.Oh, maybe you're talking about actually preventing users from grabbing a .EXE from another T3D game and using them to launch your game DLL? Well, you could add some script code that calls a javascript function in the HTML page to verify if the game is running in a browser, and close/crash the game if its not.
#5
Maybe I speak for ysun when I ask, is this really all it is? Exact same download/install process but you double-click a different looking icon and it opens it in a different looking window?
Is there any way to hide more of this process from the user? (like how instantaction does it?)
07/28/2009 (5:39 pm)
For us the whole point of looking forward to the "web publishing options" was to save our users the hassle of downloading an installer, installing it, and then double-clicking the shortcut.Maybe I speak for ysun when I ask, is this really all it is? Exact same download/install process but you double-click a different looking icon and it opens it in a different looking window?
Is there any way to hide more of this process from the user? (like how instantaction does it?)
#6
07/28/2009 (6:11 pm)
You only install the plugin. Once for all games that use the same plugin (same engine dll).
#7
We've only got one game. Just wondering if there's a way to confine the entire install process to the browser.
07/31/2009 (12:39 pm)
wat.We've only got one game. Just wondering if there's a way to confine the entire install process to the browser.
#8
07/31/2009 (4:21 pm)
No, there's no way. Auto-installing plugins (ActiveX) only work with Internet Explorer, and it requires either an insane amount of signed certificates or having the user go through tons of security warnings, and even that isn't guaranteed to continue in the future for security reasons.
#9
Actually it's not just a plugin. I found the plugin I downloaded is the game itself, ppl can run it from the website, also they can run it by open its local folder, if I deleted the .exe in the local folder, the game wouldn't run in browser neither. Basicly I think the browser is just a platform to run the game .exe.
I want to make my game published only by web browser on my site, there is no other way to run the games, just like the instantgame.com did.
So is it possible to make it with T3D?
Thanks.
07/31/2009 (8:13 pm)
Thanks. m8s.Actually it's not just a plugin. I found the plugin I downloaded is the game itself, ppl can run it from the website, also they can run it by open its local folder, if I deleted the .exe in the local folder, the game wouldn't run in browser neither. Basicly I think the browser is just a platform to run the game .exe.
I want to make my game published only by web browser on my site, there is no other way to run the games, just like the instantgame.com did.
So is it possible to make it with T3D?
Thanks.
#10
http://www.3djam.com/roozz/
I've worked with these people with tgea, and it seemed to work well.
07/31/2009 (9:50 pm)
@ysun - you could use a different solution, like this one:http://www.3djam.com/roozz/
I've worked with these people with tgea, and it seemed to work well.
#11
08/03/2009 (9:56 am)
Like I said, you can prevent users from running the .EXE directly if you use torque-javascript communication to check if the game is running in a webpage or not.
#12
08/03/2009 (4:29 pm)
@Jaimi, wow, it's fantastic. That's exactly what I want. Hope GG has such a solution because it's a kind of risk to me to use game tools from more than one company.
#13
08/03/2009 (4:34 pm)
@Manoel, my steps were: Package Project -> Web -> Build. It will build a directory with .html files and plugin. Then I uploaded all the files onto the server. When I access the game from web, I downloaded the plugin, I can start the game. But the problem is I found the plugin was actually a game installed on local. If I deleted the .exe, I couldn't run the game from the web any more. So, the web publish mode of T3D is just using the browser to load the .exe file. I am not sure I can load the game in the browser without the .exe file.
#14
09/04/2009 (9:33 pm)
By now is roozz still the only resolution for real meaning web publish?
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft