Game Development Community

How can I display banner-ads from the web in my game?

by Conor O Kane · in Torque Game Builder · 10/10/2007 (9:10 pm) · 6 replies

I want to display banner ads in the menu screen of my game. At the moment I'm just packaging the ad images in the zip file the game is distributed in, however I'd like to be able to pull images off a website, or even better, display some html in a frame in the game so I can display google ads.

I know there is a function that opens a web browser at a given url, but it it possible to read a web source, or display html within TGB?

#1
10/10/2007 (11:00 pm)
TCP Object I think, do a search for it in the forums.
#2
10/11/2007 (9:43 am)
I think it's a violation of the TOS with Google to display their ads in a game.
#4
10/11/2007 (10:39 am)
Thanks for that link, Dunsany, I wish I could find a use for this just because it's pretty cool. Internet High Scores might be very fun.
#5
10/11/2007 (10:50 am)
You might also consider integrating libCURL. it's somewhat more sophisticated than TCP object.
#6
10/11/2007 (5:27 pm)
Jason - good point, I'll have to investigate that. I believe Google are working on an adsense program for in-game content.

Thanks for the tips everyone.