Tutorial:Iphone: Making the link to your AppStore

Learn how to make certain types of games and use gameEditor.

Tutorial:Iphone: Making the link to your AppStore

Postby Chai » Mon Oct 11, 2010 3:18 am

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
Attachments
2010%2010%2011%20002.png
2010%2010%2011%20002.png (10.47 KiB) Viewed 5630 times
User avatar
Chai
 
Posts: 361
Joined: Sat Apr 30, 2005 2:26 pm
Location: Thailand
Score: 30 Give a positive score

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

Postby SuperSonic » Thu Oct 28, 2010 6:37 pm

Good job chai :D
Very helpful :P
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

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

Postby Hblade » Thu Oct 28, 2010 7:57 pm

Awesome :D
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby igamer » Sun Jan 16, 2011 7:45 pm

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?
igamer
 
Posts: 21
Joined: Fri Dec 24, 2010 3:08 am
Score: 1 Give a positive score

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

Postby lcl » Sun Jan 16, 2011 9:35 pm

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.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

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

Postby igamer » Sun Jan 16, 2011 9:46 pm

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.
igamer
 
Posts: 21
Joined: Fri Dec 24, 2010 3:08 am
Score: 1 Give a positive score

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

Postby lcl » Sun Jan 16, 2011 9:51 pm

Then it has to be the same problem that I have on my computer.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

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

Postby Kodo » Wed Mar 23, 2011 11:11 pm

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
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

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

Postby sonicfire » Sun Apr 17, 2011 2:44 pm

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??
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

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

Postby Kodo » Sun Apr 17, 2011 3:02 pm

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...
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

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

Postby again » Tue Apr 19, 2011 12:25 am

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 .
Free windows mobile games like doodle jump and super mario bros
http://krenisis.freeforums.org/
again
 
Posts: 258
Joined: Wed Jan 19, 2011 7:06 pm
Score: 33 Give a positive score

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

Postby sonicfire » Wed Apr 20, 2011 11:13 am

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.
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

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

Postby sonicfire » Wed Apr 20, 2011 7:48 pm

anyone out there that can help in this issue? :)
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

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

Postby sonicfire » Tue Apr 26, 2011 2:56 pm

akr? chai? anyone??? :?
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

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

Postby akr » Tue Apr 26, 2011 6:24 pm

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
Co-Developer of GE engine

If u are interrested in new features of apple or android ge engines check the engine support website game-editor.net regulary.
akr
 
Posts: 453
Joined: Thu Feb 25, 2010 7:56 pm
Location: Germany, Ulm
Score: 40 Give a positive score

Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest