BASIC

Author Topic: [iPhone] OpenFeint  (Read 54797 times)

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [iPhone] OpenFeint
« Reply #45 on: 2010-Feb-20 »
it is, is on todo right after mac ide. but holidays ended yesterday. so next week i have to work

i have a look everytime a have nothing to do.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: [iPhone] OpenFeint
« Reply #46 on: 2010-Feb-20 »
Thanks to Gernot too (he is always on the wave!).

It's seems it's running properly (I did more testing) and works! Only I have noticed a little drop of frames 1 second inmmediately after closing (I think its something perfectly normal).
I will start to implement to my games (old ones and news).
Must I wait for the 'thread' update on GLBasic?

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: [iPhone] OpenFeint
« Reply #47 on: 2010-Feb-21 »
Hi There,

Does anybody have any small tutorial about this? I can see there are a few functions in it but I'm not sure how frequent and usage in any part of the game will cause any problem or not?

Thanks in advance...

Özden

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [iPhone] OpenFeint
« Reply #48 on: 2010-Feb-21 »
the first lines of your game have to be GLB_OF_Init() and GLB_OF_CreateOpenFeint(..); after that you can use the functions everytime you need to use it.

thats all. Dont forget to add your game in openfeint developer dashboard, after that you get leadboard IDs and award IDs.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: [iPhone] OpenFeint
« Reply #49 on: 2010-Feb-21 »
Thank you for your response...

You mentioned a function called " GLB_OF_Init()" but I don't see it in the gbas file? Am I missing something?

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [iPhone] OpenFeint
« Reply #50 on: 2010-Feb-21 »
if its missing its ok, i make init in the create function too.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: [iPhone] OpenFeint
« Reply #51 on: 2010-Feb-21 »
Thanks again...

I'm now in the process of integration and will let you know how it goes..

Cheers

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: [iPhone] OpenFeint
« Reply #52 on: 2010-Feb-21 »
OK, I'm getting an error in here stating that "MapKit not found". I'm building for 2.2.1 and OpenFeint requires MapKit and UIKit to be referenced as weak to compile under this version, which I already did.

What might be wrong?

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10723
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: [iPhone] OpenFeint
« Reply #53 on: 2010-Feb-22 »
OF requires 3.0 or later!

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: [iPhone] OpenFeint
« Reply #54 on: 2010-Feb-22 »
I know, but you can weak reference to MapKit and UIKit to get the game work in 2.2.1, which I did, but I still get the error, might be something about the new xcode project type for openfeint?

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: [iPhone] OpenFeint
« Reply #55 on: 2010-Feb-22 »
Hi there,

I have the following scenery:

- My old games are build using '2.2.1' to reach all possible customers.

I wonder if i do an update with OpenFeint using build 3.0, customer with firmware minor than 3.0 can be download the update (my worries here are than Applications stop working cause the firmware, i don't know if Apple don't let download App to firmwares minor than 3.0).

Anyone has tried this?

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [iPhone] OpenFeint
« Reply #56 on: 2010-Feb-22 »
Turn MapKit.framework to weak - so it wouldnt output any errors in 2.2.1
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: [iPhone] OpenFeint
« Reply #57 on: 2010-Feb-22 »
Hi trucidare,

I tried to weak link 'UIKit.framework' and 'MapKit.framework' and I continue getting errors.

Any clue / help on this?

King regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: [iPhone] OpenFeint
« Reply #58 on: 2010-Feb-22 »
Hi,

I've the same problem in here, still getting error when I weak link those 2 libraries. Also, when I compile against 3.0, my app is recognized different than the older one, antyhign related with the new XCode project template that is provided for OpenFeint?

Özden

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: [iPhone] OpenFeint
« Reply #59 on: 2010-Feb-22 »
Same here,

I can't change the name using Product Name :S.

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com