Game Development Community

Detect a web deployed game via web server?

by Nicolai Dutka · in Torque 3D Beginner · 09/29/2009 (4:02 pm) · 3 replies

I am just wondering... With T3D being able to deploy to a web browser, and also being able to open a browser within the game (as in the video with dude running on a cube that had a web browser on it)...

Can a web page be setup to detect which game is currently running in that browser?

So... Say I wanted a web site that can ONLY be viewed while running a specific game, is that possible?

#1
10/13/2009 (10:40 pm)
Bump...
#2
10/14/2009 (2:15 am)
Just in case you didn't know the video of that in-game browser was just a demo of the possibilities a dev could do with T3D. It's not a stock feature.

That said, I would think something like that would be possible. I've only recently started to dabble in web tech and my experience is extremely limited with it, so my opinion on this could be entirely wrong.
#3
11/10/2009 (6:51 pm)
So you want a site only to be viewable in game or requested from the game? Just to clarify that should be the only time people should be able to get to it?

When coding for this you need to send a variable along in the request encrypted of course to your website using PHP, Java or ASP.NET check that variable to see if it is valid if not redirect it to someplace else you can encrypt the entire variable and value so you can set it to whatever if you need help in the encryption part let me know I will send you some code for that