Game Development Community

Launching a web browser window

by Tim Perreault · in Torque Game Builder · 10/07/2009 (8:25 pm) · 4 replies

Is it possible to launch the default web browser to a specified URL via button click? I've been looking through the documentation, but I haven't found anything yet.

Could someone point me in the right direction?

Regards,
Tim

About the author

Recent Threads


#1
10/07/2009 (11:56 pm)
I assume by "button click", you mean clicking on an object. You'll have to set the object to receive mouse events and then write a "onMouseUp" function. At that point, you'll need the gotoWebPage function.
#2
10/08/2009 (12:01 pm)
Thanks William.
#3
10/08/2009 (7:59 pm)
You're welcome! It was really no problem, and I'm glad I could help.
#4
10/08/2009 (11:53 pm)
here:
E-Mail the guy there he helped me with doing that: www.makingindiegames.com