Jump to content


Photo

Ads for IOS in GM STUDIO ?


  • Please log in to reply
7 replies to this topic

#1 Cyril

Cyril

    GMC Member

  • GMC Member
  • 106 posts

Posted 13 May 2012 - 01:43 PM

How implement ads in a IOS game made with GM Studio ? Is it possible ? What code for this ?
I found code for Flash IOS game, but I ask me for GM Studio.

Thanks,
Cyril
  • 0

#2 darkclower

darkclower

    GMC Member

  • New Member
  • 80 posts
  • Version:GM8

Posted 13 May 2012 - 02:03 PM

Hello.

I haven't used GM Studio that much. But I do know that you could do it by using HTML ads (GoogleAdsense his these).
I would read through the ToC before using it though.

Good luck! Sorry that I could help you more. ;)
  • 0

#3 Cyril

Cyril

    GMC Member

  • GMC Member
  • 106 posts

Posted 13 May 2012 - 02:19 PM

Hello.

I haven't used GM Studio that much. But I do know that you could do it by using HTML ads (GoogleAdsense his these).
I would read through the ToC before using it though.

Good luck! Sorry that I could help you more. ;)


Thank you but you didn't read me. I speak about in-game ads for IOS games, not Adsense !
  • -1

#4 Jack Indie Box

Jack Indie Box

    GMC Member

  • GMC Member
  • 1460 posts
  • Version:GM:Studio

Posted 13 May 2012 - 03:00 PM

I would also like to know, apple also offers "iAd" can someone at yoyo spread some light on whether iAD or 3rd party advert revenue streams will be available?
  • 0

#5 darkclower

darkclower

    GMC Member

  • New Member
  • 80 posts
  • Version:GM8

Posted 13 May 2012 - 09:42 PM


Hello.

I haven't used GM Studio that much. But I do know that you could do it by using HTML ads (GoogleAdsense his these).
I would read through the ToC before using it though.

Good luck! Sorry that I could help you more. ;)


Thank you but you didn't read me. I speak about in-game ads for IOS games, not Adsense !


Oh. I'm so sorry. I haven't slept that much.
Somehow I thought we we're talking about HTML. How embarrassing...

Anyhow. You can play HTML games on an iPhone and Android if the income is your goal.
But if you just want to earn them on the side. I would either recommend you to wait for someone to make an open source ad support for this or get in tough with companies.

I hope this will help. :)
  • 0

#6 filulilus

filulilus

    GMC Member

  • GMC Member
  • 928 posts
  • Version:GM:Studio

Posted 13 May 2012 - 09:46 PM

From the GM:S Manual:

This code enables and positions ads in your game room.

Syntax :
ads_enable(x, y, width, height, freq)

Argument Description
x The x position.
y The y position.
width The width of the ad.
height The height of the ad.
freq The frequency with which you request new ads.

Returns : N/A

Description
With this function you can display ads at the given position within the room. Note that the coordinates and width/height values are based on the position you wish to display the ad in your current room, and as such do not take into account the use of views and/or scaling. Therefore, if you are using views in your game, you must calculate the offset yourself. Also, the frequency argument is used to set the request frequency, ie: how often the game asks your ad server to send a new ad to display. This value is in seconds and it should be noted that the server may choose to ignore the request, may send the same add (and thus appear to have ignored the request) or even over-ride this value and send through a new ad when they decide.

Example:
ads_enable((room_width / 2) - 100, 0, 200, 75, 60);

The above code switches on ads to be displayed at the top of the room, in the middle and it will request a new ad every 60 seconds.


I've tried it but it dosen't show anything, not even a logo but I really hope that we will be able to use it when they release the full version of GM:S.

Edited by filulilus, 13 May 2012 - 09:49 PM.

  • 0

#7 Cyril

Cyril

    GMC Member

  • GMC Member
  • 106 posts

Posted 14 May 2012 - 08:50 AM

Yes ,thanks !
I hope the code will allow to show all the IAds sorts.

Edited by Cyril, 14 May 2012 - 12:48 PM.

  • 0

#8 liverol

liverol

    GMC Member

  • GMC Member
  • 163 posts

Posted 16 May 2012 - 09:06 AM

They says it support Admob,iad,inmobi
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users