Double posting for the second time today, sorry!
I have good reason...
I have some free code to ad "Goodle Adsense" adverts into your DBP game!
Theres a bit of work and my way of doing this requires a website for the browser to point to. Here are the steps:
1-Set up an Adsense account here:
Google Adsense
2-Create a banner using the wizard (it's pretty simple to do but I'll make a full guide soon) using image only adverts. Copy the code it produces into textpad or something temporarily
3-Add the code to a page on your website with nothing else in it at all (save the url)
4-If you don't have BBB Gui yet then download and install it for free from here:
BBB Gui
5-Include the BBB Gui constants file in your project
6-Add the following code at the start of your code somewhere:
start bbb gui
global dbpro_w
dbpro_w=get focus window()
bannerID = make_banner(screen width()/2-364, 10, 728, 90, dbpro_w, "http://www.grot-software.com/google_728x90.html")
`use your own positioning and url of course...
7-Add these functions somewhere after your loop (EDIT: While positioning allow for 10 pixels either side and 15 pixels top and bottom in addition to the size of the banner when positioning the banner):
function make_banner(xpos, ypos, width, height, windowID, url$)
global browser, BANNER
hWindow=make window(xpos-10,ypos-15,width+20,height+30,"",windowID,WS_CHILD)
browser=make WebBrowser(url$, hWindow)
disable window hWindow
BANNER = 1
endfunction hWindow
function show_banner(banID)
webbrowser refresh browser
show window banID
endfunction
function hide_banner(banID)
hide window banID
endfunction
8-Anytime you want to show or hide the banner just use the show/hide functions I added!
That's all!
I have no idea of revenue but this code will at least get you started for free!!! I'm putting it into "The Last Stand - Demo" tonight
Attached is my sample project used to iron out the details.