Rather than add anything to pyglet itself, the way would be to embed a web browser instead. See: https://github.com/cztomczak/cefpython for example. although in that case it means using the Chromium embedded framework, and all the bits that come with that.
You could also have a splash screen with a web browser in it before, or while your application loads, perhaps if that might be a starter option. You don't have to do this in python either, whatever is easiest. I am think of something along the lines of what steam does with it's advertisements for game purchases. Users, may or may not like that way of things better than in-line adds. An other option is to show an add image, which will then take you out to a web browser, if clicked, then the full add can be shown run etc. Adds are evil though, you know that right? :) There are probably other solutions, too. On Thursday, 24 September 2015 01:58:02 UTC+1, Jesse Cox wrote: > > The best way I can explain this is with this link: > https://www.quora.com/Is-there-a-company-which-will-allow-me-to-embed-ads-into-my-desktop-game > > Allowing webkit to display a small javascript ad within the game (which > can open a browser window when clicked), will allow game developers to make > money. That being said, I'm thinking of floating a webkit ad over the game. > Also, thank you guys for all the work you have done on this wonderful > framework. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
