Page 1 of 2

Tutorial:Iphone: Making the link to your AppStore

PostPosted: Mon Oct 11, 2010 3:18 am
by Chai
Now let's see how we are going to create a link for your Application to App-Store, Iphone stroe.

First, Open the Game editor program and click "Add Actor" put your name.
In this case, I used "btnLink" ,then click "Add Actor".
Image

Next, Import your image for your button.
Image
in Actor Control, Add animation >> File >> (select your image) >> ok.

Third, add action for your button Link.
Image
in Actor Control. Event section click,
Add >> Mouse Button Down >> Script Editor.
Then use function " openURL" and put your link in the box.

Beware!!!, you must put the " " for your link. If not, the link will be note as "script".
Image

Now let's run "Game mode".
Image
when click on the Button it will automatic open your web browser.

Image

Note:
If you use this "openURL" function on the iPhone, iPhone will automatic open "AppStore" and link the page to your APP.
as the below images.
Image Image Image Image Image

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Thu Oct 28, 2010 6:37 pm
by SuperSonic
Good job chai :D
Very helpful :P

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Thu Oct 28, 2010 7:57 pm
by Hblade
Awesome :D

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Sun Jan 16, 2011 7:45 pm
by igamer
I did exactly what you put here but I cant get it to work. When I press button in my game , nothing happens. On computer it works fine but not on ipod??
When you put link in openURL it puts " for you. Is there anything else I have to do?

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Sun Jan 16, 2011 9:35 pm
by lcl
igamer wrote:I did exactly what you put here but I cant get it to work. When I press button in my game , nothing happens. On computer it works fine but not on ipod??
When you put link in openURL it puts " for you. Is there anything else I have to do?


Make sure you write the whole URL, including http://

Anyway, openUrl doesn't work with my computer (I use ubuntu).
I don't know why but it does exactly nothing.

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Sun Jan 16, 2011 9:46 pm
by igamer
Yes I used openURl and put http:// it works on my Mac fine but doesnt work on my ipod for some reason. I dont understand why.

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Sun Jan 16, 2011 9:51 pm
by lcl
Then it has to be the same problem that I have on my computer.

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Wed Mar 23, 2011 11:11 pm
by Kodo
I've Just spotted this thread, if you are adding a link to an app in the App Store you might find this useful. Apple provide a tool that builds the URLs in the correct format for you: http://itunes.apple.com/linkmaker

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Sun Apr 17, 2011 2:44 pm
by sonicfire
sorry for bringing up an older thread, but here, openUrl does nothing at all. not in game mode, not as executable, simply nothing.
is it deactivated for some reason??

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Sun Apr 17, 2011 3:02 pm
by Kodo
I brought this up a while ago as well, apparently its a known bug. I removed the openurl buttons from my game in the end. It wasn't clear if a fix would be in 1.5 or not, only Makslane or Akr will know for sure...

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Tue Apr 19, 2011 12:25 am
by again
Yes I contacted Akr and he told me Chai using a different version of GE player. Akr asked me to ask Chai if he can send it to me. I ask Chai and Chai said I have to ask Akr for it. So now Iam asking if anyone has it please send it to Sonicfire so he can use it , thankyou .

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Wed Apr 20, 2011 11:13 am
by sonicfire
again wrote:Yes I contacted Akr and he told me Chai using a different version of GE player. Akr asked me to ask Chai if he can send it to me. I ask Chai and Chai said I have to ask Akr for it. So now Iam asking if anyone has it please send it to Sonicfire so he can use it , thankyou .


yes, that would be amazing! :) thanks, again.

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Wed Apr 20, 2011 7:48 pm
by sonicfire
anyone out there that can help in this issue? :)

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Tue Apr 26, 2011 2:56 pm
by sonicfire
akr? chai? anyone??? :?

Re: Tutorial:Iphone: Making the link to your AppStore

PostPosted: Tue Apr 26, 2011 6:24 pm
by akr
I will post a new updated geplayer and geapp soon. Will contain a sample game.dat file which can replaced easily. Furthermore will be easy to use with xcode 4.

andreas