Hi so I have my HTML 5 games which are on my website with an iframe, I have adverts on my webpage but I would like adverts in the actual html game. Is this possible anyone
Yea, you can just load image via URL for the Sprite object.
Hi thanks for the reply do you have an example of this?
https://drive.google.com/open?id=0B-xiq ... 1NIU1B3dDA
drive.google.com/open
Thanks for the capx, How do you get the url of the ad though?
right click on the add an choose Copy Link (or image) location? Or you can look into the HTML with a debugger.
Develop games in your browser. Powerful, performant & highly capable.
In game ads don't work that way.
You need an ad service, some script provided by the service, and a way to display html content within the game, such as the iframe, or div plugs.