Adsense with Letterbox Scale

Get help using Construct 2

Post » Wed Oct 24, 2012 8:43 pm

Hello,

I was wondering if anyone was successful in a creating page with ads AND had a game using the "Fullscreen in browser" mode, like Letterbox Scale.

I want the game to scale based on the user's browser window, but I also want to have an ad next to the game. Of course, I can't place the ad within the game in Construct because, obviously, the ad cannot be scaled (Unless someone has a method of placing HTML with games that doesn't scale with the rest).

The best I was able to come up with was placing the ad in a div with an absolute or fixed position at (0,0), but unfortunately, this covers up part of the game. And since the game is scaling, there's no way to reserve say 160 pixel on the left in game for an ad, because the reserved area will change depending on the user's window size.

Any help/ideas would be greatly appreciated. Thanks in advance.
B
4
Posts: 5
Reputation: 772

Post » Wed Oct 24, 2012 11:42 pm

Maybe you should try with Anchor behavior
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Wed Oct 24, 2012 11:49 pm

Thanks for replying.

I think I've found a solution. You can use the Pode HTML Pack (http://www.scirra.com/forum/plugins-pode-html-pack_topic51522_page1.html) that has a div module which allows you to use any HTML you want. The best part, it doesn't scale the elements when using Letterbox scale.

The only thing I've noticed is that if you use the browser plugin and request full screen mode, the html disappears. Not sure if there's a workaround for this, but if I find one, I'll post it here.
B
4
Posts: 5
Reputation: 772

Post » Thu Oct 25, 2012 12:41 am

I tought you already used this plugin before you create a thread XD
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Wed Nov 14, 2012 9:31 pm

Hi, does someone knows if this kind of ads implementation is in conformity with google adsense policies?I have some doubts because of this article
Google adsense article
tkscesisco2012-11-14 21:41:06
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Nov 14, 2012 9:43 pm

Actually, for AdSense, I don't think it is. But, Google does offer ads for games, although I have yet to explore the policies for that service. Take a look here: http://www.google.ca/ads/games/index.html
B
4
Posts: 5
Reputation: 772

Post » Wed Nov 14, 2012 9:55 pm

[QUOTE=d640k] Actually, for AdSense, I don't think it is. But, Google does offer ads for games, although I have yet to explore the policies for that service. Take a look here: http://www.google.ca/ads/games/index.html[/QUOTE]

Tks, but i think in the game ads service from google you need to have an absurd number of players per day in your page to access the service.I have to figure out this because i need to implement ads in my games.cesisco2012-11-14 21:57:02
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Nov 14, 2012 11:18 pm

Hmm. Well, there are other ad services out there that specialize in in-game advertising. Have you checked any of them out?

http://www.ad4game.com/
http://www.game-advertising-online.com/
http://web.ad2games.com/_launch/
http://www.advertisegame.com/
https://www.epicgameads.com/

I've only briefly looked into these and I don't know how many players are required to use there service (or if their payout is worth the trouble). I'd imagine some of these smaller networks might be a bit more sympathetic to the indie developer. I do know that some of these allow you to use other ad providers in addition to their services, which is a bonus.

Again, I haven't done enough research (spending all my time on development) so I don't really know much else. I'll let you know if I do come across anything viable.
B
4
Posts: 5
Reputation: 772

Post » Wed Nov 14, 2012 11:21 pm

Actually, I just read Google's docs for their service and they require that the game is built with Flash: "You can only integrate AdSense for games on web-based Flash games." Can't say for certain if that's still valid in 2012, but that's what it says.
B
4
Posts: 5
Reputation: 772

Post » Wed Nov 14, 2012 11:33 pm

[QUOTE=d640k] Actually, I just read Google's docs for their service and they require that the game is built with Flash: "You can only integrate AdSense for games on web-based Flash games." Can't say for certain if that's still valid in 2012, but that's what it says.[/QUOTE]

-1 bad point for Google.
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Next

Return to How do I....?

Who is online

Users browsing this forum: Radulepy and 7 guests