Game Development Community

Web Deployment - Debugging games under browsers, Qt WebKit support

by Josh Engebretson · in Torque 3D Professional · 05/04/2009 (11:00 pm) · 0 replies

Hey everyone, I just wanted to make a quick post regarding a couple cool things with the Web Deployment support.

It is easy to forget in all the shiny, how important source level debugging is for actual development. Of course, this is fully supported under Internet Explorer, Firefox, and WebKit derivatives :)

Here's a pic of a breakpoint set on the projectile explosion in IE:

68.233.5.139/~transfer/Pics/webdebugging.jpg

I've also been doing work on the project generator for Beta 2... some nice cleanups and functionality improvements, including stuff like having the web plugin projects be all set to run/debug under IE/Firefox.

The other thing I want to mention... is that I took some time Sunday, compiled the (newly released) LGPL Qt4.5.1 from source and got Torque 3D's web deployment up and running with it :)

This was just awesome as it isn't necessary to compile or link for really good Qt GUI integration :) (However, if I was building an app I would probably derive from QWidget and use the parent window handling stuff in Torque 3D's platform layer... which incidentally, the web plugin uses)

The great thing about Qt's WebKit integration is that you can use the fully themeable Qt widget seamlessly with your web content... also, plugins like Flash and Torque 3D work great :)

The PDF white paper from their site is worth a read: Qt WebKit Information

This sums up a lot of good thinking on how the desktop/web are really already one and the same... and about cross-platform rich web applications outside of a sandbox like Adobe AIR

68.233.5.139/~transfer/Pics/qtbrowser.jpg

Hope everyone is having fun with Beta 1 :)

- JoshE (GarageGames Programmer Guy)